Skip to content

Releases: dj-nitehawk/MongoDB.Entities

v13.5.2 Release

24 Jul 18:00
Compare
Choose a tag to compare
  • new event based change-stream support
  • improve internal type cache
  • refactor some method names
  • merged MongoDB.Entities.Core into main project
  • misc. internal code changes
  • new tests

v13.4.1 Release

18 Jul 03:39
Compare
Choose a tag to compare
  • new attribute [ObjectId] as an alias to [BsonRepresentation(BsonType.ObjectId)]

v13.4 Release

03 Jul 08:08
Compare
Choose a tag to compare
  • added DB.Transaction() convenience methods for starting transactions
  • new [DontPreserve] attribute for updating only propeties decorated with it when .SavePreserving()
  • new tests

v13.3 Release

01 Jul 15:38
Compare
Choose a tag to compare
  • added optional parameter 'maxDistance' to .SortByRelevance() method
  • added .Database() method for getting db name from a DB instance
  • deprecate .DbName property on DB instances
  • illegal collection name exception now shows the name of the collection
  • new tests

v13.2.1 Release

30 Jun 14:56
Compare
Choose a tag to compare

BREAKING CHANGES

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

  • breaking: calling .Match() multiple times will now combine filters instead of using last one.
  • breaking: DB.Update() / DB.UpdateAndGet() now requires at least one .Match() call. will throw if not specified.
  • added more .Match() method overloads to DB.Find(), DB.Update() and DB.UpdateAndGet()
  • new tests

v13.1 Release

29 Jun 16:15
Compare
Choose a tag to compare
  • optimize collection/db lookup using a lock-free cache

v13 Release

29 Jun 07:48
Compare
Choose a tag to compare
  • automatic multi db support (no need for DB instances anymore)
  • ability to drop collections including relationships for a given entity type
  • fix cyclical method reference bug in FileEntity.DataStreamer
  • optimizations for custom attribute lookups
  • various other optimizations
  • new tests

v12.8.1 Release

27 Jun 05:47
Compare
Choose a tag to compare
  • file size of File entities are now of type long (double was incorrect)
  • fix potential memory leak with the FileEntity class

v12.8 Release

20 Jun 14:55
Compare
Choose a tag to compare
  • new Find<T>.ProjectExcluding() method for projecting with an exclusion expression
  • new tests

v12.7.1 Release

19 Jun 22:16
Compare
Choose a tag to compare
  • fix thread safety issue with serializer registration