Sequel 5.81.0 Released #2172
jeremyevans
started this conversation in
General
Replies: 1 comment 1 reply
-
I see the new extension directly solves the use case we discussed in #1959, thank you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sequel 5.81.0 has been released!
New Features
A temporarily_release_connection Database extension has been added,
designed for multithreaded transactional testing.
This allows one thread to start a transaction, and then release
the connection back for usage by the connection pool, so that
other threads can operate on the connection object safely inside
the transaction. This requires the connection pool be limited
to a single connection, to ensure that the released connection
can be reacquired. It's not perfect, because if the connection
is disconnected and removed from the pool while temporarily
released, there is no way to handle that situation correctly.
Example:
Other Improvements
In the caller_logging and provenance extensions, Ruby internal
caller locations are skipped when trying to locate the appropriate
caller line to include.
A couple ignored block warnings in plugin apply methods have been
fixed on Ruby 3.4.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions