From f92a3d55939dd15302cfc24dd2ef9cf5b3cd2bb0 Mon Sep 17 00:00:00 2001 From: msepga Date: Tue, 26 Nov 2024 18:36:12 -0500 Subject: [PATCH] Update CHANGELOG, version --- CHANGELOG.md | 18 ++++++++++++++++++ Gemfile.lock | 2 +- lib/pg_query/version.rb | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02654c7a..731bc73c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ * ... +## 6.0.0 2024-11-26 + +* Upgrade to libpg_query 17-6.0.0 + - Updates to the Postgres 17 parser + - Deparser improvements: + - Add support for deparsing `JSON_TABLE`, `JSON_QUERY`, `JSON_EXISTS`, `JSON_VALUE` + - Add support for deparsing `JSON`, `JSON_SCALAR`, `JSON_SERIALIZE` + - Add support for deparsing `COPY ... FORCE_NULL(*)` + - Add support for deparsing `ALTER COLUMN ... SET EXPRESSION AS` + - Add support for deparsing `SET STATISTICS DEFAULT` + - Add support for deparsing `SET ACCESS METHOD DEFAULT` + - Add support for deparsing `... AT LOCAL` + - Add support for deparsing `merge_action()` + - Add support for deparsing `MERGE ... RETURNING` + - Add support for deparsing `NOT MATCHED [ BY TARGET ]` +* Improve treewalker performance by avoiding allocations [(#309)](https://github.com/pganalyze/pg_query_go/pull/309) +* Fix FreeBSD builds [(#313)](https://github.com/pganalyze/pg_query_go/pull/313) + ## 5.1.0 2024-01-09 * Update to libpg_query 16-5.1.0 diff --git a/Gemfile.lock b/Gemfile.lock index 3d9ed9f3..891b3df2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - pg_query (5.1.0) + pg_query (6.0.0) google-protobuf (>= 3.25.3) GEM diff --git a/lib/pg_query/version.rb b/lib/pg_query/version.rb index 97493542..22d876ad 100644 --- a/lib/pg_query/version.rb +++ b/lib/pg_query/version.rb @@ -1,3 +1,3 @@ module PgQuery - VERSION = '5.1.0'.freeze + VERSION = '6.0.0'.freeze end