From c41a1f08ee02fa6a928400913a1b99e85f96a421 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 6 Nov 2026 18:00:48 +1300 Subject: [PATCH] Prepare LogStruct 0.4.0 release --- CHANGELOG.md | 13 +++++++++++-- Gemfile.lock | 2 +- lib/log_struct/version.rb | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4236e3..ebd0ea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] - 2026-11-06 + ### Changed -- **Dependencies**: Requires `sorbet-runtime` 0.6.12698 or later, the first version with `T::Module`, which `LogStruct::SemanticLogger::Logger`'s signature uses. -- **Type checking**: Log structs mark the props that implement their interfaces with `override: true`, which current versions of Sorbet require. A custom log struct needs the same on its `level`, `timestamp` and `additional_data` props, with the interfaces included above them. +- **Breaking**: Requires `sorbet-runtime` 0.6.12698 or later, the first version with `T::Module`, which `LogStruct::SemanticLogger::Logger`'s signature uses. +- **Breaking**: Log structs mark the props that implement their interfaces with `override: true`, which current versions of Sorbet require. A custom log struct needs the same on its `level`, `timestamp` and `additional_data` props, with the interfaces included above them. +- **Development**: Update the locked gems and the docs and tooling packages, including Sorbet 0.6, Tapioca 0.20 and RuboCop 1.91. CI tests Rails 7.2.4, 8.0.5.2 and 8.1.4.1. +- **Development**: `task ci` runs `jscpd`. GitHub CI runs the dependency audits, and a release waits for them. + +### Fixed + +- **Development**: Update the locked `crass` dependency to 1.0.8, which fixes GHSA-pq4g-8rxf-4g29, and move `glob` and `minimatch` in the development tools to patched versions. +- **Generation**: An interrupted run leaves the generated files as they were, because they're written to a staging directory and moved into place. ## [0.3.0] - 2026-10-23 diff --git a/Gemfile.lock b/Gemfile.lock index 16c5907..32905bb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - logstruct (0.3.0) + logstruct (0.4.0) actionpack (>= 7.1) activesupport (>= 7.1) globalid (>= 1.0) diff --git a/lib/log_struct/version.rb b/lib/log_struct/version.rb index 29f98cb..676adfb 100644 --- a/lib/log_struct/version.rb +++ b/lib/log_struct/version.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module LogStruct - VERSION = "0.3.0" + VERSION = "0.4.0" end