Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Updates the requirements on activemodel to permit the latest version.

Release notes

Sourced from activemodel's releases.

8.0.0.1

Active Support

  • No changes.

Active Model

  • No changes.

Active Record

  • No changes.

Action View

  • No changes.

Action Pack

  • Add validation to content security policies to disallow spaces and semicolons. Developers should use multiple arguments, and different directive methods instead.

    [CVE-2024-54133]

    Gannon McGibbon

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

  • No changes.

Active Storage

  • No changes.

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 8.0.0.1 (December 10, 2024)

  • No changes.

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...

... (truncated)

Commits
  • a993c27 Preparing for 8.0.0.1 release
  • 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
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [activemodel](https://github.com/rails/rails) to permit the latest version.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.1/activemodel/CHANGELOG.md)
- [Commits](rails/rails@v4.2.0...v8.0.0.1)

---
updated-dependencies:
- dependency-name: activemodel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
@brodyhoskins brodyhoskins merged commit 1b2e1f5 into main Dec 18, 2024
1 check passed
@brodyhoskins brodyhoskins deleted the dependabot/bundler/activemodel-gte-4.2-and-lt-8.0.2 branch December 18, 2024 05:17
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant