MongoDB.Entities Versions Save

A data access library for MongoDB with an elegant api, LINQ support and built-in entity relationship management

v23.1.0

2 months ago

IMPROVEMENTS

  • upgrade mongodb driver to v2.24
  • minor internal refactors

v23.0.1

4 months ago

IMPROVEMENTS

  • upgrade mongodb driver to v2.23

v23

5 months ago

NEW

ability to use any type for primary key property and ability to name it based on mongodb conventions when implementing IEntity interface.

NOTE: due to a technical constraint, only the following primary key types are supported with referenced relationships.

  • string
  • long
  • ObjectId

see #195 for more info.

IMPROVEMENTS

  • Entity.ID property has been made non-nullable #210
  • support for dictionary based index keys #206
  • upgrade mongodb driver to v2.22
  • various internal code refactors and optimizations

BREAKING CHANGES

  • Many<T> is now Many<TChild,TParent> when defining referenced relationships. i.e. you now need to specify the type of the parent class that contains the property.
  • IEntity.GenerateNewID() & IEntity.HasDefaultID() methods must be implemented by entities if implementing IEntity directly.

v22.1

8 months ago

IMPROVEMENTS

  • support for dictionary based index keys #206
  • upgrade mongodb driver to v2.21.0

v22.0.0

11 months ago

BREAKING CHANGES

  • upgrade TFM to netstandard2.1 (.NET Framework is no longer supported)
  • enable nullable reference type support #194
  • remove implicit operators from Date,FuzzyString & One<T> types due to incompatibility with LINQ3

FIXES

  • fix string concatenation issue with LINQ3 and FuzzyString and Date serializers

IMPROVEMENTS

  • make watcher compatible with linq v3 engine
  • add parameterless ctor to Coordinates2D class #201
  • upgrade mongodb driver to v2.19.2

v21.0.2

1 year ago

CHANGELOG

  • upgrade mongodb driver to v2.19
  • update watcher to be compatible with v3 linq engine

v21.0.1

1 year ago

CHANGELOG

IMPORTANT: if upgrading from v20, do test your queries before pushing v21 to production. there may be breaking changes that can result from the switch to LINQ3 provider. for ex: the [-1] magic index no longer translates to $ operator and you must update your queries to use the linq extension method .FirstMatchingElement() if previously was using [-1] in updates.

  • switched to LINQ3 translation engine #info
  • new SaveOnlyAsync and SaveExceptAsync methods that accept an IEnumerable<string> of property names #180
  • deprecate Many<T>.ParentsQueryable() method due to incompatibility with LINQ3
  • enable sourcelink/symbol packages
  • upgrade mongo driver to latest
  • upgrade release pipeline to .net7.0

v20.26.5

1 year ago

NO BREAKING CHANGES

CHANGELOG

  • upgrade mongo driver to latest

v20.26.3

2 years ago

NO BREAKING CHANGES

CHANGELOG

  • upgrade mongo driver to latest

v20.26.2

2 years ago

NO BREAKING CHANGES

CHANGELOG

  • hotfix for bulk updates not working with .ModifyWith(entity)
  • upgrade dependencies to latest