Skip to content

DX | 16-07-2026 | Release#376

Merged
maheshmotkar-cs merged 53 commits into
mainfrom
development
Jul 15, 2026
Merged

DX | 16-07-2026 | Release#376
maheshmotkar-cs merged 53 commits into
mainfrom
development

Conversation

@cs-raj

@cs-raj cs-raj commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

version bump: 5.2.2 -> 5.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.

harshitha-cstk and others added 30 commits October 13, 2025 14:00
feat: Add ancestors method to Term class and update related tests
feat: Add descendants method to Term class and update related tests
harshitha-cstk and others added 16 commits May 25, 2026 18:21
chore: back-merge main into development
chore: back-merge main into development
chore: back-merge main into development
Adds locale-aware retrieval for taxonomy and term CDA endpoints
(cdn.contentstack.io) to cover the localized-delivery flow (CD-11371).

- Taxonomy.fetch(locale?) — pass locale to GET /taxonomies/{uid}
- TermQuery.locale(code) + includeFallback() — chainable params on
  GET /taxonomies/{uid}/terms for locale and fallback filtering
- Term.fetch(locale?) — pass locale to GET /taxonomies/{uid}/terms/{uid}
- Fixed incorrect JSDoc on Term.fetch (copy-paste from descendants)
- Fixed broken test imports pointing to non-existent src/lib/* paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: add locale and includeFallback support to taxonomy CDA delivery
…rmQuery

Add chainable helpers so common CDA query params can be sent on the
published taxonomy/term endpoints, which previously issued requests with
no params at all:

- Term: depth(), includeFallback(), includeBranch(), param(), addParams()
  and locale support on fetch(); all request methods (fetch/locales/
  ancestors/descendants) now forward _queryParams.
- Taxonomy: includeFallback(), includeBranch(), param(), addParams(), and
  locale support on fetch() (fetch() now forwards _queryParams).
- TermQuery: depth(), skip(), limit(), includeCount(), includeFallback(),
  includeBranch(), locale(), param(), addParams().

Also fix broken unit-test imports (src/lib/* -> src/taxonomy/*, src/query/*)
so the taxonomy suites load, and add coverage asserting the params reach
the request.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…m-query

Add mock fixtures and unit/API test cases exercising locale-based fetch
and query behavior across Taxonomy, Term, and TermQuery.
@cs-raj cs-raj requested a review from a team as a code owner July 15, 2026 14:17
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
98.77% (-0.55% 🔻)
962/974
🟢 Branches
95.97% (-1.26% 🔻)
286/298
🟢 Functions
97.76% (-0.18% 🔻)
218/223
🟢 Lines
99.24% (-0.16% 🔻)
912/919
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 taxonomy/index.ts 92% 100% 85.71% 90.91%
🟢 query/term-query.ts 100% 100% 100% 100%
🟢 taxonomy/term.ts 91.43% 40% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 stack/stack.ts
98.08% (-1.92% 🔻)
95.65% (-4.35% 🔻)
100% 100%

Test suite run success

698 tests passing in 35 suites.

Report generated by 🧪jest coverage report action from 01c3e69

OMpawar-21
OMpawar-21 previously approved these changes Jul 15, 2026
…xonomy-test-data

# Conflicts:
#	test/api/entries.spec.ts
fix: update entries taxonomy tests to use real stack data
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@maheshmotkar-cs maheshmotkar-cs merged commit c50679f into main Jul 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants