Skip to content

Commit 0247284

Browse files
Merge pull request #93 from apivideo/chore/java_swift_android_rate_limiting_release
chore(config): bump java and swift clients/uploaders version
2 parents 99e04dd + 17ca534 commit 0247284

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [1.3.6] - 2024-04-25
5+
- Add API to get rate limiting headers
6+
47
## [1.3.5] - 2024-03-21
58
- Add missing proguard rules for gson and jackson
69

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Add this dependency to your project's POM:
6262
<dependency>
6363
<groupId>video.api</groupId>
6464
<artifactId>android-video-uploader</artifactId>
65-
<version>1.3.5</version>
65+
<version>1.3.6</version>
6666
<scope>compile</scope>
6767
</dependency>
6868
```
@@ -72,7 +72,7 @@ Add this dependency to your project's POM:
7272
Add this dependency to your project's build file:
7373

7474
```groovy
75-
implementation "video.api:android-video-uploader:1.3.5"
75+
implementation "video.api:android-video-uploader:1.3.6"
7676
```
7777

7878
#### Others
@@ -85,7 +85,7 @@ mvn clean package
8585

8686
Then manually install the following JARs:
8787

88-
* `target/android-video-uploader-1.3.5.jar`
88+
* `target/android-video-uploader-1.3.6.jar`
8989
* `target/lib/*.jar`
9090

9191
### Code sample

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'maven-publish'
55
apply plugin: 'kotlin-android'
66

77
group = 'video.api'
8-
version = '1.3.5'
8+
version = '1.3.6'
99

1010
buildscript {
1111
repositories {

maven-push.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ apply plugin: 'maven-publish'
1818
apply plugin: 'signing'
1919

2020
def isReleaseBuild() {
21-
return !"1.3.5".contains("SNAPSHOT")
21+
return !"1.3.6".contains("SNAPSHOT")
2222
}
2323

2424
def getReleaseRepositoryUrl() {
@@ -57,7 +57,7 @@ afterEvaluate {
5757

5858
groupId = "video.api"
5959
artifactId = "android-video-uploader"
60-
version = "1.3.5"
60+
version = "1.3.6"
6161

6262
pom {
6363
name = "video.api:android-video-uploader"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>android-video-uploader</artifactId>
66
<packaging>jar</packaging>
77
<name>${project.groupId}:${project.artifactId}</name>
8-
<version>1.3.5</version>
8+
<version>1.3.6</version>
99
<url>https://github.com/apivideo/api.video-android-uploader</url>
1010
<description>The official Android api.video uploader</description>
1111
<scm>

src/main/java/video/api/uploader/api/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private OkHttpClient initHttpClient(List<Interceptor> interceptors) {
118118
private void init() {
119119
verifyingSsl = true;
120120
json = new JSON();
121-
addDefaultHeader("AV-Origin-Client", "android-uploader:1.3.5");
121+
addDefaultHeader("AV-Origin-Client", "android-uploader:1.3.6");
122122
}
123123

124124
private boolean isValid(String regex, String field) {

0 commit comments

Comments
 (0)