Skip to content

Bump rails from 6.1.4.1 to 7.0.3

Dependabot requested to merge dependabot/bundler/rails-7.0.3 into master

Bumps rails from 6.1.4.1 to 7.0.3.

Release notes

Sourced from rails's releases.

7.0.3

Active Support

  • No changes.

Active Model

  • No changes.

Active Record

  • Some internal housekeeping on reloads could break custom respond_to? methods in class objects that referenced reloadable constants. See #44125 for details.

    Xavier Noria

  • Fixed MariaDB default function support.

    Defaults would be written wrong in "db/schema.rb" and not work correctly if using db:schema:load. Further more the function name would be added as string content when saving new records.

    kaspernj

  • Fix remove_foreign_key with :if_exists option when foreign key actually exists.

    fatkodima

  • Remove --no-comments flag in structure dumps for PostgreSQL

    This broke some apps that used custom schema comments. If you don't want comments in your structure dump, you can use:

    ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']

    Alex Ghiculescu

  • Use the model name as a prefix when filtering encrypted attributes from logs.

    For example, when encrypting Person#name it will add person.name as a filter parameter, instead of just name. This prevents unintended filtering of parameters with a matching name in other models.

... (truncated)

Commits
  • 3872bc0 Preparing for 7.0.3 release
  • 74beedc Remove incorrect tests
  • 54bd582 Merge pull request #44947 from jasonkarns/patch-3
  • 082e929 Merge pull request #45027 from rails/fix-tag-helper-regression
  • cd7700b Merge pull request #45016 from adrianna-chang-shopify/ac-fix-strict-loading-p...
  • f99f422 Merge pull request #45018 from lucthev/lt/strict-false
  • fd7dc8f Merge pull request #45013 from JohnAnon9771/fix/doc-active-record-querying
  • ae98f49 Merge pull request #44777 from jean-francois-labbe/main
  • 3594d29 Merge pull request #44956 from sato11/document-uses_transaction
  • 2722895 Emphasize cacheable objects in guide and API docs [ci-skip]
  • Additional commits viewable in compare view

Merge request reports