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
-`Client` now resolves the `contentManagement` endpoint from the registry instead of a hardcoded host pattern.
13
-
- Added `scripts/download_regions.py` to refresh the bundled registry file.
13
+
- Bundled `contentstack_management/data/regions.json` included in `package_data` — always present after `pip install`.
14
+
-`setup.py` auto-refreshes `regions.json` at build time via a custom `BuildPyWithRegions` command; network failures warn but never block the build.
15
+
- Runtime fallback: if `regions.json` is absent, the SDK downloads it live on the first `Endpoint` call.
14
16
- New regions and services require no SDK code changes — registry update is sufficient.
15
-
- Added `refresh_regions()` utility to programmatically download the latest regions manifest from the Contentstack CDN and overwrite the bundled `data/regions.json`.
16
-
- Exposed `refresh_regions` at the package level (`from contentstack_management import refresh_regions`) for use in CI pipelines and tooling.
17
-
-`setup.py` now auto-refreshes `regions.json` at build time via a custom `BuildPyWithRegions` command, keeping bundled region data current on every `pip install`.
17
+
- Added `refresh_regions()` utility to programmatically download the latest regions manifest from the Contentstack CDN and overwrite the bundled `data/regions.json` (`from contentstack_management import refresh_regions`).
18
+
- Added `python3 -m contentstack_management.region_refresh` CLI command for refreshing the registry after `pip install` (source-tree script `scripts/download_regions.py` is for contributors only).
0 commit comments