Skip to content
Merged
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: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
persist-credentials: false

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '.ruby-version'
bundler-cache: true

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 10.18.3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rails-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: rm -f Gemfile.lock .ruby-version

- name: Setup Ruby 4.0.1
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '4.0.1'
bundler-cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:

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

Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
name: gem

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: ruby

Expand All @@ -196,7 +196,7 @@ jobs:

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

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
persist-credentials: false

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

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 10.18.3

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
persist-credentials: false

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '.ruby-version'
bundler-cache: true
Expand All @@ -118,7 +118,7 @@ jobs:
node-version: 22

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 10.18.3

Expand All @@ -134,7 +134,7 @@ jobs:
persist-credentials: false

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '.ruby-version'
bundler-cache: true
Expand All @@ -145,7 +145,7 @@ jobs:
node-version: 22

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 10.18.3

Expand Down Expand Up @@ -183,13 +183,13 @@ jobs:
persist-credentials: false

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '.ruby-version'
bundler-cache: true

- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 10.18.3

Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
run: rm -f Gemfile.lock

- name: Setup Ruby 4.0.1
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '4.0.1'
bundler-cache: true
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
run: rm -f Gemfile.lock

- name: Setup Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
Expand All @@ -346,7 +346,7 @@ jobs:
persist-credentials: false

- name: Setup Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: '.ruby-version'

Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.1] - 2026-11-20

### Changed

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

### Fixed

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

## [0.4.0] - 2026-11-06

Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ gem "openssl" # For tapioca SSL certificate verification
gem "ostruct" # For Ruby 3.5+ compatibility

# Sorbet is needed for development
gem "sorbet", "~> 0.5"
gem "sorbet", "~> 0.6"
gem "sorbet-typescript"

# Essential testing gems that don't have Ruby version restrictions
group :test do
gem "dalli", "~> 3.2.15"
gem "bundler-audit", require: false
gem "minitest", "~> 5.20"
gem "minitest", "~> 6.1"
gem "minitest-mock", "~> 5.27"
gem "minitest-reporters", "~> 1.6"
gem "simplecov", "~> 1.3", require: false
gem "simplecov-json", "~> 0.2", require: false
Expand Down
38 changes: 20 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PATH
remote: .
specs:
logstruct (0.4.0)
logstruct (0.4.1)
actionpack (>= 7.1)
activesupport (>= 7.1)
globalid (>= 1.0)
lograge (>= 0.11)
railties (>= 7.1)
semantic_logger (~> 4.15)
semantic_logger (>= 4.15, < 6.0)
sorbet-runtime (>= 0.6.12698)

GEM
Expand Down Expand Up @@ -129,8 +129,6 @@ GEM
connection_pool (3.0.2)
content_disposition (1.0.0)
crass (1.0.8)
dalli (3.2.15)
logger
date (3.6.0)
debug (1.11.1)
irb (~> 1.10)
Expand Down Expand Up @@ -205,7 +203,10 @@ GEM
net-smtp
marcel (1.2.1)
mini_mime (1.1.5)
minitest (5.27.0)
minitest (6.1.0)
drb (~> 2.0)
prism (>= 1.5, < 3)
minitest-mock (5.27.0)
minitest-reporters (1.8.0)
ansi
builder
Expand Down Expand Up @@ -365,8 +366,9 @@ GEM
rubydex (0.4.4-x86_64-linux)
safely_block (1.0.0)
securerandom (0.4.1)
semantic_logger (4.18.0)
semantic_logger (5.2.0)
concurrent-ruby (~> 1.0)
logger (~> 1.5)
sentry-ruby (7.2.0)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down Expand Up @@ -410,15 +412,15 @@ GEM
yard (~> 0.9, >= 0.9.24)
yard-activesupport-concern (~> 0.0)
yard-solargraph (~> 0.1)
sorbet (0.6.13635)
sorbet-static (= 0.6.13635)
sorbet-runtime (0.6.13635)
sorbet-static (0.6.13635-aarch64-linux)
sorbet-static (0.6.13635-universal-darwin)
sorbet-static (0.6.13635-x86_64-linux)
sorbet-static-and-runtime (0.6.13635)
sorbet (= 0.6.13635)
sorbet-runtime (= 0.6.13635)
sorbet (0.6.13672)
sorbet-static (= 0.6.13672)
sorbet-runtime (0.6.13672)
sorbet-static (0.6.13672-aarch64-linux)
sorbet-static (0.6.13672-universal-darwin)
sorbet-static (0.6.13672-x86_64-linux)
sorbet-static-and-runtime (0.6.13672)
sorbet (= 0.6.13672)
sorbet-runtime (= 0.6.13672)
sorbet-typescript (0.1.1)
sorbet-runtime (>= 0.5)
thor (>= 1.3)
Expand Down Expand Up @@ -508,15 +510,15 @@ DEPENDENCIES
bundler-audit
carrierwave (~> 3.0)
climate_control (~> 1.2)
dalli (~> 3.2.15)
debug
dotenv-rails (~> 3.1)
drb
honeybadger (~> 6.10)
json_schemer
listen
logstruct!
minitest (~> 5.20)
minitest (~> 6.1)
minitest-mock (~> 5.27)
minitest-reporters (~> 1.6)
mutex_m
openssl
Expand All @@ -535,7 +537,7 @@ DEPENDENCIES
simplecov (~> 1.3)
simplecov-json (~> 0.2)
solargraph
sorbet (~> 0.5)
sorbet (~> 0.6)
sorbet-typescript
standard (>= 1.35.1)
tapioca
Expand Down
2 changes: 1 addition & 1 deletion docs/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.6.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@types/react-syntax-highlighter": "^15.5.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.66.0",
"next": "16.4.3",
"lucide-react": "^1.72.0",
"next": "16.4.5",
"next-themes": "^0.4.6",
"react": "^19.3.1",
"react-dom": "^19.3.1",
Expand All @@ -41,17 +41,17 @@
"use-interval": "^1.4.0"
},
"devDependencies": {
"@biomejs/biome": "^2.6.4",
"@playwright/test": "^1.64.1",
"@tailwindcss/postcss": "^4.3.3",
"@biomejs/biome": "^2.6.7",
"@playwright/test": "^1.65.0",
"@tailwindcss/postcss": "^4.3.5",
"@types/jest": "^30.0.0",
"@types/node": "^22.20.5",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"jest": "^30.5.2",
"jest-environment-jsdom": "^30.5.2",
"sharp": "^0.35.5",
"tailwindcss": "^4.3.3",
"tailwindcss": "^4.3.5",
"ts-jest": "^29.4.15",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
Expand Down
Loading