Releases: crate/crash
0.31.5
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
DuplicateKeyExceptionerrors after crate-python 0.34 by @amotl in #439
Full Changelog: 0.31.4...0.31.5
0.31.4
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
0.31.2
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
0.31.0
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 thesocketmodule,
which is "infinite" by default. -
Chore: Use
verlib2.Versioninstead ofcrate.client._pep440.Version.
Full Changelog: 0.30.2...0.31.0
0.30.2
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
What's Changed
- Added support for Python 3.12.
- Added possible output format choices for
--formatargument to
crash --help. Thanks, @mfussenegger.
Full Changelog: 0.30.0...0.30.1
0.30.0
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
- @JustBeYou made their first contribution in #385
- @dependabot made their first contribution in #394
Full Changelog: 0.29.0...0.30.0
0.29.0
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.0in 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