Skip to content

Releases: contentstack/contentstack-typescript

v5.4.0

Choose a tag to compare

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

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
c50679f

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
41c440b

What's Changed

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

v5.2.1

Choose a tag to compare

@harshitha-cstk harshitha-cstk released this 25 May 08:39
fb9ab05

What's Changed

New Contributors

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
cdba1ce

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
8b1cf31

What's Changed

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

v5.1.1

Choose a tag to compare

@harshithad0703 harshithad0703 released this 09 Mar 09:10
a763410

What's Changed

Full Changelog: v5.1.0...v5.1.1

v5.1.0

Choose a tag to compare

@harshithad0703 harshithad0703 released this 02 Mar 07:58
18df840

What's Changed

Full Changelog: 5.0.1...v5.1.0

v5.0.1

Choose a tag to compare

@naman-contentstack naman-contentstack released this 23 Feb 12:03
ef8b93d

What's Changed

Full Changelog: v5.0.0...5.0.1

v5.0.0

Choose a tag to compare

@naman-contentstack naman-contentstack released this 16 Feb 10:22
7066ee7

What's Changed

Full Changelog: v4.11.2...v5.0.0