Closed nelsonic closed 3 years ago
$ mix archive.install hex phx_new
Resolving Hex dependencies...
Dependency resolution completed:
New:
phx_new 1.6.0
* Getting phx_new (Hex package)
All dependencies are up to date
Compiling 11 files (.ex)
Generated phx_new app
Generated archive "phx_new-1.6.0.ez" with MIX_ENV=prod
Found existing entry: ~/.mix/archives/phx_new-1.5.5
Are you sure you want to replace it with "phx_new-1.6.0.ez"? [Yn] y
* creating ~/.mix/archives/phx_new-1.6.0
Full list of deps
for a brand new Phoenix 1.6
app:
defp deps do
[
{:phoenix, "~> 1.6.0"},
{:phoenix_ecto, "~> 4.4"},
{:ecto_sql, "~> 3.6"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 3.0"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_live_view, "~> 0.16.4"},
{:floki, ">= 0.30.0", only: :test},
{:phoenix_live_dashboard, "~> 0.5"},
{:esbuild, "~> 0.2", runtime: Mix.env() == :dev},
{:swoosh, "~> 1.3"},
{:telemetry_metrics, "~> 0.6"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.18"},
{:jason, "~> 1.2"},
{:plug_cowboy, "~> 2.5"}
]
end
Building static assets and hot-reloading is sooooo much faster!!
22:00:46.776 [debug] Downloading esbuild from https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.12.18.tgz
../priv/static/assets/app.css 9.6kb
../priv/static/assets/app.js 1.3kb
⚡ Done in 10ms
==> app
Upgrade instructions: https://gist.github.com/chrismccord/2ab350f154235ad4a4d0f4de6decba7b
The step in the Phoenix Upgrade guide where we DELETE
the assets/webpack.config.js
, assets/package.json
, assets/package-lock.json
assets/.babelrc
and node_modules
brings #TearsOfJoy
to my eyes: 😂 😍
https://gist.github.com/chrismccord/2ab350f154235ad4a4d0f4de6decba7b#migrate-to-esbuild-for-js-and-css-bundling-optional
Updated the Hits app https://hits.dwyl.com to use Phoenix 1.6.2
https://github.com/dwyl/hits/pull/128
We now have a "real" Phoenix 1.6.2
App in "Production"! 🎉
Closing this ticket as confident Phoenix 1.6 is working for us. ✅
GOTO
#152
Really excited about this release: https://github.com/phoenixframework/phoenix/tags
While this may appear to be a "minor" update (from SemVer perspective), it's actually pretty significant. See: CHANGELOG: https://github.com/phoenixframework/phoenix/blob/master/CHANGELOG.md#changelog-for-v16
Todo
1.6
on a smaller project: https://github.com/dwyl/elixir-auth-github-demo/pull/18GOTO
: https://github.com/dwyl/email/issues/52mix phx.gen.auth
generator https://github.com/dwyl/auth/issues/133 (this is great news!)