Skip to content

10.0.0

Choose a tag to compare

@pokornyd pokornyd released this 19 Apr 11:09
· 8 commits to master since this release

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 record types with { get; init; } accessors
  • All properties are nullable — correctly reflects projection scenarios (WithElements / WithoutElements) where omitted properties are null at runtime
  • Removed Management SDK support — the --apikey / -k parameter (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> or appSettings.json as before
  • Removed Extended Delivery models — the --extendeddeliverymodels parameter has been removed
  • Removed --structuredmodel parameter — structured model variants are no longer applicable
  • Removed --withtypeprovider flag — TypeProvider is now source-generated by the Delivery SDK via the ContentTypeCodename attribute; no custom ITypeProvider class is generated
  • Removed --filenamesuffix parameter

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-rc5 to the production 19.0.0 release
  • Updated documentation and README

Full list of changes since beta-5

  • Removed ServiceCollectionExtensions (MAPI DI registrations)
  • Removed DesiredModelsType and StructuredModelFlags configuration types
  • Removed MAPI-related properties from ClassDefinition and Property
  • Cleaned up appSettings.json defaults
  • Removed legacy docs folder and assets
  • Updated README to reflect Delivery-only scope

What's Changed

Full Changelog: 9.0.0...10.0.0