Skip to content

Releases: koenbeuk/EntityFrameworkCore.Triggered

v4.0.0-preview.1

31 Mar 01:07
69e5b86
Compare
Choose a tag to compare
v4.0.0-preview.1 Pre-release
Pre-release

This is a preview release of v4 with breaking changes.

With the upcoming v4 release, we introduce synchronous triggers. You can now implement IBeforeSaveTrigger<MyEntity> and/or IBeforeSaveTriggerAsync<MyEntity>. (Same goes for other trigger types). Synchronous triggers are still called within an async context however asynchronous triggers are never called in an async context.

What's Changed

New Contributors

Full Changelog: v3.2.0...v4.0.0-preview.1

v3.2.2

11 Dec 23:41
Compare
Choose a tag to compare

Fixes a memory leak when exceptions were thrown from BeforeSave triggers

Full Changelog: v3.2.1...v3.2.2

v3.2.1

24 Oct 11:30
Compare
Choose a tag to compare

Backported a fix for registering multiple triggers of the same type with the service provider.

Full Changelog: v3.2.0...v3.2.1

v3.2.0

21 Oct 00:12
a176cba
Compare
Choose a tag to compare

What's Changed

  • Fixed a possible memory leak caused by exceptions from pooled DB contexts by @koenbeuk in #147
  • Fixed registration of multiple triggers of a shared type through ServiceCollectionExtensions by @koenbeuk in #148
  • Removed inaccurate exception causing Autofac integration issues by @koenbeuk in #152

Full Changelog: v3.1.0...v3.2.0

v3.2.0-preview.3

28 Jun 17:44
a176cba
Compare
Choose a tag to compare
v3.2.0-preview.3 Pre-release
Pre-release

Fixed a release issue

Full Changelog: v3.2.0-preview.2...v3.2.0-preview.3

v3.2.0-preview.2

28 Jun 17:26
ce17d44
Compare
Choose a tag to compare
v3.2.0-preview.2 Pre-release
Pre-release

What's Changed

  • Removed inaccurate exception causing Autofac integration issues by @koenbeuk in #152

Full Changelog: v3.2.0-preview.1...v3.2.0-preview.2

v3.2.0-preview.1

13 May 11:59
78a8962
Compare
Choose a tag to compare
v3.2.0-preview.1 Pre-release
Pre-release

What's Changed

  • Fixed a possible memory leak caused by exceptions from pooled DB contexts by @koenbeuk in #147
  • Fixed registration of multiple triggers of a shared type through ServiceCollectionExtensions by @koenbeuk in #148

Full Changelog: v3.1.0...v3.2.0-preview.1

v3.1.0

11 May 22:09
a7185e1
Compare
Choose a tag to compare

What's Changed

  • Add note about sync-over-async by @benmccallum in #129
  • Changed scope of db context factory to no longer be hard-coded to Scoped by @cdimitroulas in #136
  • Fix for internally registered triggers with a Scoped lifetime by @koenbeuk in #139
  • Removed V1/V2 support by @koenbeuk in #141
  • Added AddTriggeredDbContextPool overload that accepts an additional contract type by @koenbeuk in #144

New Contributors

Full Changelog: v3.0.0...v3.1.0

v3.1.0-beta.1

19 Apr 17:48
a7185e1
Compare
Choose a tag to compare
v3.1.0-beta.1 Pre-release
Pre-release

What's Changed

  • Add note about sync-over-async by @benmccallum in #129
  • Changed scope of db context factory to no longer be hard-coded to Scoped by @cdimitroulas in #136
  • Fix for internally registered triggers with a Scoped lifetime by @koenbeuk in #139
  • Removed V1/V2 support by @koenbeuk in #141
  • Added AddTriggeredDbContextPool overload that accepts an additional contract type by @koenbeuk in #144

New Contributors

Full Changelog: v3.0.0...v3.1.0-beta.1

v3.0.0

15 Nov 11:42
Compare
Choose a tag to compare

Starting from this release we target EF Core 6.

Triggers are now able to attach state to an Entity through the newly added Items property exposed on the trigger context. This enables advanced scenarios such as preserving entity state between different lifecycles within a trigger and communication between triggers regarding a specific entity.

In addition, each trigger session is now configurable. (A trigger session automatically gets created and disposed of by default at the start and end respectively of a call to dbContext.SaveChanges()). This includes the ability to disable triggers altogether.

What's Changed

New Contributors

Full Changelog: v2.3.2...v3.0.0