Releases: contentstack/contentstack-typescript
Releases · contentstack/contentstack-typescript
Release list
v5.6.0
- 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
retryConditionis composed with the default network-error retry logic — both are honoured without either replacing the other. IfretryConditionthrows, the SDK logs a warning vialogHandlerand falls back to default retry behaviour.
v5.5.2
What's Changed
- chore: back-merge main into development by @github-actions[bot] in #383
- back merge by @reeshika-h in #387
- chore: Prepare 5.5.2 release with @contentstack/core ^1.5.1 by @reeshika-h in #388
- DX | 05-08-2026 | Hotfix by @reeshika-h in #389
Full Changelog: v5.5.1...v5.5.2
v5.5.1
v5.5.0
What's Changed
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.
Full Changelog: v5.4.0...v5.5.0
v5.4.0
Enhancement:
- 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()
v5.3.0
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.
v5.2.2
v5.2.1
What's Changed
- docs(DX-6049): add AGENTS.md, skills, and Cursor rules entry by @harshitha-cstk in #357
- Fixed snyk issues by @sunil-lakshman in #358
- back merge by @harshitha-cstk in #360
- DX-6157: new release process by @harshitha-cstk in #359
- chore: update changelog and bump version to 5.2.1 with dependency upg… by @harshitha-cstk in #366
New Contributors
- @harshitha-cstk made their first contribution in #357
Full Changelog: v5.2.0...v5.2.1
v5.2.0
What's Changed
- Added base query methods in content type class by @sunil-lakshman in #352
Full Changelog: v5.1.2...v5.2.0