Skip to content

Releases: EFNext/EntityFrameworkCore.Triggered

v4.0.0-preview.1

v4.0.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

@koenbeuk koenbeuk released this 31 Mar 01:07
69e5b86

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

Choose a tag to compare

@koenbeuk koenbeuk released this 11 Dec 23:41

Fixes a memory leak when exceptions were thrown from BeforeSave triggers

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

v3.2.1

Choose a tag to compare

@koenbeuk koenbeuk released this 24 Oct 11:30

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

Choose a tag to compare

@koenbeuk koenbeuk released this 21 Oct 00:12
a176cba

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

v3.2.0-preview.3 Pre-release
Pre-release

Choose a tag to compare

@koenbeuk koenbeuk released this 28 Jun 17:44
a176cba

Fixed a release issue

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

v3.2.0-preview.2

v3.2.0-preview.2 Pre-release
Pre-release

Choose a tag to compare

@koenbeuk koenbeuk released this 28 Jun 17:26
ce17d44

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

v3.2.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

@koenbeuk koenbeuk released this 13 May 11:59
78a8962

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

Choose a tag to compare

@koenbeuk koenbeuk released this 11 May 22:09
a7185e1

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

v3.1.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@koenbeuk koenbeuk released this 19 Apr 17:48
a7185e1

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

Choose a tag to compare

@koenbeuk koenbeuk released this 15 Nov 11:42

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