Skip to content

Releases: hasura/ndc-nodejs-lambda

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)

v1.1.0

26 Feb 01:55
v1.1.0
32e3352
Compare
Choose a tag to compare
  • Updated to NDC TypeScript SDK v4.2.0 to include OpenTelemetry improvements. Traced spans should now appear in the Hasura Console
  • Custom OpenTelemetry trace spans can now be emitted by creating an OpenTelemetry tracer and using it with sdk.withActiveSpan (#16)

v0.16.0

23 Feb 06:25
v0.16.0
e6090cd
Compare
Choose a tag to compare
  • Updated to NDC TypeScript SDK v1.4.0 to include OpenTelemetry improvements. Traced spans should now appear in the Hasura Console
  • Additional OpenTelemetry trace spans covering work done around function invocations

Full Changelog: v0.15.0...v0.16.0

v1.0.0

22 Feb 07:28
v1.0.0
c7ef1aa
Compare
Choose a tag to compare

ndc-lambda-sdk

  • Support for NDC Spec v0.1.0-rc.15 via the NDC TypeScript SDK v4.1.0 (#8, #10, #13). This is a breaking change and must be used with the latest Hasura engine.
    • Support for nested object/array selection
    • New function calling convention that relies on nested object queries
    • New mutation request/response format
    • New names for configuration environment variables
    • The default port is now 8080 instead of 8100
    • OpenTelemetry support improved, with additional spans covering work done around function invocation

Yeoman template

  • Prompts the user to pick between a version of ndc-lambda-sdk that works for Hasura DDN Alpha or Hasura DDN Beta

v0.15.0

21 Feb 09:26
v0.15.0
1034d43
Compare
Choose a tag to compare
  • OpenTelemetry support added via support for NDC TypeScript SDK v1.3.0 (#12)

Full Changelog: v0.14.0...v0.15.0

v0.14.0

16 Feb 06:16
v0.14.0
a21eb56
Compare
Choose a tag to compare
  • Support for "relaxed types" (#10)

Full Changelog: v0.13.0...v0.14.0

v0.13.0

08 Feb 14:00
v0.13.0
8ced40d
Compare
Choose a tag to compare
  • Add support for treating 'true | false' as a Boolean type (#7)

Full Changelog: v0.12.0...v0.13.0

v0.12.0

31 Jan 08:26
v0.12.0
5d1b6ea
Compare
Choose a tag to compare
  • Add support for JSDoc descriptions from object types (#3)
  • Fix type name conflicts when using generic interfaces (#4)
  • Improve error handling of errors thrown from functions (#5)
    • The entire causal stack trace is now captured as an error detail for unhandled errors
    • sdk.Forbidden, sdk.Conflict, sdk.UnprocessableContent can be thrown to return error details to GraphQL API clients

Full Changelog: v0.11.0...v0.12.0