Skip to content

DX | 03-08-2026 | Release - #201

Draft
reeshika-h wants to merge 7 commits into
masterfrom
development
Draft

DX | 03-08-2026 | Release#201
reeshika-h wants to merge 7 commits into
masterfrom
development

Conversation

@reeshika-h

Copy link
Copy Markdown
Contributor
  • v3.1.0 -> v3.2.0

harshitha-cstk and others added 7 commits July 20, 2026 17:03
chore: back-merge master into development
Adds full read access to Taxonomy Publishing via the CDA: list all
taxonomies, fetch a single taxonomy, list/fetch terms within a taxonomy,
and walk term hierarchy (locales, ancestors, descendants). All calls
support locale filtering and locale fallback, including across nested
term hierarchies.

- ContentstackClient.Taxonomies(uid) scopes to a specific taxonomy;
  Taxonomies() (no uid) continues to support entry-filtering unchanged.
- New Term/TermQuery classes provide Fetch/Locales/Ancestors/Descendants
  and a fluent Find<T>() query builder (locale, depth, branch, pagination).
- New Internals/TaxonomyRequestHelper centralizes request-building,
  header-merging, and error-parsing across Taxonomy/Term/TermQuery.
- Unit tests (mocked) and live integration tests cover every endpoint,
  locale/fallback behavior, and multi-level term hierarchy traversal.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…my filter is set

Taxonomy.Find<T>() is `new`-hidden over Query.Find<T>() to support listing all
taxonomies (GET /taxonomies). Because C# resolves `new`-hidden members by the
static declared type, this silently broke the entry-filter feature
(Taxonomies().Above/Below/EqualAndAbove/EqualAndBelow/Exists(...).Find<Entry>()):
every call landed on GET /taxonomies instead of GET /taxonomies/entries, with
the filter dropped and no exception thrown - regardless of whether the filter
methods were chained fluently or called as separate statements.

Find<T>() now checks a new internal HasEntryFilters flag (true once a filter
method has populated QueryValueJson) and delegates to base.Find<T>() - the
inherited Query pipeline - when set, reusing the existing virtual _Url
dispatch to reach /taxonomies/entries with the filter intact.

Adds HasEntryFilters regression tests to TaxonomyUnitTests.cs, and tightens
TaxonomySupportTest.cs's assertions, which previously treated any exception
as a passing test and never verified the response shape.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
feat(9681): add Taxonomy Publishing CDA support with localization
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