Skip to content

Releases: crate/crash

0.31.5

24 Apr 18:46
Compare
Choose a tag to compare

What's Changed

Fixed handling of DuplicateKeyException errors. After an improvement in crate-python 0.34, this error case is conveyed through IntegrityError. Beforehand, a more generic ProgrammingError was used. Thanks, @romseygeek and @proddata.

Details

  • Chore(deps): Update sqlparse requirement from <0.5.0,>=0.4.4 to >=0.4.4,<0.6.0 by @dependabot in #437
  • Fixed handling of DuplicateKeyException errors after crate-python 0.34 by @amotl in #439

Full Changelog: 0.31.4...0.31.5

0.31.4

19 Mar 19:12
Compare
Choose a tag to compare

What's Changed

  • Fixed status line display of the executed SQL command, part 2,
    don't display SQL command arguments.

Full Changelog: 0.31.3...0.31.4

0.31.3

18 Mar 18:56
Compare
Choose a tag to compare

What's Changed

  • Fixed status line display of the executed SQL command
  • Started using Python Testcontainers for integration testing

New Contributors

Full Changelog: 0.31.2...0.31.3

0.31.2

08 Feb 12:47
Compare
Choose a tag to compare

What's Changed

  • Update to crate>=0.35.2. It is needed to accompany the recent
    improvements about --timeout.

Full Changelog: 0.31.1...0.31.2

0.31.1

02 Feb 01:58
Compare
Choose a tag to compare

What's Changed

  • Better catch unauthorized errors with forced password prompt. Thanks, @proddata.

Full Changelog: 0.31.0...0.31.1

0.31.0

29 Jan 15:26
Compare
Choose a tag to compare

What's Changed

  • Added command-line argument --timeout, to configure network timeout
    values in seconds. The default connect timeout is five seconds now,
    the default read timeout is the default setting of the socket module,
    which is "infinite" by default.

  • Chore: Use verlib2.Version instead of crate.client._pep440.Version.

Full Changelog: 0.30.2...0.31.0

0.30.2

12 Jan 13:58
Compare
Choose a tag to compare

What's Changed

  • Added support for setting an external pager via \pager <executable>
  • Added ROLE keyword for autocomplete & autocapitalize

Full Changelog: 0.30.1...0.30.2

0.30.1

23 Nov 18:35
Compare
Choose a tag to compare

What's Changed

  • Added support for Python 3.12.
  • Added possible output format choices for --format argument to
    crash --help. Thanks, @mfussenegger.

Full Changelog: 0.30.0...0.30.1

0.30.0

06 Jul 22:22
Compare
Choose a tag to compare

What's Changed

  • Fix inconsistent spacing around printed runtime. Thank you, @hammerhead.

  • Add support for multi-line input of commands and SQL statements for both
    copy-pasting inside the crash shell and input pipes into crash. Thank you,
    @JustBeYou.

New Contributors

Full Changelog: 0.29.0...0.30.0

0.29.0

16 Feb 19:14
Compare
Choose a tag to compare

What's Changed

  • Add support for Python 3.11, and drop support for Python 3.5 and 3.6.
  • Fix compatibility issue with crate-0.30.0 in the area of comparing server version numbers.
  • Dependencies: Update to tabulate 0.9, platformdirs, and prompt-toolkit v3.

Full Changelog: 0.28.0...0.29.0