Releases: tayloraswift/swift-bson
1.0.0
0.9.0
This release will be the last “experimental” release before BSON 1.0. It
- purges the library of all
@available(*, deprecated)
API except those motivated by diagnostic purposes - removes or corrects as much false or obsolete documentation as I could find
- removes confusingly named types:
BSON.OptionalDecoder
→BSON.FieldAccessor
,BSON.TraceableDecoder
→BSON.TracingDecoder
- standardizes the style of the library’s error descriptions
- moves error descriptions to the
BSON
module to keep the coreBSONABI
module as small as possible
Full Changelog: 0.8.0...0.9.0
0.8.0
As this library has evolved over the years, it goes through cycles of accumulating a lot of “convenience” API which overlaps with itself and makes it harder to understand what components are responsible for what. This release is a transitional release which deprecates (or moves to other ancillary modules) much of the API sugar that is no longer pulling its semantic weight.
Full Changelog: 0.7.1...0.8.0
0.7.1
This release introduces a nonallocating BSON.ListDecoder_
intended to eventually replace the more-eager BSON.ListDecoder
type.
Full Changelog: 0.7.0...0.7.1
0.7.0
This release adds first-class abstractions for serializing Dictionary
and Set
, and adds a BSONEncodable
conformance for Substring
, and adds missing conformances for Int8
, Int16
, UInt8
, and UInt16
.
It also deprecates several APIs and conformances made obsolete by the new unordered collection views Dictionary.UnorderedItems
and Set.UnorderedElements
.
Full Changelog: 0.6.1...0.7.0
0.6.1
This is a documentation-only release, which reorganizes the library’s tutorials, and adds a recipe page to help you get started with BSON.
0.6.0
This release updates the swift-unixtime dependency to 0.2.0, which is itself a minor version bump because… semver.
0.5.0
This release reworks the BSONArray{En, De}codable
protocols to operate on the BSON.BinaryArray
level rather than the BSON.BinaryBuffer
level. It also adds BSON.BinaryPackable
conformances to Float
and Double
.
Full Changelog: 0.4.0...0.5.0
0.4.0
Removes the BSON_OrderedCollections
overlay module, as it is running into a SwiftPM bug and preventing documentation from being added to this library :(
Drops the underscore from the BSON._BinaryArray
type. (The type formerly known as BSON.BinaryArray
is now named BSON.BinaryBuffer
.)
Adds tutorials to the library.
Full Changelog: 0.3.1...0.4.0
0.3.1
Adds BSON.BinaryPackable
conformances to the ISO.Country
and ISO.Macrolanguage
types.
Full Changelog: 0.3.0...0.3.1