Skip to content

Releases: dj-nitehawk/MongoDB.Entities

v23.1.1 Release

15 Aug 06:21
Compare
Choose a tag to compare

IMPROVEMENTS

  • upgrade mongodb driver to v2.28

v23.1.0 Release

01 Mar 12:44
Compare
Choose a tag to compare

IMPROVEMENTS

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

v23.0.1 Release

14 Dec 04:05
Compare
Choose a tag to compare

IMPROVEMENTS

  • upgrade mongodb driver to v2.23

v23 Release

29 Nov 07:14
Compare
Choose a tag to compare

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 Release

15 Aug 06:48
Compare
Choose a tag to compare

IMPROVEMENTS

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

v22.0 Release

27 May 09:39
Compare
Choose a tag to compare

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 Release

30 Jan 13:53
Compare
Choose a tag to compare

CHANGELOG

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

v21.0.1 Release

18 Oct 17:42
Compare
Choose a tag to compare

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 Release

25 Jul 07:30
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • upgrade mongo driver to latest

v20.26.3 Release

17 Mar 08:04
Compare
Choose a tag to compare

NO BREAKING CHANGES

CHANGELOG

  • upgrade mongo driver to latest