Releases: hasura/ndc-sdk-go
Releases · hasura/ndc-sdk-go
v2.3.0
v2.2.0
v2.1.0
Highlights
Add a new Close method to the Connector interface to handle the graceful shutdown of the connector. You need to add this method to satisfy the interface.
// Close handles the graceful shutdown that cleans up the connector's state.
func (c *Connector) Close(state *types.State) error {
return nil
}What's Changed
- chore: upgrade go.opentelemetry.io/otel v1.38.0 by @hgiasac in #203
- feat: add
Closemethod to theConnectorinterface by @hgiasac in #204
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Highlights
Go Connector v2 supports NDC Spec v0.2, which includes breaking changes. See v1 to v2 migration guide.
What's Changed
- sdk: support ndc-spec v0.2.0 by @hgiasac in #152
- sdk: marshal nil foreign_keys as empty object by default by @hgiasac in #187
- sdk: upgrade ndc-spec v0.2.2 by @hgiasac in #188
- sdk: upgrade ndc-spec schema v0.2.4 by @hgiasac in #195
- sdk: improve generic constructor functions by @hgiasac in #196
- sdk: upgrade the ndc-spec v0.2.5 by @hgiasac in #197
- sdk: upgrade ndc-spec v0.2.10 by @hgiasac in #198
- sdk: support compression by @hgiasac in #199
- cmd: add the upgrade command by @hgiasac in #200
- sdk: change major version to v2 by @hgiasac in #201
Full Changelog: v1.10.0...v2.0.0
v1.10.0
What's Changed
- Added a
ServerMaxBodyMegabytes(HASURA_SERVER_MAX_BODY_MEGABYTES) configuration to limit the maximum request body size, with a default value of 30 MB - Added a
ServerDefaultHTTPErrorStatus(HASURA_SERVER_DEFAULT_HTTP_ERROR_STATUS) configuration to return the default HTTP error status if developers don't explicitly set it, with a default value of422. - Enhanced tracing in
AcquireCredentialsto include a new attribute for internal visibility. - Fix
documentationPagelink and hide concurrency settings in the connector definition.
Full Changelog: v1.9.1...v1.10.0
v1.9.1
What's Changed
Full Changelog: v1.9.0...v1.9.1
v1.9.0
v1.8.0
What's Changed
- cmd: support generating predicate arguments by @hgiasac in #178
- cmd: add server options to ndctest by @hgiasac in #179
- sdk:
DurationStringandDurationInt64scalars by @hgiasac in #180 - add
--skip-version-upgrade(SKIP_VERSION_UPGRADE) setting to skip version upgrade by @hgiasac in #181
Full Changelog: v1.7.0...v1.8.0
v1.7.0
What's Changed
- sdk: support OpenTelemetry logs exporter and upgrade dependencies. The exporter is disabled by default. Enable it by setting
OTEL_LOGS_EXPORTER=otlp(#173) - cli: fetch test snapshot responses from connector server (#172)
- cli: fix quote schema description and expose security utils for telemetry (#174)
- cli: fix scalar error message typo and parse directories recursively (#175)
- cli: add the nested field selection to the command context. Use the
utils.CommandSelectionFieldFromContextto get the field in custom logic functions (#177) - connector-definition: change the base
golangimage version tov1.23and add theupgradeConfigurationcommand
Full Changelog: v1.6.3...v1.7.0