Releases: risinglightdb/sqllogictest-rs
Releases · risinglightdb/sqllogictest-rs
v0.15.3
[0.15.3] - 2023-08-02
- fix(bin): fix error context display. To avoid stack backtrace being printed, unset
RUST_BACKTRACE
environment variable, or use pre-built binaries built with stable toolchain instead.
Release: v0.15.2
- fix(bin): do not print stack backtrace on error
Release: v0.15.1
- fix
statement error
unexpectedly passed when result is a successfulquery
. Similarly for expectedquery error
but successfulstatement ok
.
Release: v0.15.0
- Allow multiple connections to the database in a single test case, which is useful for testing the transaction behavior. This can be achieved by attaching a
connection foo
record before the query or statement.- (parser) Add
Record::Connection
. - (runner) Breaking change: Since the runner may establish multiple connections at runtime,
Runner::new
now takes aimpl MakeConnection
, which is usually a closure that returns a try-future of theAsyncDB
instance. - (bin) The connection to the database is now established lazily on the first query or statement.
- (parser) Add
Release: v0.14.0
- We enhanced how
skipif
andonlyif
works. Previously it checks againstDB::engine_name()
, andsqllogictest-bin
didn't implement it.- (parser) A minor breaking change: Change the field names of
Condition:: OnlyIf/SkipIf
. - (runner) Add
Runner::add_label
. Now multiple labels are supported (DB::engine_name()
is still included). The condition evaluates to true if any of the provided labels match theskipif/onlyif <lable>
. - (bin) Add
--label
option to specify custom labels.
- (parser) A minor breaking change: Change the field names of
Release: v0.13.2
Runner::update_test_file
properly escapes regex special characters.
Release: v0.13.1
- Support postgres options.
Release: v0.13.0
sqllogictest-bin
now uses the strict validator to update records (the runner still doesn't check schema).- The query syntax now allows optional columns (
query\n
without any column arguments).
Release: v0.12.0
- customizable column types and validators
Release: v0.11.2
- support multiple files as input in cli
- remove unnecessary debug