Skip to content

Releases: risinglightdb/sqllogictest-rs

v0.27.2

18 Feb 12:38
6660c7a
Compare
Choose a tag to compare

[0.27.2] - 2025-02-18

  • engines/bin: fix stdin to be closed properly to avoid hangs in the external engine.

v0.27.1

17 Feb 05:34
3a603d7
Compare
Choose a tag to compare

[0.27.1] - 2025-02-17

  • runner: Add Runner::set_var method to allow adding runner-local variables for substitution.
  • bin: Add __DATABASE__ variable for accessing current database name from SLT files.

v0.27.0

11 Feb 07:26
89d0d3c
Compare
Choose a tag to compare

[0.27.0] - 2025-02-11

  • runner: add shutdown method to DB and AsyncDB trait to allow for graceful shutdown of the database connection. Users are encouraged to call Runner::shutdown or Runner::shutdown_async after running tests to ensure that the database connections are properly closed.

v0.26.4

27 Jan 04:46
c3b8c52
Compare
Choose a tag to compare

[0.26.4] - 2025-01-27

  • runner: add random string in path generation to avoid conflict when using include.
  • bin: detect connection refused error and exit early to make error message clearer.

v0.26.3

14 Jan 06:56
f0cda70
Compare
Choose a tag to compare

[0.26.3] - 2025-01-14

  • bin: when --fail-fast is enabled, abort all remaining connections before dropping temporary databases.

v0.26.2

10 Jan 06:56
3c4ee72
Compare
Choose a tag to compare

[0.26.2] - 2025-01-08

  • bin: support --fail-fast, and add env vars SLT_FAIL_FAST and SLT_KEEP_DB_ON_FAILURE

v0.26.1

09 Jan 04:17
1341f2c
Compare
Choose a tag to compare

[0.26.1] - 2025-01-08

  • parser/runner: support system ok retry

v0.26.0

06 Jan 06:16
7b86552
Compare
Choose a tag to compare

[0.26.0] - 2025-01-06

  • paser: Add back label support, which was removed in 0.25.0.
  • parser/runner: support [statement|query] error retry (Only support multi-line error message)

v0.25.0

27 Dec 07:53
c3b9d45
Compare
Choose a tag to compare

[0.25.0] - 2024-12-26

  • runner: Add retry clause to statement ok and query ok|error.

v0.24.0

20 Dec 22:57
ac188cb
Compare
Choose a tag to compare

[0.24.0] - 2024-12-20

  • runner: Added a Normalizer type for normalizing result values. A new function
    with_normalizer(normalizer: Normalizer)
    has been added to the Runner to allow for specifying a custom Normalizer. The existing default normalizer
    is available via the runner::default_normalizer(..) function.
  • parser: Added a new control mode resultmode that controls whether the results are in
    valuewise or columnwise mode. The default is columnwise which means results are in columns.
    valuewise means the results are in a single column (sqlite test style).
  • parser: Added valuesortsort mode. The valuesort mode works like rowsort except that it does not
    honor row groupings. Each individual result value is sorted on its own.

Breaking change:

  • The Validator type used in various function in Runner implementation has a new required field Normalizer
    that is used to normalize result values.