activeadmin-tom_select 4.2.0.beta2 → 4.2.0.beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,371 @@
1
+ # ActiveAdmin v4.0.0 Beta Changelog
2
+
3
+ This document contains all the changes from ActiveAdmin v4.0.0 beta releases.
4
+
5
+ **Source**: [https://github.com/activeadmin/activeadmin/releases](https://github.com/activeadmin/activeadmin/releases)
6
+
7
+ ---
8
+
9
+ ## v4.0.0.beta20 (2025-01-27)
10
+
11
+ ### Breaking Changes 🚨
12
+ - Drop support for Rails 7.0 and 7.1 [#8908](https://github.com/activeadmin/activeadmin/pull/8908)
13
+
14
+ ### Template Updates 📝
15
+ - Link to parent menu item [#8225](https://github.com/activeadmin/activeadmin/pull/8225)
16
+
17
+ ### Enhancements ✨
18
+ - resource: allow resource_class to be passed as a String [#8848](https://github.com/activeadmin/activeadmin/pull/8848)
19
+ - Remove horizontal padding on comments pagination [#8925](https://github.com/activeadmin/activeadmin/pull/8925)
20
+ - Add page anchor to comments form view [#8926](https://github.com/activeadmin/activeadmin/pull/8926)
21
+ - Fix vertical spacing on has-many forms [#8927](https://github.com/activeadmin/activeadmin/pull/8927)
22
+ - Remove no-wrap from table columns [#8928](https://github.com/activeadmin/activeadmin/pull/8928)
23
+
24
+ ### Bug Fixes 🐛
25
+ - Restore pointer cursor on eligible buttons [#8878](https://github.com/activeadmin/activeadmin/pull/8878)
26
+ - Ignore extra bundler output when DEBUG is set [#8895](https://github.com/activeadmin/activeadmin/pull/8895)
27
+
28
+ ### Other Changes 🛠
29
+ - Test supported Rails versions against Ruby 4.0 [#8898](https://github.com/activeadmin/activeadmin/pull/8898)
30
+
31
+ **Full Changelog**: [v4.0.0.beta19...v4.0.0.beta20](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta19...v4.0.0.beta20)
32
+
33
+ ---
34
+
35
+ ## v4.0.0.beta19 (2024-11-20)
36
+
37
+ ### Breaking Changes 🚨
38
+ - Bump tailwind from 3.4.18 to 4.1.17 [#8709](https://github.com/activeadmin/activeadmin/pull/8709)
39
+
40
+ ### Template Updates 📝
41
+ - Bump tailwind from 3.4.18 to 4.1.17 [#8709](https://github.com/activeadmin/activeadmin/pull/8709)
42
+
43
+ ### Bug Fixes 🐛
44
+ - Remove self-reference to ActiveAdmin node package [#8847](https://github.com/activeadmin/activeadmin/pull/8847)
45
+
46
+ **Full Changelog**: [v4.0.0.beta18...v4.0.0.beta19](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta18...v4.0.0.beta19)
47
+
48
+ ---
49
+
50
+ ## v4.0.0.beta18 (2024-11-01)
51
+
52
+ ### Enhancements ✨
53
+ - Add Rails 8.1.0 compatibility [#8837](https://github.com/activeadmin/activeadmin/pull/8837)
54
+
55
+ **Full Changelog**: [v4.0.0.beta17...v4.0.0.beta18](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta17...v4.0.0.beta18)
56
+
57
+ ---
58
+
59
+ ## v4.0.0.beta17 (2024-10-21)
60
+
61
+ ### Breaking Changes 🚨
62
+ - Preserve custom string labels in AttributesTable headers [#8815](https://github.com/activeadmin/activeadmin/pull/8815)
63
+
64
+ ### Enhancements ✨
65
+ - Update French locales [#8770](https://github.com/activeadmin/activeadmin/pull/8770)
66
+ - Improve text color contrast [#8535](https://github.com/activeadmin/activeadmin/pull/8535)
67
+ - Remove unnecessary base CSS styles [#8803](https://github.com/activeadmin/activeadmin/pull/8803)
68
+ - Update dark mode CSS styles [#8809](https://github.com/activeadmin/activeadmin/pull/8809)
69
+
70
+ **Full Changelog**: [v4.0.0.beta16...v4.0.0.beta17](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta16...v4.0.0.beta17)
71
+
72
+ ---
73
+
74
+ ## v4.0.0.beta16 (2024-07-23)
75
+
76
+ ### Breaking Changes 🚨
77
+ - Drop Ruby 3.1 and update dependencies [#8760](https://github.com/activeadmin/activeadmin/pull/8760)
78
+ - Remove Tabs component [#8762](https://github.com/activeadmin/activeadmin/pull/8762)
79
+
80
+ ### Template Updates 📝
81
+ - Remove `frozen_string_literal` comment from `.arb` templates [#8600](https://github.com/activeadmin/activeadmin/pull/8600)
82
+
83
+ ### Enhancements ✨
84
+ - Bump Formtastic to 5.0 and remove legacy code [#8613](https://github.com/activeadmin/activeadmin/pull/8613)
85
+ - Add Polish pagination entries translations [#8636](https://github.com/activeadmin/activeadmin/pull/8636)
86
+ - Support sortable argument in id_column [#8639](https://github.com/activeadmin/activeadmin/pull/8639)
87
+ - Support title for id_column [#8641](https://github.com/activeadmin/activeadmin/pull/8641)
88
+ - Update pt-BR translations [#8679](https://github.com/activeadmin/activeadmin/pull/8679)
89
+ - Upgrade Flowbite dependency to v3.1.2 [#8692](https://github.com/activeadmin/activeadmin/pull/8692)
90
+ - Add some :uk locales [#8732](https://github.com/activeadmin/activeadmin/pull/8732)
91
+
92
+ ### Bug Fixes 🐛
93
+ - Fix deprecation warning in Ruby 3.4 [#8593](https://github.com/activeadmin/activeadmin/pull/8593)
94
+ - Fix circular require warning in `belongs_to.rb` [#8599](https://github.com/activeadmin/activeadmin/pull/8599)
95
+ - Fix pagination truncate translation key [#8678](https://github.com/activeadmin/activeadmin/pull/8678)
96
+ - Fix typo in batch_actions locale translation key [#8712](https://github.com/activeadmin/activeadmin/pull/8712)
97
+ - Enhance main navbar to improve bouncing on macOS [#8727](https://github.com/activeadmin/activeadmin/pull/8727)
98
+ - Remove double bottom border on last table row [#8761](https://github.com/activeadmin/activeadmin/pull/8761)
99
+
100
+ ### Other Changes 🛠
101
+ - Normalize i18n locale files [#8715](https://github.com/activeadmin/activeadmin/pull/8715)
102
+
103
+ **Full Changelog**: [v4.0.0.beta15...v4.0.0.beta16](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta15...v4.0.0.beta16)
104
+
105
+ ---
106
+
107
+ ## v4.0.0.beta15 (2024-12-07)
108
+
109
+ ### Template Updates 📝
110
+ - Use ESM in tailwind config template [#8568](https://github.com/activeadmin/activeadmin/pull/8568)
111
+
112
+ ### Enhancements ✨
113
+ - Update Korean locale with new translations [#8554](https://github.com/activeadmin/activeadmin/pull/8554)
114
+ - Update Arabic locale translations [#8555](https://github.com/activeadmin/activeadmin/pull/8555)
115
+ - Fix an issue with Arabic translation [#8557](https://github.com/activeadmin/activeadmin/pull/8557)
116
+ - Update Russian locale with new translations [#8558](https://github.com/activeadmin/activeadmin/pull/8558)
117
+
118
+ **Full Changelog**: [v4.0.0.beta14...v4.0.0.beta15](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta14...v4.0.0.beta15)
119
+
120
+ ---
121
+
122
+ ## v4.0.0.beta14 (2024-11-25)
123
+
124
+ ### Breaking Changes 🚨
125
+ - Drop support for Rails 6.1 [#8449](https://github.com/activeadmin/activeadmin/pull/8449)
126
+ - Drop Ruby 3.0 compatibility [#8489](https://github.com/activeadmin/activeadmin/pull/8489)
127
+
128
+ ### Enhancements ✨
129
+ - Add polish translations for search status [#8487](https://github.com/activeadmin/activeadmin/pull/8487)
130
+ - Update zh-TW & ja locale with new v4 keys [#8521](https://github.com/activeadmin/activeadmin/pull/8521)
131
+ - Update zh-CN locale with new v4 keys [#8546](https://github.com/activeadmin/activeadmin/pull/8546)
132
+ - Improve v3 docs regarding compatibility with vite_rails [#8549](https://github.com/activeadmin/activeadmin/pull/8549)
133
+ - Remove redundant safe navigation operator [#8528](https://github.com/activeadmin/activeadmin/pull/8528)
134
+ - Use safe navigation for `pundit_default_policy` [#8530](https://github.com/activeadmin/activeadmin/pull/8530)
135
+ - Use safe navigation operator in layout helper [#8533](https://github.com/activeadmin/activeadmin/pull/8533)
136
+
137
+ ### Bug Fixes 🐛
138
+ - run update_resource inside a transaction to avoid autosaving relationships through assign_attributes when the record is invalid [#7437](https://github.com/activeadmin/activeadmin/pull/7437)
139
+ - Fix attributes passed to form has_many not being set on new record form items [#8550](https://github.com/activeadmin/activeadmin/pull/8550)
140
+ - Convert plugin.js to ESM because package.json has type set to module [#8536](https://github.com/activeadmin/activeadmin/pull/8536)
141
+
142
+ ### Other Changes 🛠
143
+ - Migrate docs to VitePress [#8194](https://github.com/activeadmin/activeadmin/pull/8194)
144
+
145
+ **Full Changelog**: [v4.0.0.beta13...v4.0.0.beta14](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta13...v4.0.0.beta14)
146
+
147
+ ---
148
+
149
+ ## v4.0.0.beta13 (2024-09-24)
150
+
151
+ ### Enhancements ✨
152
+ - Add polish translations for v4 keys [#8481](https://github.com/activeadmin/activeadmin/pull/8481)
153
+ - Add spanish translations for v4 keys [#8483](https://github.com/activeadmin/activeadmin/pull/8483)
154
+ - Prefer `require_relative` for internal requires [#8482](https://github.com/activeadmin/activeadmin/pull/8482)
155
+
156
+ **Full Changelog**: [v4.0.0.beta12...v4.0.0.beta13](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta12...v4.0.0.beta13)
157
+
158
+ ---
159
+
160
+ ## v4.0.0.beta12 (2024-09-15)
161
+
162
+ ### Enhancements ✨
163
+ - Bump `inherited_resources` requirement to `~> 2.0` [#8477](https://github.com/activeadmin/activeadmin/pull/8477)
164
+
165
+ **Full Changelog**: [v4.0.0.beta11...v4.0.0.beta12](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta11...v4.0.0.beta12)
166
+
167
+ ---
168
+
169
+ ## v4.0.0.beta11 (2024-08-31)
170
+
171
+ ### Enhancements ✨
172
+ - Unify specifying label in attributes_table component [#8458](https://github.com/activeadmin/activeadmin/pull/8458)
173
+ - Optimize count query for `pagination_total: false` option [#6911](https://github.com/activeadmin/activeadmin/pull/6911)
174
+ - Use attribute_types instead of columns_hash to determine type [#8457](https://github.com/activeadmin/activeadmin/pull/8457)
175
+
176
+ ### Bug Fixes 🐛
177
+ - Use consistent text-like inputs selector list for CSS styles [#8456](https://github.com/activeadmin/activeadmin/pull/8456)
178
+
179
+ **Full Changelog**: [v4.0.0.beta10...v4.0.0.beta11](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta10...v4.0.0.beta11)
180
+
181
+ ---
182
+
183
+ ## v4.0.0.beta10 (2024-08-24)
184
+
185
+ ### Template Updates 📝
186
+ - Add host app's layouts/active_admin to tailwind config [#8430](https://github.com/activeadmin/activeadmin/pull/8430)
187
+
188
+ ### Enhancements ✨
189
+ - Support async_count for scopes [#8394](https://github.com/activeadmin/activeadmin/pull/8394)
190
+ - Add tbody_html and row_html options to TableFor and IndexAsTable [#8423](https://github.com/activeadmin/activeadmin/pull/8423)
191
+
192
+ ### Bug Fixes 🐛
193
+ - Improve form f.inputs attributes rendering [#8439](https://github.com/activeadmin/activeadmin/pull/8439), [#8448](https://github.com/activeadmin/activeadmin/pull/8448)
194
+ - Fix batch action with partial and no confirm doesn't submit the form on click [#8442](https://github.com/activeadmin/activeadmin/pull/8442)
195
+
196
+ **Full Changelog**: [v4.0.0.beta9...v4.0.0.beta10](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta9...v4.0.0.beta10)
197
+
198
+ ---
199
+
200
+ ## v4.0.0.beta9 (2024-08-04)
201
+
202
+ ### Template Updates 📝
203
+ - Add accessible names for navigation buttons [#8338](https://github.com/activeadmin/activeadmin/pull/8338)
204
+
205
+ ### Enhancements ✨
206
+ - Better implementation of counter-cache-column check [#8411](https://github.com/activeadmin/activeadmin/pull/8411)
207
+
208
+ ### Other Changes 🛠
209
+ - Fix url redirects in documentation [#8407](https://github.com/activeadmin/activeadmin/pull/8407)
210
+
211
+ **Full Changelog**: [v4.0.0.beta8...v4.0.0.beta9](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta8...v4.0.0.beta9)
212
+
213
+ ---
214
+
215
+ ## v4.0.0.beta8 (2024-07-27)
216
+
217
+ ### Enhancements ✨
218
+ - Update Catalan translation [#8356](https://github.com/activeadmin/activeadmin/pull/8356)
219
+ - Allow batch actions without a confirmation dialog [#8389](https://github.com/activeadmin/activeadmin/pull/8389)
220
+ - Fix styles for select[multiple] form controls [#8406](https://github.com/activeadmin/activeadmin/pull/8406)
221
+
222
+ **Full Changelog**: [v4.0.0.beta7...v4.0.0.beta8](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta7...v4.0.0.beta8)
223
+
224
+ ---
225
+
226
+ ## v4.0.0.beta7 (2024-05-31)
227
+
228
+ ### Enhancements ✨
229
+ - Update de locale with new v4 keys [#8325](https://github.com/activeadmin/activeadmin/pull/8325)
230
+ - Remove de-CH locale [#8326](https://github.com/activeadmin/activeadmin/pull/8326)
231
+
232
+ ### Security Fixes 🔒
233
+ - Fix potential XSS issue when rendering form legends [#8348](https://github.com/activeadmin/activeadmin/pull/8348)
234
+
235
+ **Full Changelog**: [v4.0.0.beta6...v4.0.0.beta7](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta6...v4.0.0.beta7)
236
+
237
+ ---
238
+
239
+ ## v4.0.0.beta6 (2024-05-03)
240
+
241
+ ### Breaking Changes 🚨
242
+ - Drop Ruby 2.7 support [#8259](https://github.com/activeadmin/activeadmin/pull/8259)
243
+
244
+ ### Template Updates 📝
245
+ - Use Tailwind's darkMode selector strategy [#8264](https://github.com/activeadmin/activeadmin/pull/8264)
246
+
247
+ ### Enhancements ✨
248
+ - Update zh-CN locale with new v4 keys [#8284](https://github.com/activeadmin/activeadmin/pull/8284)
249
+ - Update zh-TW locale with new v4 keys [#8297](https://github.com/activeadmin/activeadmin/pull/8297)
250
+
251
+ ### Bug Fixes 🐛
252
+ - Add csv dependency to fix Ruby 3.3 warning [#8303](https://github.com/activeadmin/activeadmin/pull/8303)
253
+
254
+ **Full Changelog**: [v4.0.0.beta5...v4.0.0.beta6](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta5...v4.0.0.beta6)
255
+
256
+ ---
257
+
258
+ ## v4.0.0.beta5 (2024-02-14)
259
+
260
+ ### Enhancements ✨
261
+ - Improve Italian translation [#8235](https://github.com/activeadmin/activeadmin/pull/8235)
262
+ - Bump flowbite to v2.3.0 [#8257](https://github.com/activeadmin/activeadmin/pull/8257)
263
+
264
+ ### Bug Fixes 🐛
265
+ - Use an anchor for tabs component toggle [#8242](https://github.com/activeadmin/activeadmin/pull/8242)
266
+
267
+ **Full Changelog**: [v4.0.0.beta4...v4.0.0.beta5](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta4...v4.0.0.beta5)
268
+
269
+ ---
270
+
271
+ ## v4.0.0.beta4 (2024-01-17)
272
+
273
+ ### Template Updates 📝
274
+ - Move pagination translations to active_admin scope [#8218](https://github.com/activeadmin/activeadmin/pull/8218)
275
+
276
+ ### Enhancements ✨
277
+ - Vendor rails-ujs ESM JS [#8217](https://github.com/activeadmin/activeadmin/pull/8217)
278
+ - Include vendor JS files in NPM package [#8221](https://github.com/activeadmin/activeadmin/pull/8221)
279
+ - Remove i18n-tasks.yml from gem release [#8227](https://github.com/activeadmin/activeadmin/pull/8227)
280
+ - Make importmap-rails optional [#8228](https://github.com/activeadmin/activeadmin/pull/8228)
281
+ - Exclude primary key from generated resource [#8232](https://github.com/activeadmin/activeadmin/pull/8232)
282
+ - Make NPM package compatible with tools like vite_rails [#8234](https://github.com/activeadmin/activeadmin/pull/8234)
283
+
284
+ ### Bug Fixes 🐛
285
+ - Ensure form presenter is applied on create/update actions [#8238](https://github.com/activeadmin/activeadmin/pull/8238)
286
+
287
+ **Full Changelog**: [v4.0.0.beta3...v4.0.0.beta4](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta3...v4.0.0.beta4)
288
+
289
+ ---
290
+
291
+ ## v4.0.0.beta3 (2024-01-06)
292
+
293
+ - Include additional files in gem release [#8212](https://github.com/activeadmin/activeadmin/pull/8212)
294
+
295
+ **Full Changelog**: [v4.0.0.beta2...v4.0.0.beta3](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta2...v4.0.0.beta3)
296
+
297
+ ---
298
+
299
+ ## v4.0.0.beta2 (2024-01-06)
300
+
301
+ - Include vendor directory in gem release [#8211](https://github.com/activeadmin/activeadmin/pull/8211)
302
+
303
+ **Full Changelog**: [v4.0.0.beta1...v4.0.0.beta2](https://github.com/activeadmin/activeadmin/compare/v4.0.0.beta1...v4.0.0.beta2)
304
+
305
+ ---
306
+
307
+ ## v4.0.0.beta1 (2024-01-06)
308
+
309
+ **First beta release of ActiveAdmin v4!**
310
+
311
+ This release represents a complete redesign using TailwindCSS with **mobile web, dark mode and RTL support** and a default, **customizable theme through partials**.
312
+
313
+ ### Key Features
314
+ - **TailwindCSS**: Complete migration to TailwindCSS
315
+ - **Mobile Support**: Fully responsive design
316
+ - **Dark Mode**: Built-in dark mode support
317
+ - **RTL Support**: Right-to-left language support
318
+ - **ESM JavaScript**: Modern ES modules
319
+ - **importmap-rails**: Uses importmap-rails for JS assets
320
+ - **Customizable Theme**: Theme customization through partials
321
+
322
+ ### Breaking Changes 🚨
323
+ - Requires `cssbundling-rails` and `importmap-rails`
324
+ - Removed all SCSS files (sassc-rails dependency removed)
325
+ - Complete UI/UX redesign
326
+
327
+ ### Major Changes
328
+ - Prep Tailwind CSS migration (multiple PRs: #8035, #8036, #8037, #8116, #8122, #8139, #8155, #8170)
329
+ - Remove old, since replaced JS [#8040](https://github.com/activeadmin/activeadmin/pull/8040)
330
+ - Replace html/assets related configs with simple partials [#8156](https://github.com/activeadmin/activeadmin/pull/8156)
331
+ - Remove sassc-rails and all SCSS files [#8157](https://github.com/activeadmin/activeadmin/pull/8157)
332
+ - Extract headers, menu and sidebar components to partials [#8162](https://github.com/activeadmin/activeadmin/pull/8162)
333
+ - Use ES format for JS [#8171](https://github.com/activeadmin/activeadmin/pull/8171)
334
+ - Extract layout and pages to partials [#8172](https://github.com/activeadmin/activeadmin/pull/8172)
335
+ - Use importmap-rails for JS assets [#8186](https://github.com/activeadmin/activeadmin/pull/8186)
336
+ - Move kaminari templates to active_admin folder [#8190](https://github.com/activeadmin/activeadmin/pull/8190)
337
+ - Improve RTL support all around [#8196](https://github.com/activeadmin/activeadmin/pull/8196)
338
+ - Migrate view helpers to app/helpers path [#8202](https://github.com/activeadmin/activeadmin/pull/8202)
339
+
340
+ ### Enhancements ✨
341
+ - Provide detail in DB statement timeout error for filters [#8117](https://github.com/activeadmin/activeadmin/pull/8117)
342
+ - Use active_admin_authorization as Ransack auth_object option [#8143](https://github.com/activeadmin/activeadmin/pull/8143)
343
+ - Update FR locales [#8193](https://github.com/activeadmin/activeadmin/pull/8193)
344
+ - Update nl.yml for v4 [#8195](https://github.com/activeadmin/activeadmin/pull/8195)
345
+
346
+ ### Other Changes 🛠
347
+ - Introduce RuboCop Performance [#8024](https://github.com/activeadmin/activeadmin/pull/8024)
348
+ - Remove multiline ternary operator [#8034](https://github.com/activeadmin/activeadmin/pull/8034)
349
+ - Prefer `match?` over `=~` to avoid MatchData [#8138](https://github.com/activeadmin/activeadmin/pull/8138)
350
+
351
+ **Full Changelog**: [v3.2.0...v4.0.0.beta1](https://github.com/activeadmin/activeadmin/compare/v3.2.0...v4.0.0.beta1)
352
+
353
+ ---
354
+
355
+ ## Summary
356
+
357
+ **Minimum Requirements (as of v4.0.0.beta20):**
358
+ - Rails 7.2+
359
+ - Ruby 3.2+
360
+ - cssbundling-rails
361
+ - importmap-rails (optional as of beta4)
362
+
363
+ **Key Migration Path:**
364
+ The v4.0.0 beta series represents a complete redesign of ActiveAdmin using TailwindCSS. The migration requires:
365
+ 1. Installing `cssbundling-rails` and configuring TailwindCSS
366
+ 2. Installing `importmap-rails` (optional since beta4)
367
+ 3. Running the assets generator
368
+ 4. Updating custom CSS/JS from the old SCSS/jQuery patterns
369
+ 5. Reviewing the [Upgrading guide](https://github.com/activeadmin/activeadmin/blob/master/UPGRADING.md)
370
+
371
+ See [demo app](https://github.com/activeadmin/demo.activeadmin.info) for a working example.
@@ -1,6 +1,6 @@
1
1
  # Migration Guide: ActiveAdmin Tom Select (Tailwind v4)
2
2
 
3
- This guide helps you migrate from `activeadmin-searchable_select` to `activeadmin-tom_select` on ActiveAdmin 4.0.0.beta19 with Tailwind CSS v4.
3
+ This guide helps you migrate from `activeadmin-searchable_select` to `activeadmin-tom_select` on ActiveAdmin 4.0.0.beta20 with Tailwind CSS v4.
4
4
 
5
5
  ## Quick Start (New Installation)
6
6
 
@@ -15,9 +15,10 @@ npm install activeadmin-tom_select tom-select
15
15
  ## Why Update?
16
16
 
17
17
  - Tom Select replaces Select2 (no jQuery)
18
- - ActiveAdmin 4.0.0.beta19 compatible
18
+ - ActiveAdmin 4.0.0.beta20 compatible (requires Rails 7.2+)
19
19
  - Tailwind CSS v4 styles included
20
20
  - Auto-init helpers for searchable selects
21
+ - Ruby 3.2+ and 4.0 compatible
21
22
 
22
23
  ## 1. Update Gemfile
23
24
 
@@ -48,7 +49,7 @@ import { setupAutoInit } from "activeadmin-tom_select";
48
49
  setupAutoInit();
49
50
  ```
50
51
 
51
- ## 4. Tailwind CSS Build (ActiveAdmin 4.0.0.beta19)
52
+ ## 4. Tailwind CSS Build (ActiveAdmin 4.0.0.beta20)
52
53
 
53
54
  ### 4.1 Tailwind Input
54
55
 
@@ -169,21 +170,78 @@ end
169
170
 
170
171
  ## Troubleshooting
171
172
 
173
+ ### CSS Import Fails: "Failed to find 'activeadmin-tom_select/css'"
174
+
175
+ This error occurs when using Tailwind CSS v3 with `npx tailwindcss` CLI because postcss-import doesn't support npm subpath exports.
176
+
177
+ **Solution 1: Configure postcss-import to resolve from node_modules (recommended)**
178
+
179
+ Create `postcss.config.js` in your project root:
180
+
181
+ ```javascript
182
+ module.exports = {
183
+ plugins: {
184
+ 'postcss-import': {
185
+ path: ['node_modules']
186
+ },
187
+ 'tailwindcss': {},
188
+ 'autoprefixer': {},
189
+ }
190
+ }
191
+ ```
192
+
193
+ Then use clean imports in your CSS:
194
+
195
+ ```css
196
+ /* app/assets/stylesheets/active_admin.tailwind.css */
197
+ @import "tailwindcss/base";
198
+ @import "tailwindcss/components";
199
+ @import "tailwindcss/utilities";
200
+
201
+ @import "activeadmin-tom_select/src/tom-select-tailwind.css";
202
+ ```
203
+
204
+ **Solution 2: Tailwind CSS v4 with bin/tailwindcss**
205
+
206
+ Tailwind v4's CLI has better module resolution. Use the `@config` directive:
207
+
208
+ ```css
209
+ @import "tailwindcss";
210
+ @config "../../../tailwind-active_admin.config.mjs";
211
+
212
+ @import "activeadmin-tom_select/css";
213
+ ```
214
+
172
215
  ### Styles missing
173
216
  - Confirm `app/assets/builds/active_admin.css` exists.
174
- - Verify `active_admin.tailwind.css` imports `activeadmin-tom_select/css`.
217
+ - Verify `active_admin.tailwind.css` imports are correct (see above).
218
+ - Run `npm install` to ensure packages are installed.
219
+ - Ensure `postcss.config.js` exists if using Tailwind v3.
175
220
 
176
221
  ### Tom Select not initializing
177
222
  - Ensure `window.TomSelect` is set.
178
223
  - Ensure `setupAutoInit()` runs.
224
+ - Check browser console for JavaScript errors.
225
+
226
+ ## ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
179
227
 
180
- ## ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
228
+ **Version Requirements:**
229
+ - Rails 7.2+ (Rails 7.0 and 7.1 are no longer supported)
230
+ - Ruby 3.2+ (Ruby 3.0 and 3.1 are no longer supported)
181
231
 
232
+ **Breaking Changes from earlier v4 betas:**
182
233
  - `_site_header.html.erb` container class changed from `sticky` to `fixed`.
183
234
  - `active_admin.html.erb` adds the `pt-16` utility class.
184
235
  - Tailwind v4 requires `@import "tailwindcss"` + `@config`.
185
- - jQuery and jQuery UI removed; `columns` and `tabs` removed.
236
+ - jQuery and jQuery UI removed; `columns` and `tabs` components removed.
186
237
  - Replace `default_main_content` with `render "show_default"`.
187
238
  - Replace `as: :datepicker` with `as: :date_picker`.
188
239
  - Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
189
240
  - Replace `attributes_table` with `attributes_table_for(resource)` in sidebars.
241
+
242
+ **New in beta20:**
243
+ - Parent menu item linking support
244
+ - Improved comments pagination styling
245
+ - Better vertical spacing for has-many forms
246
+ - Pointer cursor restored on eligible buttons
247
+ - Various accessibility improvements
@@ -1,6 +1,6 @@
1
1
  # Setting Up a Standalone ActiveAdmin 4 App (Tailwind v4)
2
2
 
3
- This guide creates a new Rails app with ActiveAdmin 4.0.0.beta19, Tailwind CSS v4, and optional AA extension gems.
3
+ This guide creates a new Rails app with ActiveAdmin 4.0.0.beta20, Tailwind CSS v4, and optional AA extension gems.
4
4
 
5
5
  ## 1. Create Rails App
6
6
 
@@ -13,7 +13,7 @@ cd my_admin_app
13
13
 
14
14
  ```ruby
15
15
  # ActiveAdmin 4 beta
16
- gem "activeadmin", "4.0.0.beta19"
16
+ gem "activeadmin", "4.0.0.beta20"
17
17
 
18
18
  # Required by ActiveAdmin 4
19
19
  gem "importmap-rails", "~> 2.0"
@@ -105,7 +105,7 @@ import "@activeadmin/activeadmin";
105
105
 
106
106
  ```bash
107
107
  bundle binstubs tailwindcss-ruby --force
108
- npm install @activeadmin/activeadmin@^4.0.0-beta19
108
+ npm install @activeadmin/activeadmin@^4.0.0-beta20
109
109
  npm run build
110
110
  ```
111
111
 
@@ -117,13 +117,25 @@ rails server
117
117
 
118
118
  Visit http://localhost:3000/admin
119
119
 
120
- ## ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
120
+ ## ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
121
121
 
122
+ **Version Requirements:**
123
+ - Rails 7.2+ (Rails 7.0 and 7.1 are no longer supported)
124
+ - Ruby 3.2+ (Ruby 3.0 and 3.1 are no longer supported)
125
+
126
+ **Breaking Changes from earlier v4 betas:**
122
127
  - `_site_header.html.erb` container class changed from `sticky` to `fixed`.
123
128
  - `active_admin.html.erb` adds the `pt-16` utility class.
124
129
  - Tailwind v4 requires `@import "tailwindcss"` + `@config`.
125
- - jQuery and jQuery UI removed; `columns` and `tabs` removed.
130
+ - jQuery and jQuery UI removed; `columns` and `tabs` components removed.
126
131
  - Replace `default_main_content` with `render "show_default"`.
127
132
  - Replace `as: :datepicker` with `as: :date_picker`.
128
133
  - Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
129
134
  - Replace `attributes_table` with `attributes_table_for(resource)` in sidebars.
135
+
136
+ **New in beta20:**
137
+ - Parent menu item linking support
138
+ - Improved comments pagination styling
139
+ - Better vertical spacing for has-many forms
140
+ - Pointer cursor restored on eligible buttons
141
+ - Various accessibility improvements
@@ -1,6 +1,6 @@
1
1
  # Setting Up an ActiveAdmin 4 Extension Gem (Combustion)
2
2
 
3
- This guide mirrors the working setup used in this repo: ActiveAdmin 4.0.0.beta19 + Tailwind CSS v4 + Combustion test app.
3
+ This guide mirrors the working setup used in this repo: ActiveAdmin 4.0.0.beta20 + Tailwind CSS v4 + Combustion test app.
4
4
 
5
5
  ## 1. Gem Dependencies
6
6
 
@@ -10,7 +10,7 @@ source "https://rubygems.org"
10
10
  gemspec
11
11
 
12
12
  gem "rails", "~> 7.2"
13
- gem "activeadmin", "4.0.0.beta19"
13
+ gem "activeadmin", "4.0.0.beta20"
14
14
  gem "sqlite3"
15
15
  gem "puma"
16
16
 
@@ -151,19 +151,31 @@ import "your_gem";
151
151
  "build": "npm run build:js && npm run build:css"
152
152
  },
153
153
  "devDependencies": {
154
- "@activeadmin/activeadmin": "^4.0.0-beta19",
154
+ "@activeadmin/activeadmin": "^4.0.0-beta20",
155
155
  "esbuild": "^0.24.2"
156
156
  }
157
157
  }
158
158
  ```
159
159
 
160
- ## 11. ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
160
+ ## 11. ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
161
161
 
162
+ **Version Requirements:**
163
+ - Rails 7.2+ (Rails 7.0 and 7.1 are no longer supported)
164
+ - Ruby 3.2+ (Ruby 3.0 and 3.1 are no longer supported)
165
+
166
+ **Breaking Changes from earlier v4 betas:**
162
167
  - `_site_header.html.erb` container class changed from `sticky` to `fixed`.
163
168
  - `active_admin.html.erb` adds the `pt-16` utility class.
164
169
  - Tailwind v4 requires `@import "tailwindcss"` + `@config`.
165
- - jQuery and jQuery UI removed; `columns` and `tabs` removed.
170
+ - jQuery and jQuery UI removed; `columns` and `tabs` components removed.
166
171
  - Replace `default_main_content` with `render "show_default"`.
167
172
  - Replace `as: :datepicker` with `as: :date_picker`.
168
173
  - Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
169
174
  - Replace `attributes_table` with `attributes_table_for(resource)` in sidebars.
175
+
176
+ **New in beta20:**
177
+ - Parent menu item linking support
178
+ - Improved comments pagination styling
179
+ - Better vertical spacing for has-many forms
180
+ - Pointer cursor restored on eligible buttons
181
+ - Various accessibility improvements
@@ -2,10 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activeadmin", "4.0.0.beta19"
6
- gem "devise", "~> 4.9", group: :test
5
+ gem "activeadmin", "4.0.0.beta20"
6
+ gem "devise", "~> 4.9"
7
7
  gem "propshaft", "~> 1.2", group: :test
8
- gem "rails", "~> 7.1"
9
- gem "tailwindcss-rails", "~> 4.4.0", group: :test
8
+ gem "rails", "~> 7.2"
9
+ gem "tailwindcss-rails", "~> 4.4.0"
10
10
 
11
11
  gemspec name: "activeadmin-tom_select", path: "../"