Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upcoming Changes: Enhancements to Multi-Database Support. Dropping support for SQLite3 and older ActiveRecord versions #103

Open
seuros opened this issue Apr 13, 2024 · 0 comments

Comments

@seuros
Copy link
Member

seuros commented Apr 13, 2024

Hello everyone,

As part of our ongoing efforts to improve the with_advisory_lock gem, we are planning some significant changes in the upcoming release, which we wanted to share with you in advance to help you prepare for the transition.

Enhanced Multi-Database Support
This update aims to provide cleaner implementation by injecting the need code into the adapters directly.

Dropping Support for SQLite3
We have decided to drop support for SQLite3 in the next major release of with_advisory_lock. PostgreSQL and MySQL provide the capability natively, and this will allow us to simplify the codebase.

Single-node SQLite consumers can substitute this library with a mutex.

Support for ActiveRecord 7+
With the incoming release of a new Rails version and bi g refactoring going on in rails/rails, it will be more beneficial to drop support for legacy version.

Action Required
If you are currently using SQLite3 with with_advisory_lock, we recommend transitioning to a supported database system such as PostgreSQL or MySQL before the next release or lock the version.

We understand that these changes may require adjustments in your applications, and we are here to help.

Best regards,
Seuros

cc @mceachen

@mceachen mceachen changed the title Upcoming Changes: Dropping Support for SQLite3 and Enhancements to Multi-Database Support Upcoming Changes: Enhancements to Multi-Database Support and dropping support for SQLite3 and older ActiveRecord versions Apr 13, 2024
@mceachen mceachen changed the title Upcoming Changes: Enhancements to Multi-Database Support and dropping support for SQLite3 and older ActiveRecord versions Upcoming Changes: Enhancements to Multi-Database Support. Dropping support for SQLite3 and older ActiveRecord versions Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant