Releases: TurnerSoftware/MongoFramework
0.23.0
🚀 Features
- Added FindAsync and Added to TenantDbSet by @JohnCampionJr (#182)
- Add a Mapping Processor Adapter by @JohnCampionJr (#176)
- Return existing DbSet by @JohnCampionJr (#178)
🐛 Bug Fixes
- Solves #173, added tenant ID to indexes for tenant entities by @JohnCampionJr (#174)
🧰 Maintenance
- Bump Moq from 4.14.6 to 4.14.7 by @dependabot-preview (#186)
👨🏼💻 Contributors
@JohnCampionJr, @Turnerj, @dependabot-preview and @dependabot-preview[bot]
0.22.0
Major changes
- Multi-tenant support (#161)
IMongoDbConnection
publicly accessible throughIMongoDbContext
(which itself is now accessible through theMongoDbSet
) (#163)- Removed deprecated
$limit
parameter for GeoNear queries (#165) - New
Find(object entityId)
method onIMongoDbSet
to match Entity Framework (#166) - Async-queries (
FirstOrDefaultAsync
,ToListAsync
etc) (#110) (NOTE: This changes the internal mechanisms for all queries, sync or async. If any queries are now no longer work, raise an issue!)
Other changes
- MongoDB Driver bumped from 2.11.1 to 2.11.2
0.21.2
0.21.1
0.21.0
There are some major breaking changes in this update. If you don't use entity relationships, mutators or buckets, you won't likely notice them.
Consumer-based Breaking Changes
- Entity Relationships have been removed due to complexity (no replacement - see #147 & #153)
- Entity Mutations have been removed due to complexity (no replacement - see #156)
- Entity Buckets no longer have an "index" property and now require a "date" property on the sub-entity (see #152 )
Extension Breaking Changes
Through #156, major work was done refactoring how the whole internal system works including removing EntityCollection
in exchange for a more robust entity management system stored against the MongoDbContext
. Additional internal infrastructure like the EntityWriterPipeline
, EntityCommandBuilder
and EntityIndexWriter
have all changed in various ways too.
Improvements
- Thanks to #152, buckets are far more efficient for writing
- Thanks to #154, update definitions are more efficiently generated
- Thanks to #156, contexts "feel" more like the Entity Framework equivalents with
Query
/Set
methods andChangeTracker
property
Dependency Updates
- MongoDB.Driver from 2.10.2 to 2.11.0
- MiniProfiler.Shared from 4.1.0 to 4.2.1
0.20.0
Fixes
- #128 EntityTrackingProcessing shouldn't refresh updated entities
- #124 Fixed issues around concurrent mapping
- Fixed issue with DbBucketSet
WithGroup
on empty match (d8bda7f)
Dependency Updates
- MongoDB.Driver from 2.9.2 to 2.10.2
- System.ComponentModel.Annotations from 4.6.0 to 4.7.0
- System.Configuration.ConfigurationManager from 4.6.0 to 4.7.0
0.19.0
Breaking
- Removed
MongoDbConnection.FromConfig
(ac77903) (If an application needs it, it could implement its own helper to get the value and pass it intoFromConnectionString
)
Other
0.18.1
0.18.0
Performance & Maintenance Update
Breaking
Drop BsonClassMap.AutoMap (#106 )
Type Discovery no longer looks through System.*
or Microsoft.*
assemblies
Performance
Improved allocations and performance for Entity Mapping (~75% faster, ~50% less allocations)
Improved allocations and performance for Index Building (~94% faster, ~78% less allocations)
Improved allocations and performance for Type Discovery (50-80% faster, ~75% less allocations)
0.17.0
Dependency Updates!
MongoFramework
- MongoDB.Driver v2.8.1 -> v2.9.2
- System.Configuration.ConfigurationManager v4.5.0 -> v4.6.0
- System.ComponentModel.Annotations v4.5.0 -> v4.6.0
MongoFramework.Profiling.MiniProfiler
- MiniProfiler.Shared v4.0.138 -> v4.1.0