Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phoenix v1.6.0 Released! 🚀 #143

Closed
4 tasks done
nelsonic opened this issue Sep 11, 2021 · 10 comments
Closed
4 tasks done

Phoenix v1.6.0 Released! 🚀 #143

nelsonic opened this issue Sep 11, 2021 · 10 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Sep 11, 2021

Really excited about this release: https://github.com/phoenixframework/phoenix/tags
phoenix-1 6rc

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

@nelsonic
Copy link
Member Author

@nelsonic
Copy link
Member Author

phoenix-1 6-released

🚀

@nelsonic
Copy link
Member Author

$ 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

@nelsonic nelsonic changed the title Phoenix v1.6.0-rc.0 Phoenix v1.6.0 Released! 🚀 Sep 27, 2021
@nelsonic
Copy link
Member Author

nelsonic commented Sep 27, 2021

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

@nelsonic
Copy link
Member Author

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

@nelsonic
Copy link
Member Author

@nelsonic
Copy link
Member Author

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
image

@nelsonic
Copy link
Member Author

nelsonic commented Nov 1, 2021

Updated the Hits app https://hits.dwyl.com to use Phoenix 1.6.2 dwyl/hits#128

@nelsonic
Copy link
Member Author

nelsonic commented Nov 3, 2021

We now have a "real" Phoenix 1.6.2 App in "Production"! 🎉
Closing this ticket as confident Phoenix 1.6 is working for us. ✅

@nelsonic nelsonic closed this as completed Nov 3, 2021
@nelsonic
Copy link
Member Author

GOTO #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant