Skip to content

Releases: TurnerSoftware/MongoFramework

0.29.0

08 Jun 12:06
e0a3d2e
Compare
Choose a tag to compare
0.29.0 Pre-release
Pre-release

What's Changed

Features and Improvements

  • Support configuring client settings by @Turnerj in #359
    There are new MongoDbConnection static methods that take an action to allow modifying the internal MongoClientSettings

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

01 Mar 14:31
b7b881f
Compare
Choose a tag to compare
0.28.1 Pre-release
Pre-release

What's Changed

Bug Fixes

  • Fix incorrect key lookup on WhereIdMatches by @Turnerj in #343

Full Changelog: 0.28.0...0.28.1

0.28.0

27 Feb 12:08
Compare
Choose a tag to compare
0.28.0 Pre-release
Pre-release

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

Dependency Updates

Other Changes

Full Changelog: 0.27.0...0.28.0

0.27.0

01 Feb 13:48
Compare
Choose a tag to compare
0.27.0 Pre-release
Pre-release

Changes

Primarily a maintenance release, bumping the versions of most dependencies - internal and external ones.

🧰 Maintenance

👨🏼‍💻 Contributors

@Turnerj, @bobbyangers, @dependabot and @dependabot[bot]

0.26.1

05 Nov 12:51
Compare
Choose a tag to compare
0.26.1 Pre-release
Pre-release

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

👨🏼‍💻 Contributors

@Turnerj, @dependabot and @dependabot[bot]

0.26.0

21 Oct 08:09
Compare
Choose a tag to compare
0.26.0 Pre-release
Pre-release

Changes

Primarily a maintenance release, bumping the versions of most dependencies that updated over the last several months.

🚀 Features

🧰 Maintenance

👨🏼‍💻 Contributors

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

0.25.0

18 Dec 23:29
cc45228
Compare
Choose a tag to compare
0.25.0 Pre-release
Pre-release

Changes

🚀 Features

👨🏼‍💻 Contributors

@JohnCampionJr and @Turnerj

0.24.0

17 Dec 04:31
Compare
Choose a tag to compare
0.24.0 Pre-release
Pre-release

Changes

🚀 Features

🐛 Bug Fixes

  • Add support for multiple indexes on a property by @Turnerj (#209)
  • Fixed typo with IsTenantExclusive property on the Index attribute

🧰 Maintenance

👨🏼‍💻 Contributors

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

0.23.2

07 Nov 02:04
c4f595c
Compare
Choose a tag to compare
0.23.2 Pre-release
Pre-release

🐛 Bug Fixes

🧰 Maintenance

👨🏼‍💻 Contributors

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

0.23.1

31 Oct 02:29
b5b9e8c
Compare
Choose a tag to compare
0.23.1 Pre-release
Pre-release

Changes

  • Removed unused components from AppVeyor build by @Turnerj (#188)

🚀 Features

🧰 Maintenance

👨🏼‍💻 Contributors

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