Skip to content

Commit

Permalink
Merge pull request #109 from apivideo/chore/java_swift_android_rate_l…
Browse files Browse the repository at this point in the history
…imiting_release

chore(config): bump java and swift clients/uploaders version
  • Loading branch information
bot-api-video committed Apr 25, 2024
2 parents adaf9d9 + 931e668 commit f4b1c1f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [1.5.7] - 2024-04-25
- Add API to get rate limiting headers

## [1.5.6] - 2024-03-21
- Add missing proguard rules for gson and jackson

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>video.api</groupId>
<artifactId>android-api-client</artifactId>
<version>1.5.6</version>
<version>1.5.7</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -80,7 +80,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
implementation "video.api:android-api-client:1.5.6"
implementation "video.api:android-api-client:1.5.7"
```

#### Others
Expand All @@ -93,7 +93,7 @@ mvn clean package

Then manually install the following JARs:

* `target/android-api-client-1.5.6.jar`
* `target/android-api-client-1.5.7.jar`
* `target/lib/*.jar`

### Code sample
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'maven-publish'
apply plugin: 'kotlin-android'

group = 'video.api'
version = '1.5.6'
version = '1.5.7'

buildscript {
repositories {
Expand Down
4 changes: 2 additions & 2 deletions maven-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

def isReleaseBuild() {
return !"1.5.6".contains("SNAPSHOT")
return !"1.5.7".contains("SNAPSHOT")
}

def getReleaseRepositoryUrl() {
Expand Down Expand Up @@ -57,7 +57,7 @@ afterEvaluate {

groupId = "video.api"
artifactId = "android-api-client"
version = "1.5.6"
version = "1.5.7"

pom {
name = "video.api:android-api-client"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>android-api-client</artifactId>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<version>1.5.6</version>
<version>1.5.7</version>
<url>https://github.com/apivideo/api.video-android-client</url>
<description>The official Android api.video client</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/video/api/client/api/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private OkHttpClient initHttpClient(List<Interceptor> interceptors) {
private void init() {
verifyingSsl = true;
json = new JSON();
addDefaultHeader("AV-Origin-Client", "android:1.5.6");
addDefaultHeader("AV-Origin-Client", "android:1.5.7");
}

private boolean isValid(String regex, String field) {
Expand Down

0 comments on commit f4b1c1f

Please sign in to comment.