14
0

Accepting request 1194657 from devel:languages:python

- update to 0.5.1:
  * New "compact" option for formatter. If set, the formatter
    tries to produce a more compact output by avoiding some line
    breaks
  * The strip comments filter was a bit greedy and removed too
    much whitespace (issue772). Note: In some cases you might want
    to add `strip_whitespace=True` where you previously used just
    `strip_comments=True`.  `strip_comments` did some of the
    work that `strip_whitespace` should do.
  * Fix error when splitting statements that contain multiple
    CASE clauses within a BEGIN block (issue784).
  * Fix whitespace removal with nested expressions (issue782).
  * Fix parsing and formatting of ORDER clauses containing NULLS
    FIRST or NULLS LAST (issue532).

OBS-URL: https://build.opensuse.org/request/show/1194657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sqlparse?expand=0&rev=19
This commit is contained in:
2024-08-20 14:12:48 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 4 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Aug 19 07:42:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.5.1:
* New "compact" option for formatter. If set, the formatter
tries to produce a more compact output by avoiding some line
breaks
* The strip comments filter was a bit greedy and removed too
much whitespace (issue772). Note: In some cases you might want
to add `strip_whitespace=True` where you previously used just
`strip_comments=True`. `strip_comments` did some of the
work that `strip_whitespace` should do.
* Fix error when splitting statements that contain multiple
CASE clauses within a BEGIN block (issue784).
* Fix whitespace removal with nested expressions (issue782).
* Fix parsing and formatting of ORDER clauses containing NULLS
FIRST or NULLS LAST (issue532).
-------------------------------------------------------------------
Tue May 7 02:21:45 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-sqlparse
Version: 0.5.0
Version: 0.5.1
Release: 0
Summary: Non-validating SQL parser
License: BSD-3-Clause

BIN
sqlparse-0.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
sqlparse-0.5.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.