Skip to content

Commit 3b2e53d

Browse files
glebtvclaude
andcommitted
Bump to 4.2.0.beta3: Update ActiveAdmin to 4.0.0.beta20
### Dependencies - Update ActiveAdmin from 4.0.0.beta19 to 4.0.0.beta20 - Update Rails 7.x appraisal to require Rails 7.2+ (7.0/7.1 dropped) - Add Ruby 4.0 to CI test matrix ### Documentation - Add comprehensive ActiveAdmin v4.0.0 beta changelog (beta1-beta20) - Update all setup guides to reference beta20 and Rails 7.2+ requirement - Update migration guide with beta20-specific changes ### Changes - ActiveAdmin 4.0.0.beta20 requires Rails 7.2+ (drops 7.0/7.1) - Ruby 3.2+ required (3.0/3.1 dropped) - New: parent menu item linking, improved pagination styling, better spacing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5bfea0e commit 3b2e53d

14 files changed

Lines changed: 458 additions & 58 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['3.3', '3.4']
17+
ruby: ['3.3', '3.4', '4.0']
1818
gemfile:
1919
- rails_7.x_active_admin_4.x
2020
- rails_8.x_active_admin_4.x

Appraisals

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
appraise 'rails-7.x-active-admin-4.x' do
2-
gem 'rails', '~> 7.1'
3-
gem 'activeadmin', '4.0.0.beta19'
2+
gem 'rails', '~> 7.2'
3+
gem 'activeadmin', '4.0.0.beta20'
44
end
55

66
appraise 'rails-8.x-active-admin-4.x' do
77
gem 'rails', '~> 8.0'
8-
gem 'activeadmin', '4.0.0.beta19'
8+
gem 'activeadmin', '4.0.0.beta20'
99
end

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# CHANGELOG
22

3+
### Version 4.2.0.beta3
4+
5+
#### 🔄 Dependencies
6+
- **ActiveAdmin Update**: Updated ActiveAdmin from 4.0.0.beta19 to 4.0.0.beta20
7+
- Now requires Rails 7.2+ (dropped support for Rails 7.0 and 7.1)
8+
- Added Ruby 4.0 to CI test matrix
9+
- **Appraisal Updates**: Updated Appraisal gemfiles to use Rails 7.2 and ActiveAdmin 4.0.0.beta20
10+
11+
#### 📚 Documentation
12+
- Added comprehensive ActiveAdmin v4.0.0 beta changelog to `docs/activeadmin-4-changelog.md`
13+
- Includes all changes from beta1 through beta20
14+
- Documents breaking changes, new features, and migration path
15+
16+
#### 🔧 Technical Improvements
17+
- **CI Workflow**: Added Ruby 4.0 to test matrix for future compatibility
18+
319
### Version 4.1.2
420

521
#### 🐛 Bug Fixes

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
activeadmin-tom_select (4.2.0.beta2)
4+
activeadmin-tom_select (4.2.0.beta3)
55
activeadmin (>= 3.0, < 5)
66
ransack (>= 1.8, < 5)
77

docs/activeadmin-4-changelog.md

Lines changed: 371 additions & 0 deletions
Large diffs are not rendered by default.

docs/guide-update-your-app.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Migration Guide: ActiveAdmin Tom Select (Tailwind v4)
22

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.
44

55
## Quick Start (New Installation)
66

@@ -15,9 +15,10 @@ npm install activeadmin-tom_select tom-select
1515
## Why Update?
1616

1717
- Tom Select replaces Select2 (no jQuery)
18-
- ActiveAdmin 4.0.0.beta19 compatible
18+
- ActiveAdmin 4.0.0.beta20 compatible (requires Rails 7.2+)
1919
- Tailwind CSS v4 styles included
2020
- Auto-init helpers for searchable selects
21+
- Ruby 3.2+ and 4.0 compatible
2122

2223
## 1. Update Gemfile
2324

@@ -48,7 +49,7 @@ import { setupAutoInit } from "activeadmin-tom_select";
4849
setupAutoInit();
4950
```
5051

51-
## 4. Tailwind CSS Build (ActiveAdmin 4.0.0.beta19)
52+
## 4. Tailwind CSS Build (ActiveAdmin 4.0.0.beta20)
5253

5354
### 4.1 Tailwind Input
5455

@@ -177,13 +178,25 @@ end
177178
- Ensure `window.TomSelect` is set.
178179
- Ensure `setupAutoInit()` runs.
179180

180-
## ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
181+
## ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
181182

183+
**Version Requirements:**
184+
- Rails 7.2+ (Rails 7.0 and 7.1 are no longer supported)
185+
- Ruby 3.2+ (Ruby 3.0 and 3.1 are no longer supported)
186+
187+
**Breaking Changes from earlier v4 betas:**
182188
- `_site_header.html.erb` container class changed from `sticky` to `fixed`.
183189
- `active_admin.html.erb` adds the `pt-16` utility class.
184190
- Tailwind v4 requires `@import "tailwindcss"` + `@config`.
185-
- jQuery and jQuery UI removed; `columns` and `tabs` removed.
191+
- jQuery and jQuery UI removed; `columns` and `tabs` components removed.
186192
- Replace `default_main_content` with `render "show_default"`.
187193
- Replace `as: :datepicker` with `as: :date_picker`.
188194
- Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
189195
- Replace `attributes_table` with `attributes_table_for(resource)` in sidebars.
196+
197+
**New in beta20:**
198+
- Parent menu item linking support
199+
- Improved comments pagination styling
200+
- Better vertical spacing for has-many forms
201+
- Pointer cursor restored on eligible buttons
202+
- Various accessibility improvements

docs/setup-activeadmin-app.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Setting Up a Standalone ActiveAdmin 4 App (Tailwind v4)
22

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.
44

55
## 1. Create Rails App
66

@@ -13,7 +13,7 @@ cd my_admin_app
1313

1414
```ruby
1515
# ActiveAdmin 4 beta
16-
gem "activeadmin", "4.0.0.beta19"
16+
gem "activeadmin", "4.0.0.beta20"
1717

1818
# Required by ActiveAdmin 4
1919
gem "importmap-rails", "~> 2.0"
@@ -105,7 +105,7 @@ import "@activeadmin/activeadmin";
105105

106106
```bash
107107
bundle binstubs tailwindcss-ruby --force
108-
npm install @activeadmin/activeadmin@^4.0.0-beta19
108+
npm install @activeadmin/activeadmin@^4.0.0-beta20
109109
npm run build
110110
```
111111

@@ -117,13 +117,25 @@ rails server
117117

118118
Visit http://localhost:3000/admin
119119

120-
## ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
120+
## ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
121121

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:**
122127
- `_site_header.html.erb` container class changed from `sticky` to `fixed`.
123128
- `active_admin.html.erb` adds the `pt-16` utility class.
124129
- 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.
126131
- Replace `default_main_content` with `render "show_default"`.
127132
- Replace `as: :datepicker` with `as: :date_picker`.
128133
- Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
129134
- 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

docs/setup-activeadmin-gem.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Setting Up an ActiveAdmin 4 Extension Gem (Combustion)
22

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.
44

55
## 1. Gem Dependencies
66

@@ -10,7 +10,7 @@ source "https://rubygems.org"
1010
gemspec
1111

1212
gem "rails", "~> 7.2"
13-
gem "activeadmin", "4.0.0.beta19"
13+
gem "activeadmin", "4.0.0.beta20"
1414
gem "sqlite3"
1515
gem "puma"
1616

@@ -151,19 +151,31 @@ import "your_gem";
151151
"build": "npm run build:js && npm run build:css"
152152
},
153153
"devDependencies": {
154-
"@activeadmin/activeadmin": "^4.0.0-beta19",
154+
"@activeadmin/activeadmin": "^4.0.0-beta20",
155155
"esbuild": "^0.24.2"
156156
}
157157
}
158158
```
159159

160-
## 11. ActiveAdmin 4.0.0.beta19 Notes (from upgrade guide)
160+
## 11. ActiveAdmin 4.0.0.beta20 Notes (from upgrade guide)
161161

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:**
162167
- `_site_header.html.erb` container class changed from `sticky` to `fixed`.
163168
- `active_admin.html.erb` adds the `pt-16` utility class.
164169
- 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.
166171
- Replace `default_main_content` with `render "show_default"`.
167172
- Replace `as: :datepicker` with `as: :date_picker`.
168173
- Replace `active_admin_comments` with `active_admin_comments_for(resource)`.
169174
- 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

gemfiles/rails_7.x_active_admin_4.x.gemfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
source "https://rubygems.org"
44

5-
gem "activeadmin", "4.0.0.beta19"
5+
gem "activeadmin", "4.0.0.beta20"
66
gem "devise", "~> 4.9", group: :test
77
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"
109

1110
gemspec name: "activeadmin-tom_select", path: "../"

gemfiles/rails_7.x_active_admin_4.x.gemfile.lock

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
activeadmin-tom_select (4.2.0.beta2)
4+
activeadmin-tom_select (4.2.0.beta3)
55
activeadmin (>= 3.0, < 5)
66
ransack (>= 1.8, < 5)
77

@@ -54,14 +54,14 @@ GEM
5454
erubi (~> 1.11)
5555
rails-dom-testing (~> 2.2)
5656
rails-html-sanitizer (~> 1.6)
57-
activeadmin (4.0.0.beta19)
57+
activeadmin (4.0.0.beta20)
5858
arbre (~> 2.0)
5959
csv
6060
formtastic (>= 5.0)
6161
formtastic_i18n (>= 0.7)
6262
inherited_resources (~> 2.0)
6363
kaminari (>= 1.2.1)
64-
railties (>= 7.0)
64+
railties (>= 7.2)
6565
ransack (>= 4.0)
6666
activejob (7.2.3)
6767
activesupport (= 7.2.3)
@@ -362,16 +362,6 @@ GEM
362362
sqlite3 (2.8.1-x86_64-linux-gnu)
363363
sqlite3 (2.8.1-x86_64-linux-musl)
364364
stringio (3.2.0)
365-
tailwindcss-rails (4.4.0)
366-
railties (>= 7.0.0)
367-
tailwindcss-ruby (~> 4.0)
368-
tailwindcss-ruby (4.1.18)
369-
tailwindcss-ruby (4.1.18-aarch64-linux-gnu)
370-
tailwindcss-ruby (4.1.18-aarch64-linux-musl)
371-
tailwindcss-ruby (4.1.18-arm64-darwin)
372-
tailwindcss-ruby (4.1.18-x86_64-darwin)
373-
tailwindcss-ruby (4.1.18-x86_64-linux-gnu)
374-
tailwindcss-ruby (4.1.18-x86_64-linux-musl)
375365
thor (1.4.0)
376366
timeout (0.6.0)
377367
tsort (0.2.0)
@@ -403,7 +393,7 @@ PLATFORMS
403393
x86_64-linux-musl
404394

405395
DEPENDENCIES
406-
activeadmin (= 4.0.0.beta19)
396+
activeadmin (= 4.0.0.beta20)
407397
activeadmin-tom_select!
408398
appraisal (~> 2.2)
409399
bundler (>= 1.5, < 3)
@@ -414,7 +404,7 @@ DEPENDENCIES
414404
devise (~> 4.9)
415405
propshaft (~> 1.2)
416406
puma (~> 6.0)
417-
rails (~> 7.1)
407+
rails (~> 7.2)
418408
rake
419409
rspec-rails (~> 6.0)
420410
rspec_junit_formatter
@@ -424,7 +414,6 @@ DEPENDENCIES
424414
semmy (~> 1.1)
425415
simplecov
426416
sqlite3 (~> 2.1)
427-
tailwindcss-rails (~> 4.4.0)
428417

429418
BUNDLED WITH
430419
2.6.7

0 commit comments

Comments
 (0)