Releases: hasura/ndc-sdk-typescript
Releases · hasura/ndc-sdk-typescript
v8.0.0-rc.0
- Updated to support v0.2.0 of the NDC Spec. This is a very large update which adds new features and some breaking changes.
- 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.
v7.0.0
- Added support for exporting OpenTelemetry traces and metrics over GRPC. A new environment variable
OTEL_EXPORTER_OTLP_PROTOCOL
lets you switch betweenhttp/protobuf
andgrpc
.- Breaking change: the default OpenTelemetry exporter has changed from
http/protobuf
sending tohttp://localhost:4318
togrpc
sending tohttp://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"
- Breaking change: the default OpenTelemetry exporter has changed from
v6.1.0
- Updated to support v0.1.6 of the NDC Spec (#37)
- Support for querying nested collections inside an EXISTS expression in a predicate
v6.0.0
Breaking changes (#36):
Connector.healthCheck
has been removed and replaced withConnector.getHealthReadiness
, which only returns whether the connector is able to accept requests, not whether any underlying connections to data sources actually work.- The
/health
endpoint is now unauthorized, allowing healthchecks to be performed without authorization. Connector.getCapabilities
now returnsCapabilities
instead ofCapabilitiesResponse
. The SDK will now take care of adding the correct NDC version to theCapabilities
on behalf of the connector.
v5.2.0
- The connector now listens on both ipv4 and ipv6 interfaces by default. This can be configured by using the
HASURA_CONNECTOR_HOST
environment variable, which sets the host the web server listens on. (#34) - Updated to support v0.1.5 of the NDC Spec (#35)
- There are no real changes in this version; it is a version number-only change
v5.1.0
What's Changed
- Updated to support v0.1.4 of the NDC Spec (#33)
- Support for aggregates over nested fields
Full Changelog: v5.0.0...v5.1.0
v5.0.0
What's Changed
- Updated to support v0.1.3 of the NDC Spec (#32)
- Breaking change: new
nested_fields
property onQueryCapabilities
; set it to{}
to retain previous v0.1.2 semantics and not support new v0.1.3 capabilities. - Support field arguments
- Support filtering and ordering by nested fields
- Added a
biginteger
type representation
- Breaking change: new
Full Changelog: v4.6.0...v5.0.0
v4.6.0
What's Changed
- Use
prom-client
to implement the metrics endpoint (#29) - Allow any error code in custom HTTP responses (#30)
Full Changelog: v4.5.0...v4.6.0
v4.5.0
What's Changed
Full Changelog: v4.4.0...v4.5.0
v4.4.0
- Updated to support v0.1.2 of the NDC Spec
- More precise type representations of scalar types were added and the general numeric ones were deprecated (
number
andinteger
)
- More precise type representations of scalar types were added and the general numeric ones were deprecated (
Full Changelog: v4.3.0...v4.4.0