Skip to content

fix(deps): update ruby packages

Sylvain Desbureaux requested to merge renovate/ruby into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
bootsnap 1.16.0 -> 1.17.0 age adoption passing confidence
prometheus-client 4.2.1 -> 4.2.2 age adoption passing confidence
rails (source, changelog) 7.1.1 -> 7.1.2 age adoption passing confidence
rubocop (source, changelog) 1.56.4 -> 1.57.2 age adoption passing confidence
selenium-webdriver (source, changelog) 4.10.0 -> 4.15.0 age adoption passing confidence
stimulus-rails (source) 1.2.2 -> 1.3.0 age adoption passing confidence

Release Notes

prometheus/client_ruby (prometheus-client)

v4.2.2

Compare Source

Codename: 🎃🦇 Spooky type conversion 🦇🎃

Bug fixes

  • #​296 Stringify non-string job names in push client: Previously, an error would be raised if you passed a symbol as the job name, which is inconsistent with how we handle label values in the rest of the client. This change converts the job name to a string before trying to use it.
  • #​297 Stringify grouping key values in push client: Same thing as #​296, but for grouping key values.
rails/rails (rails)

v7.1.2: 7.1.2

Compare Source

Active Support

  • Fix :expires_in option for RedisCacheStore#write_multi.

    fatkodima

  • Fix deserialization of non-string "purpose" field in Message serializer

    Jacopo Beschi

  • Prevent global cache options being overwritten when setting dynamic options inside a ActiveSupport::Cache::Store#fetch block.

    Yasha Krasnou

  • Fix missing require resulting in NoMethodError when running bin/rails secrets:show or bin/rails secrets:edit.

    Stephen Ierodiaconou

  • Ensure {down,up}case_first returns non-frozen string.

    Jonathan Hefner

  • Fix #to_fs(:human_size) to correctly work with negative numbers.

    Earlopain

  • Fix BroadcastLogger#dup so that it duplicates the logger's broadcasts.

    Andrew Novoselac

  • Fix issue where bootstrap.rb overwrites the level of a BroadcastLogger's broadcasts.

    Andrew Novoselac

  • Fix ActiveSupport::Cache to handle outdated Marshal payload from Rails 6.1 format.

    Active Support's Cache is supposed to treat a Marshal payload that can no longer be deserialized as a cache miss. It fail to do so for compressed payload in the Rails 6.1 legacy format.

    Jean Boussier

  • Fix OrderedOptions#dig for array indexes.

    fatkodima

  • Fix time travel helpers to work when nested using with separate classes.

    fatkodima

  • Fix delete_matched for file cache store to work with keys longer than the max filename size.

    fatkodima and Jonathan Hefner

  • Fix compatibility with the semantic_logger gem.

    The semantic_logger gem doesn't behave exactly like stdlib logger in that SemanticLogger#level returns a Symbol while stdlib Logger#level returns an Integer.

    This caused the various LogSubscriber classes in Rails to break when assigned a SemanticLogger instance.

    Jean Boussier, ojab

Active Model

  • Make ==(other) method of AttributeSet safe.

    Dmitry Pogrebnoy

Active Record

  • Fix renaming primary key index when renaming a table with a UUID primary key in PostgreSQL.

    fatkodima

  • Fix where(field: values) queries when field is a serialized attribute (for example, when field uses ActiveRecord::Base.serialize or is a JSON column).

    João Alves

  • Prevent marking broken connections as verified.

    Daniel Colson

  • Don't mark Float::INFINITY as changed when reassigning it

    When saving a record with a float infinite value, it shouldn't mark as changed

    Maicol Bentancor

  • ActiveRecord::Base.table_name now returns nil instead of raising "undefined method abstract_class? for Object:Class".

    a5-stable

  • Fix upserting for custom :on_duplicate and :unique_by consisting of all inserts keys.

    fatkodima

  • Fixed an issue where saving a record could innappropriately dup its attributes.

    Jonathan Hefner

  • Dump schema only for a specific db for rollback/up/down tasks for multiple dbs.

    fatkodima

  • Fix NoMethodError when casting a PostgreSQL money value that uses a comma as its radix point and has no leading currency symbol. For example, when casting "3,50".

    Andreas Reischuck and Jonathan Hefner

  • Re-enable support for using enum with non-column-backed attributes. Non-column-backed attributes must be previously declared with an explicit type. For example:

    class Post < ActiveRecord::Base
      attribute :topic, :string
      enum topic: %i[science tech engineering math]
    end

    Jonathan Hefner

  • Raise on foreign_key: being passed as an array in associations

    Nikita Vasilevsky

  • Return back maximum allowed PostgreSQL table name to 63 characters.

    fatkodima

  • Fix detecting IDENTITY columns for PostgreSQL < 10.

    fatkodima

Action View

  • Fix the number_to_human_size view helper to correctly work with negative numbers.

    Earlopain

  • Automatically discard the implicit locals injected by collection rendering for template that can't accept them

    When rendering a collection, two implicit variables are injected, which breaks templates with strict locals.

    Now they are only passed if the template will actually accept them.

    Yasha Krasnou, Jean Boussier

  • Fix @rails/ujs calling start() an extra time when using bundlers

    Hartley McGuire, Ryunosuke Sato

  • Fix the capture view helper compatibility with HAML and Slim

    When a blank string was captured in HAML or Slim (and possibly other template engines) it would instead return the entire buffer.

    Jean Boussier

Action Pack

  • Fix a race condition that could cause a Text file busy - chromedriver error with parallel system tests

    Matt Brictson

  • Fix StrongParameters#extract_value to include blank values

    Otherwise composite parameters may not be parsed correctly when one of the component is blank.

    fatkodima, Yasha Krasnou, Matthias Eiglsperger

  • Add racc as a dependency since it will become a bundled gem in Ruby 3.4.0

    Hartley McGuire

  • Support handling Enumerator for non-buffered responses.

    Zachary Scott

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

  • No changes.

Active Storage

  • No changes.

Action Mailbox

  • No changes.

Action Text

  • Compile ESM package that can be used directly in the browser as actiontext.esm.js

    Matias Grunberg

  • Fix using actiontext.js with Sprockets

    Matias Grunberg

  • Upgrade Trix to 2.0.7

    Hartley McGuire

  • Fix using Trix with Sprockets

    Hartley McGuire

Railties

  • Fix running db:system:change when app has no Dockerfile.

    Hartley McGuire

  • If you accessed config.eager_load_paths and friends, later changes to config.paths were not reflected in the expected auto/eager load paths. Now, they are.

    This bug has been latent since Rails 3.

    Fixes #​49629.

    Xavier Noria

rubocop/rubocop (rubocop)

v1.57.2

Compare Source

Bug fixes
  • #​12274: Fix a false positive for Lint/Void when each's receiver is an object of Enumerator to which filter has been applied. ([@​koic][])
  • #​12291: Fix a false positive for Metrics/ClassLength when a class with a singleton class definition. ([@​koic][])
  • #​12293: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge and method chain. ([@​koic][])
  • #​12298: Fix a false positive for Style/RedundantParentheses when using a parenthesized hash literal as the first argument in a method call without parentheses. ([@​koic][])
  • #​12283: Fix an error for Style/SingleLineDoEndBlock when using single line do...end with no body. ([@​koic][])
  • #​12312: Fix an incorrect autocorrect for Style/HashSyntax when braced hash key and value are the same and it is used in if...else. ([@​koic][])
  • #​12307: Fix an infinite loop error for Layout/EndAlignment when EnforcedStyleAlignWith: variable and using a conditional statement in a method argument on the same line and end with method call is not aligned. ([@​koic][])
  • #​11652: Make --auto-gen-config generate inherit_from correctly inside ERB if. ([@​jonas054][])
  • #​12310: Drop base64 gem from runtime dependency. ([@​koic][])
  • #​12300: Fix an error for Style/IdenticalConditionalBranches when if...else with identical leading lines and using index assign. ([@​koic][])
  • #​12286: Fix false positives for Style/RedundantDoubleSplatHashBraces when using double splat with a hash literal enclosed in parenthesized ternary operator. ([@​koic][])
  • #​12279: Fix false positives for Lint/EmptyConditionalBody when missing 2nd if body with a comment. ([@​koic][])
  • #​12275: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat within block argument containing a hash literal in an array literal. ([@​koic][])
  • #​12284: Fix false positives for Style/SingleArgumentDig when using some anonymous argument syntax. ([@​koic][])
  • #​12301: Make Style/RedundantFilterChain aware of safe navigation operator. ([@​koic][])

v1.57.1

Compare Source

Bug fixes
  • #​12271: Fix a false positive for Lint/RedundantSafeNavigation when using snake case constant receiver. ([@​koic][])
  • #​12265: Fix an error for Layout/MultilineMethodCallIndentation when usingarithmetic operation with block inside a grouped expression. ([@​koic][])
  • #​12177: Fix an incorrect autocorrect for Style/RedundantException. ([@​ydah][])
  • #​12261: Fix an infinite loop for Layout/MultilineMethodCallIndentation when multiline method chain with a block argument and method chain. ([@​ydah][])
  • #​12263: Fix false positives for Style/RedundantDoubleSplatHashBraces when method call for no hash braced double splat receiver. ([@​koic][])
  • #​12262: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge method call twice. ([@​koic][])

v1.57.0

Compare Source

New features
Bug fixes
  • #​12244: Fix a false negative for Lint/Debugger when using debugger method inside block. ([@​koic][])
  • #​12231: Fix a false negative for Metrics/ModuleLength when defining a singleton class in a module. ([@​koic][])
  • #​12249: Fix a false positive Style/IdenticalConditionalBranches when if..else with identical leading lines and assign to condition value. ([@​koic][])
  • #​12253: Fix Lint/LiteralInInterpolation to accept an empty string literal interpolated in words literal. ([@​knu][])
  • #​12198: Fix an error for flip-flop with beginless or endless ranges. ([@​koic][])
  • #​12259: Fix an error for Lint/MixedCaseRange when using nested character class in regexp. ([@​koic][])
  • #​12237: Fix an error for Style/NestedTernaryOperator when a ternary operator has a nested ternary operator within an if. ([@​koic][])
  • #​12228: Fix false negatives for Style/MultilineBlockChain when using multiline block chain with safe navigation operator. ([@​koic][])
  • #​12247: Fix false negatives for Style/RedundantParentheses when using logical or comparison expressions with redundant parentheses. ([@​koic][])
  • #​12226: Fix false positives for Layout/MultilineMethodCallIndentation when aligning methods in multiline block chain. ([@​koic][])
  • #​12076: Fixed an issue where the top-level cache folder was named differently during two consecutive rubocop runs. ([@​K-S-A][])
Changes
  • #​12235: Enable auto parallel inspection when config file is specified. ([@​aboutNisblee][])
  • #​12234: Enhance Style/FormatString's autocorrection when using known conversion methods whose return value is not an array. ([@​koic][])
  • #​12128: Make Style/GuardClause aware of define_method. ([@​koic][])
  • #​12126: Make Style/RedundantFilterChain aware of select.present? when ActiveSupportExtensionsEnabled config is true. ([@​koic][])
  • #​12250: Mark Lint/RedundantRequireStatement as unsafe autocorrect. ([@​koic][])
  • #​12097: Mark unsafe autocorrect for Style/ClassEqualityComparison. ([@​koic][])
  • #​12210: Mark Style/RedundantFilterChain as unsafe autocorrect. ([@​koic][])
SeleniumHQ/selenium (selenium-webdriver)

v4.15.0

=========================

  • Do not set browser binary in selenium manager if it is an empty string (#​12738)
  • Add flaky condition to guards to mark unreliable tests
  • Rake update needs to build latest grid for running remote tests
  • Add CDP v119 and remove v116
  • Implement file downloads (#​12979)

v4.14.0

========================= Ruby:

  • allow users to access the full script of the atom directly

BiDi:

  • Released selenium-devtools 0.118.0 (supports CDP v85, v116, v117, v118)

v4.13.1

========================= Ruby:

  • Fix bug preventing logging chromedriver to file

v4.13.0

========================= Ruby:

  • Fix bug preventing using performance logging with chromium
  • Allow users to set Selenium Manager path by environment variable (#​12752)
  • Allow service to be started before the driver
  • remove deprecated driver extensions for location and network connection

BiDi:

  • Released selenium-devtools 0.117.0 (supports CDP v85, v115, v116, v117)

v4.12.0

========================= Ruby:

  • Fix bug preventing good error messages in Selenium Manager when stdout empty
  • Fix bug with Firefox not loading net/http library by default (#​12506)
  • Remove support for using capabilities in local drivers

BiDi:

  • Released selenium-devtools 0.116.0 (supports CDP v85, v114, v115, v116)

v4.11.0

========================= Ruby:

  • Made network interception threads fail silently (#​12226)
  • Have Selenium Manager binary locate drivers on PATH (#​12345)
  • Add browser output from selenium manager to options (#​12398)
  • Remove deprecated code (#​12417) BiDi:
  • Released selenium-devtools 0.115.0 (supports CDP v85, v113, v114, v115) Edge:
  • Adding ignore process match for IE Mode across bindings (#​12279)
hotwired/stimulus-rails (stimulus-rails)

v1.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hotwired/stimulus-rails/compare/v1.2.2...v1.3.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Sylvain Desbureaux

Merge request reports