Skip to content

Releases: tayloraswift/swift-mongodb

0.29.2

16 Jan 00:58
3c45a43
Compare
Choose a tag to compare

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

15 Jan 02:01
bc7dd00
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.29.0...0.29.1

0.29.0

14 Jan 01:44
Compare
Choose a tag to compare

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

03 Jul 20:36
a8db7ed
Compare
Choose a tag to compare
  • 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

0.2.4

01 Jul 23:51
d076a7c
Compare
Choose a tag to compare

this release includes improved support for inspecting raw BSON, and adds support for the generic Mongo.Explain command.

0.2.0

30 May 23:26
b472af5
Compare
Choose a tag to compare

this release adds support for the following MongoDB commands:

  • Mongo.CreateIndexes
  • Mongo.Delete
  • Mongo.Drop
  • Mongo.DropIndexes
  • Mongo.FindAndModify
  • Mongo.RenameCollection

0.1.20

28 May 22:07
c1cf74f
Compare
Choose a tag to compare

this release adds support for the MongoDB update command.

0.1.19

27 May 01:27
9bf8c4c
Compare
Choose a tag to compare

this release suppresses some compiler warnings on the 5.8 toolchain.

0.1.18

15 May 22:47
cb6a62c
Compare
Choose a tag to compare

this release bumps the swift-nio dependency to 2.53.0.

0.1.17

14 May 22:43
dcbb016
Compare
Choose a tag to compare
  • changes the semantics of Int to use a variable-length (32-bit or 64-bit) BSON encoding. this change also affects type inference of BSON.AnyValue<Storage> integer literals.

  • updates documentation to emphasize that Int32 and Int64 are the dedicated standard library types with fixed-length BSON encodings.

  • generalizes the BSON.ListShape assertion API to BSON.Shape, and enables it for BSON.BinaryView<Storage>.

  • adds API for asserting BSON binary array subtypes.