You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with v10 of the SDK, we’ve introduced a new generated codebase designed to enhance your experience with the Box API.
8
-
It is currently available on the [sdk-gen](https://github.com/box/box-java-sdk/tree/sdk-gen) branch and uses the new `com.box.sdkgen` package instead of the old `com.box.sdk`.
9
-
10
-
v10 is targeted at new users of Box Java SDK and users already working with the generated Box Java SDK previously available under the [Box Java SDK Gen repository](https://github.com/box/box-java-sdk-gen).
11
-
12
-
For users of v4 of the Box Java SDK, no action is required at this time — we’ll be providing an upcoming v5 release that will include both `com.box.sdk` and `com.box.sdkgen` packages for a smooth migration path. To avoid unintentional upgrades, pin your version to `com.box:box-java-sdk:4.16.4`.
13
-
14
-
For full guidance on SDK versioning, see the [Box SDK Versioning Guide](https://developer.box.com/guides/tooling/sdks/sdk-versioning/).
15
-
16
-
---
17
-
18
-
## Which Version Should I Use?
19
-
20
-
| Scenario | Recommended Version | Example Dependency |
| Creating a new application | Use [v10](https://github.com/box/box-java-sdk/tree/sdk-gen)|`com.box:box-sdkgen:10.0.0`|
23
-
| Existing app using [box-java-sdk-gen](https://mvnrepository.com/artifact/com.box/box-java-sdk-gen) artifact | Upgrade to [v10](https://github.com/box/box-java-sdk/tree/sdk-gen)|`com.box:box-sdkgen:10.0.0`|
24
-
| Existing app using [box-java-sdk](https://mvnrepository.com/artifact/com.box/box-java-sdk) and planning to use new features | Wait for v5 to start migration process | TBD |
25
-
| Existing app using [box-java-sdk](https://mvnrepository.com/artifact/com.box/box-java-sdk) and not planning changes | Stay on your current version |`com.box:box-java-sdk:4.16.4`|
We are excited to introduce the stable Release of the latest generation of Box Java SDK, designed to elevate the developer experience and streamline your integration with the Box Content Cloud.
13
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
14
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
36
15
37
-
With this SDK, you’ll have access to:
16
+
-[Introduction](#introduction)
17
+
-[Supported versions](#supported-versions)
18
+
-[Version v5](#version-v5)
19
+
-[Version v10](#version-v10)
20
+
-[Which Version Should I Use?](#which-version-should-i-use)
21
+
-[Installing](#installing)
22
+
-[Getting Started](#getting-started)
23
+
-[Authentication](#authentication)
24
+
-[Documentation](#documentation)
25
+
-[Migration guides](#migration-guides)
26
+
-[Versioning](#versioning)
27
+
-[Version schedule](#version-schedule)
28
+
-[Contributing](#contributing)
29
+
-[3rd Party Libraries & Licenses](#3rd-party-libraries--licenses)
30
+
-[FIPS 140-2 Compliance](#fips-140-2-compliance)
31
+
-[Questions, Bugs, and Feature Requests?](#questions-bugs-and-feature-requests)
32
+
-[Copyright and License](#copyright-and-license)
33
+
34
+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
35
+
36
+
# Introduction
37
+
38
+
We are excited to introduce the v10 major release of the Box Java SDK,
39
+
designed to elevate the developer experience and streamline your integration with the Box Content Cloud.
40
+
41
+
With this SDK version, we provide the `com.box.sdkgen` package, which gives you access to:
38
42
39
43
1. Full API Support: The new generation of Box SDKs empowers developers with complete coverage of the Box API ecosystem. You can now access all the latest features and functionalities offered by Box, allowing you to build even more sophisticated and feature-rich applications.
40
44
2. Rapid API Updates: Say goodbye to waiting for new Box APIs to be incorporated into the SDK. With our new auto-generation development approach, we can now add new Box APIs to the SDK at a much faster pace (in a matter of days). This means you can leverage the most up-to-date features in your applications without delay.
@@ -44,27 +48,44 @@ With this SDK, you’ll have access to:
44
48
45
49
Embrace the new generation of Box SDKs and unlock the full potential of the Box Content Cloud.
46
50
47
-
# Table of contents
51
+
# Supported versions
48
52
49
-
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
50
-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
53
+
To enhance developer experience, we have introduced the new generated codebase through the `com.box.sdkgen` package.
54
+
The `com.box.sdkgen` package is available in two major supported versions: v5 and v10.
-[3rd Party Libraries \& Licenses](#3rd-party-libraries--licenses)
64
-
-[Questions, Bugs, and Feature Requests?](#questions-bugs-and-feature-requests)
65
-
-[Copyright and License](#copyright-and-license)
56
+
## Version v5
66
57
67
-
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
58
+
In v5 of the Box Java SDK, we are introducing a version that consolidates both the manually written package (`com.box.sdk`)
59
+
and the new generated package (`com.box.sdkgen`). This allows developers to use both packages simultaneously within a single project.
60
+
61
+
The codebase for v5 of the Box Java SDK is currently available on the [combined-sdk](https://github.com/box/box-java-sdk/tree/combined-sdk) branch.
62
+
Migration guide which would help with migration from `com.box.sdk` to `com.box.sdkgen` can be found [here](./migration-guides/from-com.box.sdk-to-com.box.sdkgen.md).
63
+
64
+
Version v5 is intended for:
65
+
66
+
- Existing developers of the Box Java SDK v4 who want to access new API features while keeping their current codebase largely unchanged.
67
+
- Existing developers who are in the process of migrating to `com.box.sdkgen`, but do not want to move all their code to the new package immediately.
68
+
69
+
## Version v10
70
+
71
+
Starting with v10, the SDK is built entirely on the generated `com.box.sdkgen` package, which fully and exclusively replaces the old `com.box.sdk` package.
72
+
The codebase for v10 of the Box Java SDK is currently available on the [sdk-gen](https://github.com/box/box-java-sdk/tree/sdk-gen) branch.
73
+
74
+
Version v10 is intended for:
75
+
76
+
- New users of the Box Java SDK.
77
+
- Developers already working with the generated Box Java SDK previously available under the [Box Java SDK Gen repository](https://github.com/box/box-java-sdk-gen).
78
+
79
+
## Which Version Should I Use?
80
+
81
+
| Scenario | Recommended Version | Example gradle dependency |
| Creating a new application | Use [v10](https://github.com/box/box-java-sdk/tree/sdk-gen)|`com.box:box-java-sdk:10.0.0`|
84
+
| App using [box-java-sdk-gen](https://central.sonatype.com/artifact/com.box/box-java-sdk-gen) artifact | Migrate to [v10](https://github.com/box/box-java-sdk/tree/sdk-gen)|`com.box:box-java-sdk:10.0.0`|
85
+
| App using both [box-java-sdk-gen](https://central.sonatype.com/artifact/com.box/box-java-sdk-gen) and [box-java-sdk](https://central.sonatype.com/artifact/com.box/box-java-sdk) artifacts | Upgrade to [v5](https://github.com/box/box-java-sdk/tree/combined-sdk)|`com.box:box-java-sdk:5.0.0`|
86
+
| App using v4 of [box-java-sdk](https://central.sonatype.com/artifact/com.box/box-java-sdk) artifact | Upgrade to [v5](https://github.com/box/box-java-sdk/tree/combined-sdk)|`com.box:box-java-sdk:5.0.0`|
87
+
88
+
For full guidance on SDK versioning, see the [Box SDK Versioning Guide](https://developer.box.com/guides/tooling/sdks/sdk-versioning/).
The SDK is updated regularly to include new features, enhancements, and bug fixes. If you are upgrading from manual SDK to this new generated SDK checkout the [migration guide](migration-guides/from-v4-to-v10.md) and [changelog](CHANGELOG.md) for more information.
138
+
# Documentation
116
139
117
-
# Integration Tests
140
+
Browse the [docs](docs/README.md) or see [API Reference](https://developer.box.com/reference/) for more information.
118
141
119
-
## Running integration tests locally
142
+
#Migration guides
120
143
121
-
### Create Platform Application
144
+
Migration guides which help you to migrate to supported major SDK versions can be found [here](./migration-guides).
122
145
123
-
To run integration tests locally you will need a `Custom App` created in the [Box Developer
124
-
Console](https://app.box.com/developers/console) with `Server Authentication (with JWT)` selected as authentication method.
125
-
Once created you can edit properties of the application:
146
+
# Versioning
126
147
127
-
- In section `App Access Level` select `App + Enterprise Access`. You can enable all `Application Scopes`.
128
-
- In section `Advanced Features` enable `Make API calls using the as-user header` and `Generate user access tokens`.
148
+
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.
129
149
130
-
Now select `Authorization` and submit application to be reviewed by account admin.
150
+
A current release is on the leading edge of our SDK development, and is intended for customers who are in active development and want the latest and greatest features.
151
+
Instead of stating a release date for a new feature, we set a fixed minor or patch release cadence of maximum 2-3 months (while we may release more often).
152
+
At the same time, there is no schedule for major or breaking release. Instead, we will communicate one quarter in advance the upcoming breaking change to allow customers to plan for the upgrade.
131
153
132
-
### Export configuration
154
+
We always recommend that all users run the latest available minor release for whatever major version is in use.
155
+
We highly recommend upgrading to the latest SDK major release at the earliest convenient time and before the EOL date.
133
156
134
-
1. Select `Configuration` tab and in the bottom in the section `App Settings`
135
-
download your app configuration settings as JSON.
136
-
2. Encode configuration file to Base64, e.g. using command: `base64 -i path_to_json_file`
137
-
3. Set environment variable: `JWT_CONFIG_BASE_64` with base64 encoded jwt configuration file
138
-
4. Set environment variable: `BOX_FILE_REQUEST_ID` with ID of file request already created in the user account, `BOX_EXTERNAL_USER_EMAIL` with email of free external user which not belongs to any enterprise and `BOX_EXTERNAL_USER_ID` with its ID.
139
-
5. Set environment variable: `WORKFLOW_FOLDER_ID` with the ID of the Relay workflow that deletes the file that triggered the workflow. The workflow should have a manual start to be able to start it from the API.
140
-
6. Set environment variable: `APP_ITEM_ASSOCIATION_FILE_ID` to the ID of the file with associated app item and `APP_ITEM_ASSOCIATION_FOLDER_ID` to the ID of the folder with associated app item.
141
-
7. Set environment variable: `APP_ITEM_SHARED_LINK` to the shared link associated with app item.
142
-
8. Set environment variable: `SLACK_AUTOMATION_USER_ID` to the ID of the user responsible for the Slack automation, `SLACK_ORG_ID` to the ID of the Slack organization and `SLACK_PARTNER_ITEM_ID` to the ID of the Slack partner item.
157
+
## Version schedule
143
158
144
-
### Start integration tests
159
+
| Version | Supported Environments | State | First Release | EOL/Terminated |
0 commit comments