- Add support for Rails 7.2
- Add kwargs argument to the ActiveRecordAbstractAdapter
- Add support for Rails 7.1
- Drop legacy test job because ubuntu-18.04 build node is not available anymore
- Add support for Rails 7.0
- Fix
establish_connection
for Ruby 3
- Add support for Rails 6.1
- Fix
alias_method_chain
deprecation in Rails 5
- Add support for Rails 5 and Rails 3
Octoshark::ConnectionManager
is split in two managersOctoshark::ConnectionPoolsManager
for persistent connections andOctoshark::ConnectionManager
for non-persistent connections.Octoshark
class methods likeconnection_managers
,reset_connection_managers!
,disconnect!
are only relevant and moved toOctoshark::ConnectionPoolsManager
class.Octoshark::ConnectionManager#use_database
method has been removed and the functionality moved toOctoshark::ConnectionPoolsManager#with_connection(name, database_name)
where the second optional argumentdatabase_name
when specified will switch the connection to the database using theuse database
MySQL statement.