Skip to content

Releases: hasura/ndc-postgres

v3.1.0

01 Aug 14:21
5ea4370
Compare
Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v3.1.0

Changelog

Added

  • Added optimizations to make sure nested Or and And values create balanced trees to improve memory usage.

  • Added optimization to flatten a set of Or equals comparisons into an In call

Changed

  • Bump ndc-sdk-rs to 0.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

03 Jul 02:07
e654dd3
Compare
Choose a tag to compare

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

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

12 Mar 15:13
c864139
Compare
Choose a tag to compare

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

06 Mar 16:01
39eb289
Compare
Choose a tag to compare

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

28 Jan 16:09
4b62d9a
Compare
Choose a tag to compare

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 where n is an incrementing integer, until a unique name is found. hasura/graphql-engine#10570

v1.2.0

25 Oct 19:32
e3f7a53
Compare
Choose a tag to compare

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

15 Oct 12:26
3ecf2be
Compare
Choose a tag to compare

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

22 Aug 10:18
fc6a7a7
Compare
Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v1.1.1

Changelog

Added

  • Support filtering by a nested field collection.
    #573

Changed

  • Support setting ssl client certificate information and ssl root certificate independently.
    #578

v1.1.0

16 Aug 16:16
a57c0b5
Compare
Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v1.1.0

Changelog

Added

  • Support setting ssl client certificate information via environment variables.
    #574

Fixed

  • Make array element types nullable in the schema.
    #571

v1.0.2

12 Aug 21:35
1378805
Compare
Choose a tag to compare

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:

Fixed

  • Make fields of composite types nullable in the schema.
    #565
  • Allow Native Operations that end with a semicolon when it's easy to remove them.
    #566
  • Fix nested field relationships.
    #564