View Source Upgrading to v0.1.0-rc.2
Bump your deps
Update Beacon to the specific release candidate version:
[
{:beacon, "~> 0.1.0-rc.2"}
]
Remember to keep the option override: true
if running BeaconLiveAdmin in the same project.
Update Gettext
Gettext has been updated to ~> 0.26
which requires a change,
but fortunately it's a small and beneficial one.
In your mix.exs
file, update the :gettext
dependency to at least ~> 0.26
:
[
{:gettext, "~> 0.26"}
]
Then change your application's Gettext
module to use the new Gettext.Backend
module:
defmodule MyAppWeb.Gettext do
use Gettext.Backend, otp_app: :my_app_web
end
Change the names accordingly, the only change needed here is adding the .Backend
suffix.
And now in every place you used to import MyAppWeb.Gettext
, just replace with use Gettext, backend: MyAppWeb.Gettext
For more info see https://github.com/elixir-gettext/gettext/blob/main/CHANGELOG.md#v0260