From 54092425f401aa68a90961ae44e9d0feecf9a954 Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Fri, 18 Sep 2026 02:12:01 +0800 Subject: [PATCH] Bump Tailwind CLI in phx.new templates to 4.3.3 Newly generated projects pin the Tailwind CLI to 4.3.0. That release's macOS arm64 binary fails code signature validation and is killed on macOS 27, so `mix phx.server` never builds priv/static/assets/css/app.css and the generated app renders unstyled. The upstream fix shipped in 4.3.1, and 4.3.3 is the current release. --- installer/templates/phx_single/config/config.exs.eex | 2 +- .../phx_umbrella/apps/app_name_web/config/config.exs.eex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/templates/phx_single/config/config.exs.eex b/installer/templates/phx_single/config/config.exs.eex index 8b0880f9d9..48c6cf9e5e 100644 --- a/installer/templates/phx_single/config/config.exs.eex +++ b/installer/templates/phx_single/config/config.exs.eex @@ -58,7 +58,7 @@ config :esbuild, # Configure tailwind (the version is required) config :tailwind, - version: "4.3.0", + version: "4.3.3", <%= @app_name %>: [ args: ~w( --input=assets/css/app.css diff --git a/installer/templates/phx_umbrella/apps/app_name_web/config/config.exs.eex b/installer/templates/phx_umbrella/apps/app_name_web/config/config.exs.eex index bf7b9f4fb6..b78c0dede6 100644 --- a/installer/templates/phx_umbrella/apps/app_name_web/config/config.exs.eex +++ b/installer/templates/phx_umbrella/apps/app_name_web/config/config.exs.eex @@ -37,7 +37,7 @@ config :esbuild, # Configure tailwind (the version is required) config :tailwind, - version: "4.3.0", + version: "4.3.3", <%= @web_app_name %>: [ args: ~w( --input=assets/css/app.css