Skip to content

Releases: hasura/ndc-sdk-typescript

v8.0.0-rc.0

08 Jan 07:00
v8.0.0-rc.0
a70c45a
Compare
Choose a tag to compare

Breaking changes (#39, #40):

  • Updated to support v0.2.0 of the NDC Spec. This is a very large update which adds new features and some breaking changes.
  • If the X-Hasura-NDC-Version header is sent, the SDK will validate that the connector supports the incoming request's version and reject it if it does not. If no header is sent, no action is taken.

v7.0.0

20 Sep 04:39
v7.0.0
a696b39
Compare
Choose a tag to compare
  • Added support for exporting OpenTelemetry traces and metrics over GRPC. A new environment variable OTEL_EXPORTER_OTLP_PROTOCOL lets you switch between http/protobuf and grpc.
    • Breaking change: the default OpenTelemetry exporter has changed from http/protobuf sending to http://localhost:4318 to grpc sending to http://localhost:4317. To return to the old defaults, set the following environment variables:
      • OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
      • OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"

v6.1.0

26 Aug 05:39
v6.1.0
486a07e
Compare
Choose a tag to compare

v6.0.0

08 Aug 13:08
v6.0.0
40448c6
Compare
Choose a tag to compare

Breaking changes (#36):

  • Connector.healthCheck has been removed and replaced with Connector.getHealthReadiness, which only returns whether the connector is able to accept requests, not whether any underlying connections to data sources actually work.
  • The /health endpoint is now unauthorized, allowing healthchecks to be performed without authorization.
  • Connector.getCapabilities now returns Capabilities instead of CapabilitiesResponse. The SDK will now take care of adding the correct NDC version to the Capabilities on behalf of the connector.

v5.2.0

30 Jul 01:59
5f2fc58
Compare
Choose a tag to compare
  • The connector now listens on both ipv4 and ipv6 interfaces by default. This can be configured by using the HASURA_CONNECTOR_HOST environment variable, which sets the host the web server listens on. (#34)
  • Updated to support v0.1.5 of the NDC Spec (#35)
    • There are no real changes in this version; it is a version number-only change

v5.1.0

19 Jun 06:23
v5.1.0
8310045
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.1.0

v5.0.0

31 May 01:05
v5.0.0
6aab9a8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.6.0...v5.0.0

v4.6.0

01 May 18:09
c13c6d2
Compare
Choose a tag to compare

What's Changed

  • Use prom-client to implement the metrics endpoint (#29)
  • Allow any error code in custom HTTP responses (#30)

Full Changelog: v4.5.0...v4.6.0

v4.5.0

17 Apr 05:22
v4.5.0
322b5dc
Compare
Choose a tag to compare

What's Changed

  • Support b3 (zipkin) OpenTelemetry trace propagation headers (#28)

Full Changelog: v4.4.0...v4.5.0

v4.4.0

05 Apr 00:52
v4.4.0
7377b6a
Compare
Choose a tag to compare

Full Changelog: v4.3.0...v4.4.0