Skip to content

Bump rails_semantic_logger from 4.19.0 to 5.1.0 - #3518

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails_semantic_logger-5.1.0
Open

Bump rails_semantic_logger from 4.19.0 to 5.1.0#3518
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails_semantic_logger-5.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 29, 2026

Copy link
Copy Markdown
Contributor

Bumps rails_semantic_logger from 4.19.0 to 5.1.0.

Changelog

Sourced from rails_semantic_logger's changelog.

[5.1.0] - 2026-07-20

  • Require semantic_logger v5.1 or greater, keeping the two gems in lock step.
  • Boot: a log file that cannot be opened is now caught during boot. Semantic Logger v5.1 opens the file appender's log file when it is created, so a bad path or insufficient permissions raises from SemanticLogger.add_appender and the engine's fallback (log to STDERR at :warn) runs as intended. Previously the failure surfaced asynchronously on the appender thread and the app booted against a silently broken appender. As a side effect the log file is now created as soon as the appender is added, even if nothing has been logged yet, matching the standard Rails logger.
  • Boot: the rescue no longer reports a log file path problem when the failure came from the appenders block, where no path is involved. It now emits an accurate message per branch.
  • ActionCable: fix an ArgumentError from TaggedLoggerProxy when the wrapped logger is a plain Ruby Logger, which accepts only a single progname argument. The v4.9 change always forwarded the full (message, payload, exception) signature, breaking ActionCable::Connection::TestCase tests such as have_rejected_connection. The extra arguments are now only forwarded to a logger method that can accept them. Fixes #317.
  • Sidekiq: officially support Sidekiq 7 and 8, and test both in CI (Sidekiq 7.x on the Rails 7.2 appraisal, Sidekiq 8.x on the Rails 8.0 and 8.1 appraisals).
  • Sidekiq: remove support for Sidekiq 4, 5, and 6. These versions predate the gem's Rails 7.2 / Ruby 3.2 floor and were untested; the Sidekiq::Logging / server middleware patches, the pre-6.5 job_logger wiring, the Sidekiq 5 Worker fallback, and the pre-7.1.6 error-handler branches are gone.
  • Sidekiq: honor Sidekiq 8's logged_job_attributes setting, so additional job attributes can be added to the logging context (defaults to bid and tags, matching Sidekiq).
  • Sidekiq: honor Sidekiq 8's skip_default_job_logging setting as an alternative to RailsSemanticLogger::Sidekiq::JobLogger.perform_messages = false for suppressing the Start #perform / Completed #perform messages.
  • Add a changelog_uri to the gem metadata, so RubyGems links to this file. Thanks to Philip Hallstrom.
  • Remove the vestigial sprockets < 4.0 development pin, which resolved to sprockets 1.0.2 with no sprockets-rails and therefore provided no Rails integration.

[5.0.0] - 2026-06-29

  • Bump the major version to keep it in lock step with Semantic Logger v5, and require semantic_logger >= 5.0.
  • Appenders: add a config.rails_semantic_logger.appenders do |appenders| ... end block to declare log destinations by context. The method names the context (when) and the args name the destination (where): add is always created at init, add_server applies when serving requests (defaults to $stdout), and add_console applies inside the Rails console (defaults to $stderr). This replaces the single default log/<env>.log file appender plus the format/filter/ap_options options.
  • Appenders: deprecate the format, ap_options, filter, console_logger, and add_file_appender options in favor of the appenders block. They still work but warn via the deprecator and will be removed in v6.
  • Forking: rely on Semantic Logger v5's automatic reopen-after-fork (the Process._fork / Process.daemon hook reopens appenders in the child, once per process). Remove the now-redundant manual reopen hooks for Passenger, Resque, Spring, and SolidQueue, the rack/rackup daemonize_app overrides, and the DelayedJob plugin. Apps that opt out with SemanticLogger.reopen_on_fork = false are responsible for reopening themselves.

... (truncated)

Commits
  • 5869ad6 Merge pull request #324 from reidmorrison/release/v5.1.0
  • 524913b Release v5.1.0
  • 6b2392f Burn down rubocop_todo: set Layout/LineLength to 120, clear 14 cops
  • dd339aa Require semantic_logger v5.1
  • c907b2a Merge pull request #323 from reidmorrison/fix/quiet-assets-test-coverage
  • 241ebdb Exercise the quiet_assets code path under CI
  • f1a83d9 Merge pull request #322 from reidmorrison/feat/sidekiq-7-8-support
  • e04a257 Also test Sidekiq 8.0
  • efd7572 Support and test Sidekiq 7 and 8, drop Sidekiq 4/5/6
  • 79ca2ce Merge pull request #321 from reidmorrison/fix/action-cable-tagged-logger-prox...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 29, 2026
Bumps [rails_semantic_logger](https://github.com/reidmorrison/rails_semantic_logger) from 4.19.0 to 5.1.0.
- [Changelog](https://github.com/reidmorrison/rails_semantic_logger/blob/main/CHANGELOG.md)
- [Commits](reidmorrison/rails_semantic_logger@v4.19.0...v5.1.0)

---
updated-dependencies:
- dependency-name: rails_semantic_logger
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rails_semantic_logger-5.1.0 branch from abecda7 to 94378cb Compare July 31, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants