Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the rails group with 13 updates #4063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2024

Bumps the rails group with 13 updates:

Package From To
rails 7.2.2 8.0.0
actioncable 7.2.2 8.0.0
actionmailbox 7.2.2 8.0.0
actionmailer 7.2.2 8.0.0
actionpack 7.2.2 8.0.0
actiontext 7.2.2 8.0.0
actionview 7.2.2 8.0.0
activejob 7.2.2 8.0.0
activemodel 7.2.2 8.0.0
activerecord 7.2.2 8.0.0
activestorage 7.2.2 8.0.0
activesupport 7.2.2 8.0.0
railties 7.2.2 8.0.0

Updates rails from 7.2.2 to 8.0.0

Release notes

Sourced from rails's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Commits
  • dd8f718 Preparing for 8.0.0 release
  • f88e6ae Merge pull request #53550 from tysongach/devcontainer-links
  • 43425c8 Bump deprecation message to 8.1
  • 38bf52d Add yarn.lock to allowed dirty files
  • 3de9afc Merge pull request #53546 from matthewd/dst_deprecation_fix
  • ebcb66e Merge pull request #53542 from Uaitt/remove-redundant-period-in-security-guides
  • 4f042a8 Merge pull request #53520 from Earlopain/fix-backtrace-env-gem-paths
  • 74608e5 Merge pull request #53533 from Earlopain/no-docs-for-rackup
  • 8ee2d3e Merge pull request #53504 from SleeplessByte/fix/anchor-scroll-mobile
  • 473f2b2 Merge pull request #53515 from k-tsuchiya-jp/fix-53467
  • Additional commits viewable in compare view

Updates actioncable from 7.2.2 to 8.0.0

Release notes

Sourced from actioncable's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actioncable's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • No changes.

Rails 8.0.0.beta1 (September 26, 2024)

  • Add an identifier to the event payload for the ActiveSupport::Notification transmit_subscription_confirmation.action_cable and transmit_subscription_rejection.action_cable.

    Keith Schacht

Please check 7-2-stable for previous changes.

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 6283314 Preparing for 8.0.0.rc2 release
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • 23692fb Update Action Cable test suite for Ruby 3.4 Hash#inspect
  • 29c7580 Let RuboCop set TargetRubyVersion value from rails.gemspec
  • 72bc36f Preparing for 8.0.0.beta1 release
  • c7b9bb1 Drop support to Ruby 3.1
  • 52b458d Remove unneeded :package tasks
  • 5c0b749 Revert "Deprecate hash key path mapping"
  • ac10452 Remove private call
  • Additional commits viewable in compare view

Updates actionmailbox from 7.2.2 to 8.0.0

Release notes

Sourced from actionmailbox's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actionmailbox's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • No changes.

Rails 8.0.0.beta1 (September 26, 2024)

Please check 7-2-stable for previous changes.

Commits

Updates actionmailer from 7.2.2 to 8.0.0

Release notes

Sourced from actionmailer's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actionmailer's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • No changes.

Rails 8.0.0.beta1 (September 26, 2024)

Please check 7-2-stable for previous changes.

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 6283314 Preparing for 8.0.0.rc2 release
  • 97c97e3 Merge pull request #53426 from jhawthorn/security_forward_ports
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • 29c7580 Let RuboCop set TargetRubyVersion value from rails.gemspec
  • 72bc36f Preparing for 8.0.0.beta1 release
  • c7b9bb1 Drop support to Ruby 3.1
  • 52b458d Remove unneeded :package tasks
  • 83d8896 Use deliver_now! instead of deliver_now
  • 5c0b749 Revert "Deprecate hash key path mapping"
  • Additional commits viewable in compare view

Updates actionpack from 7.2.2 to 8.0.0

Release notes

Sourced from actionpack's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actionpack's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • Fix routes with :: in the path.

    Rafael Mendonça França

  • Maintain Rack 2 parameter parsing behaviour.

    Matthew Draper

Rails 8.0.0.rc1 (October 19, 2024)

  • Remove Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality.

    Rafael Mendonça França

  • Improve ActionController::TestCase to expose a binary encoded request.body.

    The rack spec clearly states:

    The input stream is an IO-like object which contains the raw HTTP POST data. When applicable, its external encoding must be “ASCII-8BIT” and it must be opened in binary mode.

    Until now its encoding was generally UTF-8, which doesn't accurately reflect production behavior.

    Jean Boussier

  • Update ActionController::AllowBrowser to support passing method names to :block

    class ApplicationController < ActionController::Base
      allow_browser versions: :modern, block: :handle_outdated_browser
    private
    def handle_outdated_browser
    render file: Rails.root.join("public/custom-error.html"), status: :not_acceptable
    end
    end

    Sean Doyle

  • Raise an ArgumentError when invalid :only or :except options are passed into #resource and #resources.

... (truncated)

Commits
  • dd8f718 Preparing for 8.0.0 release
  • bd0b808 Merge pull request #53527 from ghiculescu/error-handle-redirect-to
  • 6c84b11 Fix typos [ci-skip]
  • 6283314 Preparing for 8.0.0.rc2 release
  • 71602c6 CHANGELOG sync
  • 118fbd5 Merge pull request #53453 from rails/rm-fix-double-colon-routes
  • f0a6440 Merge pull request #53471 from matthewd/rack-2-parsing
  • 97c97e3 Merge pull request #53426 from jhawthorn/security_forward_ports
  • 251335d Merge pull request #53414 from mthadley/fix-codeblock-action-controller-param...
  • 1da7708 Merge pull request #53412 from mthadley/patch-1
  • Additional commits viewable in compare view

Updates actiontext from 7.2.2 to 8.0.0

Release notes

Sourced from actiontext's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actiontext's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • No changes.

Rails 8.0.0.beta1 (September 26, 2024)

  • Dispatch direct-upload events on attachment uploads

    When using Action Text's rich textarea, it's possible to attach files to the editor. Previously, that action didn't dispatch any events, which made it hard to react to the file uploads. For instance, if an upload failed, there was no way to notify the user about it, or remove the attachment from the editor.

    This commits adds new events - direct-upload:start, direct-upload:progress, and direct-upload:end - similar to how Active Storage's direct uploads work.

    Matheus Richard, Brad Rees

  • Add store_if_blank option to has_rich_text

    Pass store_if_blank: false to not create ActionText::RichText records when saving with a blank attribute, such as from an optional form parameter.

    class Message
      has_rich_text :content, store_if_blank: false
    end
    Message.create(content: "hi") # creates an ActionText::RichText
    Message.create(content: "") # does not create an ActionText::RichText

    Alex Ghiculescu

  • Strip content attribute if the key is present but the value is empty

    Jeremy Green

  • Rename rich_text_area methods into rich_textarea

... (truncated)

Commits

Updates actionview from 7.2.2 to 8.0.0

Release notes

Sourced from actionview's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from actionview's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • Remove deprecated support to passing a content to void tag elements on the tag builder.

    Rafael Mendonça França

  • Remove deprecated support to passing nil to the model: argument of form_with.

    Rafael Mendonça França

Rails 8.0.0.beta1 (September 26, 2024)

  • Enable DependencyTracker to evaluate renders with trailing interpolation.

    <%= render "maintenance_tasks/runs/info/#{run.status}" %>

    Previously, the DependencyTracker would ignore this render, but now it will mark all partials in the "maintenance_tasks/runs/info" folder as dependencies.

    Hartley McGuire

  • Rename text_area methods into textarea

    Old names are still available as aliases.

    Sean Doyle

  • Rename check_box* methods into checkbox*.

    Old names are still available as aliases.

    Jean Boussier

Please check 7-2-stable for previous changes.

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 6c84b11 Fix typos [ci-skip]
  • 1367b6a Merge pull request #53508 from nisusam/fix_typos
  • 6283314 Preparing for 8.0.0.rc2 release
  • 571ebf7 Fix invalid syntax in TextHelper#highlight API docs example [ci skip]
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • c7da421 Remove deprecated support to passing a content to void tag elements on the `t...
  • 0c150ba Remove deprecated support to passing nil to the model: argument of `form_...
  • 344a916 Support Prism for ActionView::Template.spot
  • 17184bd Skip Action View error mapping tests on 3.4+
  • Additional commits viewable in compare view

Updates activejob from 7.2.2 to 8.0.0

Release notes

Sourced from activejob's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from activejob's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • Remove deprecated config.active_job.use_big_decimal_serializer.

    Rafael Mendonça França

Rails 8.0.0.beta1 (September 26, 2024)

  • Deprecate sucker_punch as an adapter option.

    If you're using this adapter, change to adapter: async for the same functionality.

    Dino Maric, zzak

  • Use RAILS_MAX_THREADS in ActiveJob::AsyncAdapter. If it is not set, use 5 as default.

    heka1024

Please check 7-2-stable for previous changes.

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 6283314 Preparing for 8.0.0.rc2 release
  • 85b6bc7 Fix typo missing ` in deprecation message
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • 582f91e Deprecate setting config.active_job.enqueue_after_transaction_commit
  • 8f9f504 Remove deprecated config.active_job.use_big_decimal_serializer
  • 7c73420 Add test coverage for Active Job log levels
  • 7a1e2fc Update Active Job test suite for Ruby 3.4 Hash#inspect
  • 926cb7e Update Active Job test suite for Ruby 3.4 Hash#inspect
  • a2aff06 Fix log level of :retry_stopped event
  • Additional commits viewable in compare view

Updates activemodel from 7.2.2 to 8.0.0

Release notes

Sourced from activemodel's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • Add :except_on option for validations. Grants the ability to skip validations in specified contexts.

    class User < ApplicationRecord
        #...
        validates :birthday, presence: { except_on: :admin }
        #...
    end
    user = User.new(attributes except birthday)
    user.save(context: :admin)

    Drew Bragg

Rails 8.0.0.beta1 (September 26, 2024)

  • Make ActiveModel::Serialization#read_attribute_for_serialization public

    Sean Doyle

  • Add a default token generator for password reset tokens when using has_secure_password.

    class User < ApplicationRecord
      has_secure_password
    end
    user = User.create!(name: "david", password: "123", password_confirmation: "123")
    token = user.password_reset_token
    User.find_by_password_reset_token(token) # returns user
    16 minutes later...
    User.find_by_password_reset_token(token) # returns nil
    raises ActiveSupport::MessageVerifier::InvalidSignature since the token is expired
    User.find_by_password_reset_token!(token)

... (truncated)

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 8f83ab6 Merge pull request #53536 from kyanagi/use_each_pair_in_active_model_attribut...
  • 61fcc50 Merge pull request #53530 from zzak/nodoc-generate_alias_attribute_methods
  • 1367b6a Merge pull request #53508 from nisusam/fix_typos
  • 6283314 Preparing for 8.0.0.rc2 release
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • e875b2d Fix time zone-aware custom attributes not to hit the circuit breaker for infi...
  • 399af7f Revert "ActiveModel::Attribute: elide dup for immutable types"
  • 4e003d6 Pull attribute initialization in to a function
  • d7a3a05 ActiveModel::Attribute: elide dup for immutable types
  • Additional commits viewable in compare view

Updates activerecord from 7.2.2 to 8.0.0

Release notes

Sourced from activerecord's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from activerecord's changelog.

Rails 8.0.0 (November 07, 2024)

  • Fix support for query_cache: false in database.yml.

    query_cache: false would no longer entirely disable the Active Record query cache.

    zzak

Rails 8.0.0.rc2 (October 30, 2024)

  • NULLS NOT DISTINCT works with UNIQUE CONSTRAINT as well as UNIQUE INDEX.

    Ryuta Kamizono

  • The db:prepare task no longer loads seeds when a non-primary database is created.

    Previously, the db:prepare task would load seeds whenever a new database is created, leading to potential loss of data if a database is added to an existing environment.

    Introduces a new database config property seeds to control whether seeds are loaded during db:prepare which defaults to true for primary database configs and false otherwise.

    Fixes #53348.

    Mike Dalessio

  • PG::UnableToSend: no connection to the server is now retryable as a connection-related exception

    Kazuma Watanabe

  • Fix strict loading propagation even if statement cache is not used.

    Ryuta Kamizono

  • Allow rename_enum accepts two from/to name arguments as rename_table does so.

    Ryuta Kamizono

Rails 8.0.0.rc1 (October 19, 2024)

  • Remove deprecated support to setting ENV["SCHEMA_CACHE"].

    Rafael Mendonça França

  • Remove deprecated support to passing a database name to cache_dump_filename.

    Rafael Mendonça França

... (truncated)

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 61fcc50 Merge pull request #53530 from zzak/nodoc-generate_alias_attribute_methods
  • 7d08d3a Merge pull request #53526 from kamipo/select_allow_raw_string_value
  • 8377302 Merge pull request #53514 from kamipo/fix_order_with_using_association_alias
  • 0a5d134 Fix non-deterministic order dependent failure
  • 6c84b11 Fix typos [ci-skip]
  • c212f6f Merge pull request #53511 from kamipo/use_serialize_cast_value_in_insert_all
  • b740521 Merge pull request #53495 from kamipo/improve_invalid_with_argument_error
  • dd118e6 Merge pull request #53494 from zzak/re-53492
  • a72fa24 Merge pull request #53484 from zzak/query_cache-config-disable
  • Additional commits viewable in compare view

Updates activestorage from 7.2.2 to 8.0.0

Release notes

Sourced from activestorage's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from activestorage's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • No changes.

Rails 8.0.0.beta1 (September 26, 2024)

  • Deprecate ActiveStorage::Service::AzureStorageService.

    zzak

  • Improve ActiveStorage::Filename#sanitized method to handle special characters more effectively. Replace the characters "*?<> with - if they exist in the Filename to match the Filename convention of Win OS.

    Luong Viet Dung(Martin)

  • Improve InvariableError, UnpreviewableError and UnrepresentableError message.

    Include Blob ID and content_type in the messages.

    Petrik de Heus

  • Mark proxied files as immutable in their Cache-Control header

    Nate Matykiewicz

Please check 7-2-stable for previous changes.

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 6c84b11 Fix typos [ci-skip]
  • 6283314 Preparing for 8.0.0.rc2 release
  • 35b3c7f Preparing for 8.0.0.rc1 release
  • 72bc36f Preparing for 8.0.0.beta1 release
  • 4b9ed95 Tidy up the error pages (#53045)
  • c7b9bb1 Drop support to Ruby 3.1
  • 52b458d Remove unneeded :package tasks
  • 4dae45c Deprecate ActiveStorage::Service::AzureStorageService
  • e1d58cf Add Parameters#expect to safely filter and require params (#51674)
  • Additional commits viewable in compare view

Updates activesupport from 7.2.2 to 8.0.0

Release notes

Sourced from activesupport's releases.

8.0.0

Active Support

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

  • Deprecate Benchmark.ms core extension.

    The benchmark gem will become bundled in Ruby 3.5

... (truncated)

Changelog

Sourced from activesupport's changelog.

Rails 8.0.0 (November 07, 2024)

  • No changes.

Rails 8.0.0.rc2 (October 30, 2024)

  • No changes.

Rails 8.0.0.rc1 (October 19, 2024)

  • Remove deprecated support to passing an array of strings to ActiveSupport::Deprecation#warn.

    Rafael Mendonça França

  • Remove deprecated support to setting attr_internal_naming_format with a @ prefix.

    Rafael Mendonça França

  • Remove deprecated ActiveSupport::ProxyObject.

    Rafael Mendonça França

  • Don't execute i18n watcher on boot. It shouldn't catch any file changes initially, and unnecessarily slows down boot of applications with lots of translations.

    Gannon McGibbon, David Stosik

  • Fix ActiveSupport::HashWithIndifferentAccess#stringify_keys to stringify all keys not just symbols.

    Previously:

    { 1 => 2 }.with_indifferent_access.stringify_keys[1] # => 2

    After this change:

    { 1 => 2 }.with_indifferent_access.stringify_keys["1"] # => 2

    This change can be seen as a bug fix, but since it behaved like this for a very long time, we're deciding to not backport the fix and to make the change in a major release.

    Jean Boussier

Rails 8.0.0.beta1 (September 26, 2024)

... (truncated)

Commits
  • dd8f718 Preparing for 8.0.0 release
  • 43425c8 Bump deprecation message to 8.1

Bumps the rails group with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [rails](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actioncable](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actionmailbox](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actionmailer](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actionpack](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actiontext](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [actionview](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [activejob](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [activemodel](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [activerecord](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [activestorage](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [activesupport](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |
| [railties](https://github.com/rails/rails) | `7.2.2` | `8.0.0` |


Updates `rails` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actioncable` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actioncable/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actionmailbox` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actionmailbox/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actionmailer` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actionmailer/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actionpack` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actionpack/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actiontext` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actiontext/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `actionview` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/actionview/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `activejob` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activejob/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `activemodel` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activemodel/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `activerecord` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activerecord/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `activestorage` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activestorage/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `activesupport` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

Updates `railties` from 7.2.2 to 8.0.0
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/railties/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v8.0.0)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actioncable
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actionmailbox
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actionmailer
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actionpack
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actiontext
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: actionview
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: activejob
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: activemodel
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: activerecord
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: activestorage
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: activesupport
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
- dependency-name: railties
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: rails
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/rails-ab922041a0 branch from c81d386 to 9a5d63a Compare November 15, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants