openSUSE / software-o-o

The site behind https://software.opensuse.org. It is the default web interface to download openSUSE distributions and to search for OBS packages. Packaged at https://build.opensuse.org/project/show/openSUSE:infrastructure:software.opensuse.org
https://software.opensuse.org/
GNU General Public License v2.0
136 stars 111 forks source link

Update rails 7.1.1 → 7.1.2 (patch) #1429

Closed depfu[bot] closed 7 months ago

depfu[bot] commented 8 months ago

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rails (7.1.1 → 7.1.2) · Repo

Release Notes

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

  • Fix time travel helpers to work when nested using with separate classes.

    fatkodima

  • Fix delete_matched for file cache store to work with keys longer than the
    max filename size.

    fatkodima and Jonathan Hefner

  • Fix compatibility with the semantic_logger gem.

    The semantic_logger gem doesn't behave exactly like stdlib logger in that
    SemanticLogger#level returns a Symbol while stdlib Logger#level returns an Integer.

    This caused the various LogSubscriber classes in Rails to break when assigned a
    SemanticLogger instance.

    Jean Boussier, ojab

Active Model

  • Make ==(other) method of AttributeSet safe.

    Dmitry Pogrebnoy

Active Record

  • 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
    type. For example:

    class Post < ActiveRecord::Base
      attribute :topic, :string
      enum topic: %i[science tech engineering math]
    end

    Jonathan Hefner

  • Raise on foreign_key: being passed as an array in associations

    Nikita Vasilevsky

  • Return back maximum allowed PostgreSQL table name to 63 characters.

    fatkodima

  • Fix detecting IDENTITY columns for PostgreSQL < 10.

    fatkodima

Action View

  • Fix the number_to_human_size view helper to correctly work with negative numbers.

    Earlopain

  • Automatically discard the implicit locals injected by collection rendering for template that can't accept them

    When rendering a collection, two implicit variables are injected, which breaks templates with strict locals.

    Now they are only passed if the template will actually accept them.

    Yasha Krasnou, Jean Boussier

  • Fix @rails/ujs calling start() an extra time when using bundlers

    Hartley McGuire, Ryunosuke Sato

  • Fix the capture view helper compatibility with HAML and Slim

    When a blank string was captured in HAML or Slim (and possibly other template engines)
    it would instead return the entire buffer.

    Jean Boussier

Action Pack

  • Fix a race condition that could cause a Text file busy - chromedriver
    error with parallel system tests

    Matt Brictson

  • Fix StrongParameters#extract_value to include blank values

    Otherwise composite parameters may not be parsed correctly when one of the
    component is blank.

    fatkodima, Yasha Krasnou, Matthias Eiglsperger

  • Add racc as a dependency since it will become a bundled gem in Ruby 3.4.0

    Hartley McGuire

  • Support handling Enumerator for non-buffered responses.

    Zachary Scott

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

  • No changes.

Active Storage

  • No changes.

Action Mailbox

  • No changes.

Action Text

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

    Matias Grunberg

  • Fix using actiontext.js with Sprockets

    Matias Grunberg

  • Upgrade Trix to 2.0.7

    Hartley McGuire

  • Fix using Trix with Sprockets

    Hartley McGuire

Railties

  • Fix running db:system:change when app has no Dockerfile.

    Hartley McGuire

  • If you accessed config.eager_load_paths and friends, later changes to
    config.paths were not reflected in the expected auto/eager load paths.
    Now, they are.

    This bug has been latent since Rails 3.

    Fixes #49629.

    Xavier Noria

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actioncable (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionmailbox (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

↗️ actionmailer (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionpack (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • Fix a race condition that could cause a Text file busy - chromedriver error with parallel system tests

    Matt Brictson

  • Fix StrongParameters#extract_value to include blank values

    Otherwise composite parameters may not be parsed correctly when one of the component is blank.

    fatkodima, Yasha Krasnou, Matthias Eiglsperger

  • Add racc as a dependency since it will become a bundled gem in Ruby 3.4.0

    Hartley McGuire

  • Support handling Enumerator for non-buffered responses.

    Zachary Scott

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actiontext (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

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

    Matias Grunberg

  • Fix using actiontext.js with Sprockets

    Matias Grunberg

  • Upgrade Trix to 2.0.7

    Hartley McGuire

  • Fix using Trix with Sprockets

    Hartley McGuire

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ actionview (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • Fix the number_to_human_size view helper to correctly work with negative numbers.

    Earlopain

  • Automatically discard the implicit locals injected by collection rendering for template that can't accept them

    When rendering a collection, two implicit variables are injected, which breaks templates with strict locals.

    Now they are only passed if the template will actually accept them.

    Yasha Krasnou, Jean Boussier

  • Fix @rails/ujs calling start() an extra time when using bundlers

    Hartley McGuire, Ryunosuke Sato

  • Fix the capture view helper compatibility with HAML and Slim

    When a blank string was captured in HAML or Slim (and possibly other template engines) it would instead return the entire buffer.

    Jean Boussier

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activejob (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activemodel (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • Make ==(other) method of AttributeSet safe.

    Dmitry Pogrebnoy

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activerecord (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • 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 type. For example:

    class Post < ActiveRecord::Base
      attribute :topic, :string
      enum topic: %i[science tech engineering math]
    end

    Jonathan Hefner

  • Raise on foreign_key: being passed as an array in associations

    Nikita Vasilevsky

  • Return back maximum allowed PostgreSQL table name to 63 characters.

    fatkodima

  • Fix detecting IDENTITY columns for PostgreSQL < 10.

    fatkodima

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activestorage (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ activesupport (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • 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

  • Fix time travel helpers to work when nested using with separate classes.

    fatkodima

  • Fix delete_matched for file cache store to work with keys longer than the max filename size.

    fatkodima and Jonathan Hefner

  • Fix compatibility with the semantic_logger gem.

    The semantic_logger gem doesn't behave exactly like stdlib logger in that SemanticLogger#level returns a Symbol while stdlib Logger#level returns an Integer.

    This caused the various LogSubscriber classes in Rails to break when assigned a SemanticLogger instance.

    Jean Boussier, ojab

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ bigdecimal (indirect, 3.1.4 → 3.1.5) · Repo · Changelog

Release Notes

3.1.5 (from changelog)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ date (indirect, 3.3.3 → 3.3.4) · Repo

Release Notes

3.3.4

What's Changed

New Contributors

Full Changelog: v3.3.3...v3.3.4

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ io-console (indirect, 0.6.0 → 0.7.1) · Repo

Release Notes

0.7.0

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-imap (indirect, 0.4.1 → 0.4.8) · Repo

Release Notes

0.4.8

What's Changed

Added

  • ✨ Improve SequenceSet with Set, Range, Enumerable methods by @nevans in #239
  • ✨ Add support for the CONDSTORE extension (RFC7162) by @nevans in #236
    NOTE: #search and #uid_search have been updated to return SearchResult rather than Array. SearchResult inherits from Array, for backward compatibility.

Fixed

  • 🩹 Workaround invalid Gmail FLAGS response by @nevans in #246
  • 🐛 Fix broken QUOTA/QUOTAROOT response parsing by @nevans in #247

Documentation

  • 📚 Update extension docs for IMAP4rev2, STATUS=SIZE by @nevans in #242
  • 📚 List all currently supported response codes by @nevans in #243

Miscellaneous

Full Changelog: v0.4.7...v0.4.8

0.4.7

What's Changed

  • Provide a 'Changelog' link on rubygems.org/gems/net-imap by @mark-young-atg in #235
  • ⚡️ Simplify and speed up SEARCH response parsing by @nevans in #238
  • 🩹 Workaround buggy outlook.com address lists by @nevans in #240

New Contributors

Full Changelog: v0.4.6...v0.4.7

0.4.6

What's Changed

Changed

  • 🩹 Workaround servers that don't send required SP when resp-text is empty by @nevans in #230
  • ⚡️ Simplify and speed up envelope and address parsing by @nevans in #232
  • ⚡️ Simplify and speed up mailbox-list parsing by @nevans in #233
  • ⚡ Simplify and speed up thread-data response parsing by @nevans in #234

Documentation

  • 📚 Update #status docs for DELETED (IMAP4rev2) by @nevans in #227

Miscellaneous

  • 📈 Fix benchmark string encoding by @nevans in #231

Full Changelog: v0.4.5...v0.4.6

0.4.5

What's Changed

✨ Added

IMAP extension support

  • ✨ Add fetch support for BINARY and BINARY.SIZE by @nevans in #207
  • ✨ Add fetch support for Gmail's X-GM-EXT-1 extensions by @nevans in #209
  • ✨ Add support for OBJECTID extension (RFC8474) by @nevans in #226
    • MAILBOXID ResponseCode
    • MAILBOXID attribute for Net::IMAP#status
    • EMAILID and THREADID message attributes to Net::IMAP#fetch/#uid_fetch and FetchData#emailid/#threadid

Other API improvements

  • ✨ Allow decode_datetime to work without dquotes by @nevans in #218
  • ✨ Add FetchData msg-att methods and update rdoc by @nevans in #220

♻️ Changed

  • ⚡ Better Faster Cleaner STATUS parsing by @nevans in #225

📚 Documentation

  • 📚 Add :nodoc: to internal parser utils by @nevans in #221
  • 💄 Fix styles.css customization for RDoc 6.6 by @nevans in #222
  • ✨ Add FetchData msg-att methods and update rdoc by @nevans in #220
  • 📚 Improve STATUS attribute documentation by @nevans in #225

Miscellaneous

  • 🔎 Simplify parser test debugging by @nevans in #223
  • 📈 Update parser benchmark comparison by @nevans in #224

Full Changelog: v0.4.4...v0.4.5

0.4.4

What's Changed

Performance

  • ⚡ Parse expected chars using String#getbyte by @nevans in #215
  • ⚡ Simplify header-fld-name parser (backward compatible) by @nevans in #217

Error handling

  • 🥅 Return empty array for missing server response by @nevans in #214

Full Changelog: v0.4.3...v0.4.4

0.4.3

What's Changed

Fixes

  • 🐛 Fix unbalanced parens in body-fld-lang parsing by @nevans in #204

Error handling

  • 🥅 Validate response-tagged in the parser by @nevans in #198
  • 🥅 Return UnparsedData for unhandled response-data by @nevans in #200
  • 🥅 Update parsing of unknown numeric response types by @nevans in #213

Performance

  • ⚡ Simpler, faster response-data parser by @nevans in #201
  • ⚡ Simpler, faster msg-att parser (for fetch responses) by @nevans in #205
  • ⚡ Simpler, faster resp-text-code parser (for response codes) by @nevans in #211
  • ⚡ Update flag parsing: FLAGS, LIST, PERMANENTFLAGS by @nevans in #212

Changes

  • ✨ Update response-data parser w/stubs for all extensions by @nevans in #202
  • ♻️ Update response and continue-req to new parser style by @nevans in #199
  • ♻️ Refactor response-data methods to match ABNF by @nevans in #203

Documentation

  • 📚 Fix XOAuth2Authenticator rdoc typo by @nevans in #196
  • 📚 Fixing and formatting docs by @nevans in #197

Miscellaneous

  • 📈 Add benchmark rake task to compare gem versions by @nevans in #208
  • Set utf-8 encoding when looking for VERSION in the file. by @debasishbsws in #210

New Contributors

Full Changelog: v0.4.2...v0.4.3

0.4.2

What's Changed

  • 🔒 SASL: Clarify usage of username vs authcid vs authzid by @nevans in #187
    • Improved SASL authenticator parameter documentation.
    • Aliases have been added from username to authcid or authzid—or in the other direction, from authcid or authzd to username.
    • OAuthBearerAuthenticator may now receive two arguments, to match the common authenticate(username, secret) style. authzid (i.e. username) is still optional for the mechanism (although in practice many servers do require it).
    • Instead of raising an exception, conflicting arguments are silently ignored. This allows more specific arguments (like authcid or a keyword argument) to override more generic terms (like username or a positional argument). This improves compatibility with other projects, and can also simplify dynamic mechanism negotiation.
    • Keyword argument support has been added to the deprecated LOGIN and CRAM-MD5 mechanisms. This is for consistency and compatibility with other projects. These mechanisms are obsolete and should be avoided.
  • ✨ Add secret alias (for password, oauth2_token, etc) to relevant SASL mechanisms by @nevans in #195

Full Changelog: v0.4.1...v0.4.2

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-protocol (indirect, 0.2.1 → 0.2.2) · Repo

Release Notes

0.2.2

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.2.2

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ nio4r (indirect, 2.5.9 → 2.7.0) · Repo · Changelog

Release Notes

2.7.0

What's Changed

New Contributors

Full Changelog: v2.6.1...v2.7.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ railties (indirect, 7.1.1 → 7.1.2) · Repo · Changelog

Release Notes

7.1.2 (from changelog)

  • Fix running db:system:change when app has no Dockerfile.

    Hartley McGuire

  • If you accessed config.eager_load_paths and friends, later changes to config.paths were not reflected in the expected auto/eager load paths. Now, they are.

    This bug has been latent since Rails 3.

    Fixes #49629.

    Xavier Noria

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rdoc (indirect, 6.6.1 → 6.6.2) · Repo · Changelog

↗️ timeout (indirect, 0.4.0 → 0.4.1) · Repo

Release Notes

0.4.1

What's Changed

  • require ruby version in gemspec by @jjb in #35
  • test that work is done in the same thread/fiber as the caller by @jjb in #34
  • Require Ruby >= 2.6 for the timeout gem by @eregon in #37
  • nested exception tests for discussion by @jjb in #39
  • tests for blank seconds by @jjb in #40

Full Changelog: v0.4.0...v0.4.1

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
depfu[bot] commented 7 months ago

Closed in favor of #1444.