arkency
Read post

RailsEventStore 2.19: Starting Gun for 3.0

RailsEventStore 2.19.1 is released as the precursor to version 3.0, introducing deprecation warnings for APIs that will be removed in the next major release. Key deprecations include renaming `in_batches_of` to `in_batches`, `of_types` to `of_type`, a redesigned Projection API that decouples definition from data source, removal of class-based subscribers in favor of instances/lambdas, removal of `EventClassRemapper` in favor of upcasting, and dropping `RailsEventStore::*` constant aliases in favor of `RubyEventStore::*` namespaces. Dispatcher naming is also cleaned up. A notable fix in 2.19.1 addresses a table-locking bug in the PostgreSQL `valid_at` functional index migration — users should use 2.19.1, not 2.19.0. The CI matrix now covers Ruby 4.0, Rails 8.1, Redis 8, PostgreSQL 18, and MySQL 9.7, with EOL versions dropped.

    #architecture#postgresql#ruby#rails
May 20•5m read time•From blog.arkency.com
Post cover image
Table of contents
DeprecationsPostgreSQL valid_at indexUnder the hoodUpgrading
1.3K Impressions
arkency's image
arkency

Arkency Blog offers insights, tutorials, and updates on Ruby on Rails development, domain-driven des...

0 Followers

•

19 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard