From cc7ac742f72129dfa313a63eb7f2309002933ef5 Mon Sep 17 00:00:00 2001 From: ThibaultBee Date: Thu, 25 Apr 2024 13:17:37 +0000 Subject: [PATCH] chore(config): bump java and swift clients/uploaders version --- CHANGELOG.md | 3 +++ README.md | 6 +++--- build.gradle | 2 +- pom.xml | 2 +- src/main/java/video/api/client/api/ApiClient.java | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52a5cc2..9f55c38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog All changes to this project will be documented in this file. +## [1.3.3] - 2024-04-25 +- Add API to get rate limiting headers + ## [1.3.2] - 2024-02-19 - Update VideoStatusIngest enum diff --git a/README.md b/README.md index 3c123cf..a43df63 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Add this dependency to your project's POM: video.api java-api-client - 1.3.2 + 1.3.3 compile ``` @@ -78,7 +78,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -implementation "video.api:java-api-client:1.3.2" +implementation "video.api:java-api-client:1.3.3" ``` #### Others @@ -91,7 +91,7 @@ mvn clean package Then manually install the following JARs: -* `target/java-api-client-1.3.2.jar` +* `target/java-api-client-1.3.3.jar` * `target/lib/*.jar` ### Code sample diff --git a/build.gradle b/build.gradle index eea0a5e..6894998 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'com.diffplug.spotless' apply plugin: 'maven-publish' group = 'video.api' -version = '1.3.2' +version = '1.3.3' buildscript { repositories { diff --git a/pom.xml b/pom.xml index 9ac5e83..33c0e6d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ java-api-client jar ${project.groupId}:${project.artifactId} - 1.3.2 + 1.3.3 https://github.com/apivideo/api.video-java-client api.video Java API client diff --git a/src/main/java/video/api/client/api/ApiClient.java b/src/main/java/video/api/client/api/ApiClient.java index 6ad8bd9..d16cf5e 100644 --- a/src/main/java/video/api/client/api/ApiClient.java +++ b/src/main/java/video/api/client/api/ApiClient.java @@ -118,7 +118,7 @@ private OkHttpClient initHttpClient(List interceptors) { private void init() { verifyingSsl = true; json = new JSON(); - addDefaultHeader("AV-Origin-Client", "java:1.3.2"); + addDefaultHeader("AV-Origin-Client", "java:1.3.3"); } private boolean isValid(String regex, String field) {