Skip to content

Releases: tomasfabian/ksqlDB.RestApi.Client-DotNet

v7.0.0

13 Dec 16:16
Compare
Choose a tag to compare

🚀 New Features

  • added .NET 9.0 target framework

💥 Breaking changes

  • removed usupported .NET 6.0, and 7.0 target frameworks
  • upgraded Microsoft packages to v9.0.0: Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Http, and Microsoft.Extensions.Logging.Abstractions
  • upgraded System.Text.Json to v9.0.0

v6.5.2

06 Dec 15:00
Compare
Choose a tag to compare

🐛 Bug Fix

  • fixed IdentifierUtil.IsPseudoColumn to handle PseudoColumns that are set using ModelBuilder correctly. (contributed by @mrt181)

v6.5.1

03 Dec 17:26
Compare
Choose a tag to compare

🐛 Bug Fixes

  • fixed IEntityTypeBuilder<TEntity>.Entity<TEntity> automatically creates FieldMetadata for a primitive field in base class #102

v6.5.0

29 Oct 19:15
Compare
Choose a tag to compare

🚀 New Features

  • Added the AsPseudoColumn function to the Fluent API for mapping of C# fields or properties as ksqldb pseudocolumns.

v6.4.0

16 Oct 19:25
b06b438
Compare
Choose a tag to compare

🚀 New Features

  • IgnoreInDML: Added to the Fluent API to exclude fields from INSERT statements. See #90 proposed by @mrt181.
  • IgnoreAttribute: Introduced to prevent properties or fields from being included in both DDL and DML statements.

🐛 Bug Fixes

  • IgnoreByInsertsAttribute no longer excludes fields or properties from DDL statements. Use the new IgnoreAttribute instead.
  • The Record type’s fields:
    • RowOffset and RowPartition are now decorated with IgnoreAttribute (previously used IgnoreByInsertsAttribute).
    • RowTime is now decorated with an internal IgnoreInDDLAttribute instead of IgnoreByInsertsAttribute.
  • Fixed an issue where multiple mappings were not working on the same property in the model builder.

⚠️ Deprecations

  • The Headers property in the Record type is now marked as obsolete.

v6.3.0

13 Oct 06:44
Compare
Choose a tag to compare
  • added AsStruct function to the Fluent API for marking fields as ksqldb STRUCT types #89 (proposed by @mrt181)

v6.2.0

03 Aug 15:34
Compare
Choose a tag to compare
  1. KSqlDbRestApiClient Constructor Update:

    • The KSqlDbRestApiClient class constructor now includes a parameter for KSqlDBRestApiClientOptions.
  2. EntityCreationMetadata Update:

    • The EntityCreationMetadata.ShouldPluralizeEntityName property was modified to be a nullable boolean (bool?), and the default value of true was removed.
  3. Method Behavior Update in KSqlDbRestApiClient:

    • Methods within the KSqlDbRestApiClient class now check if the ShouldPluralizeEntityName field of the following types is null:
      • TypeProperties
      • DropTypeProperties
      • InsertProperties
      • DropFromItemProperties
    • If ShouldPluralizeEntityName is null, the methods will set it using the value from the KSqlDBRestApiClientOptions.

BugFix

  • removed !NETSTANDARD pragma from KSqlDBContextOnDisposeAsync

v6.1.0

07 Jun 14:45
61d6f60
Compare
Choose a tag to compare

Features

  • added HasColumnName to the Fluent API to allow overriding property names during JSON deserialization and code generation.

BugFix

  • fixed missing usage/evaluation of the JsonPropertyNameAttribute during the creation of types.

v6.0.0

30 Apr 13:43
861f5d7
Compare
Choose a tag to compare
  • added SetEndpointType to KSqlDbContextOptionsBuilder for configuring to use either "/query" or "/query-stream" endpoint
  • CreateQuery and CreateQueryStream were merged. CreatePullQuery by default uses http/2 now. Subsequently CreateQueryStream was renamed to CreatePushQuery to align with the nomenclature of CreatePullQuery.
  • removed SetupQuery from KSqlDbContextOptionsBuilder, it was unified with SetupQueryStream. Subsequently SetupQueryStream was renamed to SetupPushQuery to align with the nomenclature of SetupPullQuery.
  • introduced distinct parameters specifically tailored for pull queries. This modification results in a breaking change. Before this update, the parameters sent to both the 'query' and 'query-stream' endpoints were shared between pull and push queries. #77
  • see also breakingchanges.md

v5.1.0

24 Apr 16:14
Compare
Choose a tag to compare
  • added InsertIntoAsync Qbservable extension for executing INSERT INTO <stream-name> SELECT statements.
  • added FieldTypeBuilderExtensions WithHeader for configuring byte[] types as HEADER
  • added model builder function WithHeaders for configuring columns as HEADERS