Releases: dj-nitehawk/MongoDB.Entities
v20.11.2 Release
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 asCoordinates
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 theCoordinates
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
NO BREAKING CHANGES
CHANGELOG
- added ability to build dynamic pipeline stages with templates
- improved test coverage
- misc. code changes
v20.9.3 Release
NO BREAKING CHANGES
CHANGELOG
- upsert and other options support for batch updates
- upgraded official driver to latest
v20.9.2 Release
NO BREAKING CHANGES
CHANGELOG
- hotfix for watcher method ambiguity
- upgraded official driver to latest
v20.9.1 Release
NO BREAKING CHANGES
CHANGELOG
- added advanced filtering ability for watchers
- allowed overriding Entity.GenerateNewID() to support any string
- increased test coverage
v20.8 Release
NO BREAKING CHANGES
CHANGELOG
- added support for audit fields (ModifiedBy)
- upgraded mongo driver to latest
- increased test coverage
v20.7 Release
POSSIBLE BREAKING CHANGE
the signature of
entity.SavePreservingAsync()
method has been changed to no longer take aNew
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
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
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 renameSetNewID
void toGenerateNewID
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
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