All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- BREAKING: Re-organized the public api surface to provide a cleaner documentation page
- Expose
bulk_update
function to the nativemongodb::Collection
via an Extension TraitCollectionExt
- Fixed a typo in the
$subtract
operator
- Fixed an issue with selection_criteria on the
Repository::bulk_update
function
- BREAKING: Update
mongodb
to2.x
-
BREAKING:
Lookup
,Map
andCond
operators are now strongly typed -
field!
macro now expand to&'static str
even for nested fields
-
pipeline!
macro to conveniently build Vec of pipeline stages. Allow to more ergonomically use the new strongly typed operators (see changed) -
Added
LookupPipeline
operator, a strongly typed version of the$lookup
operator using pipeline
field!
macro can insert$
signs by prefixing with@
(ie:field!(@foo in Bar)
)
- Support to string operator $replaceOne and $replaceAll