Skip to content

Upgrade to TailwindCSS 4.0.17 #118

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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/<folder_ending_with_web>", __DIR__)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Config

config :tailwind,
version: "4.0.9",
version: "4.0.17",
another: [
args: ["--help"]
]
2 changes: 1 addition & 1 deletion lib/tailwind.ex
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -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
Expand Down