Skip to content

Releases: PaulHatch/trancesql

0.15.3

16 Jan 05:04
Compare
Choose a tag to compare

Update interfaces to support nullable value references

0.15.2

16 Jan 03:23
Compare
Choose a tag to compare

This release exposes the previously internal CreateEntityFunc method so that it can be used when registering custom entity creators.

Support for Partial Updates

15 Jan 16:22
Compare
Choose a tag to compare

This release adds a few features to support executing partial commands:

  • The assignment collection class used by the Update.Set property adds an include boolean parameter to all Add methods which defaults to true. If set to false, the assignment will not be included in the final command.
  • Update commands with no assignments will not be rendered
  • Commands with no rendered queries will not be executed and will return the default value for the execution type instead
  • Deferred execution of contexts which include either no commands or only contain the begin/commit transaction commands will not be executed

Full Changelog: 0.15.0...0.15.1

Updates for deferred operations

15 Jan 00:33
Compare
Choose a tag to compare

This release updated the deferred context to better support write operation execution.

  • It is now possible to provide begin and commit transaction declarations when creating a deferred context which will wrap the command when executed
  • DeferredContext is now disposable, ensuring the commands will be executed even if no data is fetched
  • Once executed, a deferred context will not run again but only return the previously retrieved value

Full Changelog: 0.14.2...0.15.0

Fix package references

09 Jan 05:50
Compare
Choose a tag to compare
0.14.2

Remove benchmark references accidentally included in release packages

Add HasExecuted Property

28 Dec 05:47
Compare
Choose a tag to compare

This release adds a HasExecuted property to the Command class to indicate whether or not the command has been executed at least once.

Dependency Update & Replace OpenTracing

26 Dec 21:56
Compare
Choose a tag to compare

This release bumps the .NET version used to .NET 6 and the dependencies to their latest version. OpenTracing has been removed in favor of using System.Diagnostics.ActivitySource, which can be used with multiple providers, but most notably OpenTelemetry.

Note that this is a breaking change compared to the previous pre-release.

Nullable Support

27 May 03:00
Compare
Choose a tag to compare

This version adds a few language updates and includes better nullable coverage.

New Connection API & .NET 6.0

07 Jan 02:17
Compare
Choose a tag to compare

Connection Factory Replacing Rolling Credentials

This release removes the "rolling credentials" provider in favor of a simplified and unopinionated IConnectionFactory. To implement rolling credentials or other customizations, provide an implementation of this interface when creating the database object.

Now Targeting .NET 6.0

With previous versions of .NET nearing, end of life, this release targets .NET 6. Upcoming releases will utilize some features added in more recent releases of .NET/C#.

Update Npgsql Version Dependency

27 Oct 00:13
Compare
Choose a tag to compare

Support Npgsql > 4.1.x