Skip to content

Releases: hasura/ndc-nodejs-lambda

v1.10.0

22 Nov 05:00
v1.10.0
2711113
Compare
Choose a tag to compare
  • The connector now exits during startup if there are compiler errors in the functions code. The compiler errors are printed to stderr. Previously the connector would print the errors and start "successfully", but with an empty schema. The new behaviour ensures that when the connector is used with ddn connector introspect, ddn is aware that a problem has occurred (because the connector fails to start) and will prompt the user to print the logs to see the compiler errors.

v1.9.0

24 Oct 03:43
v1.9.0
b8e329e
Compare
Choose a tag to compare

Added

  • Exported the @hasura/ndc-lambda-sdk/connector module to make it easier to build entirely new connectors that extend the existing functionality provided by the SDK (#45)

Changed

v1.8.0

20 Sep 04:57
v1.8.0
c144271
Compare
Choose a tag to compare
  • Updated the NDC TypeScript SDK to v7.0.0 (#44)
    • 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.
    • By default OpenTelemetry is now exported over GRPC 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"

v1.7.0

27 Aug 07:09
1adf00b
Compare
Choose a tag to compare
  • Added documentationPage to the connector metadata to enable the ddn CLI to suggest documentation to users (#41)
  • Added multi-platform support to the hasura/ndc-nodejs-lambda docker image. It now supports both linux/amd64 and linux/arm64 platforms (#42)
  • Updated the NDC TypeScript SDK to v6.1.0 (#43)
  • Use a Hasura-forked version of ts-node-dev (used for hot-reloading in watch mode) to upgrade deprecated dependencies (#43)

v1.6.0

08 Aug 13:41
v1.6.0
2fb7672
Compare
Choose a tag to compare
  • Updated the NDC TypeScript SDK to v6.0.0 (#39)
    • The /health endpoint is now unauthenticated
  • Updated TypeScript to v5.5.4 (#39)

v1.5.0

30 Jul 03:36
2a9a04d
Compare
Choose a tag to compare
  • Updated the NDC TypeScript SDK to v5.2.0 (#38)
    • The connector now listens on both ipv4 and ipv6 interfaces

v1.4.1

06 Jun 04:30
v1.4.1
9b5f795
Compare
Choose a tag to compare
  • Added a default .gitignore that ignores node_modules in the connector template (#34)
  • Updated to NDC TypeScript SDK to v5.0.0 (#35)
    • The BigInt scalar type now uses the biginteger type representation
  • Added dotenv-cli to the dev dependencies of the connector's default package.json to help with using .env files (#36)

v1.4.0

09 May 00:24
53ae387
Compare
Choose a tag to compare
  • Removed type inference recursion limit (#33). This enables the use of very nested object graphs.
  • Updated the NDC TypeScript SDK to v4.6.0 (#33).
    • This enables the /metrics endpoint to return the default prometheus metrics
    • ConnectorErrors can be thrown and now use any HTTP status code

v1.3.0

17 Apr 05:58
v1.3.0
faf8cc7
Compare
Choose a tag to compare
  • Fixed watch mode not reloading after files with compiler errors are changed #27
  • Fixed functions that are imported then re-exported causing a crash #28
  • Support for NDC Spec v0.1.2 via the NDC TypeScript SDK v4.4.0 (#29).
    • Built-in scalar types that support equality now define it in the NDC schema.
    • Built-in scalar types now have an explicit type representation defined in the NDC schema.
  • Fixed functions that return null causing crashes (#31)
  • Added support for native connector packaging (#30)
  • b3 (zipkin) OpenTelemetry trace propagation support via the NDC TypeScript SDK v4.5.0 (#32)

v1.2.0

18 Mar 03:55
v1.2.0
a132360
Compare
Choose a tag to compare
  • Improved error messages when unsupported enum types or unions of literal types are found, and allow these types to be used in relaxed types mode (#17)
  • Improved naming of types that reside outside of the main functions.ts file. Type names will now only be prefixed with a disambiguator if there is a naming conflict detected (ie. where two different types use the same name). Anonymous types are now also named in a shorter way. (#21)
  • Updated NodeJS to v20 and TypeScript to v5.4.2 (#23)
  • Added a built-in Docker healthcheck, and ignored node_modules from the Docker build (#22)