From fc1a3e3dab5e55d057392ad355f85c457fce34c7 Mon Sep 17 00:00:00 2001 From: box-sdk-build <94016436+box-sdk-build@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:41:16 +0100 Subject: [PATCH] chore: release 4.13.0 (#1275) --- CHANGELOG.md | 13 +++++ README.md | 52 +++++++++---------- build.gradle | 2 +- .../java/com/box/sdk/BoxAPIConnection.java | 2 +- 4 files changed, 41 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cc09a00b..8c7efdb04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ 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. +## [4.13.0](https://github.com/box/box-java-sdk/compare/v4.12.0...v4.13.0) (2024-11-21) + + +### New Features and Enhancements: + +* Enforce exact byte reading from `Content-Length` header for `BoxFile` representation ([#1274](https://github.com/box/box-java-sdk/issues/1274)) ([0b45cdb](https://github.com/box/box-java-sdk/commit/0b45cdb74c21996d1dfea505d25430a1fa9ee730)) +* Expose `getVersionByID` method on `BoxFile` ([#1268](https://github.com/box/box-java-sdk/issues/1268)) ([6ea70f7](https://github.com/box/box-java-sdk/commit/6ea70f79ad39dd9a427ee574b5536d0ab1e3a9a4)) +* make `tryRestoreUsingAccessTokenCache` in Box API connection public ([#1272](https://github.com/box/box-java-sdk/issues/1272)) ([50f5a61](https://github.com/box/box-java-sdk/commit/50f5a61184bd1a17a17e811536166f9f8e081a13)) + +### Bug Fixes: + +* Fix `accessToken` locking mechanism ([#1270](https://github.com/box/box-java-sdk/issues/1270)) ([5eb4c93](https://github.com/box/box-java-sdk/commit/5eb4c93bd3653b28dc7def747779d008369f486a)) + ## [4.12.0](https://github.com/box/box-java-sdk/compare/v4.11.1...v4.12.0) (2024-10-17) diff --git a/README.md b/README.md index db0f6d811..ab167147b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,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/v4.12.0). +Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v4.13.0). ## Upgrades You can read about how to migrate to the 4 version [here](doc/upgrades/3.x.x%20to%204.x.x.md). @@ -233,31 +233,31 @@ 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/v4.12.0/doc/overview.md) -* [Configuration](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/configuration.md) -* [Logging](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/logging.md) -* [Authentication](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/authentication.md) -* [Files](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/files.md) -* [Folders](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/folders.md) -* [Comments](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/comments.md) -* [Collaborations](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/collaborations.md) -* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/collaboration_allowlists.md) -* [Events](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/events.md) -* [Search](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/search.md) -* [Users](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/users.md) -* [Groups](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/groups.md) -* [Tasks](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/tasks.md) -* [Trash](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/trash.md) -* [Collections](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/collections.md) -* [Devices](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/devices.md) -* [Retention Policies](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/retention_policies.md) -* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/legal_holds.md) -* [Watermarking](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/watermarking.md) -* [Webhooks](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/webhooks.md) -* [Web Links](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/weblinks.md) -* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/metadata_template.md) -* [Classifications](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/classifications.md) -* [Recent Items](https://github.com/box/box-java-sdk/blob/v4.12.0/doc/recent_items.md) +* [Overview](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/overview.md) +* [Configuration](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/configuration.md) +* [Logging](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/logging.md) +* [Authentication](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/authentication.md) +* [Files](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/files.md) +* [Folders](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/folders.md) +* [Comments](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/comments.md) +* [Collaborations](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/collaborations.md) +* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/collaboration_allowlists.md) +* [Events](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/events.md) +* [Search](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/search.md) +* [Users](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/users.md) +* [Groups](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/groups.md) +* [Tasks](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/tasks.md) +* [Trash](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/trash.md) +* [Collections](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/collections.md) +* [Devices](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/devices.md) +* [Retention Policies](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/retention_policies.md) +* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/legal_holds.md) +* [Watermarking](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/watermarking.md) +* [Webhooks](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/webhooks.md) +* [Web Links](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/weblinks.md) +* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/metadata_template.md) +* [Classifications](https://github.com/box/box-java-sdk/blob/v4.13.0/doc/classifications.md) +* [Recent Items](https://github.com/box/box-java-sdk/blob/v4.13.0/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 d9f9e05fa..25e4da436 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ sourceCompatibility = 1.8 group = "com.box" archivesBaseName = "box-java-sdk" -version = "4.12.0" +version = "4.13.0" java { withJavadocJar() diff --git a/src/main/java/com/box/sdk/BoxAPIConnection.java b/src/main/java/com/box/sdk/BoxAPIConnection.java index 85648cc79..fe76cbbb4 100644 --- a/src/main/java/com/box/sdk/BoxAPIConnection.java +++ b/src/main/java/com/box/sdk/BoxAPIConnection.java @@ -85,7 +85,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 = "4.12.0"; + private static final String SDK_VERSION = "4.13.0"; /** * The amount of buffer time, in milliseconds, to use when determining if an access token should be refreshed. For