Skip to content

feat: add locale and includeFallback support to taxonomy CDA delivery#374

Merged
harshitha-cstk merged 1 commit into
feat/taxonomy-publishingfrom
enhc/taxonomy-localisation-2
Jul 15, 2026
Merged

feat: add locale and includeFallback support to taxonomy CDA delivery#374
harshitha-cstk merged 1 commit into
feat/taxonomy-publishingfrom
enhc/taxonomy-localisation-2

Conversation

@cs-raj

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

Copy link
Copy Markdown
Contributor

feat: add locale and includeFallback support to taxonomy CDA delivery

Adds locale-aware retrieval for taxonomy and term CDA endpoints

  • 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

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>
@cs-raj cs-raj requested a review from a team as a code owner July 15, 2026 10:29
@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

@harshitha-cstk harshitha-cstk merged commit dae3f07 into feat/taxonomy-publishing Jul 15, 2026
7 checks passed
@harshitha-cstk harshitha-cstk deleted the enhc/taxonomy-localisation-2 branch July 15, 2026 11:31
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.

3 participants