diff --git a/CHANGELOG.md b/CHANGELOG.md
index e9455051..dfb3419a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,21 @@
All versions are tagged by the major Postgres version, plus an individual semver for this library itself.
+## 17-6.0.0 2024-09-27
+
+* Upgrade to Postgres 17
+* Deparser:
+ - 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 ]`
+
## 16-5.1.0 2024-01-08
* Add support for compiling on Windows
diff --git a/README.md b/README.md
index 03cf4956..78322e6c 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ You can find further background to why a query's parse tree is useful here: http
## Installation
```sh
-git clone -b 16-latest git://github.com/pganalyze/libpg_query
+git clone -b 17-latest git://github.com/pganalyze/libpg_query
cd libpg_query
make
```
@@ -57,7 +57,7 @@ This will output the parse tree (whitespace adjusted here for better readability
```json
{
- "version": 160001,
+ "version": 170000,
"stmts": [
{
"stmt": {
@@ -130,7 +130,7 @@ int main() {
This will output the following:
```
- version: 160001, tokens: 7, size: 77
+ version: 170000, tokens: 7, size: 77
"SELECT" = [ 0, 6, SELECT, RESERVED_KEYWORD ]
"update" = [ 7, 13, UPDATE, UNRESERVED_KEYWORD ]
"AS" = [ 14, 16, AS, RESERVED_KEYWORD ]
@@ -237,7 +237,8 @@ Each major version is maintained in a dedicated git branch. Only the latest Post
| PostgreSQL Major Version | Branch | Status |
|--------------------------|------------|---------------------|
-| 16 | 16-latest | Active development |
+| 17 | 17-latest | Active development |
+| 16 | 16-latest | Critical fixes only |
| 15 | 15-latest | Critical fixes only |
| 14 | 14-latest | Critical fixes only |
| 13 | 13-latest | Critical fixes only |
@@ -291,4 +292,4 @@ Portions Copyright (c) 1994, The Regents of the University of California
All other parts are licensed under the 3-clause BSD license, see LICENSE file for details.
Copyright (c) 2015, Lukas Fittl
-Copyright (c) 2016-2023, Duboce Labs, Inc. (pganalyze)
+Copyright (c) 2016-2024, Duboce Labs, Inc. (pganalyze)