Releases: tomasfabian/ksqlDB.RestApi.Client-DotNet
Releases · tomasfabian/ksqlDB.RestApi.Client-DotNet
v7.0.0
🚀 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
, andMicrosoft.Extensions.Logging.Abstractions
- upgraded
System.Text.Json
to v9.0.0
v6.5.2
v6.5.1
v6.5.0
🚀 New Features
- Added the
AsPseudoColumn
function to the Fluent API for mapping of C# fields or properties asksqldb
pseudocolumns.
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