Pglast

Latest version: v7.2

Safety actively analyzes 693308 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 21

3.3

~~~~~~~~~~~~~~~~

- Update libpg_query to `13-2.0.6`__

__ https://github.com/pganalyze/libpg_query/blob/13-latest/CHANGELOG.md#13-206---2021-06-29_

3.2

~~~~~~~~~~~~~~~~

- Effectively include libpg_query's vendored sources (`issue 82`__)

__ https://github.com/lelit/pglast/issues/82

3.1

~~~~~~~~~~~~~~~~

- Fix packaging glitch (`issue 82`__)

__ https://github.com/lelit/pglast/issues/82

- Build wheels also for macOS

- Update libpg_query to `13-2.0.5`__

__ https://github.com/pganalyze/libpg_query/blob/13-latest/CHANGELOG.md#13-205---2021-06-24_

3.0

~~~~~~~~~~~~~~~~

- Fix glitch in the ``RawStream``, avoiding spurious space after an open parenthesis

- Improve the ``Visitor`` class, to make it easier altering the original tree

- Properly handle nested lists in the serialization of AST Node

3.0.dev2

~~~~~~~~~~~~~~~~~~~~~

- Fix bug in ``CreateStmt`` printer (`issue 79`__)

__ https://github.com/lelit/pglast/issues/79

- Make it possible to pass also concrete ``ast.Node``\ s to ``RawStream

~~~~~~~~~~~~~~~~~~~~
**Breaking changes**
~~~~~~~~~~~~~~~~~~~~

- To reduce confusion, the ``printer`` module has been removed: print-specific stuff is now
directly exposed by the ``printers`` subpackage while serialization classes are now in the
new ``stream`` module

- The default value for the ``safety_belt`` option of the ``printify()`` function is now
``False``

3.0.dev1

~~~~~~~~~~~~~~~~~~~~~

- Fix ``AT_SetIdentity``, ``AT_EnableReplicaTrig`` and ``AlterSubscriptionStmt`` printers

- Improve ``AlterTSConfigType`` and ``IntoClause`` printers

- New generic "visitor pattern" (`issue 51`__) exemplified by a new
``referenced_relations()`` function (`issue 66`__)

__ https://github.com/lelit/pglast/issues/51
__ https://github.com/lelit/pglast/issues/66

- Refine printing of SQL comments

- Implement ``AlterExtensionStmt`` printer

Page 12 of 21

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.