Releases: tomasfabian/ksqlDB.RestApi.Client-DotNet
Releases · tomasfabian/ksqlDB.RestApi.Client-DotNet
v6.4.0
🚀 New Features
IgnoreInDML
: Added to the Fluent API to exclude fields fromINSERT
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 newIgnoreAttribute
instead.- The
Record
type’s fields:RowOffset
andRowPartition
are now decorated withIgnoreAttribute
(previously usedIgnoreByInsertsAttribute
).RowTime
is now decorated with an internalIgnoreInDDLAttribute
instead ofIgnoreByInsertsAttribute
.
- Fixed an issue where multiple mappings were not working on the same property in the model builder.
⚠️ Deprecations
- The
Headers
property in theRecord
type is now marked as obsolete.
v6.3.0
v6.2.0
-
KSqlDbRestApiClient Constructor Update:
- The
KSqlDbRestApiClient
class constructor now includes a parameter forKSqlDBRestApiClientOptions
.
- The
-
EntityCreationMetadata Update:
- The
EntityCreationMetadata.ShouldPluralizeEntityName
property was modified to be a nullable boolean (bool?
), and the default value oftrue
was removed.
- The
-
Method Behavior Update in KSqlDbRestApiClient:
- Methods within the
KSqlDbRestApiClient
class now check if theShouldPluralizeEntityName
field of the following types is null:TypeProperties
DropTypeProperties
InsertProperties
DropFromItemProperties
- If
ShouldPluralizeEntityName
is null, the methods will set it using the value from theKSqlDBRestApiClientOptions
.
- Methods within the
BugFix
- removed
!NETSTANDARD
pragma fromKSqlDBContextOnDisposeAsync
v6.1.0
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
- added
SetEndpointType
toKSqlDbContextOptionsBuilder
for configuring to use either "/query" or "/query-stream" endpoint CreateQuery
andCreateQueryStream
were merged.CreatePullQuery
by default uses http/2 now. SubsequentlyCreateQueryStream
was renamed toCreatePushQuery
to align with the nomenclature ofCreatePullQuery
.- removed
SetupQuery
fromKSqlDbContextOptionsBuilder
, it was unified withSetupQueryStream
. SubsequentlySetupQueryStream
was renamed toSetupPushQuery
to align with the nomenclature ofSetupPullQuery
. - 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
- added
InsertIntoAsync
Qbservable extension for executingINSERT INTO <stream-name> SELECT
statements. - added
FieldTypeBuilderExtensions
WithHeader
for configuring byte[] types as HEADER - added model builder function
WithHeaders
for configuring columns as HEADERS
v5.0.0
- added
ModelBuilder
to configure the model, allowing the customization of keys and ignoring properties during code generation - added
FieldTypeBuilderExtensions
for configuring decimal types #66 (requested by @mrt181) - added
IFromItemTypeConfiguration
to apply model-related configurations using the providedModelBuilder
- added
IConventionConfiguration
to apply model-related conventions.DecimalTypeConvention
represents a decimal type convention for configuring precision and scale. - see also breakingchanges.md
v4.0.0
- introduced new overloads for dropping entities:
DropTableAsync
,DropTypeAsync
, andDropStreamAsync
inKSqlDbRestApiClient
. These overloads now accept an argumentDropFromItemProperties
, providing more flexibility in configuring the drop operations. - extracted
IKSqlDbDropRestApiClient
andIKSqlDbCreateRestApiClient
interfaces fromIKSqlDbRestApiClient
- see also breakingchanges.md
- enabled nullable reference types in
ksqlDb.RestApi.Client
project #64
ksqlDB.RestApi.Client v2.7.0
- insert values with KSQL functions
- JsonArrayParser fixed deserialization of values with brackets #43 fix