Releases: dj-nitehawk/MongoDB.Entities
Releases · dj-nitehawk/MongoDB.Entities
v23.1.1 Release
IMPROVEMENTS
- upgrade mongodb driver to v2.28
v23.1.0 Release
IMPROVEMENTS
- upgrade mongodb driver to v2.24
- minor internal refactors
v23.0.1 Release
IMPROVEMENTS
- upgrade mongodb driver to v2.23
v23 Release
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 nowMany<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 implementingIEntity
directly.
v22.1 Release
IMPROVEMENTS
- support for dictionary based index keys #206
- upgrade mongodb driver to v2.21.0
v22.0 Release
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
andDate
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
CHANGELOG
- upgrade mongodb driver to v2.19
- update watcher to be compatible with v3 linq engine
v21.0.1 Release
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
andSaveExceptAsync
methods that accept anIEnumerable<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
NO BREAKING CHANGES
CHANGELOG
- upgrade mongo driver to latest
v20.26.3 Release
NO BREAKING CHANGES
CHANGELOG
- upgrade mongo driver to latest