This changelog documents the changes between release versions.
Changes to be included in the next upcoming release
Breaking changes (#38):
- 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.
- A default request size limit of 100MB was added. This can be overridden with the
HASURA_MAX_REQUEST_SIZE
environment variable (#29). - Connector state is now only initialized on the first request that actually uses it. This means
/capabilities
,/schema
and/health
can be used even if state initialization would otherwise fail (#31). - Add utilities to implement PrintSchemaAndCapabilities. This splits the sdk into multiple crates to avoid bringing in openssl
- update ndc-spec to v0.1.6 by @soupi in #28
- Health checks are now readiness checks; they should not make requests to any external services. We will revisit liveness and connectedness checks in a future release.
- The
/health
endpoint is now unsecured.
- listen on all ipv4 and ipv6 interfaces by default (#22)
- Fix dynamic error types not being thread-safe
- Update to
ndc-spec
v0.1.5 - Changed
get_capabilities
method inConnector
trait so thatndc-spec
version is obtained directly from thendc-spec
package instead of requiring the connector to specify it.