Skip to content

Commit 255e4bc

Browse files
authored
Merge pull request #70 from DocSpring/nathan/dependency-upgrades-2026-11-c
Allow SemanticLogger 5, update Minitest, Sorbet, Next.js 16.4.5 and the other dependencies, and release 0.4.1
2 parents a54c0fe + e6e439e commit 255e4bc

27 files changed

Lines changed: 7645 additions & 7507 deletions

‎.github/workflows/deploy-docs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
persist-credentials: false
5050

5151
- name: Setup Ruby
52-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
52+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
5353
with:
5454
ruby-version: '.ruby-version'
5555
bundler-cache: true
5656

5757
- name: Setup pnpm
58-
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
58+
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
5959
with:
6060
version: 10.18.3
6161

‎.github/workflows/rails-main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: rm -f Gemfile.lock .ruby-version
2424

2525
- name: Setup Ruby 4.0.1
26-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
26+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
2727
with:
2828
ruby-version: '4.0.1'
2929
bundler-cache: true

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114

115115
# No bundler cache in release jobs: a cache is shared with other runs, and gem build needs no bundle
116116
- name: Setup Ruby
117-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
117+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
118118
with:
119119
ruby-version: '.ruby-version'
120120

@@ -171,7 +171,7 @@ jobs:
171171
name: gem
172172

173173
- name: Setup Ruby
174-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
174+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
175175
with:
176176
ruby-version: ruby
177177

@@ -196,7 +196,7 @@ jobs:
196196

197197
# No bundler cache in release jobs: a cache is shared with other runs
198198
- name: Setup Ruby
199-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
199+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
200200
with:
201201
ruby-version: '.ruby-version'
202202

‎.github/workflows/test.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
persist-credentials: false
2121

2222
- name: Setup Ruby
23-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
23+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
2424
with:
2525
ruby-version: '.ruby-version'
2626
# Install all gems (both test and development)
@@ -32,7 +32,7 @@ jobs:
3232
node-version: 22
3333

3434
- name: Setup pnpm
35-
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
35+
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
3636
with:
3737
version: 10.18.3
3838

@@ -107,7 +107,7 @@ jobs:
107107
persist-credentials: false
108108

109109
- name: Setup Ruby
110-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
110+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
111111
with:
112112
ruby-version: '.ruby-version'
113113
bundler-cache: true
@@ -118,7 +118,7 @@ jobs:
118118
node-version: 22
119119

120120
- name: Setup pnpm
121-
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
121+
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
122122
with:
123123
version: 10.18.3
124124

@@ -134,7 +134,7 @@ jobs:
134134
persist-credentials: false
135135

136136
- name: Setup Ruby
137-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
137+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
138138
with:
139139
ruby-version: '.ruby-version'
140140
bundler-cache: true
@@ -145,7 +145,7 @@ jobs:
145145
node-version: 22
146146

147147
- name: Setup pnpm
148-
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
148+
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
149149
with:
150150
version: 10.18.3
151151

@@ -183,13 +183,13 @@ jobs:
183183
persist-credentials: false
184184

185185
- name: Setup Ruby
186-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
186+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
187187
with:
188188
ruby-version: '.ruby-version'
189189
bundler-cache: true
190190

191191
- name: Setup pnpm
192-
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
192+
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
193193
with:
194194
version: 10.18.3
195195

@@ -242,7 +242,7 @@ jobs:
242242
run: rm -f Gemfile.lock
243243

244244
- name: Setup Ruby 4.0.1
245-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
245+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
246246
with:
247247
ruby-version: '4.0.1'
248248
bundler-cache: true
@@ -325,7 +325,7 @@ jobs:
325325
run: rm -f Gemfile.lock
326326

327327
- name: Setup Ruby ${{ matrix.ruby }}
328-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
328+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
329329
with:
330330
ruby-version: ${{ matrix.ruby }}
331331
bundler-cache: true
@@ -346,7 +346,7 @@ jobs:
346346
persist-credentials: false
347347

348348
- name: Setup Ruby
349-
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
349+
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
350350
with:
351351
ruby-version: '.ruby-version'
352352

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.1] - 2026-11-20
11+
1012
### Changed
1113

14+
- **SemanticLogger**: Works with SemanticLogger 5 as well as 4.15 and later. SemanticLogger 5 reopens its appenders in a forked child itself, so LogStruct leaves that to it, and `SemanticLogger.reopen_on_fork = false` turns it off.
1215
- **Development**: The tests run against Sentry 7, Honeybadger 6 and Sidekiq 8. Development uses Rails 8.1, and the Rails 8.1 test apps no longer pin `json` below 3, because ActiveSupport 8.1 dropped the `quirks_mode` option that json 3 rejects.
1316
- **Development**: Update SimpleCov to 1.3, jscpd to 5.4, and the docs site to Next.js 16.4.3, TypeScript 6 and lucide-react 1.66.
17+
- **Development**: Update Minitest to 6 (with `minitest-mock`), Sorbet to 0.6.13672 and CSpell to 10.4.1, and the docs site to lucide-react 1.72, Biome 2.6.7, Playwright 1.65 and Tailwind CSS 4.3.5.
18+
19+
### Fixed
20+
21+
- **Development**: Update the docs site to Next.js 16.4.5, which fixes GHSA-vc7v-qv4w-wrv8 and GHSA-mfr8-8qww-v76h, in `use cache` features the static site doesn't use. Remove the unused test dependency on Dalli, which had GHSA-5wpc-45jc-6ccc.
1422

1523
## [0.4.0] - 2026-11-06
1624

‎Gemfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ gem "openssl" # For tapioca SSL certificate verification
2525
gem "ostruct" # For Ruby 3.5+ compatibility
2626

2727
# Sorbet is needed for development
28-
gem "sorbet", "~> 0.5"
28+
gem "sorbet", "~> 0.6"
2929
gem "sorbet-typescript"
3030

3131
# Essential testing gems that don't have Ruby version restrictions
3232
group :test do
33-
gem "dalli", "~> 3.2.15"
3433
gem "bundler-audit", require: false
35-
gem "minitest", "~> 5.20"
34+
gem "minitest", "~> 6.1"
35+
gem "minitest-mock", "~> 5.27"
3636
gem "minitest-reporters", "~> 1.6"
3737
gem "simplecov", "~> 1.3", require: false
3838
gem "simplecov-json", "~> 0.2", require: false

‎Gemfile.lock‎

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
PATH
22
remote: .
33
specs:
4-
logstruct (0.4.0)
4+
logstruct (0.4.1)
55
actionpack (>= 7.1)
66
activesupport (>= 7.1)
77
globalid (>= 1.0)
88
lograge (>= 0.11)
99
railties (>= 7.1)
10-
semantic_logger (~> 4.15)
10+
semantic_logger (>= 4.15, < 6.0)
1111
sorbet-runtime (>= 0.6.12698)
1212

1313
GEM
@@ -129,8 +129,6 @@ GEM
129129
connection_pool (3.0.2)
130130
content_disposition (1.0.0)
131131
crass (1.0.8)
132-
dalli (3.2.15)
133-
logger
134132
date (3.6.0)
135133
debug (1.11.1)
136134
irb (~> 1.10)
@@ -205,7 +203,10 @@ GEM
205203
net-smtp
206204
marcel (1.2.1)
207205
mini_mime (1.1.5)
208-
minitest (5.27.0)
206+
minitest (6.1.0)
207+
drb (~> 2.0)
208+
prism (>= 1.5, < 3)
209+
minitest-mock (5.27.0)
209210
minitest-reporters (1.8.0)
210211
ansi
211212
builder
@@ -365,8 +366,9 @@ GEM
365366
rubydex (0.4.4-x86_64-linux)
366367
safely_block (1.0.0)
367368
securerandom (0.4.1)
368-
semantic_logger (4.18.0)
369+
semantic_logger (5.2.0)
369370
concurrent-ruby (~> 1.0)
371+
logger (~> 1.5)
370372
sentry-ruby (7.2.0)
371373
bigdecimal
372374
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -410,15 +412,15 @@ GEM
410412
yard (~> 0.9, >= 0.9.24)
411413
yard-activesupport-concern (~> 0.0)
412414
yard-solargraph (~> 0.1)
413-
sorbet (0.6.13635)
414-
sorbet-static (= 0.6.13635)
415-
sorbet-runtime (0.6.13635)
416-
sorbet-static (0.6.13635-aarch64-linux)
417-
sorbet-static (0.6.13635-universal-darwin)
418-
sorbet-static (0.6.13635-x86_64-linux)
419-
sorbet-static-and-runtime (0.6.13635)
420-
sorbet (= 0.6.13635)
421-
sorbet-runtime (= 0.6.13635)
415+
sorbet (0.6.13672)
416+
sorbet-static (= 0.6.13672)
417+
sorbet-runtime (0.6.13672)
418+
sorbet-static (0.6.13672-aarch64-linux)
419+
sorbet-static (0.6.13672-universal-darwin)
420+
sorbet-static (0.6.13672-x86_64-linux)
421+
sorbet-static-and-runtime (0.6.13672)
422+
sorbet (= 0.6.13672)
423+
sorbet-runtime (= 0.6.13672)
422424
sorbet-typescript (0.1.1)
423425
sorbet-runtime (>= 0.5)
424426
thor (>= 1.3)
@@ -508,15 +510,15 @@ DEPENDENCIES
508510
bundler-audit
509511
carrierwave (~> 3.0)
510512
climate_control (~> 1.2)
511-
dalli (~> 3.2.15)
512513
debug
513514
dotenv-rails (~> 3.1)
514515
drb
515516
honeybadger (~> 6.10)
516517
json_schemer
517518
listen
518519
logstruct!
519-
minitest (~> 5.20)
520+
minitest (~> 6.1)
521+
minitest-mock (~> 5.27)
520522
minitest-reporters (~> 1.6)
521523
mutex_m
522524
openssl
@@ -535,7 +537,7 @@ DEPENDENCIES
535537
simplecov (~> 1.3)
536538
simplecov-json (~> 0.2)
537539
solargraph
538-
sorbet (~> 0.5)
540+
sorbet (~> 0.6)
539541
sorbet-typescript
540542
standard (>= 1.35.1)
541543
tapioca

‎docs/biome.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.6.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

‎docs/package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"@types/react-syntax-highlighter": "^15.5.13",
3030
"class-variance-authority": "^0.7.1",
3131
"clsx": "^2.1.1",
32-
"lucide-react": "^1.66.0",
33-
"next": "16.4.3",
32+
"lucide-react": "^1.72.0",
33+
"next": "16.4.5",
3434
"next-themes": "^0.4.6",
3535
"react": "^19.3.1",
3636
"react-dom": "^19.3.1",
@@ -41,17 +41,17 @@
4141
"use-interval": "^1.4.0"
4242
},
4343
"devDependencies": {
44-
"@biomejs/biome": "^2.6.4",
45-
"@playwright/test": "^1.64.1",
46-
"@tailwindcss/postcss": "^4.3.3",
44+
"@biomejs/biome": "^2.6.7",
45+
"@playwright/test": "^1.65.0",
46+
"@tailwindcss/postcss": "^4.3.5",
4747
"@types/jest": "^30.0.0",
4848
"@types/node": "^22.20.5",
4949
"@types/react": "^19.3.0",
5050
"@types/react-dom": "^19.3.0",
5151
"jest": "^30.5.2",
5252
"jest-environment-jsdom": "^30.5.2",
5353
"sharp": "^0.35.5",
54-
"tailwindcss": "^4.3.3",
54+
"tailwindcss": "^4.3.5",
5555
"ts-jest": "^29.4.15",
5656
"ts-node": "^10.9.2",
5757
"typescript": "^6.0.3"

0 commit comments

Comments
 (0)