Skip to content

Latest commit

 

History

History
255 lines (199 loc) · 8.74 KB

File metadata and controls

255 lines (199 loc) · 8.74 KB

Version: 5.6.0

Date: Aug-10-2026

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.

Version: 5.5.2

Date: Aug-05-2026

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 dynamic require() in the keep-alive agent setup — now uses statically analyzable require('http')/require('https')
  • Guard keep-alive agent creation for native ESM (where require is undefined) to avoid a ReferenceError
  • Add package browser field so http/https resolve cleanly in browser bundles

Version: 5.5.1

Date: Aug-03-2026

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/httpsAgent keep-alive connection agents in Node environments

Version: 5.5.0

Date: Jul-27-2026

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.

Version: 5.4.0

Date: Jul-16-2026

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.mjs script to use the new pattern
  • No breaking change for calls that did not pass locale to fetch()

Version: 5.3.0

Date: Jul-16-2026

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() and includeFallback() methods on TermQuery

Note: Taxonomy Publishing requires the taxonomy_publish.

Version: 5.2.2

Date: June-29-2026

Fix: Upgrade dependencies

Version: 5.2.1

Date: May-25-2026

Fix: Upgrade dependencies

Version: 5.2.0

Date: Apr-09-2026

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.

Version: 5.1.2

Date: Mar-16-2026

Fix: Added security issues

Version: 5.1.1

Date: Mar-09-2026

Fix: Added support of special symbols in regex method with safe pattern.

Version: 5.1.0

Date: Mar-02-2026

Fix: Added support of asset fields in assets & entries class.

Version: 5.0.1

Date: feb-23-2026

Fix: Added support of special symbols in regex method with safe pattern.

Version: 5.0.0

Date: Feb-16-2026

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

Version: 4.11.2

Date: feb-11-2026

Fix: JS core & axios version bump

Version: 4.11.2

Date: feb-11-2026

Fix: JS core & axios version bump

Version: 4.11.1

Date: Feb-09-2026

Fix: Fix security issues

Version: 4.11.0

Date: Jan-19-2026

Enhancement: Integrated getContentstackEndpoint method of Utils SDK for endpoint selection

Version: 4.10.5

Date: Jan-05-2026

Fix: update esm export path to include .js extension (upgrade contentstack-js-core dependency)

Version: 4.10.5

Date: Jan-05-2026

Fix: Fix security issues

Version: 4.10.4

Date: Dec-08-2025

Feat: Improved error messages

Version: 4.10.3

Date: Nov-12-2025

fix: reverts the endpoints helper method integration

Version: 4.10.2

Date: Dec-15-2025

Build: bump @contentstack/core version to ^1.3.4

Version: 4.10.3

Date: Nov-13-2025

Fix: reverts the endpoints helper method integration

Version: 4.10.2

Date: Nov-12-2025

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

Version: 4.10.1

Date: Oct-27-2025

Fix: Upgrade dependecies

Version: 4.10.0

Date: Sep-22-2025

Fix: Enhance retry logic to use configured retryDelay Enhancement: Caching logic to use combination of content type uid and entry uid

Version: 4.9.0

Date: Aug-25-2025

Fix: Fixed Timeout parameter which is being ignored & Removed custom error object

Version: 4.8.1

Date: Aug-18-2025

Enh: Dependency update for core package

Version: 4.8.0

Date: June-30-2025

Enh: Added AWS-EU support

Version: 4.7.1

Date: June-13-2025

  • Add encode option on find method to encode query params

Version: 4.7.0

Date: Apr-29-2025

  • 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".

Version: 4.6.1

Date: March-24-2025

Fix: Update imports and dependencies Fix: Unit test cases

Version: 4.6.0

Date: March-10-2025

Enh: Added GCP-EU support

Version: 4.4.4

Date: January-06-2025

Enh: Include References on Entry UID Fix: reset livePreviewConfig properties if not received in params

Version: 4.4.3

Date: November-30-2024

Fix: regex method fixed for validation

Version: 4.4.2

Date: November-16-2024

Fix: Variants reset issue fix on query call

Version: 4.4.1

Date: November-08-2024

Fix: Build via tsup lib Fix: removed node-localstorage

Version: 4.4.0

Date: October-21-2024

Fix: getData to receive params and headers both in data Enh: Node version bump Refactor: Package type changed to be module instead of CommonJS

Version: 4.3.0

Date: Septmber-09-2024

Feat: Include refernce accepts array of values

Version: 4.2.0

Date: Septmber-04-2024

Feat: Variants support added

Version: 4.1.0

Date: August-07-2024

Feat: Live Preview configuration changes Feat: fetch asset by any field-uid other that asset-uid

Version: 4.0.6

Date: July-30-2024

Fix: Live preview endpoint issue

Version: 4.0.5

Date: July-23-2024

Dependecy updates

Version: 4.0.4

Date: July-10-2024

Fixed semgrep issues

Version: 4.0.3

Date: June-11-2024

Fixed region issue

Version: 4.0.2

Date: June-03-2024

Custom host implementation

Version: 4.0.1

Date: May-20-2024

Fixed SRE vulnerabilities

Version: 4.0.0

Date: April-23-2024

Official release of Typescript SDK

Version: 4.0.0-beta.6

Date: April-09-2024

New Features:
  • Query operators implementation-3

Version: 4.0.0-beta.5

Date: March-26-2024

New Features:
  • Query operators implementation-2

Version: 4.0.0-beta.4

Date: March-14-2024

New Features:
  • Query operators implementation

Version: 4.0.0-beta.3

Date: February-13-2024

  • Live preview support 1.0 and 2.0

Version: v4.0.0-beta.2

Date: February-02-2024

  • Includes adding of prepare script to build package

Version: 4.0.0-beta

Date: January-15-2024

  • Beta release of Typescript SDK