Fix: Transient network-layer errors (ENOTFOUND, ENETUNREACH, ECONNRESET, ECONNREFUSED, EAI_AGAIN, ETIMEDOUT, EHOSTUNREACH, ENETDOWN) are now retried automatically using the SDK's configured retry policy instead of failing immediately.
Enhancement: User-supplied retryCondition is composed with the default network-error retry logic — both are honoured without either replacing the other. If retryCondition throws, the SDK logs a warning via logHandler and falls back to default retry behaviour.
Fix: Bump @contentstack/core to ^1.5.1:
- Resolve
MODULE_NOT_FOUND/ "expression is too dynamic" build failures in bundlers (Next.js/Turbopack, webpack) caused by a dynamicrequire()in the keep-alive agent setup — now uses statically analyzablerequire('http')/require('https') - Guard keep-alive agent creation for native ESM (where
requireis undefined) to avoid aReferenceError - Add package
browserfield sohttp/httpsresolve cleanly in browser bundles
Fix: Bump @contentstack/core to ^1.5.0:
- Retry of transient network-level errors (
ECONNABORTED,ETIMEDOUT,ECONNRESET,EPIPE,EAI_AGAIN) by default when there is no HTTP response - Distinct classification of request timeouts instead of a generic
UNKNOWN_ERROR - Default
httpAgent/httpsAgentkeep-alive connection agents in Node environments
Enhancement: Entry variants support an optional branch name as the second argument to variants() on Entry and Entries. When provided, the branch is sent as the branch request header together with x-cs-variant-uid. Existing variants(uid) and variants(uids) calls remain backward compatible. Added unit and API tests for variant + branch requests.
Enhancement: Removed locale? parameter from Taxonomy.fetch() and Term.fetch() — locale is now set via the chainable .param('locale', value) API, consistent with other query modifiers.
.param('locale', 'fr-fr').fetch()is the correct pattern for localized taxonomy/term fetches- Updated all tests and the
taxonomy-demo.mjsscript to use the new pattern - No breaking change for calls that did not pass locale to
fetch()
Feature: Added Taxonomy Publishing support to the Content Delivery SDK via stack.taxonomy().
- Fetch all published taxonomies:
stack.taxonomy().find() - Fetch a single published taxonomy by UID:
stack.taxonomy(uid).fetch(locale?) - Fetch all terms for a taxonomy:
stack.taxonomy(uid).term().find() - Fetch a single term by UID:
stack.taxonomy(uid).term(uid).fetch(locale?) - Fetch all localized versions of a term:
stack.taxonomy(uid).term(uid).locales() - Fetch ancestors of a term:
stack.taxonomy(uid).term(uid).ancestors() - Fetch descendants of a term:
stack.taxonomy(uid).term(uid).descendants() - Locale support on term queries via chainable
locale()andincludeFallback()methods onTermQuery
Note: Taxonomy Publishing requires the taxonomy_publish.
Fix: Upgrade dependencies
Fix: Upgrade dependencies
Enhancement: ContentTypeQuery extends BaseQuery so stack.contentType() supports paginate, skip, limit, and related query helpers without mutating _queryParams; includeGlobalFieldSchema() and find() stay backward compatible. Expanded unit tests for ContentTypeQuery.
Fix: Added security issues
Fix: Added support of special symbols in regex method with safe pattern.
Fix: Added support of asset fields in assets & entries class.
Fix: Added support of special symbols in regex method with safe pattern.
Breaking: Cache persistence is now a separate plugin. When using a cache policy other than IGNORE_CACHE, you must pass cacheOptions.persistenceStore. Install @contentstack/persistence-plugin and use new PersistenceStore({ ... }) as the store. The SDK no longer bundles persistence code or accepts storeType in cacheOptions.
Enhancement: SDK defines only the PersistenceStore interface (getItem/setItem); full implementation lives in the plugin for a lighter core package.
Fix: Sync API returns non-Axios response causing undefined data and recursive sync failure
Fix: JS core & axios version bump
Fix: JS core & axios version bump
Fix: Fix security issues
Enhancement: Integrated getContentstackEndpoint method of Utils SDK for endpoint selection
Fix: update esm export path to include .js extension (upgrade contentstack-js-core dependency)
Fix: Fix security issues
Feat: Improved error messages
fix: reverts the endpoints helper method integration
Build: bump @contentstack/core version to ^1.3.4
Fix: reverts the endpoints helper method integration
Enhancement: Added logHandler interceptors for request and response logging Enhancement: Upgraded @contentstack/utils dependency to version 1.6.2 Refactor: Replaced region handling logic to use getContentstackEndpoint from @contentstack/utils
Fix: Upgrade dependecies
Fix: Enhance retry logic to use configured retryDelay Enhancement: Caching logic to use combination of content type uid and entry uid
Fix: Fixed Timeout parameter which is being ignored & Removed custom error object
Enh: Dependency update for core package
Enh: Added AWS-EU support
- Add encode option on find method to encode query params
- Added return type for entry-querable method
- Added support of top-level export of Stack type in @contentstack/delivery-sdk for compatibility with "moduleResolution": "Bundler".
Fix: Update imports and dependencies Fix: Unit test cases
Enh: Added GCP-EU support
Enh: Include References on Entry UID Fix: reset livePreviewConfig properties if not received in params
Fix: regex method fixed for validation
Fix: Variants reset issue fix on query call
Fix: Build via tsup lib Fix: removed node-localstorage
Fix: getData to receive params and headers both in data Enh: Node version bump Refactor: Package type changed to be module instead of CommonJS
Feat: Include refernce accepts array of values
Feat: Variants support added
Feat: Live Preview configuration changes Feat: fetch asset by any field-uid other that asset-uid
Fix: Live preview endpoint issue
Dependecy updates
Fixed semgrep issues
Fixed region issue
Custom host implementation
Fixed SRE vulnerabilities
Official release of Typescript SDK
- Query operators implementation-3
- Query operators implementation-2
- Query operators implementation
- Live preview support 1.0 and 2.0
- Includes adding of prepare script to build package
- Beta release of Typescript SDK