TogoHq.Sdk 1.0.0
The first release of TogoHq.Sdk for .NET provides robust event tracking and serverless function integration
- .NET SDK
Breaking
- Property Management: Supports typed
EmailandNameproperties, with reserved property key handling.
New
- TogoClient: Provides core functionalities including
Track,SetPersonProperties,FlushAsync, andDisposeAsyncfor event tracking. - Azure Functions Integration: The
TogoHq.Sdk.Functions.Workerpackage 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.
client.SetPersonProperties(new PersonPropertyOperations { Email = user.email });client.SetPersonProperties(new PersonPropertyUpdate { Email = user.email });