Pglast

Latest version: v7.2

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

Scan your dependencies

Page 9 of 21

4.1

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

- Fix serialization glitches introduced by “Avoid overly abundancy of parentheses in
expressions” (to be precise, by this__ commit)

__ https://github.com/lelit/pglast/commit/6cfe75eea80f9c9bec4ba467e7ec1ec0796020de

4.0

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

- Update libpg_query to final `14-3.0.0`__

4.0.dev0

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

- Update libpg_query to `14-3.0.0`__

__ https://github.com/pganalyze/libpg_query/blob/14-latest/CHANGELOG.md#14-300---2022-11-17

- Avoid overly abundancy of parentheses in expressions

- Prefer ``SELECT a FROM b LIMIT ALL`` to ``... LIMIT NONE``

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

- Target PostgreSQL 14

- The wrapper classes used in previous versions, implemented in ``pglast.node``, are gone: now
everything works on top of the ``AST`` classes (`issue 80`__)

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

- The ``Ancestor`` class is not iterable anymore: it was an internal implementation facility,
now moved to a ``_iter_members()`` method


Version 3

3.18

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

- Fix ``BooleanTest`` printer, enclosing expression within parens in more cases (`issue
129`__)

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

- Fix ``Constraint`` printer, avoiding repetition of "DEFERRABLE INITIALLY DEFERRED" on some
kind of constraints (`issue 130`__)

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

3.17

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

- Fix ``AlterSubscriptionStmt`` printer, handling "SET PUBLICATION" without options

3.16

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

- Update libpg_query to `13-2.2.0`__

__ https://github.com/pganalyze/libpg_query/blob/13-latest/CHANGELOG.md#13-220---2022-11-02

Page 9 of 21

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.