Bot releases are visible (Hide)
The MongoDB Swift driver team is pleased to announce the 3.1.0 release of SwiftBSON.
With this release, the library now officially supports use on iOS versions 13+.
A full list of tickets included in this release can be found here.
Published by patrickfreed over 3 years ago
The MongoDB Swift driver team is pleased to announce the 3.0.1 release of SwiftBSON.
This release contains fixes for the following bugs that were included in the 3.0.0 release:
Any existing applications depending on the Swift driver can update to this version of SwiftBSON simply by running swift package update
without any modifications to the their Package.swift
s. Any new applications depending on the driver will automatically pull this version in.
Published by kmahar over 3 years ago
The MongoDB Swift driver team is pleased to announce the 3.0.0 release of SwiftBSON.
This release is technically a version 3.0 as this GitHub repository previously contained Swift bindings for libbson, a BSON library written in C. However, it is a 1.0 in spirit, as we have written a brand-new BSON library from scratch entirely in Swift.
While the internals are all new, this library provides the same familiar API as the C-based one that previously resided directly in our Swift driver’s codebase, with the addition of a couple new features:
ExtendedJSONEncoder
and ExtendedJSONDecoder
, which support converting between your custom Swift types and extended JSON. See our new JSON Interop Guide for more details.BSONDocument
, equalsIgnoreKeyOrder
, which returns true if two documents contain the same (key, value) pairs in any order. See the documentation for more details.The Swift driver will switch to using this library in our upcoming 1.1 release. You can view the full API documentation here.
A special thanks to @nbbeeken and @nspektor for their hard work on this library!