python-sqlparse

Edit Package python-sqlparse
No description set
Refresh
Refresh
Source Files
Filename Size Changed
python-sqlparse.changes 0000011871 11.6 KB
python-sqlparse.spec 0000002157 2.11 KB
sqlparse-0.5.0.tar.gz 0000083475 81.5 KB
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1172288 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 18)
- Update to 0.5.0:
  * Notable Changes
    + Drop support for Python 3.5, 3.6, and 3.7.
    + Python 3.12 is now supported.
    + IMPORTANT: Fixes a potential denial of service attack (DOS) due to
      recursion error for deeply nested statements.
      (CVE-2024-2430, bsc#1223603)
  * Enhancements:
    + Splitting statements now allows to remove the semicolon at the end.
      Some database backends love statements without semicolon.
    + Support TypedLiterals in get_parameters.
    + Improve splitting of Transact SQL when using GO keyword.
    + Support for some JSON operators.
    + Improve formatting of statements containing JSON operators.
    + Support for BigQuery and Snowflake keywords.
    + Support parsing of OVER clause.
  * Bug Fixes
    + Ignore dunder attributes when creating Tokens.
    + Allow operators to precede dollar-quoted strings.
    + Fix parsing of nested order clauses.
    + Thread-safe initialization of Lexer class.
    + Classify TRUNCATE as DDL and GRANT/REVOKE as DCL keywords.
    + Fix parsing of PRIMARY KEY.
  * Other
    + Optimize performance of matching function.
Comments 0
openSUSE Build Service is sponsored by