Sequel 5.80.0 Released #2157
jeremyevans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sequel 5.80.0 has been released!
New Features
A provenance dataset extension has been added. This extension makes
SQL queries include a comment describing how the dataset was built.
This can make debugging complex cases significantly easier. Here's
a simple example:
With the above example, it's obvious how the dataset is created, but
but in real applications, where datasets can be built from multiple
files, seeing where each dataset clone was made can be helpful.
The source listed will skip locations in the Ruby standard library
as well as Sequel itself. Other locations can be skipped by
providing a Database :provenance_caller_ignore Regexp option:
Other Improvements
For dataset methods where Sequel can determine that the return
value would be equivalent to the receiver, Sequel now returns the
receiver. This reduces the number of dataset allocations.
Sequel now supports Dataset#skip_locked on MariaDB 10.6+.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions