Skip to content

Releases: hasura/ndc-sdk-go

v2.3.0

10 Mar 08:21
fb83196

Choose a tag to compare

What's Changed

  • chore: deprecate environment modules, move to github.com/hasura/goenvconf by @hgiasac in #208
  • chore: upgrade go v1.24.12 and latest dependencies by @hgiasac in #209
  • chore: upgrade go v1.26 by @hgiasac in #210

Full Changelog: v2.2.0...v2.3.0

v2.2.0

28 Sep 08:05
12bb41e

Choose a tag to compare

What's Changed

  • sdk: change the type of request_arguments to json.RawMessage by @hgiasac in #206
  • misc: expose reusable logging functions by @hgiasac in #207

Full Changelog: v2.1.0...v2.2.0

v2.1.0

05 Sep 17:01
0dcff03

Choose a tag to compare

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 Close method to the Connector interface by @hgiasac in #204

Full Changelog: v2.0.0...v2.1.0

v2.0.0

19 Aug 07:16
fe75c81

Choose a tag to compare

Highlights

Go Connector v2 supports NDC Spec v0.2, which includes breaking changes. See v1 to v2 migration guide.

What's Changed

Full Changelog: v1.10.0...v2.0.0

v1.10.0

18 May 16:43
137ef56

Choose a tag to compare

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 of 422.
  • Enhanced tracing in AcquireCredentials to include a new attribute for internal visibility.
  • Fix documentationPage link and hide concurrency settings in the connector definition.

Full Changelog: v1.9.1...v1.10.0

v1.9.1

19 Mar 14:09
9efb7f0

Choose a tag to compare

What's Changed

  • fix: must decode JSON the credentials response from by @m-Bilal in #185

Full Changelog: v1.9.0...v1.9.1

v1.9.0

18 Mar 16:11
4033419

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8.0

27 Feb 04:34
2ac80cb

Choose a tag to compare

What's Changed

  • cmd: support generating predicate arguments by @hgiasac in #178
  • cmd: add server options to ndctest by @hgiasac in #179
  • sdk: DurationString and DurationInt64 scalars 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

06 Jan 09:17
6486aa7

Choose a tag to compare

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.CommandSelectionFieldFromContext to get the field in custom logic functions (#177)
  • connector-definition: change the base golang image version to v1.23 and add the upgradeConfiguration command

Full Changelog: v1.6.3...v1.7.0

v1.6.3

03 Dec 03:34
5b68650

Choose a tag to compare

What's Changed

  • enhancement: improve error message for env variable utilities by @hgiasac in #170
  • fix: unused imports if there is only one function by @hgiasac in #171

Full Changelog: v1.6.2...v1.6.3