Skip to content

build(deps): bump rails_semantic_logger from 5.2.0 to 5.3.0 - #1189

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps rails_semantic_logger from 5.2.0 to 5.3.0.

Changelog

Sourced from rails_semantic_logger's changelog.

[5.3.0] - 2026-11-20

  • Requires Semantic Logger 5.3 or later.
  • Rails 8.2: detach Rails' own log subscribers from ActiveSupport.event_reporter. Rails 8.2 moves its framework log subscribers off ActiveSupport::Notifications and onto the event reporter, so they kept running next to the semantic subscribers and every request, query, render, mail and job was logged twice. Fixes #332, in #333. Thanks to Raheel Khan.
  • Active Job: replace Rails' log subscriber even when Active Job has not loaded by after_initialize. With lazy loading (the default in development and test) the semantic subscriber was never attached, so jobs were logged only as Rails' text lines. Eager-loaded applications (the production default) were not affected. Fixed in #333.
  • Rails 8.2: log CSRF failures. Rails 8.2 reports them as csrf_request_blocked, csrf_javascript_blocked and csrf_token_fallback events instead of calling logger.warn directly, and only its own text log subscriber logged those events, so detaching it silenced the warnings. They are now logged at :warn, as Rails does, with controller, action and sec_fetch_site in the payload, while log_warning_on_csrf_failure is on.
  • Rails 8.2: stop loading ActionView::Base and ActionDispatch::Response while the application boots. Rails 8.2 logs a "was loaded before application initialization" warning for each when eager loading is off (development and test by default), and fails the boot when config.action_on_early_load_hook = :raise. The ActionController::Live patch, which loaded ActionDispatch::Response, is now applied once Action Controller loads, and the Action View subscriber looks up its logger on first use instead of when its file loads.
  • Active Record: key SQL bind values that have no column name by their parameter position ($1, $2, ...), as Rails 8.2 now does in its own SQL logs. These are casted binds, plain values such as those passed to connection.select_all(sql, name, binds). All of them were previously logged under a single nil key, so a query with several such binds logged binds: {nil: ["foo", 2]} instead of binds: {"$1": "foo", "$2": 2}. Applies to every supported Rails version. Log output change: the nil bind key is gone, so update any log query, dashboard or alert that matches payload.binds.nil to match the positional keys instead. Binds that name their column, including [column, value] pairs, are still keyed and filtered by that name.
  • Rails 8.1+: log open redirects reported by config.action_controller.action_on_open_redirect = :notify, and path relative redirects reported by config.action_controller.action_on_path_relative_redirect = :notify. Rails' text log subscriber never logs the open_redirect.action_controller and unsafe_redirect.action_controller events (on Rails 8.2 only its structured event subscriber reports open redirects), so neither was logged. Both are now logged at :warn with the redirect's stack trace, cleaned of gem frames, as the backtrace: open redirects with location, request_method and request_path in the payload, under the logger of the controller handling the request, and path relative redirects with url. When cleaning would remove every frame, as for a redirect from an engine's controller, the backtrace keeps instead the frames from the first one in the file that defines the controller's action, or every frame when there is none, with gem paths shortened.
  • Active Job: support config.active_job.verbose_enqueue_logs, which Rails turns on in development for new applications. When it is on, each enqueue entry has the application code that enqueued the job as source in its payload, such as source: "app/controllers/orders_controller.rb:18:in 'OrdersController#create'", where Rails' own log adds a ↳ line. It was ignored on every Rails version. As Rails does, the source is the first frame of the call stack that the application's Rails.backtrace_cleaner keeps, and every info and error entry gets one when there is such a frame: a job performed inline, such as with perform_now, has the code that performed it, while the perform entries of a job performed by a worker have none, and its Continuation step entries (Rails 8.1+) have the job's line. A job

... (truncated)

Commits
  • cb52fa1 Release 5.3.0 (#353)
  • 4e6d92b Record the application code behind each entry as its call site (#351)
  • 6c776cd Redact config.filter_parameters from every log entry by default (#350)
  • 976d6c1 Clean logged exception backtraces with Rails.backtrace_cleaner (#349)
  • d631cad Test against Semantic Logger main until 5.3.0 is released (#348)
  • fcef3d2 Pin json below 3 for Rails 8.0, and test the :json formatter (#347)
  • a26f627 Close the parentheses in the failed enqueue message
  • e529d3d Log the source of job entries when verbose_enqueue_logs is on (#345)
  • e494616 Log the source of queries when verbose_query_logs is on (#344)
  • 489bd46 Clean Action Controller backtraces with Rails.backtrace_cleaner (#343)
  • 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 5.2.0 to 5.3.0.
- [Changelog](https://github.com/reidmorrison/rails_semantic_logger/blob/main/CHANGELOG.md)
- [Commits](reidmorrison/rails_semantic_logger@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: rails_semantic_logger
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e5c18f21-8e98-40b5-8868-ee19c0a1b21b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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