Skip to content

Releases: TurnerSoftware/MongoFramework

0.23.0

15 Oct 03:53
84e99a9
Compare
Choose a tag to compare
0.23.0 Pre-release
Pre-release

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

👨🏼‍💻 Contributors

@JohnCampionJr, @Turnerj, @dependabot-preview and @dependabot-preview[bot]

0.22.0

06 Oct 04:41
Compare
Choose a tag to compare
0.22.0 Pre-release
Pre-release

Major changes

  • Multi-tenant support (#161)
  • IMongoDbConnection publicly accessible through IMongoDbContext (which itself is now accessible through the MongoDbSet) (#163)
  • Removed deprecated $limit parameter for GeoNear queries (#165)
  • New Find(object entityId) method on IMongoDbSet 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

08 Sep 14:23
Compare
Choose a tag to compare
0.21.2 Pre-release
Pre-release

Bug Fixes

  • Fix issues with change tracking/entity processing in regards to how the driver's ResultTransformer works (8c1fcc6)

Dependency Updates

  • MongoDB.Driver from 2.11.0 to 2.11.1

0.21.1

17 Aug 12:20
Compare
Choose a tag to compare
0.21.1 Pre-release
Pre-release

Tidying up a few things missed in 0.21.0:

  • Removing unused IEntityIndexWriter interface
  • Having the cancellation token be optional for EntityCommandWriter
  • Public access to cache clearing for EntityIndexWriter

0.21.0

17 Aug 07:59
c75fc97
Compare
Choose a tag to compare
0.21.0 Pre-release
Pre-release

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 and ChangeTracker 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

01 Mar 11:59
Compare
Choose a tag to compare
0.20.0 Pre-release
Pre-release

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

03 Dec 03:58
Compare
Choose a tag to compare
0.19.0 Pre-release
Pre-release

Breaking

  • Removed MongoDbConnection.FromConfig (ac77903) (If an application needs it, it could implement its own helper to get the value and pass it into FromConnectionString)

Other

  • Standardising the validity checks for entity type mapping (80dd893) (Addresses a few edge cases around certain types like BsonValue)
  • Only use reference equality in EntityCollection (bb711c2) (See #118 for details)

0.18.1

29 Oct 01:06
Compare
Choose a tag to compare
0.18.1 Pre-release
Pre-release
  • Easier access to MongoDbSet internals (e333bdf)
  • EntityWriterPipeline to use hashset internally (9bafa22)

0.18.0

20 Oct 07:24
Compare
Choose a tag to compare
0.18.0 Pre-release
Pre-release

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

07 Oct 04:26
1b81349
Compare
Choose a tag to compare
0.17.0 Pre-release
Pre-release

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