Enhancements:
- consider Phoenix endpoint configuration when building the urls
This should be released as v0.5.0, but I made a mistake.
New Features:
- add
PlugLocale.Browser.build_locale_url/2
Enhancements:
- consider forwarded requests when building the paths and urls
Breaking changes:
- rename
:sanitize_locale_by
option to:cast_locale_by
- rename
PlugLocale.WebBrowser.build_localized_path
toPlugLocale.WebBrowser.build_locale_path
- rename
PlugLocale.WebBrowser
toPlugLocale.Browser
New Features:
- add
PlugLocale.Browser.put_locale_resp_cookie/2
/PlugLocale.Browser.put_locale_resp_cookie/3
Breaking changes:
- rename
:sanitize_locale
option to:sanitize_locale_by