Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "dec2966", "specHash": "fa34496", "version": "0.1.0" }
{ "engineHash": "dec2966", "specHash": "fa34496", "version": "5.0.0" }
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

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.

## [5.0.0](https://github.com/box/box-java-sdk/compare/v4.16.3...v5.0.0) (2025-10-23)

Introducing a new major version of Box Java SDK `v5` that includes two packages — the manually maintained `com.box.sdk` package and the generated `com.box.sdkgen` package. The coexisting packages provide easier access to the latest Box API features and support gradual migration to the standalone generated namespace.

There are no breaking changes between `v4` and `v5` of Box Java SDK. For more information about migrating to v5 visit [v4 to v5 migration guide](https://github.com/box/box-java-sdk/blob/combined-sdk/migration-guides/from-v4-to-v5.md)

### What's New in `v5`

With this SDK version, alongside the existing `com.box.sdk` package, we’re introducing a new `com.box.sdkgen` package, which gives you access to:

- **Full API Support** — Complete coverage of the Box API ecosystem, giving you access to all the latest features and functionalities to build feature-rich applications.

- **Rapid API Updates** — Our new auto-generation approach enables Box API additions within days, ensuring you can leverage the most up-to-date features without delay.

- **Embedded Documentation** — All objects and parameters are documented directly in the SDK source code, keeping essential information in one place.

- **Enhanced Convenience Methods** — New methods for authentication, chunk uploads, automatic retries, retry strategy, and more.

### Important Notes

This version allows you to gradually migrate your codebase to the `com.box.sdkgen` package. The key differences between the packages are documented in the [package migration guide](https://github.com/box/box-java-sdk/blob/combined-sdk/migration-guides/from-com-box-sdk-to-com-box-sdkgen.md).

Ultimately, we recommend to migrate to `v10` which includes only the generated `com.box.sdkgen` package. To migrate from `v5` to `v10` follow this [migration guide](https://github.com/box/box-java-sdk/blob/combined-sdk/migration-guides/from-v5-to-v10.md).

For more information, see the [SDK versioning strategy document](https://developer.box.com/guides/tooling/sdks/sdk-versioning/). Follow developer changelog for future updates.

### [4.16.4](https://github.com/box/box-java-sdk/compare/v4.16.3...v4.16.4) (2025-10-03)


Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sourceCompatibility = 1.8

group = "com.box"
archivesBaseName = "box-java-sdk"
version = "4.16.4"
version = "5.0.0"

java {
withJavadocJar()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/box/sdk/BoxAPIConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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.16.4";
private static final String SDK_VERSION = "5.0.0";

/**
* The amount of buffer time, in milliseconds, to use when determining if an access token should
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
public class Version {

public static String getVersion() {
return "0.1.0";
return "5.0.0";
}
}
Loading