Skip to content

Releases: hasura/ndc-postgres

v0.4.0

04 Mar 21:52
8d304a8

Choose a tag to compare

The connector Docker image is:

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

Changelog

Added

  • There is now a CLI plugin for the Hasura v3 CLI, which allows the CLI to
    automatically introspect the database on demand.
    (#307 and
    #312)
  • Support for explaining mutations via the /mutation/explain endpoint.
    (#283)
  • Support filtering using in by columns and variables.
    (#283)

Changed

  • We have upgraded to ndc-spec v0.1.0, which demands a few changes:
    • The equal and in operators are now understood by the spec, and are
      integrated accordingly.
      (#304)
    • Procedures, which previously had a built-in response structure in ndc-spec,
      now return a nested field structure instead.
      (#296)
  • Version 1 and 2 of the configuration and NDC metadata have been deprecated
    and removed.
  • Configuration is now a file, configuration.json, in the specified
    configuration directory. It is now version 3, but little has changed from
    version 2. This brings ndc-postgres in line with the connector specification.
    (#305)
  • When configuration is initialized, it is expected that the connection URI will
    now be specified using an environment variable, instead of written directly.
    This can be overridden.
    (#325)
  • The default port was changed from 8100 to 8080. This is configurable with
    the HASURA_CONNECTOR_PORT environment variable.
  • Types and procedures are only supported in unqualified schemas, specified in
    unqualifiedSchemasForTypesAndProcedures.
    (#271)
  • The configuration server has been removed in favor of a cli interface.
    (#307 and
    #312)

Fixed

  • Fix queries including an IN operator on an empty list.
    (#309)

v0.3.0

07 Feb 12:51
01296fb

Choose a tag to compare

[0.3.0] - 2023-01-31

Added

  • Basic support for auto-generated insert procedures for tables.
    (#261)
  • Support for composite types in inputs and outputs. Right now, no operators are
    provided for composite types, and there is no automatic introspection.
    (#240)
  • Support for composite types and arrays in variables.
    (#249)
    (#263)
  • When explaining a query without variables (such as when joining across a
    remote relationship), explaining now still provides the generated SQL, and
    omits the EXPLAIN result from PostgreSQL.
    (#241)

Changed

  • Native query mutations are now marked as procedures instead of collections
    (#234)
  • Introspection now avoids DISTINCT ON to be more compatible with PostgreSQL
    variants
    (#260)
  • Invalid request, constraint not met, and unprocessable content errors are
    emitted at the relevant scenarios
    (#239)

Full Changelog: v0.2.0...v0.3.0

v0.2.0

21 Dec 13:20
9880163

Choose a tag to compare

What's Changed

  • Support for introspecting prefix-functions as comparison operators (#223)
  • Support prefix functions as comparison operators (#220)
  • Support queries without fields specified. (#209)
  • Query transactions now run in read-only mode, and allow transaction isolation level configuration. (#209, #212)
  • Support variables as arguments to native queries (#211)
  • Introduce version 2 of connector deployment configuration. (#208)
  • Support array types (#191)
  • Support Native Query Mutations (#189, #198, #222)

Full Changelog: v0.1.0...v0.2.0

v0.1.0

29 Nov 09:24
ef5b87e

Choose a tag to compare

Iniital alpha release.