Skip to content

0.3.0

Compare
Choose a tag to compare
@tayloraswift tayloraswift released this 03 Jul 20:36
· 242 commits to master since this release
a8db7ed
  • greatly simplifies the BSON encoding protocol hierarchy:

    • BSONWeakEncodable no longer exists, and has been folded into BSONEncodable
    • MongoExpressionEncodable no longer exists; instead the expression operator API has been renamed from init to expr to aid typechecking without the need for a parallel encoding protocol
    • Mongo.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 to MongoKeyPathEncodable