From f5136625e01498a02d2abf62651db79d240c02f3 Mon Sep 17 00:00:00 2001 From: box-sdk-build <94016436+box-sdk-build@users.noreply.github.com> Date: Tue, 20 Sep 2022 15:08:31 +0200 Subject: [PATCH] chore: release 3.7.0 (#1104) --- CHANGELOG.md | 12 +++++ README.md | 52 +++++++++---------- build.gradle | 2 +- .../java/com/box/sdk/BoxAPIConnection.java | 2 +- 4 files changed, 40 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e2677589..1d17c1d47 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. +## [3.7.0](https://github.com/box/box-java-sdk/compare/v3.6.0...v3.7.0) (2022-09-20) + + +### New Features and Enhancements: + +* Add `is_accessible_via_shared_link` field to File and Folder ([#1103](https://github.com/box/box-java-sdk/issues/1103)) ([45e9906](https://github.com/box/box-java-sdk/commit/45e9906efca6a7f2d4d738914dc804de12d3646e)) + +### Bug Fixes: + +* `BoxCollaboration.getItem()` returns `BoxItem.Info` not `BoxFolder.Info` ([#1102](https://github.com/box/box-java-sdk/issues/1102)) ([135850d](https://github.com/box/box-java-sdk/commit/135850d97164ee5f6d74708d74c531f7fa8bee26)), closes [#1101](https://github.com/box/box-java-sdk/issues/1101) [#1100](https://github.com/box/box-java-sdk/issues/1100). `BoxCollaboration.getItem()` used to return `BoxFolder.Info`. However, if collaboration was added on a file it would still return `BoxFolder.Info` which will end with throwing `BoxAPIException` when doing any API call. If you are getting collaboration item it is best to store it as `BoxItem.Info` or check its type and store it as `BoxFile.Info` or `BoxFolder.Info`. +* Add missing constructor to `BoxNotificationEmail` class ([#1098](https://github.com/box/box-java-sdk/issues/1098)) ([2534f34](https://github.com/box/box-java-sdk/commit/2534f34133f9554abd1e80fc1555659a2c52b23f)) + ## [3.6.0](https://github.com/box/box-java-sdk/compare/v3.5.0...v3.6.0) (2022-09-07) diff --git a/README.md b/README.md index 4e29cadc1..506f9938b 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.6.0). +Latest release can be found [here](https://github.com/box/box-java-sdk/tree/v3.7.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. @@ -198,31 +198,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/v3.6.0/doc/overview.md) -* [Configuration](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/configuration.md) -* [Logging](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/logging.md) -* [Authentication](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/authentication.md) -* [Files](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/files.md) -* [Folders](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/folders.md) -* [Comments](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/comments.md) -* [Collaborations](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/collaborations.md) -* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/collaboration_allowlists.md) -* [Events](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/events.md) -* [Search](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/search.md) -* [Users](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/users.md) -* [Groups](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/groups.md) -* [Tasks](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/tasks.md) -* [Trash](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/trash.md) -* [Collections](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/collections.md) -* [Devices](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/devices.md) -* [Retention Policies](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/retention_policies.md) -* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/legal_holds.md) -* [Watermarking](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/watermarking.md) -* [Webhooks](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/webhooks.md) -* [Web Links](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/weblinks.md) -* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/metadata_template.md) -* [Classifications](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/classifications.md) -* [Recent Items](https://github.com/box/box-java-sdk/blob/v3.6.0/doc/recent_items.md) +* [Overview](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/overview.md) +* [Configuration](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/configuration.md) +* [Logging](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/logging.md) +* [Authentication](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/authentication.md) +* [Files](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/files.md) +* [Folders](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/folders.md) +* [Comments](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/comments.md) +* [Collaborations](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/collaborations.md) +* [Collaboration Allowlists](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/collaboration_allowlists.md) +* [Events](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/events.md) +* [Search](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/search.md) +* [Users](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/users.md) +* [Groups](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/groups.md) +* [Tasks](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/tasks.md) +* [Trash](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/trash.md) +* [Collections](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/collections.md) +* [Devices](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/devices.md) +* [Retention Policies](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/retention_policies.md) +* [Legal Holds Policy](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/legal_holds.md) +* [Watermarking](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/watermarking.md) +* [Webhooks](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/webhooks.md) +* [Web Links](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/weblinks.md) +* [Metadata Templates](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/metadata_template.md) +* [Classifications](https://github.com/box/box-java-sdk/blob/v3.7.0/doc/classifications.md) +* [Recent Items](https://github.com/box/box-java-sdk/blob/v3.7.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 e6a79373c..0446846b0 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ sourceCompatibility = 1.8 group = "com.box" archivesBaseName = "box-java-sdk" -version = "3.6.0" +version = "3.7.0" java { withJavadocJar() diff --git a/src/main/java/com/box/sdk/BoxAPIConnection.java b/src/main/java/com/box/sdk/BoxAPIConnection.java index 8e881f0b7..ef2690443 100644 --- a/src/main/java/com/box/sdk/BoxAPIConnection.java +++ b/src/main/java/com/box/sdk/BoxAPIConnection.java @@ -60,7 +60,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.6.0"; + private static final String SDK_VERSION = "3.7.0"; /** * The amount of buffer time, in milliseconds, to use when determining if an access token should be refreshed. For