diff --git a/CHANGELOG.md b/CHANGELOG.md index fec3dfee4..5f4691eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ 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.1.0](https://github.com/box/box-java-sdk/compare/v4.0.1...v4.1.0) (2023-04-24) + + +### New Features and Enhancements: + +* Add missing `fields` parameter to create and update `BoxUser` methods ([#1155](https://github.com/box/box-java-sdk/issues/1155)) ([be3820d](https://github.com/box/box-java-sdk/commit/be3820dc4df15e99dfc13602d4f7269841bd15b3)), closes [#1154](https://github.com/box/box-java-sdk/issues/1154) + +### Bug Fixes: + +* Allow registering custom logger handlers ([#1156](https://github.com/box/box-java-sdk/issues/1156)) ([7373d5c](https://github.com/box/box-java-sdk/commit/7373d5cc2bf49bc198cbca70d056e43f0dffdb3a)) +* Fallback to default value of `maxRetryAttempts` when restoring `BoxAPIConnection` ([#1161](https://github.com/box/box-java-sdk/issues/1161)) ([2a10e5d](https://github.com/box/box-java-sdk/commit/2a10e5d07497611e077a9207fe98c1d8146cfd22)), closes [#1160](https://github.com/box/box-java-sdk/issues/1160) + ### [4.0.1](https://github.com/box/box-java-sdk/compare/v4.0.0...v4.0.1) (2023-03-06) diff --git a/README.md b/README.md index 7cdde7d0a..b5ff9118d 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ 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.0.1). +Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v4.1.0). ## Upgrades -You can read about how to migrate to the new version [here](https://github.com/box/box-java-sdk/tree/v4.0.1). +You can read about how to migrate to the new version [here](https://github.com/box/box-java-sdk/tree/v4.1.0). ## 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. @@ -226,31 +226,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.0.1/doc/overview.md) -* [Configuration](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/configuration.md) -* [Logging](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/logging.md) -* [Authentication](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/authentication.md) -* [Files](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/files.md) -* [Folders](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/folders.md) -* [Comments](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/comments.md) -* [Collaborations](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/collaborations.md) -* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/collaboration_allowlists.md) -* [Events](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/events.md) -* [Search](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/search.md) -* [Users](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/users.md) -* [Groups](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/groups.md) -* [Tasks](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/tasks.md) -* [Trash](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/trash.md) -* [Collections](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/collections.md) -* [Devices](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/devices.md) -* [Retention Policies](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/retention_policies.md) -* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/legal_holds.md) -* [Watermarking](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/watermarking.md) -* [Webhooks](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/webhooks.md) -* [Web Links](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/weblinks.md) -* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/metadata_template.md) -* [Classifications](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/classifications.md) -* [Recent Items](https://github.com/box/box-java-sdk/blob/v4.0.1/doc/recent_items.md) +* [Overview](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/overview.md) +* [Configuration](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/configuration.md) +* [Logging](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/logging.md) +* [Authentication](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/authentication.md) +* [Files](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/files.md) +* [Folders](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/folders.md) +* [Comments](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/comments.md) +* [Collaborations](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/collaborations.md) +* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/collaboration_allowlists.md) +* [Events](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/events.md) +* [Search](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/search.md) +* [Users](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/users.md) +* [Groups](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/groups.md) +* [Tasks](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/tasks.md) +* [Trash](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/trash.md) +* [Collections](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/collections.md) +* [Devices](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/devices.md) +* [Retention Policies](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/retention_policies.md) +* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/legal_holds.md) +* [Watermarking](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/watermarking.md) +* [Webhooks](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/webhooks.md) +* [Web Links](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/weblinks.md) +* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/metadata_template.md) +* [Classifications](https://github.com/box/box-java-sdk/blob/v4.1.0/doc/classifications.md) +* [Recent Items](https://github.com/box/box-java-sdk/blob/v4.1.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 f503266de..dc45012b7 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ sourceCompatibility = 1.8 group = "com.box" archivesBaseName = "box-java-sdk" -version = "4.0.1" +version = "4.1.0" java { withJavadocJar() diff --git a/src/main/java/com/box/sdk/BoxAPIConnection.java b/src/main/java/com/box/sdk/BoxAPIConnection.java index 711f6491b..7d6569fa1 100644 --- a/src/main/java/com/box/sdk/BoxAPIConnection.java +++ b/src/main/java/com/box/sdk/BoxAPIConnection.java @@ -84,7 +84,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.0.1"; + private static final String SDK_VERSION = "4.1.0"; /** * The amount of buffer time, in milliseconds, to use when determining if an access token should be refreshed. For