Skip to content

Releases: hasura/ndc-postgres

v1.0.1

24 Jul 13:53
e2fd651

Choose a tag to compare

The connector Docker image is:

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

Changelog

Added

  • Support network_supeq and network_subeq by default.
    #541

Changed

Fixed

  • Generate the comparison operator _neq.
    #540

v1.0.0

17 Jul 14:14
4af168d

Choose a tag to compare

The connector Docker image is:

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

Changelog

Added

  • Introduce configuration version "v5".
    #522

Changed

  • Support ndc-sdk-rs v0.2.1, including changes to error messages.
    #520
  • Warn when starting the connector with an older configuration version.
    #537

Fixed

v0.8.0

04 Jul 12:04
4513112

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.8.0

Changelog

Added

  • Add configuration version metrics.
    (#504)
  • Introduce mutationsVersion 'v2' which auto-generates update, delete, and insert point mutations.
    (#513)
  • Implement native query builder in the CLI plugin.
    (#511)

Changed

Fixed

v0.7.1

20 Jun 13:12
v0.7.1
53565d6

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.7.1

Changelog

Added

  • A default value for CONNECTION_URI for newly initialized connector configurations.
    (#503)

  • Support ndc-spec v0.1.4.
    (#499)

  • Support ndc-spec v0.1.3 and filter/order by nested fields.
    (#486)

Changed

  • Aggregate functions (except COUNT) are now all marked as having nullable
    return types, as they will return null for empty row sets.
    (#498)

Fixed

  • Rows and aggregates parts of the query should operate on the same query parameters (where, order by, limit and offset).
    (#471)

v0.7.0

23 May 13:42
v0.7.0
0c6fbad

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.7.0

Changelog

Added

  • Support for qualifying scalar types by their schema. This updates the
    metadata configuration format version number from "3" to "4".
    (#471)

Changed

  • When acquiring a connection, ping the db only if it has been idle.
    (#450)

Fixed

  • Return at most a single instance of a root table row when filtering, empty rows of a column relationship should not necessarily filter a row.
    (#463)

v0.6.0

16 Apr 11:41
582c771

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.6.0

Changelog

Added

  • Support nested field selection.
    (#404)
    (#409)
  • Expose the type representation of base types and domain types.
    (#398)
  • Expose the type representation of enums via the ndc schema.
    (#397)

Changed

  • Support ndc-spec v0.1.2 and change the type representation of types accordingly.
    (#408)
  • int8 and numeric columns will now emit a string json representation by default.
    (#416)
  • Enforce read-onlyness without transactions.
    (#421)

Fixed

  • Fix schema conflict result_type for native query mutations.
    (#405)
  • The CLI plugin no longer requires the Visual C++ Redistributable on Windows.
    (#417)
  • Include additional schemas for types by default.
    (#420)
  • Remove the 'Caused by' section in the error message of the cli.
    (#424)

v0.5.2

29 Mar 14:50
805bc53

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.5.2

Changelog

Added

  • Make operators of domain types available via implicit casts.
    (#392)
  • Support introspection composite types.
    (#391)
  • Support enum types in the configuration.
    (#387)
  • Make aggregation functions available through implicit casts in the configuration.
    (#381)
  • Support for introspecting domain types.
    (#380)

Changed

  • Support ndc-spec 0.1.1.
    (#390)

Fixed

v0.5.1

21 Mar 16:19
bdb2702

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.5.1

Changelog

Added

  • Support for reading Native Query SQL from files.
    (#372)

Changed

  • Do not print information about when the cli decides not to write to a file.
    (#365)

Fixed

  • Refer to the right column name in the schema endpoint.
    (#366)
  • The CLI now supports older versions of glibc, so is more likely to work on
    older operating systems (e.g. Ubuntu 20.04 Focal).
    (#373)

v0.5.0

14 Mar 14:27
3fa214a

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.5.0

Changelog

Added

  • The CLI plugin now integrates with the DDN CLI's watch functionality.
    (#360)

Changed

  • The default connection pool settings will now be written to the configuration file
    upon initialization
    (#351)

  • The ndc-postgres-cli initialize command will now generate
    the jsonschema of the configuration format as well.
    (#361)

  • The ndc-postgres-cli update command will check that the configuration file has
    not changed in the middle of the introspection process, will retry if it did,
    and will not write the introspection result to file if the configuration file is already up to date.
    (#362)

  • A few fields in the configuration format has been changed:

    • configureOptions was renamed to introspectionOptions
    • connectionUri, poolSettings and isolationLevel are now nested under connectionSettings
    • mutationsVersion was moved from configureOptions to the top-level
    • A new field was added: $schema references the jsonschema of the configuration format

    (#361)

v0.4.1

06 Mar 23:56
fee38b2

Choose a tag to compare

The connector Docker image is:

ghcr.io/hasura/ndc-postgres:v0.4.1

Changelog

Fixed

  • The Docker image's default command is now serve so it can be run without
    arguments, in line with the connector specification.
    (#345)
  • The connector manifest has been fixed to refer to the CLI plugin by name.
    (#344)