Releases: hasura/ndc-nodejs-lambda
Releases · hasura/ndc-nodejs-lambda
v1.10.0
- 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
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
- Updated to use TypeScript v5.6.3 (#46)
v1.8.0
- 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 betweenhttp/protobuf
andgrpc
. - 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"
- Added support for exporting OpenTelemetry traces and metrics over GRPC. A new environment variable
v1.7.0
- Added
documentationPage
to the connector metadata to enable theddn
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)
- Support for querying nested collections inside an EXISTS expression in a predicate
- Use a Hasura-forked version of ts-node-dev (used for hot-reloading in watch mode) to upgrade deprecated dependencies (#43)
v1.6.0
v1.5.0
v1.4.1
- 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
v1.3.0
- 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
- 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)