Skip to content

Releases: dj-nitehawk/MongoDB.Entities

v20.3 Release

27 Oct 05:23
Compare
Choose a tag to compare

MINOR VERSION

if you are currently using v20 or above you can safely upgrade to this version as there are no breaking changes in this release.

CHANGES:

  • added ability to customize the format of the ID field
  • added overload for DB.Entity() for creating an instance with a given ID value
  • upgraded mongodb driver
  • updated documentation
  • new tests

v20.2 Release

01 Oct 15:43
Compare
Choose a tag to compare

MINOR VERSION

if you are currently using v20 or above you can safely upgrade to this version as there are no breaking changes in this release.

CHANGES:

  • added ability to change default database at runtime
  • improved db initialization
  • improved file storage internals
  • new tests

v20.1 Release

28 Sep 16:02
Compare
Choose a tag to compare

MINOR VERSION

if you are currently using v20 you can safely upgrade to this version as there are no breaking changes in this release.

CHANGES:

  • added methods for counting entities to the DB class
  • added transaction support for the new count methods
  • added cancellation support for deletions
  • improved deletions by performing high volume deletes in batches
  • improved high concurrency handling

v20 Release

11 Sep 05:24
Compare
Choose a tag to compare

MAJOR VERSION JUMP WITH ASYNC ONLY API

upgrading to this version won't be straight-forward if you've been using the sync api. please see the links below for the reasoning behind the decision to move to an async-only api. please open an issue if you need help migrating your applications to v20. an example project can be found here. it is highly recommended to use v20 for new projects if scalability is a concern.

CHANGES:

  • removed all sync methods making the library async-only
  • removed support for DB instances
  • removed [Database] attribute in favor of DB.DatabaseFor()
  • removed .net ioc container registration shortcuts
  • renamed DB.GetDatabase() to DB.Database() to be consistent with collection methods
  • renamed DB.Aggregate() to DB.PipelineAsync()
  • added DB.PipelineCursorAsync() method
  • added DB.PipelineSingleAsync() method
  • added DB.PipelineFirstAsync() method
  • adedd transaction support for the new PipeLine* methods
  • added Find().ExecuteSingleAsync() method
  • added Find().ExecuteFirstAsync() method
  • added Template().Paths() method
  • added Prop.Collection() method
  • added Prop.Property() method
  • added DB.NewID() method
  • added DB.DatabaseFor() method
  • optimized FileEntity internals
  • upgraded driver to latest

v14.5 Release

21 Aug 16:25
Compare
Choose a tag to compare
  • eliminate all sync over async anti-pattern usages
  • avoid capturing sync context when awaiting tasks
  • transaction support for IEntity extension methods
  • misc. optimizations
  • new tests

v14.1 Release

18 Aug 08:48
Compare
Choose a tag to compare
  • file data streamer optimizations
  • transaction support for all Many methods
  • misc. performance optimizations

v14 Release

11 Aug 16:31
Compare
Choose a tag to compare

BREAKING CHANGES

this release contains a couple of possibly breaking changes. please test your code before pushing to production

  • [breaking] removed MongoDB.Entities.Core namespace. everything's in MongoDB.Entities now
  • [breaking] made ModifiedOn property opt-in using IModifiedOn interface
  • [breaking] removed support for geo haystack indexes as deprecated in official driver
  • added new interface ICreatedOn for optionally adding auto-managed creation date to entities
  • misc. changes

v13.7 Release

01 Aug 04:59
Compare
Choose a tag to compare
  • mongodb driver updated to v2.11
  • transaction support for Queryable interface
  • misc. changes

v13.6.1 Release

30 Jul 14:16
Compare
Choose a tag to compare
  • fix bug with change-stream watcher not setting resume token correctly
  • improve change-stream watcher internal pipeline

v13.6 Release

27 Jul 14:43
Compare
Choose a tag to compare
  • simplified change-stream api
  • ability to resume change-streams with tokens
  • ability to filter insert & update events with an expression
  • misc. code changes