From 62cd075863dcf9c34124776465be616517e8d8d8 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Sun, 31 Aug 2025 13:41:16 +0530 Subject: [PATCH] bump version to 0.15.12 --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/changelog.md | 30 +++++++++++++++++++++++++++++- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6fa7c6ab..0a192cd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1185,7 +1185,7 @@ dependencies = [ [[package]] name = "pg_graphql" -version = "1.5.11" +version = "1.5.12" dependencies = [ "base64 0.13.1", "bimap", diff --git a/Cargo.toml b/Cargo.toml index e98b3f99..c1fe4e60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pg_graphql" -version = "1.5.11" +version = "1.5.12" edition = "2021" [lib] diff --git a/docs/changelog.md b/docs/changelog.md index 4edee810..5230ba75 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,13 +1,17 @@ ## 1.0.0 + - Initial release ## 1.0.1 + - feature: Add support for Postgres 15 ## 1.0.2 + - bugfix: Correct inconsistent treatment of null literals ## 1.1.0 + - feature: Add support for Views, Materialized Views, and Foreign Tables - feature: Add support for filtering on `is null` and `is not null` - feature: User configurable page size @@ -15,6 +19,7 @@ - bugfix: `hasNextPage` and `hasPreviousPage` during reverse pagination were backwards ## 1.2.0 + - feature: `String` type filters support `ilike`, `like`, `startsWith` - feature: Support for `@skip` and `@include` directives - feature: Custom descriptions via comment directive `@graphql({"description": ...})` @@ -23,19 +28,23 @@ - bugfix: Creating a new enum variant between existing variants no longer errors ## 1.2.1 + - feature: `String` type filters support `regex`, `iregex` - feature: computed relationships via functions returning setof - bugfix: function based computed columns with same name no longer error ## 1.2.2 + - feature: reproducible builds ## 1.2.3 + - bugfix: enums not on the roles `search_path` are excluded from introspection - bugfix: remove duplicate Enum registration - bugfix: foreign keys on non-null columns produce non-null GraphQL relationships ## 1.3.0 + - feature: rename enum variants with comment directive `@graphql({"mappings": "sql-value": "graphql_value""})` - bugfix: query with more than 50 fields fails - bugfix: @skip and @include directives missing from introspection schema @@ -43,18 +52,22 @@ - bugfix: queries failed to run if the database was in read-only replica mode ## 1.4.0 + - feature: citext type represented as a GraphQL String - feature: Support for Postgres 16 - feature: Support for user defined functions ## 1.4.1 + - feature: Support for user defined functions with default arguments - bugfix: Trigger functions excluded from API ## 1.4.2 + - bugfix: UDF call returned null if the row returned by the function had any null column ## 1.4.3 + - bugfix: make non-default args non-null in UDFs - bugfix: default value of a string type argument in a UDF was wrapped in single quotes - feature: add support for array types in UDFs @@ -62,38 +75,53 @@ - bugfix: function returning an inaccessible table's type no longer breaks introspection ## 1.4.4 + - bugfix: function returning a noncompliant view's type no longer breaks introspection ## 1.5.0 + - feature: `first`/`offset` based pagination - feature: improved descriptions for all internal error states ## 1.5.1 + - bugfix: reimplemented field merging to resolve a performance issue on large queries ## 1.5.2 + - bugfix: enabled schema based multi-tenancy via filtering SQL context on schema permissions - bugfix: function arguments with a null default value were required instead of optional ## 1.5.3 + - bugfix: computed field returning a composite type was always null ## 1.5.4 + - bugfix: once a query panics, all subsequent queries return a lock poisoned error. ## 1.5.6 + - feature: add support for filtering on array column types using `contains`, `containedBy`, `overlaps`, `is`, `eq` ## 1.5.7 + - bugfix: UDF argument with a complex default expression was marked as required - bugfix: not null foreign keys referencing tables with RLS are marked as nullable ## 1.5.8 + - bugfix: relational query with more than 100 fields fails ## 1.5.11 + - bugfix: qualify schema refs -## master +## 1.5.12 + +- bugfix: description field was missing in schema introspection +- bugfix: oids overflowed when loading context - feature: Add support for aggregate functions (count, sum, avg, min, max) on collection types - feature: Add support for per table and view `max_row` directives + +## master