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 activemodel from 7.1.3 to 7.2.0 #789

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

Bumps activemodel from 7.1.3 to 7.2.0.

Release notes

Sourced from activemodel's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    def address
    nil
    end
    def berliner?
    city == "Berlin"
    end
    end
    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 7.2.0 (August 09, 2024)

  • Fix a bug where type casting of string to Time and DateTime doesn't calculate minus minute value in TZ offset correctly.

    Akira Matsuda

  • Port the type_for_attribute method to Active Model. Classes that include ActiveModel::Attributes will now provide this method. This method behaves the same for Active Model as it does for Active Record.

    class MyModel
      include ActiveModel::Attributes
    attribute :my_attribute, :integer
    end
    MyModel.type_for_attribute(:my_attribute) # => #<ActiveModel::Type::Integer ...>

    Jonathan Hefner

Please check 7-1-stable for previous changes.

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 79ea9f6 Merge pull request #52443 from Shopify/optimize-fast_string_to_time
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 9d9ec1c Merge pull request #52145 from Shopify/alias-attribute-override-inherited-met...
  • e564f29 Merge pull request #52118 from Shopify/fix-code-generator-bloat
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 9098f53 Preparing for 7.2.0.beta1 release
  • 7026382 Fix tests without assertions in the framework
  • 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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 12, 2024
Bumps [activemodel](https://github.com/rails/rails) from 7.1.3 to 7.2.0.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.0/activemodel/CHANGELOG.md)
- [Commits](rails/rails@v7.1.3...v7.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/activemodel-7.2.0 branch from 25cd824 to 66fc513 Compare August 18, 2024 14:37
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 23, 2024

Superseded by #797.

@dependabot dependabot bot closed this Aug 23, 2024
@dependabot dependabot bot deleted the dependabot/bundler/activemodel-7.2.0 branch August 23, 2024 04:41
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.

0 participants