Releases: hasura/ndc-nodejs-lambda
Releases · hasura/ndc-nodejs-lambda
v1.2.0
- 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
- 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
- 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
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
- OpenTelemetry support added via support for NDC TypeScript SDK v1.3.0 (#12)
Full Changelog: v0.14.0...v0.15.0
v0.14.0
- Support for "relaxed types" (#10)
Full Changelog: v0.13.0...v0.14.0
v0.13.0
- Add support for treating 'true | false' as a Boolean type (#7)
Full Changelog: v0.12.0...v0.13.0
v0.12.0
- 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
- Add support for parallel execution of readonly functions (#2)
Full Changelog: v0.10.0...v0.11.0
v0.10.0
- Add missing query.variables capability
Full Changelog: v0.9.0...v0.10.0