Releases: hasura/ndc-postgres
Releases · hasura/ndc-postgres
v3.1.0
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v3.1.0
Changelog
Added
-
Added optimizations to make sure nested
Or
andAnd
values create balanced trees to improve memory usage. -
Added optimization to flatten a set of
Or
equals comparisons into anIn
call
Changed
- Bump
ndc-sdk-rs
to0.8.0
to start outputting connector name and version in traces.
Fixed
- Fix a bug where the configuration jsonschema for
DynamicConnectionSettings
was not correctly renaming fields to camelCase.
v3.0.0
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v3.0.0
Changelog
Added
- Added support for dynamic database connections, allowing:
- Named connections: Configure multiple connection URIs that can be selected at request time using the
connection_name
argument - Dynamic connections: Accept arbitrary connection strings at request time using the
connection_string
argument - Optional fallback to the static connection when no dynamic connection is specified
- For Named connections: Option to eagerly pre-create all connection pools at startup instead of creating them on-demand
- Named connections: Configure multiple connection URIs that can be selected at request time using the
Changed
- Updated to ndc models v2. Updating to this connector version will require re-introspection as the ndc schema and capabilities will be different
Fixed
- Fixed array column updates to properly handle empty arrays instead of incorrectly setting them to null.
v2.1.1
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v2.1.1
Changelog
Changed
- Updates to connector packaging to include
watch
command
v2.1.0
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v2.1.0
Changelog
Added
Changed
- improved SQL generation to faciliate efficient use of indices in cockroachdb
Fixed
- Native operations will now interpret missing arguments as null values for that argument, instead of causing an error.
- Pre and post-check arguments in v2 mutations can now either be missing or null and both will be interpreted as an always true predicate. Previously a null value would have caused an error.
- In v2 update mutations update columns explicitly set to null (as opposed to being missing or being set with their
_set
value object) are now correctly interpreted as "no update should be made to that column", instead of causing an error.
v2.0.0
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v2.0.0
Changelog
Changed
- When updating configuration, if collection or field name is customized, keep the customized name.
Fixed
- Predicates in relationships using in ordering (usually supplied by the engine's permission system) would fail to join the related tables correctly if the predicate was null.
#655 - Table names that conflict with scalar type names will now be aliased, with a suffix starting with
_table
, and from then_table_n
wheren
is an incrementing integer, until a unique name is found. hasura/graphql-engine#10570
v1.2.0
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v1.2.0
Changelog
Added
Changed
-
Change mutation pre/post checks to be optional
-
Added
mutationPrefix
to configuration allowing mutation names to be
customised.
Fixed
v1.1.2
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v1.1.2
Changelog
Added
- Enabled point mutations by default for newly generated configuration.
Changed
Fixed
- Make introspection FK column order deterministic, preventing incorrect composite key column mapping
v1.1.1
v1.1.0
v1.0.2
The connector Docker image is:
ghcr.io/hasura/ndc-postgres:v1.0.2
Changelog
Changed
- Upgrade ndc-sdk-rs to v0.3.0, including the following changes:
- Listen on all IPv4 and IPv6 changes by default
ndc-sdk-rs#22 - Replace the health check with a readiness check
ndc-sdk-rs#27 - Allow unsecured requests to the
/health
endpoint
ndc-sdk-rs#27
- Listen on all IPv4 and IPv6 changes by default