Releases: orlandos-nl/BSON
Releases · orlandos-nl/BSON
3.8.0
- More performance improvements
- More valueconvertibles
- Lowercased the first letter of enum cases
3.7.2
- Fixed BSON Value comparison in some specific scenarios
- Added small performance improvements to BSON's Unit Tests thanks to @colemancda
- Fixed a data race in ObjectId
- Made ObjectId hashable
3.7.1
Fixed a bug that caused the internal element positions cache to not update when a subdocument is changed.
3.6.1
Output no unneeded whitespace in JSON
3.6.0
- Use Swift snapshot
08-18
- Added
Document.append(contentsOf: )
- Better implementation of the
==
operator for Document
s
- Added
Document.type(of: )
to check the type of a BSON element. This is faster than instantiating all the element data.
3.5.6
- More Document performance improvement
- More ObjectId instantiation performance
- HexString performance
3.5.5
- Added
makeDocument()
to a sequence of Documents, like [Document]
, to convert it to a single array document
- Improved the JSON date parser (ISO8601)
- Added additional subscripts for
Document
so you can let val = doc["key", "subKey", "subKeyKey"]
- Meow, so you can now
let meow = Meow()
😼
- Added
Document.flatten()
and Document.flattened()
- Fixed a bug that would crash BSON after generating 32767 ObjectId's
3.5.4
- Improved performance of
document.count
- Added
+
and +=
operators to combine documents. Ha, that's something even Dictionary
doesn't have.
3.5.3
HUGE performance increase for large documents