diff --git a/CHANGELOG.md b/CHANGELOG.md index 3622ba4c5e..94a0a4a64e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,14 @@ styled with Tailwind CSS by default. You can opt-out of Tailwind CSS with the `- flag (the Tailwind CSS classes are kept in the generated components as reference for future styling). +## 1.7.10 (2023-11-03) + +### Bug fixes + * [phx.new] – fix `CoreComponents.flash` generating incorrect id's causing flash messages to fail to be closed when clicked + +### Enhancements + * Support dynamic port for `Endpoint.url/0` + ## 1.7.9 (2023-10-11) ### Bug fixes diff --git a/assets/package-lock.json b/assets/package-lock.json index 80fefb01b7..de09e0970a 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1,12 +1,12 @@ { "name": "phoenix", - "version": "1.7.9", + "version": "1.7.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "phoenix", - "version": "1.7.9", + "version": "1.7.10", "license": "MIT", "devDependencies": { "@babel/cli": "7.14.3", diff --git a/assets/package.json b/assets/package.json index a5e88c4dfc..9f7a89ee19 100644 --- a/assets/package.json +++ b/assets/package.json @@ -1,6 +1,6 @@ { "name": "phoenix", - "version": "1.7.9", + "version": "1.7.10", "description": "The official JavaScript client for the Phoenix web framework.", "license": "MIT", "main": "./assets/js/phoenix/index.js", diff --git a/installer/mix.exs b/installer/mix.exs index 2073f8d6f7..7bc7e50ea1 100644 --- a/installer/mix.exs +++ b/installer/mix.exs @@ -6,7 +6,7 @@ end defmodule Phx.New.MixProject do use Mix.Project - @version "1.7.9" + @version "1.7.10" @scm_url "https://github.com/phoenixframework/phoenix" # If the elixir requirement is updated, we need to update: diff --git a/installer/templates/phx_single/mix.exs b/installer/templates/phx_single/mix.exs index a09cd87ca5..ec749456ca 100644 --- a/installer/templates/phx_single/mix.exs +++ b/installer/templates/phx_single/mix.exs @@ -45,7 +45,7 @@ defmodule <%= @app_module %>.MixProject do {:phoenix_live_view, "~> 0.20.1"}, {:floki, ">= 0.30.0", only: :test},<% end %><%= if @dashboard do %> {:phoenix_live_dashboard, "~> 0.8.2"},<% end %><%= if @javascript do %> - {:esbuild, "~> 0.7", runtime: Mix.env() == :dev},<% end %><%= if @css do %> + {:esbuild, "~> 0.8", runtime: Mix.env() == :dev},<% end %><%= if @css do %> {:tailwind, "~> 0.2.0", runtime: Mix.env() == :dev},<% end %><%= if @mailer do %> {:swoosh, "~> 1.3"}, {:finch, "~> 0.13"},<% end %> diff --git a/installer/templates/phx_umbrella/apps/app_name_web/mix.exs b/installer/templates/phx_umbrella/apps/app_name_web/mix.exs index 7d750b1ae4..f193ce99c2 100644 --- a/installer/templates/phx_umbrella/apps/app_name_web/mix.exs +++ b/installer/templates/phx_umbrella/apps/app_name_web/mix.exs @@ -43,7 +43,7 @@ defmodule <%= @web_namespace %>.MixProject do {:phoenix_live_view, "~> 0.20.1"}, {:floki, ">= 0.30.0", only: :test},<% end %><%= if @dashboard do %> {:phoenix_live_dashboard, "~> 0.8.2"},<% end %><%= if @javascript do %> - {:esbuild, "~> 0.7", runtime: Mix.env() == :dev},<% end %><%= if @css do %> + {:esbuild, "~> 0.8", runtime: Mix.env() == :dev},<% end %><%= if @css do %> {:tailwind, "~> 0.2.0", runtime: Mix.env() == :dev},<% end %> {:telemetry_metrics, "~> 0.6"}, {:telemetry_poller, "~> 1.0"},<%= if @gettext do %> diff --git a/integration_test/mix.exs b/integration_test/mix.exs index 8719a2aaed..3fdffbfd91 100644 --- a/integration_test/mix.exs +++ b/integration_test/mix.exs @@ -34,7 +34,7 @@ defmodule Phoenix.Integration.MixProject do {:phx_new, path: "../installer"}, {:phoenix, path: "..", override: true}, {:phoenix_ecto, "~> 4.4"}, - {:esbuild, "~> 0.7", runtime: false}, + {:esbuild, "~> 0.8", runtime: false}, {:ecto_sql, "~> 3.10"}, {:postgrex, ">= 0.0.0"}, {:myxql, ">= 0.0.0"}, diff --git a/integration_test/mix.lock b/integration_test/mix.lock index c242649216..b993d27cf4 100644 --- a/integration_test/mix.lock +++ b/integration_test/mix.lock @@ -1,7 +1,7 @@ %{ "argon2_elixir": {:hex, :argon2_elixir, "3.1.0", "4135e0a1b4ff800d42c85aa663e068efa3cb356297189b5b65caa992db8ec8cf", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "c08feae0ee0292165d1b945003363c7cd8523d002e0483c627dfca930291dd73"}, "bcrypt_elixir": {:hex, :bcrypt_elixir, "3.0.1", "9be815469e6bfefec40fa74658ecbbe6897acfb57614df1416eeccd4903f602c", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "486bb95efb645d1efc6794c1ddd776a186a9a713abf06f45708a6ce324fb96cf"}, - "castore": {:hex, :castore, "1.0.3", "7130ba6d24c8424014194676d608cb989f62ef8039efd50ff4b3f33286d06db8", [:mix], [], "hexpm", "680ab01ef5d15b161ed6a95449fac5c6b8f60055677a8e79acf01b27baa4390b"}, + "castore": {:hex, :castore, "1.0.4", "ff4d0fb2e6411c0479b1d965a814ea6d00e51eb2f58697446e9c41a97d940b28", [:mix], [], "hexpm", "9418c1b8144e11656f0be99943db4caf04612e3eaecefb5dae9a2a87565584f8"}, "cc_precompiler": {:hex, :cc_precompiler, "0.1.7", "77de20ac77f0e53f20ca82c563520af0237c301a1ec3ab3bc598e8a96c7ee5d9", [:mix], [{:elixir_make, "~> 0.7.3", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "2768b28bf3c2b4f788c995576b39b8cb5d47eb788526d93bd52206c1d8bf4b75"}, "comeonin": {:hex, :comeonin, "5.3.3", "2c564dac95a35650e9b6acfe6d2952083d8a08e4a89b93a481acb552b325892e", [:mix], [], "hexpm", "3e38c9c2cb080828116597ca8807bb482618a315bfafd98c90bc22a821cc84df"}, "cowboy": {:hex, :cowboy, "2.10.0", "ff9ffeff91dae4ae270dd975642997afe2a1179d94b1887863e43f681a203e26", [:make, :rebar3], [{:cowlib, "2.12.1", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b"}, @@ -14,7 +14,7 @@ "ecto_sql": {:hex, :ecto_sql, "3.10.1", "6ea6b3036a0b0ca94c2a02613fd9f742614b5cfe494c41af2e6571bb034dd94c", [:mix], [{:db_connection, "~> 2.5 or ~> 2.4.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.10.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.6.0", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.16.0 or ~> 0.17.0 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1 or ~> 2.2", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "f6a25bdbbd695f12c8171eaff0851fa4c8e72eec1e98c7364402dda9ce11c56b"}, "ecto_sqlite3": {:hex, :ecto_sqlite3, "0.10.3", "82ce316a8727f1daec397a9932b1a20130ea1ac33c3257b78eded1d3f45ae9b3", [:mix], [{:decimal, "~> 1.6 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.10", [hex: :ecto, repo: "hexpm", optional: false]}, {:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:exqlite, "~> 0.9", [hex: :exqlite, repo: "hexpm", optional: false]}], "hexpm", "b4fa32d09f5e5c05d3401ade3dd4416e3c7072d5117c150cb4adeea72760fb93"}, "elixir_make": {:hex, :elixir_make, "0.7.7", "7128c60c2476019ed978210c245badf08b03dbec4f24d05790ef791da11aa17c", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}], "hexpm", "5bc19fff950fad52bbe5f211b12db9ec82c6b34a9647da0c2224b8b8464c7e6c"}, - "esbuild": {:hex, :esbuild, "0.7.1", "fa0947e8c3c3c2f86c9bf7e791a0a385007ccd42b86885e8e893bdb6631f5169", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}], "hexpm", "66661cdf70b1378ee4dc16573fcee67750b59761b2605a0207c267ab9d19f13c"}, + "esbuild": {:hex, :esbuild, "0.8.1", "0cbf919f0eccb136d2eeef0df49c4acf55336de864e63594adcea3814f3edf41", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "25fc876a67c13cb0a776e7b5d7974851556baeda2085296c14ab48555ea7560f"}, "expo": {:hex, :expo, "0.4.1", "1c61d18a5df197dfda38861673d392e642649a9cef7694d2f97a587b2cfb319b", [:mix], [], "hexpm", "2ff7ba7a798c8c543c12550fa0e2cbc81b95d4974c65855d8d15ba7b37a1ce47"}, "exqlite": {:hex, :exqlite, "0.13.14", "acd8b58c2245c6aa611262a887509c6aa862a05bfeb174faf348375bd9fc7edb", [:make, :mix], [{:cc_precompiler, "~> 0.1", [hex: :cc_precompiler, repo: "hexpm", optional: false]}, {:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.7", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "e81cd9b811e70a43b8d2d4ee76d3ce57ff349890ec4182f8f5223ead38ac4996"}, "file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"}, diff --git a/mix.exs b/mix.exs index 85b5e46627..c4987c9c7c 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule Phoenix.MixProject do end end - @version "1.7.9" + @version "1.7.10" @scm_url "https://github.com/phoenixframework/phoenix" # If the elixir requirement is updated, we need to make the installer @@ -104,7 +104,7 @@ defmodule Phoenix.MixProject do {:mint_web_socket, "~> 1.0.0", only: :test}, # Dev dependencies - {:esbuild, "~> 0.7", only: :dev} + {:esbuild, "~> 0.8", only: :dev} ] end diff --git a/package.json b/package.json index 574d59732d..9a5feb4ac7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phoenix", - "version": "1.7.9", + "version": "1.7.10", "description": "The official JavaScript client for the Phoenix web framework.", "license": "MIT", "module": "./priv/static/phoenix.mjs",