Releases: dj-nitehawk/MongoDB.Entities
Releases · dj-nitehawk/MongoDB.Entities
v13.5.2 Release
- 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
- new attribute [ObjectId] as an alias to [BsonRepresentation(BsonType.ObjectId)]
v13.4 Release
- 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
- 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
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
- optimize collection/db lookup using a lock-free cache
v13 Release
- 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
- file size of File entities are now of type long (double was incorrect)
- fix potential memory leak with the FileEntity class
v12.8 Release
- new Find<T>.ProjectExcluding() method for projecting with an exclusion expression
- new tests
v12.7.1 Release
- fix thread safety issue with serializer registration