Releases: TurnerSoftware/MongoFramework
0.29.0
What's Changed
Features and Improvements
- Support configuring client settings by @Turnerj in #359
There are newMongoDbConnection
static methods that take an action to allow modifying the internalMongoClientSettings
Bug Fixes
- Allow KeyGenerator to be optional by @Turnerj in #350
When there wasn't a key generator available for certain document ID types, the mapping system would crash.
Dependency Updates
- Update dependency MongoDB.Driver to v2.19.1 by @renovate in #345
- Update codecov/codecov-action action to v3.1.2 by @renovate in #351
- Update codecov/codecov-action action to v3.1.3 by @renovate in #352
- Update codecov/codecov-action action to v3.1.4 by @renovate in #353
- Update dependency MongoDB.Driver to v2.19.2 by @renovate in #354
- Update dependency MiniProfiler.Shared to v4.3.8 by @renovate in #355
Full Changelog: 0.28.1...0.29.0
0.28.1
0.28.0
Major changes to the internal mapping system for MongoFramework to support a fluent mapping system. This new system will now power the existing attribute mapping system internally.
As part of the change, breaking changes have occurred to a number of infrastructure-level types and systems. Contexts, DB sets and other common types are unchanged or backwards compatible however types more strictly related to entity mapping or entity definitions have had a major overhaul.
To use the new fluent mapping builder, you can override void OnConfigureMapping(MappingBuilder mappingBuilder)
on your DB context, using the mapping builder in a similar way to you would with Entity Framework. For more information, view the MongoFramework readme.
If you encounter any new mapping or serialization issues with the update, please raise an issue on GitHub.
Additionally, an update to the MongoDB driver (v2.19.0) has been added to MongoFramework. This version of the driver makes default a new internal LINQ implementation called "LINQ3". However due to the low-level integration between the MongoDB driver and MongoFramework, LINQ3 is currently not supported.
When you create a new MongoDbConnection
, MongoFramework will internally tell the driver to use the previous LINQ implementation for now. This allows use of the newer driver for the time being until MongoFramework is updated for LINQ3 support. This internal setting via the MongoDbConnection
affects only the instance of the MongoClient
that is being directly used.
All Changes
⚠ Breaking Changes
- Split mapping of EntityDefinition and BsonClassMap by @Turnerj in #335
- Mapping Builder Support by @Turnerj in #336
Dependency Updates
- Bump System.Linq.Async from 5.1.0 to 6.0.1 by @dependabot in #280
- Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0 by @dependabot in #283
- Bump Moq from 4.16.1 to 4.17.1 by @dependabot in #284
- Bump coverlet.collector from 3.1.1 to 3.1.2 by @dependabot in #282
- Bump Moq from 4.17.1 to 4.17.2 by @dependabot in #285
- Bump MongoDB.Driver from 2.14.1 to 2.15.0 by @dependabot in #287
- Bump MSTest.TestFramework from 2.2.8 to 2.2.10 by @dependabot in #290
- Bump MSTest.TestAdapter from 2.2.8 to 2.2.10 by @dependabot in #291
- Bump MongoDB.Driver from 2.15.0 to 2.15.1 by @dependabot in #293
- Bump MongoDB.Driver from 2.15.1 to 2.16.0 by @dependabot in #298
- Bump MongoDB.Driver from 2.16.0 to 2.16.1 by @dependabot in #299
- Bump Moq from 4.17.2 to 4.18.1 by @dependabot in #296
- Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 by @dependabot in #294
- Bump MongoDB.Driver from 2.16.1 to 2.17.0 by @dependabot in #300
- Bump Moq from 4.18.1 to 4.18.2 by @dependabot in #302
- Bump MongoDB.Driver from 2.17.0 to 2.17.1 by @dependabot in #301
- Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 by @dependabot in #304
- Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.2 to 1.0.3 by @dependabot in #305
- Bump BenchmarkDotNet from 0.13.1 to 0.13.2 by @dependabot in #306
- Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 by @dependabot in #307
- Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 by @dependabot in #309
- Bump MongoDB.Driver from 2.17.1 to 2.18.0 by @dependabot in #310
- Bump System.Configuration.ConfigurationManager from 6.0.0 to 6.0.1 by @dependabot in #308
- Bump coverlet.collector from 3.1.2 to 3.2.0 by @dependabot in #311
- Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 by @dependabot in #314
- Bump Moq from 4.18.2 to 4.18.3 by @dependabot in #315
- Bump MSTest.TestFramework from 2.2.10 to 3.0.1 by @dependabot in #322
- Bump MSTest.TestAdapter from 2.2.10 to 3.0.1 by @dependabot in #321
- Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 by @dependabot in #320
- Bump System.Configuration.ConfigurationManager from 6.0.1 to 7.0.0 by @dependabot in #313
- Bump Microsoft.Bcl.AsyncInterfaces from 6.0.0 to 7.0.0 by @dependabot in #312
- Update actions/upload-artifact action to v3 by @renovate in #332
- Update codecov/codecov-action action to v3 by @renovate in #333
- Update dependency MongoDB.Driver to v2.19.0 by @renovate in #337
Other Changes
- Fix MacOS CI Builds by @Turnerj in #303
- Update how MongoDB installed for CI Builds by @Turnerj in #323
- Configure Renovate by @renovate in #325
- Update codecov/codecov-action action to v1.5.2 by @renovate in #326
- Update actions/checkout action to v3 by @renovate in #327
- Update actions/download-artifact action to v3 by @renovate in #329
- Update actions/setup-dotnet action to v3 by @renovate in #330
Full Changelog: 0.27.0...0.28.0
0.27.0
Changes
Primarily a maintenance release, bumping the versions of most dependencies - internal and external ones.
- Cleanup usings by @bobbyangers (#277)
- update dotnet6 by @bobbyangers (#273)
🧰 Maintenance
- Bump coverlet.collector from 3.1.0 to 3.1.1 by @dependabot (#279)
- Bump MongoDB.Driver from 2.14.0 to 2.14.1 by @dependabot (#270)
- Bump MSTest.TestAdapter from 2.2.7 to 2.2.8 by @dependabot (#267)
- Bump MongoDB.Driver from 2.13.3 to 2.14.0 by @dependabot (#269)
- Bump MongoDB.Driver from 2.13.2 to 2.13.3 by @dependabot (#266)
- Bump MSTest.TestFramework from 2.2.7 to 2.2.8 by @dependabot (#268)
- Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 by @dependabot (#265)
👨🏼💻 Contributors
@Turnerj, @bobbyangers, @dependabot and @dependabot[bot]
0.26.1
Changes
This fixes a subtle bug with entity mapping where a BsonClassMap
is registered without an entity definition. Basically - this stops a particular exception being thrown under very particular circumstances (a163b11)
🧰 Maintenance
- Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 by @dependabot (#260)
👨🏼💻 Contributors
@Turnerj, @dependabot and @dependabot[bot]
0.26.0
Changes
Primarily a maintenance release, bumping the versions of most dependencies that updated over the last several months.
🚀 Features
🧰 Maintenance
- Bump MongoDB.Driver from 2.13.1 to 2.13.2 by @dependabot (#257)
- Bump MSTest.TestFramework from 2.2.6 to 2.2.7 by @dependabot (#254)
- Bump MSTest.TestAdapter from 2.2.6 to 2.2.7 by @dependabot (#255)
- Bump coverlet.collector from 3.0.3 to 3.1.0 by @dependabot (#245)
- Bump MSTest.TestAdapter from 2.2.5 to 2.2.6 by @dependabot (#252)
- Bump MSTest.TestFramework from 2.2.5 to 2.2.6 by @dependabot (#251)
- Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 by @dependabot (#248)
- Bump BenchmarkDotNet from 0.13.0 to 0.13.1 by @dependabot (#247)
- Bump MongoDB.Driver from 2.12.4 to 2.13.1 by @dependabot (#246)
- Bump MSTest.TestFramework from 2.2.4 to 2.2.5 by @dependabot (#242)
- Bump MSTest.TestAdapter from 2.2.4 to 2.2.5 by @dependabot (#243)
- Upgrade to GitHub-native Dependabot by @dependabot-preview (#232)
- Bump MongoDB.Driver from 2.12.3 to 2.12.4 by @dependabot-preview (#241)
- Bump MSTest.TestAdapter from 2.2.3 to 2.2.4 by @dependabot-preview (#239)
- Bump MSTest.TestFramework from 2.2.3 to 2.2.4 by @dependabot-preview (#238)
- Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0 by @dependabot-preview (#237)
- Bump BenchmarkDotNet from 0.12.1 to 0.13.0 by @dependabot-preview (#236)
- Bump MongoDB.Driver from 2.12.2 to 2.12.3 by @dependabot-preview (#233)
- Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2 by @dependabot-preview (#235)
- Bump MongoDB.Driver from 2.12.1 to 2.12.2 by @dependabot-preview (#231)
- Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 by @dependabot-preview (#230)
- Bump MongoDB.Driver from 2.12.0 to 2.12.1 by @dependabot-preview (#229)
- Bump MSTest.TestFramework from 2.2.1 to 2.2.3 by @dependabot-preview (#227)
- Bump MSTest.TestAdapter from 2.2.1 to 2.2.3 by @dependabot-preview (#228)
- Bump Moq from 4.16.0 to 4.16.1 by @dependabot-preview (#220)
- Bump MSTest.TestAdapter from 2.1.2 to 2.2.1 by @dependabot-preview (#222)
- Bump MSTest.TestFramework from 2.1.2 to 2.2.1 by @dependabot-preview (#223)
- Bump MongoDB.Driver from 2.11.6 to 2.12.0 by @dependabot-preview (#224)
- Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 by @dependabot-preview (#219)
- Bump coverlet.collector from 3.0.2 to 3.0.3 by @dependabot-preview (#218)
- Bump coverlet.collector from 1.3.0 to 3.0.2 by @dependabot-preview (#217)
- Bump MongoDB.Driver from 2.11.5 to 2.11.6 by @dependabot-preview (#216)
- Bump Moq from 4.15.2 to 4.16.0 by @dependabot-preview (#214)
👨🏼💻 Contributors
@Turnerj, @dependabot, @dependabot-preview, @dependabot-preview[bot] and @dependabot[bot]
0.25.0
0.24.0
Changes
🚀 Features
- Add net 5.0 as a target, with updated dependencies by @JohnCampionJr (#203)
- Added missing Remove methods to interface by @JohnCampionJr (#200)
🐛 Bug Fixes
- Add support for multiple indexes on a property by @Turnerj (#209)
- Fixed typo with IsTenantExclusive property on the Index attribute
🧰 Maintenance
- Bump MiniProfiler.Shared from 4.2.1 to 4.2.22 by @dependabot-preview (#207)
- Bump MongoDB.Driver from 2.11.4 to 2.11.5 by @dependabot-preview (#206)
- Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3 by @dependabot-preview (#205)
- Bump Moq from 4.15.1 to 4.15.2 by @dependabot-preview (#204)
- Bump Moq from 4.14.7 to 4.15.1 by @dependabot-preview (#197)
- Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0 by @dependabot-preview (#193)
👨🏼💻 Contributors
@JohnCampionJr, @Turnerj, @dependabot-preview and @dependabot-preview[bot]
0.23.2
🐛 Bug Fixes
- Fix Async change tracking not working by @JohnCampionJr (#192)
🧰 Maintenance
- Bump MongoDB.Driver from 2.11.3 to 2.11.4 by @dependabot-preview (#190)
👨🏼💻 Contributors
@JohnCampionJr, @Turnerj, @dependabot-preview and @dependabot-preview[bot]
0.23.1
Changes
🚀 Features
- Change private Url setter to protected by @JohnCampionJr (#189)
🧰 Maintenance
- Bump MongoDB.Driver from 2.11.2 to 2.11.3 by @dependabot-preview (#187)
👨🏼💻 Contributors
@JohnCampionJr, @Turnerj, @dependabot-preview and @dependabot-preview[bot]