Skip to content

Commit 7375012

Browse files
committed
docs: Migration guide for Python and Java (box/box-codegen#816)
1 parent 90ccba0 commit 7375012

File tree

4 files changed

+172
-117
lines changed

4 files changed

+172
-117
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "c0b8367", "specHash": "ec8720b", "version": "0.1.0" }
1+
{ "engineHash": "aa448e3", "specHash": "ec8720b", "version": "0.1.0" }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Browse the [docs](docs/README.md) or see [API Reference](https://developer.box.c
9292
# Upgrades
9393

9494
The SDK is updated regularly to include new features, enhancements, and bug fixes.
95-
If you are upgrading from manual v3 SDK version to this new generated v10, checkout the [migration guide](migration-guide.md) and [changelog](CHANGELOG.md) for more information.
95+
If you are upgrading from manual v3 SDK version to this new generated v10, checkout the [migration guide](migration-guides/from-v3-to-v10.md) and [changelog](CHANGELOG.md) for more information.
9696

9797
# Integration Tests
9898

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Migration guide from v1 version of the `box-python-sdk-gen` to the v10 version of the `box-pythom-sdk`
2+
3+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
4+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
5+
6+
- [Installation](#installation)
7+
- [How to migrate](#how-to-migrate)
8+
9+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
10+
11+
## Installation
12+
13+
In order to start using v10 version of the Box Python SDK, you need to change the dependency in your project.
14+
The artifact name has changed from `box-sdk-gen` to `boxsdk`.
15+
You also need to set the version to `10.0.0` or higher. You can find the latest version on [PyPI](https://pypi.org/project/boxsdk/).
16+
17+
### How to migrate
18+
19+
To start using v10 version of Box Python SDK in you Maven project replace the dependency in your `requirements.txt`
20+
or installation command.
21+
22+
**Old (`box-python-sdk-gen-v1`)**
23+
24+
```console
25+
pip install box-sdk-gen
26+
```
27+
28+
**New (`box-python-sdk-v10`)**
29+
30+
```console
31+
pip install boxsdk>=10
32+
```

0 commit comments

Comments
 (0)