0.3.0
-
greatly simplifies the BSON encoding protocol hierarchy:
BSONWeakEncodable
no longer exists, and has been folded intoBSONEncodable
MongoExpressionEncodable
no longer exists; instead the expression operator API has been renamed frominit
toexpr
to aid typechecking without the need for a parallel encoding protocolMongo.ExpressionList
and its encoder no longer exist
-
adds a protocol
MongoExpressionVariable
which provides useful API for types modeling expression variables (e.g.$$self
) -
adds a few missing expression operators
-
renamed
MongoFieldPathEncodable
toMongoKeyPathEncodable