Releases: mongodb/bson-ruby
4.9.1
4.9.0
The gems for this release are not signed. Please use version 4.9.1 instead.
This minor release adds several validations when decoding BSON.
Some decodable but technically invalid documents will be rejected. Some documents that are not decodable will be flagged as such earlier in the decoding process.
4.8.2
This patch release fixes the following issues related to Extended JSON (de)serialization:
4.8.1
This patch release fixes two issues discovered in the 4.8.0 release:
4.8.0
This release of bson-ruby adds Extended JSON support for reading and writing.
4.7.1
This patch release in the 4.7 series fixes Windows build. The following tickets have been closed:
4.7.0
This minor release of BSON Ruby library fixes an issue with BSON::Binary serialization when the string given to the Binary constructor was frozen. It also adds experimental methods to convert data to and from the legacy UUID representations.
The following tickets have been resolved:
4.6.0
This minor release in the 4.x series improves reliability and diagnostics of the library when serializing data to BSON, improves edge case handling and expands user documentation around data serialization.
The following notable changes were made:
- RUBY-1953 Clarify exception message when hash key serialization to bson fails
- RUBY-1959 Specify exact reason in "invalid utf-8" exceptions
- RUBY-1978 Consistently handle data not in UTF-8 when writing strings/symbols
- RUBY-1977 Document and repair edge cases in ByteBuffer
- RUBY-1957 ByteBuffer#put_cstring truncates symbols at first null byte
- RUBY-1960 Add RB_GC_GUARD calls to bson extension
- RUBY-1979 Document return value of []= caveat
As of this release, bson-ruby requires Ruby 2.3+ and JRuby 9.2+ which is equivalent to the current driver requirements.
4.5.0
This release contains two improvements to the BSON implementation in Ruby:
4.4.2
This release fixes a regression in 4.4.1 release:
This release has also been tested on Ruby 2.6.