diff --git a/CHANGELOG.md b/CHANGELOG.md index 2756078..ca746bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # CHANGELOG -## v0.3.1 (2025-02-28) +## v0.3.2 (2025-03-31) + +* Upgrade to TailwindCSS 4.0.17 * Support correct target for Linux MUSL with Tailwind v3. diff --git a/README.md b/README.md index 2e1812b..4e115d7 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Once installed, change your `config/config.exs` to pick your Tailwind version of choice: ```elixir -config :tailwind, version: "4.0.9" +config :tailwind, version: "4.0.17" ``` Note that `:tailwind` 0.3+ assumes Tailwind v4+ by default. It still supports Tailwind v3, but some configuration options when setting up a new @@ -77,7 +77,7 @@ directory, the OS environment, and default arguments to the ```elixir config :tailwind, - version: "4.0.9", + version: "4.0.17", default: [ args: ~w( --input=assets/css/app.css @@ -123,7 +123,7 @@ We'll also give it our `assets/css/app.css` as our css entry point: ```elixir config :tailwind, - version: "4.0.9", + version: "4.0.17", default: [ args: ~w( --input=assets/css/app.css @@ -141,7 +141,7 @@ the web application's asset directory in the configuration: ```elixir config :tailwind, - version: "4.0.9", + version: "4.0.17", default: [ args: ..., cd: Path.expand("../apps/", __DIR__) @@ -187,7 +187,7 @@ For a typical Phoenix application, updating from Tailwind v3 to v4 requires the ```diff config :tailwind, - version: "3.4.13", - + version: "4.0.9", + + version: "4.0.17", default: [ args: ~w( - --config=tailwind.config.js diff --git a/config/config.exs b/config/config.exs index 3cadce1..9d30aba 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,7 +1,7 @@ import Config config :tailwind, - version: "4.0.9", + version: "4.0.17", another: [ args: ["--help"] ] diff --git a/lib/tailwind.ex b/lib/tailwind.ex index 63b3115..fae23a8 100644 --- a/lib/tailwind.ex +++ b/lib/tailwind.ex @@ -1,6 +1,6 @@ defmodule Tailwind do # https://github.com/tailwindlabs/tailwindcss/releases - @latest_version "4.0.9" + @latest_version "4.0.17" @moduledoc """ Tailwind is an installer and runner for [tailwind](https://tailwindcss.com/). diff --git a/mix.exs b/mix.exs index 0ad26da..3d06411 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Tailwind.MixProject do use Mix.Project - @version "0.3.1" + @version "0.3.2" @source_url "https://github.com/phoenixframework/tailwind" def project do