Releases: GmausDev/CompactifAI.Client
Releases · GmausDev/CompactifAI.Client
v10.0.0 - .NET 10 LTS
CompactifAI.Client 10.0.0
Initial release for .NET 10 LTS.
Installation
dotnet add package CompactifAI.Client --version 10.0.0What's New
- Version aligned with .NET version (10.x.x = .NET 10)
- Full support for .NET 10 LTS (latest)
- AOT-compatible with System.Text.Json source generators
- IL trimming support
- Updated dependencies to 10.0.1
Dependencies
- Microsoft.Extensions.* 10.0.1
- System.Text.Json 9.0.0
Versioning Strategy
This release introduces a new versioning strategy where the major version corresponds to the .NET version:
| .NET Version | Package Version |
|---|---|
| .NET 10 LTS | 10.x.x |
| .NET 9 | 9.x.x |
| .NET 8 LTS | 8.x.x |
See VERSIONING.md for details.
v9.0.0 - .NET 9
CompactifAI.Client 9.0.0
Initial release for .NET 9.
Installation
dotnet add package CompactifAI.Client --version 9.0.0What's New
- Version aligned with .NET version (9.x.x = .NET 9)
- Full support for .NET 9 STS (supported until May 2026)
- AOT-compatible with System.Text.Json source generators
- IL trimming support
- Updated dependencies to 9.0.0
Dependencies
- Microsoft.Extensions.* 9.0.0
- System.Text.Json 9.0.0
See VERSIONING.md for the versioning strategy.
v8.0.0 - .NET 8 LTS
CompactifAI.Client 8.0.0
Initial release for .NET 8 LTS.
Installation
dotnet add package CompactifAI.Client --version 8.0.0What's New
- Version aligned with .NET version (8.x.x = .NET 8)
- Full support for .NET 8 LTS (supported until November 2026)
- AOT-compatible with System.Text.Json source generators
- IL trimming support
Dependencies
- Microsoft.Extensions.* 8.0.x
- System.Text.Json 8.0.5
See VERSIONING.md for the versioning strategy.
v1.1.0 - High-Performance JSON Source Generators
What's New
This release introduces System.Text.Json source generators for high-performance, AOT-compatible JSON serialization. This eliminates runtime reflection overhead and significantly improves API call latency.
Performance Improvements
| Improvement | Benefit |
|---|---|
| Zero-reflection serialization | 2-5ms latency reduction per API call |
| Cached type metadata | Reduced GC pressure |
| Compile-time validation | Catch property name mismatches at build time |
New Features
- AOT Compatibility - Full support for ahead-of-time compilation scenarios
- IL Trimming Support - Smaller deployment sizes with
IsTrimmable=true - Public
CompactifAIJsonContext- Advanced users can access the source-generated context directly
Breaking Changes
ToolFunction.Parameterschanged fromobject?toJsonElement?- Use
JsonSerializer.SerializeToElement()to create parameter values - Example:
var parameters = JsonSerializer.SerializeToElement(new { type = "object", properties = new { location = new { type = "string" } } });
- Use
Installation
dotnet add package CompactifAI.Client --version 1.1.0Or via Package Manager:
Install-Package CompactifAI.Client -Version 1.1.0Full Changelog
- Add System.Text.Json source generators for all 16 DTO types
- Update CompactifAIClient to use source-generated context
- Add
IsTrimmableandIsAotCompatibleproject flags - Add proper AOT warning attributes to configuration-binding methods