Skip to content

Releases: orlandos-nl/BSON

5.2.3

18 Oct 18:59
Compare
Choose a tag to compare
  • Improved caching the count

5.2.2

17 Oct 11:15
Compare
Choose a tag to compare
  • Fixed performance issues for count operations

BSON ended up re-indexing documents when the count was being read

  • Fixed BSONEncoder refusing the max and min value for an integer

5.2.1

04 Oct 11:43
Compare
Choose a tag to compare
  • Fixed a very obscure bug that would sometimes cause misinterpreting "primitive" BSON values (like Double, Int) when the backing storage of the array containing the bytes of the Document is not contiguous
  • Added a range check in the Int initializer, to prevent crashes when converting a Double whose value falls outside the Int.min-Int.max range

5.2.0

24 Sep 13:26
Compare
Choose a tag to compare

Swift 4 codable support. Swift 3.0 and 3.1 are still supported, too, but without Codable.

5.1.5

11 Sep 10:52
Compare
Choose a tag to compare
  • Fixed the internal cache not updating properly on append

5.1.4

20 Jun 15:09
Compare
Choose a tag to compare
  • Fixed index mutations affecting other documents

4.1.5

20 Jun 15:06
Compare
Choose a tag to compare

Fixed a very specific ExtendedJSON serialization bug

5.1.3

16 Jun 15:51
Compare
Choose a tag to compare
  • Better subdocument equation

5.1.2

16 Jun 10:54
Compare
Choose a tag to compare

Fixed creation of documents from an arrayslice with an offset of startIndex > 0

5.1.1

14 Jun 05:26
Compare
Choose a tag to compare
  • Fixed DictionaryValue, it's been broken for months apparently.
  • Fixed overall correctness in validation (too permissive)
  • Fixed array validation (not permissive enough, arrays with the key "username" make sense apparently)
  • Complete unit test suite for BSON's Spec