diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b1545b..f6d09af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 5.1.0 2024-01-09 + +* Update to libpg_query 16-5.1.0 + - Add support for running on Windows + - Add support for compiling on 32-bit systems +* Always build C library using "cc" crate +* Add `filter_columns` for getting columns that a query filters by + - This returns the table name (if present) and column name for every + column that's referenced in a JOIN or WHERE clause. + + ## 5.0.0 2023-12-22 * Align versioning scheme with that of other pg_query libraries diff --git a/Cargo.lock b/Cargo.lock index e4e5e80..0a3d1ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -390,7 +390,7 @@ dependencies = [ [[package]] name = "pg_query" -version = "5.0.0" +version = "5.1.0" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml index f8399ca..23ae4d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pg_query" description = "PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree." -version = "5.0.0" +version = "5.1.0" edition = "2021" documentation = "https://docs.rs/pg_query/" build = "build.rs"