Releases: hasura/ndc-nodejs-lambda
Releases · hasura/ndc-nodejs-lambda
v1.16.0
- Updated the NDC TypeScript SDK to v8.2.0 (#58)
- Updated to support v0.2.0 of the NDC Spec. This is a very large update which adds new features and some breaking changes to the spec.
- If the
X-Hasura-NDC-Version
header is sent, the SDK will validate that the connector supports the incoming request's version and reject it if it does not. If no header is sent, no action is taken - Added support for automatically returning compressed responses using gzip or deflate
- All OpenTelemetry trace spans are now annotated with the TypeScript SDK version (
resource.service.version: "8.2.0"
) and the connector name (resource.service.connector.name: "ndc-nodejs-lambda"
) and version (resource.service.connector.version: "1.16.0"
). The connector name and version can be overriden usingHASURA_CONNECTOR_NAME
andHASURA_CONNECTOR_VERSION
environment variables.
v1.15.0
- Updated to use TypeScript v5.8.3 (#57)
v1.14.0
- Increase
bodyLimit
to 30mb
v1.13.0
v1.12.0
- Updated to use TypeScript v5.8.2 (#53)
- Updated
cross-spawn
dependency to resolve security vulnerability (#53)
v1.11.0
Added
- The connector now supports being upgraded with the forthcoming
ddn connector upgrade
command (#51)
Changed
- Updated to use TypeScript v5.7.3 (#52)
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)