From 89ff84c31b54fd2755c7cdcc6783b98f0671098b Mon Sep 17 00:00:00 2001 From: Lele Gaifax Date: Sat, 23 Dec 2023 19:01:30 +0100 Subject: [PATCH] Refer to 6.0.dev0 in various places --- CHANGES.rst | 20 ++++++++++++++++++++ docs/conf.py | 6 +++--- docs/development.rst | 11 +++++++++++ docs/index.rst | 6 +++--- version.txt | 2 +- 5 files changed, 38 insertions(+), 7 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index cf8a373..eb9b964 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,6 +5,26 @@ Changes ------- +Version 6 +######### + +6.0.dev0 (unreleased) +~~~~~~~~~~~~~~~~~~~~~ + +- No visible changes with respect to v5, apart from the support for new/revised syntaxes of + `PostgreSQL 16`__ + + __ https://www.postgresql.org/docs/16/release-16.html + +~~~~~~~~~~~~~~~~~~~~ +**Breaking changes** +~~~~~~~~~~~~~~~~~~~~ + +- Target PostgreSQL 16, thanks to libpg_query `16-5.0.0`__ + + __ https://github.com/pganalyze/libpg_query/releases/tag/16-5.0.0 + + Version 5 ######### diff --git a/docs/conf.py b/docs/conf.py index 378ec05..f6c3005 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,7 @@ # General information about the project. project = 'pglast' -copyright = '2017, 2018, 2019, 2020, 2021, 2022 Lele Gaifax' +copyright = '2017-2023 Lele Gaifax' author = 'Lele Gaifax' # The version info for the project you're documenting, acts as replacement for @@ -55,9 +55,9 @@ # built documents. # # The short X.Y version. -version = '5.0' +version = '6.0' # The full version, including alpha/beta/rc tags. -release = '5.0.dev0' +release = '6.0.dev0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/development.rst b/docs/development.rst index 897fabb..6aaf7d2 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -162,6 +162,17 @@ syntaxes, there are currently no other significant differences from `Version 4`_ __ https://github.com/pganalyze/libpg_query/tree/15-latest __ https://www.postgresql.org/docs/15/sql-merge.html + +Version 6 +######### + +This version tracks the `16-latest`__ branch of ``libpg_query`` and thus targets ``PostgreSQL +16``: other than handling new statements (most notably, ``SQL/JSON`` constructor functions like +``json_array()`` or aggregators such as ``json_objectagg()``) and revised syntaxes, there are +currently no other significant differences from `Version 5`_. + +__ https://github.com/pganalyze/libpg_query/tree/16-latest + .. toctree:: :maxdepth: 2 diff --git a/docs/index.rst b/docs/index.rst index e0ee679..58bd018 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,7 +3,7 @@ .. :Created: gio 10 ago 2017 09:56:59 CEST .. :Author: Lele Gaifax .. :License: GNU General Public License version 3 or later -.. :Copyright: © 2017, 2018, 2019, 2021, 2022 Lele Gaifax +.. :Copyright: © 2017, 2018, 2019, 2021, 2022, 2023 Lele Gaifax .. ======== @@ -16,10 +16,10 @@ PostgreSQL Languages AST and statements prettifier :author: Lele Gaifax :contact: lele@metapensiero.it :license: `GNU General Public License version 3 or later`__ -:version: `5`__ +:version: `6`__ __ https://www.gnu.org/licenses/gpl.html -__ https://pglast.readthedocs.io/en/v5/introduction.html +__ https://pglast.readthedocs.io/en/v6/introduction.html This is a Python 3 module that exposes the *parse tree* of a PostgreSQL__ statement (extracted by the almost standard PG parser repackaged as a standalone static library by `libpg_query`__) diff --git a/version.txt b/version.txt index 43f030c..1edc8e1 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -5.7 \ No newline at end of file +6.0.dev0 \ No newline at end of file