diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c7efdb04..b0dc88903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.1](https://github.com/box/box-java-sdk/compare/v4.13.0...v4.13.1) (2024-11-29) + + +### Bug Fixes: + +* Correctly calculate `Content-Length` when reading from a stream ([#1277](https://github.com/box/box-java-sdk/issues/1277)) ([b1d5371](https://github.com/box/box-java-sdk/commit/b1d5371491abe1729a95eb9dc39d375135c8681d)) + ## [4.13.0](https://github.com/box/box-java-sdk/compare/v4.12.0...v4.13.0) (2024-11-21) diff --git a/README.md b/README.md index ab167147b..6c62a2d82 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.13.0). +Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v4.13.1). ## 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.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) +* [Overview](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/overview.md) +* [Configuration](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/configuration.md) +* [Logging](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/logging.md) +* [Authentication](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/authentication.md) +* [Files](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/files.md) +* [Folders](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/folders.md) +* [Comments](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/comments.md) +* [Collaborations](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/collaborations.md) +* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/collaboration_allowlists.md) +* [Events](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/events.md) +* [Search](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/search.md) +* [Users](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/users.md) +* [Groups](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/groups.md) +* [Tasks](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/tasks.md) +* [Trash](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/trash.md) +* [Collections](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/collections.md) +* [Devices](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/devices.md) +* [Retention Policies](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/retention_policies.md) +* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/legal_holds.md) +* [Watermarking](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/watermarking.md) +* [Webhooks](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/webhooks.md) +* [Web Links](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/weblinks.md) +* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/metadata_template.md) +* [Classifications](https://github.com/box/box-java-sdk/blob/v4.13.1/doc/classifications.md) +* [Recent Items](https://github.com/box/box-java-sdk/blob/v4.13.1/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 25e4da436..af342d48d 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ sourceCompatibility = 1.8 group = "com.box" archivesBaseName = "box-java-sdk" -version = "4.13.0" +version = "4.13.1" java { withJavadocJar() diff --git a/src/main/java/com/box/sdk/BoxAPIConnection.java b/src/main/java/com/box/sdk/BoxAPIConnection.java index fe76cbbb4..1dda78f73 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.13.0"; + private static final String SDK_VERSION = "4.13.1"; /** * The amount of buffer time, in milliseconds, to use when determining if an access token should be refreshed. For