thoughtbot / factory_bot_rails

Factory Bot ♥ Rails
https://thoughtbot.com/services/ruby-on-rails
MIT License
3.06k stars 364 forks source link

Bump activerecord from 7.0.4.3 to 7.1.2 #447

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps activerecord from 7.0.4.3 to 7.1.2.

Release notes

Sourced from activerecord's releases.

7.1.2

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

... (truncated)

Changelog

Sourced from activerecord's changelog.

Rails 7.1.2 (November 10, 2023)

  • 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

... (truncated)

Commits
  • 6b93fff Preparing for 7.1.2 release
  • 200749d Sync CHANGELOG
  • cceb111 Add CHANGELOG entry for 3e8f1e0aeb81bacddf5a4d29ee3019ad8cc4681a [ci-skip]
  • 3e8f1e0 Merge pull request #49998 from fatkodima/fix-pg-rename_table-with-uuid-pk
  • 826e9a0 Merge pull request #49692 from mguan2020/branchi
  • 28deb8b Merge pull request #49050 from JohnAnon9771/fix/issue-48535
  • 4b46e7e Merge pull request #49811 from composerinteralia/verify-only-when-connection-...
  • 64e6145 Merge pull request #49802 from composerinteralia/postgres-unrecoverable-conne...
  • 55f4a62 Merge pull request #49936 from seanpdoyle/ar-nested-attributes-default
  • 58e4100 Merge pull request #49904 from MaicolBen/bug/infinite-changed
  • 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)
mike-burns commented 8 months ago

@dependabot rebase

mike-burns commented 8 months ago

@dependabot recreate