Releases: tayloraswift/swift-mongodb
0.29.2
This release makes the package compile with SwiftNIO ≥ 2.78.0, which introduced a number of concurrency-related changes.
Full Changelog: 0.29.1...0.29.2
0.29.1
0.29.0
This release removes the NIOEventLoopGroupProvider-based bootstrap fields, and replaces them with any EventLoopGroup.
It’s a very-breaking change, but the migration is simple - just get rid of the .shared(...) wrapper.
0.3.0
-
greatly simplifies the BSON encoding protocol hierarchy:
BSONWeakEncodableno longer exists, and has been folded intoBSONEncodableMongoExpressionEncodableno longer exists; instead the expression operator API has been renamed frominittoexprto aid typechecking without the need for a parallel encoding protocolMongo.ExpressionListand its encoder no longer exist
-
adds a protocol
MongoExpressionVariablewhich provides useful API for types modeling expression variables (e.g.$$self) -
adds a few missing expression operators
-
renamed
MongoFieldPathEncodabletoMongoKeyPathEncodable
0.2.4
this release includes improved support for inspecting raw BSON, and adds support for the generic Mongo.Explain command.
0.2.0
this release adds support for the following MongoDB commands:
Mongo.CreateIndexesMongo.DeleteMongo.DropMongo.DropIndexesMongo.FindAndModifyMongo.RenameCollection
0.1.20
this release adds support for the MongoDB update command.
0.1.19
this release suppresses some compiler warnings on the 5.8 toolchain.
0.1.18
this release bumps the swift-nio dependency to 2.53.0.
0.1.17
-
changes the semantics of
Intto use a variable-length (32-bit or 64-bit) BSON encoding. this change also affects type inference ofBSON.AnyValue<Storage>integer literals. -
updates documentation to emphasize that
Int32andInt64are the dedicated standard library types with fixed-length BSON encodings. -
generalizes the
BSON.ListShapeassertion API toBSON.Shape, and enables it forBSON.BinaryView<Storage>. -
adds API for asserting BSON binary array subtypes.