You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-30
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,39 @@
1
1
## next / unreleased
2
2
3
-
## v4.0.0.rc3 / 2025-01-27
4
-
5
-
Everything in v4.0.0.rc2, plus ...
6
-
7
-
General changes:
8
-
9
-
- Remove the Inter font assets from the gem. @EricGusmao
10
-
- If Propshaft is being used, `app/assets/tailwind` will be excluded from its asset handling. (This was incompletely fixed in RC2.)
11
-
12
-
13
-
## v4.0.0.rc2 / 2025-01-26
14
-
15
-
Everything in v4.0.0.rc1, plus ...
16
-
17
-
General changes:
18
-
19
-
- The location of `application.tailwind.css` has moved from `app/assets/stylesheets` to `app/assets/tailwind`. If Propshaft is being used, `app/assets/tailwind` will be excluded from its asset handling.
3
+
## next rc / unreleased
20
4
21
-
Changes to the `tailwindcss:install` task:
22
-
23
-
- The "tailwind" stylesheet link tag will only be added to the application layout if Propshaft isn't in use and already handling `app/assets/build/tailwind.css`. Previously it was always injected, resulting in the tag being rendered twice if Propshaft was in use.
24
-
25
-
Changes to the `tailwindcss:upgrade` task:
26
-
27
-
- The "tailwind" stylesheet link tag will be removed if Propshaft is in use and already handling `app/assets/build/tailwind.css`.
28
-
- The file `application.tailwind.css` will be moved from `app/assets/stylesheets` to `app/assets/tailwind`.
5
+
- The input file `app/assets/tailwind/application.tailwind.css` has been renamed to `app/assets/tailwind/application.css`.
29
6
7
+
Thanks to @brunoprietog for feedback and advice.
30
8
31
-
## v4.0.0.rc1 / 2025-01-23
9
+
## v4.0.0.rc3 / 2025-01-27
32
10
33
11
### Upgrade to Tailwind CSS v4
34
12
35
13
General changes:
36
14
37
15
- Dependency on `tailwindcss-ruby` set to `~> 4.0`.
38
16
- The location of (optional) `postcss.config.js` has moved from the `config/` directory to the app root.
17
+
- The location of `application.tailwind.css` has moved from `app/assets/stylesheets` to `app/assets/tailwind`. If Propshaft is being used, `app/assets/tailwind` will be excluded from its asset handling.
18
+
- The Inter font is no longer packaged with the gem.
39
19
40
20
Changes to the `tailwindcss:install` task:
41
21
42
22
- The `tailwindcss:install` task no longer installs `config/tailwind.config.js`.
43
-
- The Inter font is no longer packaged with the gem.
44
-
- Some Tailwind class names are updated for v4.
23
+
- The Inter font is no longer configured in the application layout.
24
+
- Some Tailwind class names in the ERB templates are updated for v4.
25
+
- The "tailwind" stylesheet link tag will only be added to the application layout if Propshaft isn't in use and already handling `app/assets/build/tailwind.css`. Previously it was always injected, resulting in the tag being rendered twice if Propshaft was in use.
45
26
46
27
New task `tailwindcss:upgrade` upgrades many apps cleanly:
47
28
48
29
- Cleans up some things in the generated `config/tailwind.config.js`.
49
30
- Runs the upstream upgrader (note: requires `npx` to run the one-time upgrade, but highly recommended).
50
-
- Removes references to the Inter font from the application layout.
31
+
- Removes configuration for the Inter font from the application layout.
51
32
- If present, moves `config/postcss.config.js` to the root directory.
33
+
- The "tailwind" stylesheet link tag will be removed if Propshaft is in use and already handling `app/assets/build/tailwind.css`.
34
+
- The input file `application.tailwind.css` will be moved from `app/assets/stylesheets` to `app/assets/tailwind`.
52
35
53
-
Thanks to @EricGusmaoand @excid3 for their help and advice on this work.
36
+
Thanks to @EricGusmao, @patriciomacadden, and @excid3 for their feedback, contributions, and advice on the v4 release.
The `tailwindcss:install` task will generate a Tailwind input file in`app/assets/tailwind/application.tailwind.css`. This is where you import the plugins you want to use and where you can setup your custom `@apply` rules.
172
+
The `tailwindcss:install` task will generate a Tailwind input file in`app/assets/tailwind/application.css`. This is where you import the plugins you want to use and where you can setup your custom `@apply` rules.
173
173
174
-
⚠ The location of this file changed in v4, from `app/assets/stylesheets` to `app/assets/tailwind`. The `tailwindcss:upgrade` task will move it for you.
174
+
⚠ The location of this file changed in v4, from `app/assets/stylesheets/application.tailwind.css` to `app/assets/tailwind/application.css`. The `tailwindcss:upgrade` task will move it for you.
0 commit comments