chanzuckerberg / sorbet-rails

A set of tools to make the Sorbet typechecker work with Ruby on Rails seamlessly.
MIT License
638 stars 83 forks source link

Update rails requirement from ~> 6.0.0 to ~> 7.0.6 #564

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on rails to permit the latest version.

Release notes

Sourced from rails's releases.

7.0.6

Active Support

  • Fix EncryptedConfiguration returning incorrect values for some Hash methods

    Hartley McGuire

  • Fix arguments being destructed Enumerable#many? with block.

    Andrew Novoselac

  • Fix humanize for strings ending with id.

    fatkodima

Active Model

  • No changes.

Active Record

  • Fix autosave associations with validations added on :base of the associated objects.

    fatkodima

  • Fix result with anonymous PostgreSQL columns of different type from json.

    Oleksandr Avoiants

  • Preserve timestamp when setting an ActiveSupport::TimeWithZone value to timestamptz attribute.

    fatkodima

  • Fix where on association with has_one/has_many polymorphic relations.

    Before:

    Treasure.where(price_estimates: PriceEstimate.all)
    #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates")
    

    Later:

    Treasure.where(price_estimates: PriceEstimate.all)
    #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates" WHERE "price_estimates"."estimate_of_type" = 'Treasure')
    

... (truncated)

Commits
  • 593893c Preparing for 7.0.6 release
  • e4509c6 Fix yarn.lock
  • 4aa2446 Update CHANGELOG
  • 0b89567 Avoid creating match object when checking for illegal header value
  • be7cde2 Merge pull request #48588 from zzak/7-0-backport-f1cdfc0
  • 9ae3da1 Fix rubocop warning
  • 8e37f2b Merge branch '7-0-sec' into 7-0-stable
  • cdd14ce Preparing for 7.0.5.1 release
  • 93b9c74 update changelog
  • c9ab9b3 Added check for illegal HTTP header value in redirect_to
  • 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 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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #564 (4fcae9d) into master (5bfd6da) will decrease coverage by 0.35%. The diff coverage is n/a.

:exclamation: Current head 4fcae9d differs from pull request most recent head 1976252. Consider uploading reports for the commit 1976252 to get more accurate results

@@            Coverage Diff             @@
##           master     #564      +/-   ##
==========================================
- Coverage   97.44%   97.10%   -0.35%     
==========================================
  Files         115      115              
  Lines        2978     2934      -44     
==========================================
- Hits         2902     2849      -53     
- Misses         76       85       +9     

see 26 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more