From 2394e01dc977582317360b1f69867037414bc973 Mon Sep 17 00:00:00 2001 From: box-sdk-build <94016436+box-sdk-build@users.noreply.github.com> Date: Tue, 22 Mar 2022 09:01:49 +0100 Subject: [PATCH] chore: release 3.1.2 (#1036) --- CHANGELOG.md | 8 +++ README.md | 50 +++++++++---------- build.gradle | 2 +- .../java/com/box/sdk/BoxAPIConnection.java | 2 +- 4 files changed, 35 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 703457a69..fca5bade5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [3.1.2](https://github.com/box/box-java-sdk/compare/v3.1.1...v3.1.2) (2022-03-22) + + +### Bug Fixes: + +* Allow using `As-User` header with CCG Authentication ([#1031](https://github.com/box/box-java-sdk/issues/1031)) ([b0c2389](https://github.com/box/box-java-sdk/commit/b0c238913cc1dbcecfd546a5eae68277c3c76d42)) +* Fix retry logic when `Retry-After` header is present ([#1033](https://github.com/box/box-java-sdk/issues/1033)) ([05224c4](https://github.com/box/box-java-sdk/commit/05224c433d2a101a01959644674153df9542b711)) + ### [3.1.1](https://github.com/box/box-java-sdk/compare/v3.1.0...v3.1.1) (2022-02-28) diff --git a/README.md b/README.md index 7827afd5a..6565b58b9 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Box Java SDK for interacting with the [Box Content API](https://developers.box.com/docs/). ## Latest Release -Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v3.1.1). +Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v3.1.2). ## Versions We use a modified version of [Semantic Versioning](https://semver.org/) for all changes. See [version strategy](VERSIONS.md) for details which is effective from 30 July 2022. @@ -197,30 +197,30 @@ You can find guides and tutorials in the `doc` directory. * [BUILD ON BOX PLATFORM](https://developer.box.com/guides/getting-started/) * [Javadocs](http://box.github.io/box-java-sdk/javadoc/com/box/sdk/package-summary.html) -* [Overview](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/overview.md) -* [Logging](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/logging.md) -* [Authentication](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/authentication.md) -* [Files](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/files.md) -* [Folders](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/folders.md) -* [Comments](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/comments.md) -* [Collaborations](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/collaborations.md) -* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/collaboration_allowlists.md) -* [Events](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/events.md) -* [Search](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/search.md) -* [Users](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/users.md) -* [Groups](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/groups.md) -* [Tasks](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/tasks.md) -* [Trash](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/trash.md) -* [Collections](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/collections.md) -* [Devices](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/devices.md) -* [Retention Policies](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/retention_policies.md) -* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/legal_holds.md) -* [Watermarking](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/watermarking.md) -* [Webhooks](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/webhooks.md) -* [Web Links](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/weblinks.md) -* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/metadata_template.md) -* [Classifications](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/classifications.md) -* [Recent Items](https://github.com/box/box-java-sdk/blob/v3.1.1/doc/recent_items.md) +* [Overview](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/overview.md) +* [Logging](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/logging.md) +* [Authentication](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/authentication.md) +* [Files](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/files.md) +* [Folders](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/folders.md) +* [Comments](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/comments.md) +* [Collaborations](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/collaborations.md) +* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/collaboration_allowlists.md) +* [Events](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/events.md) +* [Search](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/search.md) +* [Users](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/users.md) +* [Groups](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/groups.md) +* [Tasks](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/tasks.md) +* [Trash](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/trash.md) +* [Collections](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/collections.md) +* [Devices](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/devices.md) +* [Retention Policies](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/retention_policies.md) +* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/legal_holds.md) +* [Watermarking](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/watermarking.md) +* [Webhooks](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/webhooks.md) +* [Web Links](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/weblinks.md) +* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/metadata_template.md) +* [Classifications](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/classifications.md) +* [Recent Items](https://github.com/box/box-java-sdk/blob/v3.1.2/doc/recent_items.md) Javadocs are generated when `gradle javadoc` is run and can be found in diff --git a/build.gradle b/build.gradle index 187c4f0ec..ace127277 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ sourceCompatibility = 1.8 group = "com.box" archivesBaseName = "box-java-sdk" -version = "3.1.1" +version = "3.1.2" java { withJavadocJar() diff --git a/src/main/java/com/box/sdk/BoxAPIConnection.java b/src/main/java/com/box/sdk/BoxAPIConnection.java index 53f82363b..3e52b3e5f 100644 --- a/src/main/java/com/box/sdk/BoxAPIConnection.java +++ b/src/main/java/com/box/sdk/BoxAPIConnection.java @@ -50,7 +50,7 @@ public class BoxAPIConnection { private static final String BOX_NOTIFICATIONS_HEADER = "Box-Notifications"; private static final String JAVA_VERSION = System.getProperty("java.version"); - private static final String SDK_VERSION = "3.1.1"; + private static final String SDK_VERSION = "3.1.2"; /** * The amount of buffer time, in milliseconds, to use when determining if an access token should be refreshed. For