Changelog
phil/taxonomy-bundleAll notable changes to phil/taxonomy-bundle will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
0.1.0-alpha - 2026-11-11
Added
- The entities
Tag, a name of 1 toTag::MAX_LENGTH(100) characters,Category, at depth 10 at most,CategoryTranslationandAssignment; the exceptionsTaxonomyExceptionandInvalidTaxonomy; the portTaxonomyRepository, which reads tags, categories and translations by lists in one query. Resources areResourceReferences ofphil/resource, whoseInvalidResourcea malformed reference throws. TaxonomyandCategoryNode: tag slugs and category keys areSlugs ofphil/slug, made by aSlugger— the transliterating one at most 128 characters by default —;Taxonomy::move()refuses a branch whose deepest category would pass depth 10;Taxonomy::names(),tree(),tagsOf()andcategoriesOf()read in a set number of queries,names()the translations of the language, its base language and the fallback language only;Taxonomy::mergeCategories()reads the tree once and writes the children in one flush;Taxonomy::setTags()refuses more thanTaxonomy::MAX_TAGS(100) names withInvalidTaxonomy, before any query.DoctrineTaxonomyRepository, whosetranslationsOf()takes the locales to read.PhilTaxonomyBundle, extension aliasphil_taxonomy, keysfallback_localeandslugger, the service id of the slugger of tag names and category keys.TagsType, whosemax_tagsoption, 20 by default and at mostTaxonomy::MAX_TAGS, caps the distinct tags, andTagsTransformer, which tells tags apart in linear time and fails with thevalidatorsmessagestaxonomy.tags.too_manyandtaxonomy.tags.too_longpast the limit or past 100 characters;CategoryType, whose choices are the categories, labelled apart with the names their tree was read with, so that two categories of the same name at the same depth are both offered; labels in English and French.- The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.