CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
## [v1.2.2](https://github.com/BartOtten/routex/compare/v1.2.1...v1.2.2) (2025-05-06)
### Bug Fixes:
* processing: order not fully restored
## [v1.2.1](https://github.com/BartOtten/routex/compare/v1.2.0...v1.2.1) (2025-05-05)
### Bug Fixes:
* core: reduction error when all routes are wrapped
* localize: custom route prefix ignored
## [v1.2.0](https://github.com/BartOtten/routex/compare/v1.1.0...v1.2.0) (2025-05-01)
### New Extensions:
* `Routex.Extension.Localize.Phoenix.Routes` - compile time localization
* `Routex.Extension.Localize.Phoenix.Runtime` - runtime localization
* `Routex.Extension.RuntimeDispatcher` - set state / put locale using route attributes
* `Routex.Extension.LiveViewHooks` - inlines custom LiveView lifecycle hooks provided by other extensions
* `Routex.Extension.Plugs` - detects and inlines custom Plugs provided by other extensions
### Features
* auto detection and usage of existing Cldr, Gettext or Fluent setup.
* support `locales` and `default_locale` for auto generated localized routes
* support attribute overrides for `locale` attributes
* `Routex.Extension.Localize.Registry` - simple locale registry based on IANA
* clear error messages when extensions are missing
* show summary of processed routes
* new config option to inspect generated helpers code
### Docs
* simplified Usage guide
* improved Localization guide
* updated Comparison guide
### Bug Fixes:
* core: warnings generated by mix docs
* core: compilation failure due to uncompiled backends
* core: compilation lockups / delays
### Tests:
* reached > 90% test coverage
* enforce > 90% test coverage
## [v1.1.0](https://github.com/BartOtten/routex/compare/v1.0.0...v1.1.0) (2025-02-13)
### Features:
* provide assigns directly in conn
* core: add function to print critical messages
### Bug Fixes:
* match patterns fail on trailing slash
* undefined on_mount/4, silent missing attrs/1
## [v1.0.0](https://github.com/BartOtten/routex/compare/v0.3.0-alpha.4...v1.0.0) (2025-02-03)
### Features:
* support Phoenix Liveview >= 1.0
### Bug Fixes:
* ci: upgrade artifact actions in workflow
* core: comp. error - cannot set :__struct__ in struct definition
* incorrect typespecs
* cldr: use territory_from_locale for territory resolution
## v0.x
The CHANGELOG for v0.x releases can be found in the [v0.x branch](https://github.com/BartOtten/routex/blob/v0.x/CHANGELOG.md).