Skip to content

Releases: nunchistudio/helix.go

v0.19.2

04 Dec 22:07
Compare
Choose a tag to compare
version: Release v0.19.2

Signed-off-by: Loïc Saint-Roch <[email protected]>

v0.19.1

03 Dec 17:36
Compare
Choose a tag to compare

Changes

Integrations

  • [Fix] Only append root CAs on TLS config when applicable.

v0.19.0

10 Nov 10:20
Compare
Choose a tag to compare

Changes

Common

  • [Refactor] Update all dependencies across modules, fixing some known bugs in third-party libraries.

Internal

  • [Refactor] Rename orchestrator package to cloudprovider.

Logger

  • [Feature] Detect Qovery as a cloud provider, which automatically add the following log labels:

    qovery_region
    qovery_project_id
    qovery_environment_id
    qovery_application_id
    qovery_deployment_id
    kubernetes_cluster
    kubernetes_namespace
    kubernetes_pod
    
  • [Feature] Detect Render as a cloud provider, which automatically add the following log labels:

    render_instance_id
    render_service_id
    render_service_name
    render_service_type
    

Tracer

  • [Feature] Detect Qovery as a cloud provider, which automatically add the following trace attributes:

    qovery.region
    qovery.project_id
    qovery.environment_id
    qovery.application_id
    qovery.deployment_id
    kubernetes.cluster
    kubernetes.namespace
    kubernetes.pod
    service.name
    
  • [Feature] Detect Render as a cloud provider, which automatically add the following trace attributes:

    render.instance_id
    render.service_id
    render.service_name
    render.service_type
    service.name
    

Integrations

REST router

  • [Feature] Introduce generics on all writer functions and split With attachments between success and error responses for stronger type safety. Example:

    import (
      "go.nunchi.studio/helix/integration/rest"
    )
    
    rest.WriteAccepted[types.MyResponseType](rw, req,
      rest.WithMetadataOnSuccess[types.MyResponseTypeMetadata](metadata),
      rest.WithDataOnSuccess[types.MyResponseTypeData](data),
    )

Temporal

  • [Feature] Introduce package temporalrest, which holds utilities and public objects designed and scoped in the Temporal integration about Temporal and that can be exposed in a REST API. Example:

    import (
      "go.nunchi.studio/helix/integration/rest"
      "go.nunchi.studio/helix/integration/temporal/temporalrest"
    )
    
    type MyResponseTypeMetadata struct {
      Temporal *temporalrest.Metadata `json:"temporal,omitempty"`
    }
    
    func myHandlerFunc(rw http.ResponseWriter, req *http.Request) {
      // ...
    
      metadata := MyResponseTypeMetadata{
        Temporal: temporalrest.GetMetadata(wr),
      }
    
      rest.WriteAccepted[types.MyResponseType](rw, req,
        rest.WithMetadataOnSuccess[types.MyResponseTypeMetadata](metadata),
      )
    }

v0.18.1

09 Oct 08:04
Compare
Choose a tag to compare

Changes

  • [Fix] Fix published version on go.pkg.dev because of error encountered while upgrading GoReleaser.

v0.18.0

09 Oct 07:46
Compare
Choose a tag to compare

Changes

Integrations

Bucket

  • [Feature] Add support for MinIO driver.

REST router

  • [Refactor] Update WithData and WithMetadata to use generics.

Temporal

  • [Feature] Add attribute for new Temporal Update ID.

v0.17.1

19 Feb 13:41
Compare
Choose a tag to compare

Documentation

  • [Enhancement] Improve documentation and comments to welcome the first version of helix.ts.

v0.17.0

15 Feb 08:23
Compare
Choose a tag to compare

Announcements

helix.go now requires Go 1.22+. All previous versions are marked as "retracted". Please upgrade.

Changes

Common

  • [Refactor] Update all dependencies across modules, fixing some known bugs in third-party libraries.

Service

  • [Feature] Start and Close functions take a context.Context as single argument for controlling custom cancellation.

Integrations

NATS JetStream

  • [Feature] Leverage new CreateOrUpdate capabilities released in latest version of the NATS JetStream SDK.
    • CreateStream and UpdateStream are now merged into a single function CreateOrUpdateStream.
    • CreateKeyValue is now CreateOrUpdateKeyValue.

REST router

  • [Feature] The Response object now accept optional metadata.
  • [Feature] New capabilities are available for handling multilingual HTTP responses.

v0.16.1

01 Feb 10:45
Compare
Choose a tag to compare

Changes

Common

  • [Refactor] Update all dependencies across modules, fixing some known bugs in third-party libraries.

v0.16.0

20 Dec 07:40
Compare
Choose a tag to compare

Announcements

helix and helix.go are now open source, licensed under the MIT License!

Changes

Tracer

  • [Refactor] Rename environment variable from OTEL_TRACES_ENDPOINT to OTEL_EXPORTER_OTLP_TRACES_ENDPOINT in order to match OpenTelemetry standards.

Integrations

  • [Feature] Add support for InsecureSkipVerify in TLS config.

Bucket

  • [Feature] First release of the Bucket integration.

OpenFeature

  • [Feature] First release of the OpenFeature integration.

Temporal

  • [Feature] Add support for data converters and more options.

v0.15.0

18 Oct 07:06
Compare
Choose a tag to compare

Changes

Event

  • [Enhancement] An event can now have a custom ID.
  • [Fix] Add missing tenant ID inside subscription.

Integrations

NATS JetStream

  • [Feature] Upgrade integration for using new NATS JetStream API.

PostgreSQL

  • [Fix] Use pgxpool to fix connection-related issues when multiple services have active connection to same database.