Disclaimer
This release introduces support for Rails 7.2, Rails 8.0, and Ruby 3.4. While specs pass for Rails 7.2 with MySQL and Postgres (but not SQLite), the compatibility has not been extensively tested in production environments.
Known limitations:
- Existing issues related to concurrency, multi-threading, and managing multiple databases remain unresolved. These issues are unrelated to Rails 7.2/8.0 and have existed in prior versions.
- Users are strongly encouraged to thoroughly test their applications before deploying this version to production.
This release prioritizes compatibility over bug fixes for unrelated issues. If your application already works with Apartment and earlier Rails versions, upgrading to Rails 7.2 or 8.0 with this release should not introduce additional risk.
For more stability, consider waiting for the next major release, which will focus on addressing fundamental concurrency issues and fiber safety. Feedback on this version is highly appreciated to improve future releases!
What's Changed
- Support rails 7.2 by @npezza93 in #278
- Update .ruby-version by @ferdinandrosario in #279
- Properly reset sequence if switching with multiple schemas by @ryanswood in #203
- Support public_suffix major version 6 by @tangposmarvin in #281
- Fix deprecation method by @m-zielinski in #287
- Prevent Rails 7.1 create_schema from being added to db/schema.rb by @patbenatar in #276
- fix: Deprecation cannot find version error by @lit-poks in #291
- Fix: ActiveRecord monkeypatch breaking Solid Cache by @JustinGranof in #290
- fix: ignore transaction_timeout statement added in postgresql 17 by @martinbarilik in #289
- Exclude the default tenant table if it exists in the procedure by @zakky21 in #184
- Use
Rails.application.executor.wrap
in Threads by @jordan-brough in #288 - Split specs according to db version by @mnovelo in #292
- Fix mysql specs and add codecov by @mnovelo in #295
- Only track lib files for code coverage by @mnovelo in #296
- Filter out spec coverage by @mnovelo in #297
- Also match custom default tenant on PSQL_DUMP_BLACKLISTED_STATEMENTS by @rbngzlv in #293
- Remove upper bound for Ruby version by @swiknaba in #307
- Update Ruby and Apartment versions for Rails 8.0 support by @mnovelo in #309
- v3.2.0 by @mnovelo in #310
New Contributors
- @ferdinandrosario made their first contribution in #279
- @ryanswood made their first contribution in #203
- @tangposmarvin made their first contribution in #281
- @m-zielinski made their first contribution in #287
- @patbenatar made their first contribution in #276
- @lit-poks made their first contribution in #291
- @JustinGranof made their first contribution in #290
- @martinbarilik made their first contribution in #289
- @zakky21 made their first contribution in #184
- @jordan-brough made their first contribution in #288
- @rbngzlv made their first contribution in #293
- @swiknaba made their first contribution in #307
Full Changelog: v3.1.0...v3.2.0