Skip to content

Releases: hasura/ndc-nodejs-lambda

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

v0.11.0

25 Jan 08:32
v0.11.0
480c327
Compare
Choose a tag to compare
  • Add support for parallel execution of readonly functions (#2)

Full Changelog: v0.10.0...v0.11.0

v0.10.0

24 Jan 06:13
120cfc4
Compare
Choose a tag to compare
  • Add missing query.variables capability

Full Changelog: v0.9.0...v0.10.0

v0.9.0

24 Jan 06:13
v0.9.0
cc3487b
Compare
Choose a tag to compare
  • Disallow use of Map types and types with index signatures
  • Add support for re-exporting functions from other files

Full Changelog: v0.8.0...v0.9.0

v0.8.0

24 Jan 06:13
c845a97
Compare
Choose a tag to compare

ndc-lambda-sdk

  • Fix queries with variables returning incorrect result format
  • If a scalar value validation fails, return the error as an UnprocessableContent error

Yeoman template

  • Add minimum node engine version to template package.json
  • Use pretty printing of logs in watch mode in the template
  • Add latest version check to yeoman generator

Full Changelog: v0.7.0...v0.8.0