Skip to content

chore(deps): bump rails_semantic_logger from 4.20.0 to 5.0.0#2619

Merged
KralMarko123 merged 1 commit into
masterfrom
dependabot/bundler/rails_semantic_logger-5.0.0
Jul 1, 2026
Merged

chore(deps): bump rails_semantic_logger from 4.20.0 to 5.0.0#2619
KralMarko123 merged 1 commit into
masterfrom
dependabot/bundler/rails_semantic_logger-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Bumps rails_semantic_logger from 4.20.0 to 5.0.0.

Changelog

Sourced from rails_semantic_logger's changelog.

[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.
  • ActionMailer: match Rails' subscribe_log_level gating so the deliver and process events are only emitted when the logger is at debug level, and log process at debug to match upstream.
  • ActionMailer: include the full encoded message (mail) in the deliver payload, mirroring Rails' debug-level mail dump.
  • ActionMailer: remove dead code from the log subscriber (the inapplicable log_arguments? branch and an unreachable, self-recursive date-string branch).
  • ActionView: add gc_time to the render_template, render_partial, and render_collection payloads, matching the GC timing Rails now reports.
  • ActionView: emit a Rendered layout completion event (with duration, allocations, and gc_time) to mirror Rails' render_layout subscriber. The upstream ActionView log subscriber is identical across Rails 7.2 / 8.0 / 8.1, so no version-specific behavior is required.
  • ActionView: log under the name ActionView::Base (via ActionView::Base.logger) instead of ActionView, for consistency with the ActiveRecord::Base, ActiveJob::Base, ActionMailer::Base, and ActionController::Base logger names.
  • ActiveJob: add the enqueue_retry, retry_stopped, and discard events (present in Rails since before 7.2 but never reimplemented here, so they previously produced no output).
  • ActiveJob: add the Rails 8.1 Continuation events (interrupt, resume, step_skipped, step_started, step). The handlers are defined unconditionally; on Rails < 8.1 those notifications are never emitted, so no version-specific behavior is required.
  • ActiveJob: fall back to job.enqueue_error when no exception_object is present, matching Rails, so a failed enqueue is no longer logged as a success.
  • ActiveJob: add the aborted branch to perform, logging a halted before_perform callback as an error to match upstream.
  • ActiveJob: add enqueued_at and scheduled_at to the event payload (when applicable), plus executions/wait on retry events and step_name/step_cursor on Continuation step events.
  • ActiveRecord: handle the strict_loading_violation event (previously dropped entirely when our subscriber replaced Rails'), emitting the violation message plus a structured payload (owner, association, and class for non-polymorphic reflections).
  • ActiveRecord: add lock_wait to the sql payload for async queries, matching Rails.
  • ActiveRecord: only set cached in the sql payload when the result was served from the query cache, instead of writing cached: nil on every query.
  • ActiveRecord: filter sensitive bind values via Rails' own ActiveRecord::Base.inspection_filter

... (truncated)

Commits
  • 001d671 README: move container platform recipe to docs
  • f11ebd6 Rewrite README to match docs and the appenders configuration
  • bf4c700 Trim README: move upgrade notes to docs, condense examples
  • 2ca6cf6 Prepare v5.0.0 release: use rubygems semantic_logger 5.0
  • 6756a86 Merge pull request #314 from reidmorrison/fix/activesupport-logger-hijack-141
  • aabc6ec Stop hijacking ActiveSupport::Logger.new when a destination is given
  • 1b5a698 Merge pull request #313 from reidmorrison/feature/subscriber-metrics
  • c237585 Pass class/module constants to SemanticLogger[] instead of strings
  • 2ebe76a ActionView: log under ActionView::Base name
  • c956f1b Emit prototype metrics for info/warn/error log subscriber entries
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rails_semantic_logger](https://github.com/reidmorrison/rails_semantic_logger) from 4.20.0 to 5.0.0.
- [Changelog](https://github.com/reidmorrison/rails_semantic_logger/blob/main/CHANGELOG.md)
- [Commits](reidmorrison/rails_semantic_logger@v4.20.0...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies ruby Pull requests that update Ruby code labels Jun 30, 2026
@KralMarko123 KralMarko123 merged commit 9ae5794 into master Jul 1, 2026
4 checks passed
@KralMarko123 KralMarko123 deleted the dependabot/bundler/rails_semantic_logger-5.0.0 branch July 1, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant