- Dynamic endpoint resolution via new
Endpointclass. - Region-to-URL mapping is now loaded from a bundled
regions.json(sourced fromartifacts.contentstack.com) instead of hardcodedif/elifchains. - Added
Endpoint.get_contentstack_endpoint(region, service, omit_https)— resolves any supported region to itscontentDelivery,contentManagement, or other service URL. - Added
contentstack.get_contentstack_endpoint()module-level proxy. Stacknow auto-resolveshostandlive_previewmanagement host viaEndpointon initialization.- Bundled
contentstack/assets/regions.jsonincluded inpackage_data— always present afterpip install. setup.pyauto-refreshesregions.jsonat build time via a customBuildPyWithRegionscommand; network failures warn but never block the build.- Runtime fallback: if
regions.jsonis absent, the SDK downloads it live on the firstEndpointcall. - Added
refresh_regions()utility to programmatically download the latest regions manifest from the Contentstack CDN and overwrite the bundledassets/regions.json(from contentstack import refresh_regions). - Added
python3 -m contentstack.region_refreshCLI command for refreshing the registry afterpip install(source-tree scriptscripts/download_regions.pyis for contributors only).
- Fixed security issues.
- Assets fields(DAM 2.0) support added
- Improved Error messages.
- AWS AU and GCP EU region support added.
- Taxonomy Support Added.
- Variants Support Added.
- Fixed sanity testcases and removed hardcoded secrets.
- Global fields support added.
- Setuptools package version bump
- Custom logger support
- Version bump and security fixes.
- Updated the dependencies
- Added Livepreview 2.0 and Timeline support
- Fetch asset by any other field than UID
- Added GCP NA Support
- Empty package removed and added python 3.11 support
- SNYK issues fixed
- General code improvement clean up
- AZURE_EU, Region support added
- Include Metadata support added to asset, entry and query
- General code improvement clean up
- Updated code for Live Preview
Region support added.
- AZURE_NA support added
- General code clean up
Live Preview support added.
- Stack.live_preview_query function added in Stack
- live preview funtions added in config
Issue #17 resolved. Stack.sync_init uses wrong parameter names
contentstack-utils updated to v1.1.0
Entry - include_embedded_objects support added Query - include_embedded_objects support added
Date: 26-Feb-2021
- Retry policy and timeout support included
- Set default timeout 30 sec
Date: 08-Dec-2020
-
include_fallback Support Added
-
Timeout support included
-
Entry
- added support for include_fallback.
-
Asset
- added support for include_fallback.
-
AssetQueryable
- added support for include_fallback.
-
Query
- added support for include_fallback.
Date: 10-Aug-2020 - include_reference issue fixed
EntryQueryable
- updated include_reference function.
Date: 17-Jun-2020 - initial release
Stack
- Initialisation of stack has been modified
- External config support moved to stack initialisation optional paramters
- Added support for whereIn(String key) and whereNotIn(String key) methods in Query
Assets
- Changes incorporated in Asset class.
Entry
- Changes incorporated in the entry class.
Query
- Changes incorporated in the Query class.
November-18, 2019 -beta release
Initial release for the contentstack-python-sdk for Content Delivery API