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:
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
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.CreateIndexes
Mongo.Delete
Mongo.Drop
Mongo.DropIndexes
Mongo.FindAndModify
Mongo.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
Int
to 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
Int32
andInt64
are the dedicated standard library types with fixed-length BSON encodings. -
generalizes the
BSON.ListShape
assertion API toBSON.Shape
, and enables it forBSON.BinaryView<Storage>
. -
adds API for asserting BSON binary array subtypes.