Skip to content

Bump rails from 8.0.4 to 8.1.2#21831

Merged
dombesz merged 7 commits intodevfrom
dependabot/bundler/dev/rails-8.1.2
Feb 11, 2026
Merged

Bump rails from 8.0.4 to 8.1.2#21831
dombesz merged 7 commits intodevfrom
dependabot/bundler/dev/rails-8.1.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 2, 2026

https://community.openproject.org/wp/71880

Bumps rails from 8.0.4 to 8.1.2.

Release notes

Sourced from rails's releases.

8.1.2

Active Support

  • Make delegate and delegate_missing_to work in BasicObject subclasses.

    Rafael Mendonça França

  • Fix Inflectors when using a locale that fallbacks to :en.

    Said Kaldybaev

  • Fix ActiveSupport::TimeWithZone#as_json to consistently return UTF-8 strings.

    Previously the returned string would sometime be encoded in US-ASCII, which in some cases may be problematic.

    Now the method consistently always return UTF-8 strings.

    Jean Boussier

  • Fix TimeWithZone#xmlschema when wrapping a DateTime instance in local time.

    Previously it would return an invalid time.

    Dmytro Rymar

  • Implement LocalCache strategy on ActiveSupport::Cache::MemoryStore. The memory store needs to respond to the same interface as other cache stores (e.g. ActiveSupport::NullStore).

    Mikey Gough

  • Fix ActiveSupport::Inflector.humanize with international characters.

    ActiveSupport::Inflector.humanize("áÉÍÓÚ")  # => "Áéíóú"
    ActiveSupport::Inflector.humanize("аБВГДЕ") # => "Абвгде"

    Jose Luis Duran

Active Model

  • No changes.

Active Record

  • Fix counting cached queries in ActiveRecord::RuntimeRegistry.

... (truncated)

Commits
  • d7c8ae6 Preparing for 8.1.2 release
  • 695ac6d Update Gemfile.lock
  • 01263f1 Merge pull request #56512 from byroot/remove-minitest-ci
  • 3ea2701 CHANGELOG sync
  • d3fe83f Merge pull request #56541 from rails/remove-system-test-from-default-ci-template
  • 5283514 Merge pull request #56012 from jmalcic/restore-default-adc-for-gcs-iam-client
  • 53e82ef Merge pull request #56534 from khasinski/fix-sqlite3-schema-dump-default-nil
  • d2509f8 Allow backburner warning
  • 8c48fd1 Merge pull request #56535 from eglitobias/8-1-stable
  • adcface Fix PostgreSQL schema_search_path after reconnect and reset
  • 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 <dependency name> 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)

Bumps [rails](https://github.com/rails/rails) from 8.0.4 to 8.1.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v8.0.4...v8.1.2)

---
updated-dependencies:
- dependency-name: rails
  dependency-version: 8.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Feb 2, 2026
Rails 8.1 removed deprecated support for stripping leading brackets
in parameter names (rails/rails#53471). Previously, a form field named
`[custom_field_values][123]` was parsed as `{ "custom_field_values" => { "123" => "" } }`.
In Rails 8.1, it is parsed as `{ "[custom_field_values]" => { "123" => "" } }`,
making the custom field values invisible to `params.fetch(:custom_field_values, {})`.

`custom_field_tag_for_bulk_edit` was called with an empty string as the
`name` prefix (e.g. in the work package move form), producing field names
like `[custom_field_values][42]` — starting with a leading bracket. This
caused required custom field validation to be silently skipped during
moves, allowing work packages to be moved without filling in required
fields.

The fix avoids the leading bracket by emitting `custom_field_values[42]`
when no name prefix is given.

def custom_field_tag_for_bulk_edit(name, custom_field, project = nil) # rubocop:disable Metrics/AbcSize
field_name = "#{name}[custom_field_values][#{custom_field.id}]"
field_name = name.present? ? "#{name}[custom_field_values][#{custom_field.id}]" : "custom_field_values[#{custom_field.id}]"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ulferts FYI, Primer also has had various issues with generating fields with nested attributes/array types.

primer/view_components#3695
primer/view_components#3696

@dombesz dombesz merged commit a9dac76 into dev Feb 11, 2026
17 checks passed
@dombesz dombesz deleted the dependabot/bundler/dev/rails-8.1.2 branch February 11, 2026 19:47
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Development

Successfully merging this pull request may close these issues.

3 participants

Comments