Togo
Togo
Apply for the betaSign in

ChangelogTogoHq.Sdk

TogoHq.Sdk 1.0.0

The first release of TogoHq.Sdk for .NET provides robust event tracking and serverless function integration

  • .NET SDK

On this site since

Breaking

  • Property Management: Supports typed Email and Name properties, with reserved property key handling.

New

  • TogoClient: Provides core functionalities including Track, SetPersonProperties, FlushAsync, and DisposeAsync for event tracking.
  • Azure Functions Integration: The TogoHq.Sdk.Functions.Worker package supports Azure Functions with isolated worker integration.
  • Serverless Environment Support: Warns when the timer sends in a serverless function, ensuring efficient resource usage.
  • Event Size Limits: Enforces a 256 KiB event limit and a 32 MiB queue limit, with evicted events reported.
  • OnError Reporting: Reports every loss with detailed error codes, aiding in debugging and error tracking.
  • AppVersion and AppBuild Options: Allows setting application version and build information in event batches.
  • Environment Configuration: Disables the client for invalid endpoint configurations, ensuring correct data routing.

Improved

  • Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.

Migration

Replace PersonPropertyOperations with PersonPropertyUpdate for property management.

Before
client.SetPersonProperties(new PersonPropertyOperations { Email = user.email });
After
client.SetPersonProperties(new PersonPropertyUpdate { Email = user.email });

The old form stops working in 1.0.0.