10.0.0
Kontent.ai model generator for .NET 10.0.0
This is the first stable release of the model generator targeting the modern Delivery SDK v19+.
Generated models now use records, nullable properties, ContentTypeCodename attribute for source-generated TypeProvider discovery, and element codename constants for compile-time query building.
Breaking changes from 9.0.0
Important
This version generates Delivery models only. If you need Management SDK models, Extended Delivery models, or models for Delivery SDK v18.x and earlier, use the previous stable release (9.0.0).
- Delivery SDK v19+ required — generated models use types from the new SDK (
RichTextContent,DateTimeContent,IEmbeddedContent,Asset, etc.) and are not compatible with v18.x and earlier - Records instead of classes — generated models are immutable
recordtypes with{ get; init; }accessors - All properties are nullable — correctly reflects projection scenarios (
WithElements/WithoutElements) where omitted properties arenullat runtime - Removed Management SDK support — the
--apikey/-kparameter (Management API key) and Management API model generation have been removed. Note: Secure Delivery API access is unaffected — use--DeliveryOptions:UseSecureAccess true --DeliveryOptions:SecureAccessApiKey <key>orappSettings.jsonas before - Removed Extended Delivery models — the
--extendeddeliverymodelsparameter has been removed - Removed
--structuredmodelparameter — structured model variants are no longer applicable - Removed
--withtypeproviderflag — TypeProvider is now source-generated by the Delivery SDK via theContentTypeCodenameattribute; no customITypeProviderclass is generated - Removed
--filenamesuffixparameter
Changes since beta-5
- Removed all remaining Management API-related code paths, configuration options, and test fixtures
- Updated Delivery SDK dependency from
19.0.0-rc5to the production19.0.0release - Updated documentation and README
Full list of changes since beta-5
- Removed
ServiceCollectionExtensions(MAPI DI registrations) - Removed
DesiredModelsTypeandStructuredModelFlagsconfiguration types - Removed MAPI-related properties from
ClassDefinitionandProperty - Cleaned up
appSettings.jsondefaults - Removed legacy docs folder and assets
- Updated README to reflect Delivery-only scope
What's Changed
Full Changelog: 9.0.0...10.0.0