Releases: mongodb/bson-ruby
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.
4.4.1
This is a minor feature and bugfix release of the Ruby BSON library. It contains the following notable changes:
- Testing of bson-ruby on JRuby has been reinstated (though JRuby support remains on a best-effort basis).
- RUBY-1669 Symbols are now serialized in C/Java extensions
- RUBY-1670 Integers are now serialized in C/Java extenions
- RUBY-1662 Added equality comparison methods to Int32/Int64 BSON classes
- RUBY-1529 ActiveSupport::TimeWithZone objects are now correctly serialized
- RUBY-1411 Document#fetch usage with symbols fixed
- RUBY-1322 Document#slice on Rails 5.2+ fixed
Version 4.4.0 has been skipped due to a certificate issue.
4.3.0
Please note that we are no longer testing the bson library with JRuby on our continuous integration testing platform. We do, however, continue to test with JRuby on TravisCI and encourage users to still report any issues using JRuby.
This release contains all changes from the 4.3.0.beta version, plus the following:
- Apply symbol-string key conversion to
BSON::Document#dig
too (@stulentsev) - typos; copy fixes for ruby bson 4 tutorial (@tonyta)
4.3.0.beta
This is a beta release of the upcoming 4.3.0 version.
The changes include: