- Resolved Snyk dependency findings in
requirements.txt(DX-27844 to DX-27852, DX-23123, DX-23125 to DX-23129):- Bumped
urllib3to~=2.8.0,certifito>=2026.10.19andsetuptoolsto>=84.1.0. - Removed unused packages that were the source of the remaining vulnerability and licence findings:
twython(and itsoauthlib),tox(and itsvirtualenv,chardet,distlib,filelock,platformdirs,cachetools),utils,astroid,pytest-htmlandblack. None are imported by the SDK. The runtime requirements insetup.pyare unchanged.
- Bumped
- Added Taxonomy CDA support:
stack.taxonomy(uid)now fetches a single published taxonomy (.fetch()), lists its terms (.term().find()), and fetches/traverses a single term (.term(uid).fetch()/.locales()/.ancestors()/.descendants()), with.locale(),.include_fallback(),.include_branch(),.depth(),.skip(),.limit(),.include_count(), and.param()chainable across the new classes.stack.taxonomy()(no uid) now also lists all published taxonomies via.find()when no filter is chained — existing entry-filter usage (.in_(),.above(),.below(),.exists(), etc. followed by.find()) is fully backward compatible and unchanged.
- Upgraded
setuptoolsto83.0.0to resolve a Snyk-flagged Improper Unicode Encoding Handling issue.(Snyk Fix)
- Added optional branch support for entry variants on
Entry.variants()andContentType.variants().
- Removed unused
keyringdependency to resolve a Snyk license-policy issue on the transitivesecretstoragepackage.(Snyk Fix)
- 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