Skip to content

Releases: dj-nitehawk/MongoDB.Entities

v20.11.2 Release

16 May 10:00
Compare
Choose a tag to compare

PATCH VERSION

this is a patch to address an issue with the 2DCoordinates class. if you've been using this class to store location data, please note that the lat+lon info may have been stored twice under coordinates as well as Coordinates fields in the database. if this is the case for you, please upgrade to this version of the library and run a migration to delete the info stored under the Coordinates field. it's not essential to do that but you may be able to free up a couple of megabytes of disk space if you have a large amount of entities where the duplication occurred. the duplicated data does not effect the accuracy of your current queries.

CHANGELOG:

  • fix 2DCoordinates lat+lon duplication issue
  • optimizations for saving new entities
  • many relationship initialization workarounds for VB.Net
  • upgraded mongo driver to latest
  • increase test coverage

v20.10 Release

13 Apr 14:26
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • added ability to build dynamic pipeline stages with templates
  • improved test coverage
  • misc. code changes

v20.9.3 Release

09 Apr 11:18
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • upsert and other options support for batch updates
  • upgraded official driver to latest

v20.9.2 Release

30 Mar 08:31
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • hotfix for watcher method ambiguity
  • upgraded official driver to latest

v20.9.1 Release

18 Mar 07:36
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • added advanced filtering ability for watchers
  • allowed overriding Entity.GenerateNewID() to support any string
  • increased test coverage

v20.8 Release

08 Mar 03:56
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • added support for audit fields (ModifiedBy)
  • upgraded mongo driver to latest
  • increased test coverage

v20.7 Release

28 Jan 14:45
Compare
Choose a tag to compare

POSSIBLE BREAKING CHANGE

the signature of entity.SavePreservingAsync() method has been changed to no longer take a New expression as an argument. if you are using that overload, please switch to the newly added SaveExceptAsync method instead, which does the same thing.

CHANGELOG:

  • support for extensible DBContext instances
  • ability to save entities partially by including a subset of properties
  • ability to save entities partially by excluding a subset of properties
  • change the signature of SavePreservingAsync method
  • optimize Transaction class
  • upgrade mongo driver to latest
  • increase test coverage

v20.5.1 Release

27 Dec 17:04
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:

  • add overload that takes a session to DB.Find() method
  • add overload that takes a session to DB.Update() method
  • add overload that takes a session to DB.UpdateAndGet() method

v20.5 Release

10 Dec 13:25
Compare
Choose a tag to compare

MINOR VERSION (With Possible Minor Breaking Change)

if you are currently using v20 or above you can safely upgrade to this version if not using custom ID generation.
if using custom ID generation, you'll have to rename SetNewID void to GenerateNewID and return the generated ID value.

CHANGES:

  • removed interface void method IEntity.SetNewID()
  • added interface method IEntity.GenerateNewID()
  • upgraded driver to latest

v20.4 Release

11 Nov 09:52
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:

  • add DB.Count() filter definition overload
  • add DB.Count() filter builder overload
  • add transaction support for the new DB.Count() methods
  • add ability to drop an index by name
  • add ability to drop all indexes for an entity type
  • add ability to change the character limit of FuzzyString
  • DB.Index().CreateAsync() now returns the name of the index created
  • optimize DB.Find() method
  • optimize DB.Index() method
  • optimize DB.Update() method
  • optimize DB.UpdateAndGet() method
  • optimize FuzzyString serializer
  • optimize Date serializer
  • fix one-to-many relationships not working with custom IDs
  • upgrade mongo driver to latest
  • improved test coverage