Releases: dj-nitehawk/MongoDB.Entities
v20.3 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:
- 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
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
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
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
- 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
- file data streamer optimizations
- transaction support for all Many methods
- misc. performance optimizations
v14 Release
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
- mongodb driver updated to v2.11
- transaction support for Queryable interface
- misc. changes
v13.6.1 Release
- fix bug with change-stream watcher not setting resume token correctly
- improve change-stream watcher internal pipeline
v13.6 Release
- simplified change-stream api
- ability to resume change-streams with tokens
- ability to filter insert & update events with an expression
- misc. code changes