Skip to content

Commit 407284e

Browse files
docs: Add deprecation note to readme.md (box/box-codegen#835) (#725)
1 parent 62669bf commit 407284e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "87747c8", "specHash": "ae77fe0", "version": "1.17.0" }
1+
{ "engineHash": "0271743", "specHash": "ae77fe0", "version": "1.17.0" }

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22
<img src="https://github.com/box/sdks/blob/master/images/box-dev-logo.png" alt= “box-dev-logo” width="30%" height="50%">
33
</p>
44

5+
# Deprecation notice
6+
7+
As of September 17, 2025 Box Next Generation SDKs are no longer supported as separate artifacts. Don't worry, your existing code will continue to work without changes. You can still use your applications based on Box Next Generation SDKs with no impact, but you won't receive new features, updates, or bug fixes. In keeping with industry best practices, we are consolidating the Box Next Generation SDKs and Box core SDKs into a single package for each programming language. This makes migration efforts much easier and allows to seamlessly add new capabilities to existing applications still powered by the manually maintained Box core SDKs. Box Next Generation SDKs are available as the latest major version release (`v10`) of Box core SDKs. Currently, it’s available as a separate [branch](https://github.com/box/box-python-sdk/tree/sdk-gen).
8+
9+
For more details, see our [SDK versioning strategy document](https://developer.box.com/guides/tooling/sdks/sdk-versioning/).
10+
511
# Box Python SDK Gen
612

7-
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
13+
[![Project Status](http://opensource.box.com/badges/deprecated.svg)](http://opensource.box.com/badges)
814
![build](https://github.com/box/box-python-sdk-gen/actions/workflows/build.yml/badge.svg)
915
[![PyPI version](https://badge.fury.io/py/box-sdk-gen.svg)](https://badge.fury.io/py/box-sdk-gen)
1016
[![image](https://img.shields.io/pypi/dm/box-sdk-gen.svg)](https://pypi.python.org/pypi/box-sdk-gen)

box_sdk_gen/box/event_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _get_long_poll_info(self):
116116
info = self._events_manager.get_events_with_long_polling()
117117

118118
server = next(
119-
(e for e in (info.entries or []) if e.type == 'realtime_server'), None
119+
(e for e in info.entries or [] if e.type == 'realtime_server'), None
120120
)
121121
if not server:
122122
raise BoxSDKError(message='No realtime server found in the response.')

0 commit comments

Comments
 (0)