Changelog
phil/address-bundlePas encore traduite
Cette page n’est pas encore traduite en français ; elle est montrée en anglais.
All notable changes to phil/address-bundle will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
0.1.0-alpha - 2026-11-11
Added
CountryFieldsandKnownCountries.ValidAddressand its validator.AddressColumnType.PhilAddressBundle, extension aliasphil_address, with the keysdefault_countryandformat_url.AddressTypeandAddressTransformer: the form keeps only the fields the submitted country writes, so changing the country of an address being edited drops the hidden fields of the other country, and a violation on a field the form does not show goes to the form. The format URL the form gives the controller asks for the recipient's fields withwith_recipient.AddressFormatControllerandconfig/routes.php: the format endpoint takes its language from thelocalequery parameter that the form writes in the URL, and is public only then; without it, the answer follows the request's language and is private, so a shared cache never serves one language's labels to a person reading another.AddressExtension, with the Twig functionaddress_schema: schema.org data for JSON-LD. Thetwig/twigsuggestion names the filters and functions; the bundle has no form theme.- The Stimulus controller
address, inassets/, which applies only the answer for the country still chosen, and dispatchesfailedwhen the request fails. - The labels and messages in English and French, in
translations/. - The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.