Skip to content

Releases: contentstack/contentstack-typescript

v5.6.0

Choose a tag to compare

@cs-raj cs-raj released this 12 Aug 11:26
23c1dd5
  • 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.

v5.5.2

Choose a tag to compare

@reeshika-h reeshika-h released this 05 Aug 09:26

What's Changed

Full Changelog: v5.5.1...v5.5.2

v5.5.1

Choose a tag to compare

@reeshika-h reeshika-h released this 03 Aug 10:05

What's Changed

Full Changelog: v5.5.0...v5.5.1

v5.5.0

Choose a tag to compare

@OMpawar-21 OMpawar-21 released this 29 Jul 08:27

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

Choose a tag to compare

@cs-raj cs-raj released this 16 Jul 09:10

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

v5.3.0

Choose a tag to compare

@cs-raj cs-raj released this 15 Jul 15:39

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

Choose a tag to compare

@reeshika-h reeshika-h released this 29 Jun 11:00

What's Changed

  • Fix: Upgrade dependencies by @harshitha-cstk in #372

Full Changelog: v5.2.1...v5.2.2

v5.2.1

Choose a tag to compare

@harshitha07d harshitha07d released this 25 May 08:39

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

Choose a tag to compare

@naman-contentstack naman-contentstack released this 13 Apr 09:31

What's Changed

Full Changelog: v5.1.2...v5.2.0

v5.1.2

Choose a tag to compare

@naman-contentstack naman-contentstack released this 16 Mar 12:04

What's Changed

Full Changelog: v5.1.1...v5.1.2