chanzuckerberg / sorbet-rails

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

Update rails requirement from ~> 6.0.0 to ~> 7.0.0 #475

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on rails to permit the latest version.

Release notes

Sourced from rails's releases.

7.0.0

Action Cable

  • The Action Cable client now ensures successful channel subscriptions:

    • The client maintains a set of pending subscriptions until either the server confirms the subscription or the channel is torn down.
    • Rectifies the race condition where an unsubscribe is rapidly followed by a subscribe (on the same channel identifier) and the requests are handled out of order by the ActionCable server, thereby ignoring the subscribe command.

    Daniel Spinosa

  • Compile ESM package that can be used directly in the browser as actioncable.esm.js.

    DHH

  • Move action_cable.js to actioncable.js to match naming convention used for other Rails frameworks, and use JS console to communicate the deprecation.

    DHH

  • Stop transpiling the UMD package generated as actioncable.js and drop the IE11 testing that relied on that.

    DHH

  • Truncate broadcast logging messages.

    J Smith

  • OpenSSL constants are now used for Digest computations.

    Dirkjan Bussink

  • The Action Cable client now includes safeguards to prevent a "thundering herd" of client reconnects after server connectivity loss:

    • The client will wait a random amount between 1x and 3x of the stale threshold after the server's last ping before making the first reconnection attempt.
    • Subsequent reconnection attempts now use exponential backoff instead of logarithmic backoff. To allow the delay between reconnection attempts to increase slowly at first, the default exponentiation base is < 2.
    • Random jitter is applied to each delay between reconnection attempts.

    Jonathan Hefner

Action Mailbox

  • Removed deprecated environment variable MAILGUN_INGRESS_API_KEY.

... (truncated)

Commits
  • 984c3ef Preparing for 7.0.0 release
  • bc91629 Merge pull request #43887 from rails/rm-5.2-EOL
  • 43ba313 Upgrade maintenance policy to tell about 5.2 and 6.0 deprecation dates
  • ceb6b2a Merge pull request #43886 from seanpdoyle/form-builder-button-method-name-id
  • f2a824a Merge pull request #43885 from alecslupu/fix/43884
  • 8943a91 Merge pull request #43883 from rails/dup-converted-arrays
  • 67a8028 Merge pull request #43882 from rails/rm-allow-ip-with-port
  • 6c85f3b Merge pull request #43871 from rails/rm-fix-hosts-with-port
  • 07a502e Make sure test pass with minitest 5.15
  • 4fb2311 Merge pull request #43873 from yahonda/fix43872
  • 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 2 years ago

Codecov Report

Merging #475 (d6b87f3) into master (be36a10) will decrease coverage by 0.14%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #475      +/-   ##
==========================================
- Coverage   97.47%   97.32%   -0.15%     
==========================================
  Files         115      115              
  Lines        2926     2882      -44     
==========================================
- Hits         2852     2805      -47     
- Misses         74       77       +3     
Impacted Files Coverage Δ
spec/rake_rails_rbi_models_spec.rb 90.47% <0.00%> (-9.53%) :arrow_down:
lib/sorbet-rails/active_record_rbi_formatter.rb 89.41% <0.00%> (-1.40%) :arrow_down:
lib/sorbet-rails/model_rbi_formatter.rb 90.16% <0.00%> (-0.61%) :arrow_down:
...b/sorbet-rails/model_plugins/active_record_enum.rb 88.88% <0.00%> (-0.59%) :arrow_down:
lib/sorbet-rails/type_assert/type_assert_impl.rb 92.30% <0.00%> (-0.55%) :arrow_down:
lib/sorbet-rails/model_column_utils.rb 90.74% <0.00%> (-0.49%) :arrow_down:
...rbet-rails/rails_mixins/active_record_overrides.rb 95.18% <0.00%> (-0.17%) :arrow_down:
lib/sorbet-rails/sorbet_utils.rb 93.67% <0.00%> (-0.16%) :arrow_down:
lib/sorbet-rails/model_plugins/base.rb 96.42% <0.00%> (-0.13%) :arrow_down:
.../sorbet-rails/model_plugins/active_record_assoc.rb 98.64% <0.00%> (-0.09%) :arrow_down:
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update be36a10...d6b87f3. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #477.