RepoJournal
Rails

@rails

Ruby on Rails — Shopify, Basecamp, GitHub all run on it

Pick a date

The Wire · Showcase

RAILS ADDS SAFER DATE FORMATTING AND PARAMETER TRANSFORMATIONS

By RepoJournal · Filed · About Rails

Rails is shipping new APIs for custom date formats and deep parameter transformations, giving you guardrails where before there were none.

Two major quality-of-life improvements landed in rails/rails overnight. First, `ActiveSupport::TimeFormats` and `ActiveSupport::DateFormats` [1] let you register custom date formats without mutating global constants, keeping your date handling clean and testable. Second, `ActionController::Parameters#deep_transform_values` [2] solves a real pain point: you can now normalize nested params (strip whitespace, cast values) while preserving Rails' strong-parameters safety checks. Until now, developers had to bail out to `params.to_unsafe_h.deep_transform_values`, which nuked the permitted/unpermitted distinction entirely. Over in rails/marcel, the file-type detection library just shipped v1.2.0 [3] with a critical fix: it no longer mutates the source IO stream during magic-byte detection, which means you can safely pass the same IO object around without side effects. The release also improves SVG and HTML detection, adds BOM CSV support, and introduces unicode string handling. These feel like minor wins until your production uploader breaks because something reused an IO object.

Action items

References

  1. [1] Introduce `ActiveSupport::TimeFormats` and `ActiveSupport::DateFormats` for registering custom date formats ↗ rails/rails
  2. [2] Add ActionController::Parameters#deep_transform_values ↗ rails/rails
  3. [3] v1.2.0 ↗ rails/marcel

FAQ

What changed in Rails on May 21, 2026?
Rails is shipping new APIs for custom date formats and deep parameter transformations, giving you guardrails where before there were none.
What should Rails teams do about it?
Review the new date format APIs for your time-handling code; this replaces the old constant-mutation pattern • Audit params transformations where you're currently calling to_unsafe_h; migrate to deep_transform_values to keep strong parameters intact • Upgrade marcel to v1.2.0 if you're passing IO objects to file type detection in loops or shared contexts
Which Rails repositories shipped on May 21, 2026?
rails/rails, rails/marcel

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.