diff --git a/Cargo.lock b/Cargo.lock index 32fb0985..891b1f37 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1133,7 +1133,7 @@ dependencies = [ [[package]] name = "pg_graphql" -version = "1.5.12" +version = "1.6.0" dependencies = [ "base64 0.13.1", "bimap", diff --git a/Cargo.toml b/Cargo.toml index 57cf4de8..b61a175b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pg_graphql" -version = "1.5.12" +version = "1.6.0" edition = "2024" [lib] diff --git a/docs/changelog.md b/docs/changelog.md index cd366265..d6227ffd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -126,7 +126,9 @@ - feature: Add support for per table and view `max_row` directives - feature: Add support for Postgres 18 -## master +## 1.6.0 - feature: Add support for single record queries by primary key - **breaking**: GraphQL introspection is now disabled by default. Opt in per schema with `comment on schema is e'@graphql({"introspection": true})'`. After upgrading to this version, tools that rely on introspection (GraphiQL, codegen, Apollo DevTools, Relay compiler) will see either `Unknown field "__schema" on type Query` errors or types will be filtered out on disabled schemas. Non-introspection queries and mutations are unaffected. See [Introspection](configuration.md#introspection) for details. + +## master