Skip to content

Releases: orlandos-nl/BSON

3.7.2

26 Sep 11:43
Compare
Choose a tag to compare
  • 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

13 Sep 10:53
Compare
Choose a tag to compare

Fixed a bug that caused the internal element positions cache to not update when a subdocument is changed.

3.7.0

09 Sep 16:41
Compare
Choose a tag to compare

Swift GM

3.6.1

02 Sep 09:22
Compare
Choose a tag to compare

Output no unneeded whitespace in JSON

3.6.0

01 Sep 13:17
Compare
Choose a tag to compare
  • Use Swift snapshot 08-18
  • Added Document.append(contentsOf: )
  • Better implementation of the == operator for Documents
  • Added Document.type(of: ) to check the type of a BSON element. This is faster than instantiating all the element data.

3.5.6

18 Aug 13:22
Compare
Choose a tag to compare
  • More Document performance improvement
  • More ObjectId instantiation performance
  • HexString performance

3.5.5

17 Aug 13:11
Compare
Choose a tag to compare
  • 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

16 Aug 09:21
Compare
Choose a tag to compare
  • Improved performance of document.count
  • Added + and += operators to combine documents. Ha, that's something even Dictionary doesn't have.

3.5.3

16 Aug 09:20
Compare
Choose a tag to compare

HUGE performance increase for large documents

ISO8601 fix

11 Aug 00:15
Compare
Choose a tag to compare
  • Cross-platform ISO8601 parsing