Dynamoid / dynamoid

Ruby ORM for Amazon's DynamoDB.
MIT License
582 stars 195 forks source link

Bump activemodel from 7.1.3 to 7.2.0 #789

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

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 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[bot] commented 3 months ago

Superseded by #797.