Skip to content

Releases: mongodb/bson-ruby

4.4.1

17 Jan 22:47

Choose a tag to compare

This is a minor feature and bugfix release of the Ruby BSON library. It contains the following notable changes:

Version 4.4.0 has been skipped due to a certificate issue.

4.3.0

17 Jan 14:48

Choose a tag to compare

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

20 Sep 11:27

Choose a tag to compare

4.3.0.beta Pre-release
Pre-release

This is a beta release of the upcoming 4.3.0 version.
The changes include:

  • RUBY-1144 Implement serialization and deserialization of arrays and documents in the c extension. Thanks to @fcheung for his fantastic work on this!
  • Implement comparison of BSON::Timestamp objects.
  • Ensure that ByteBuf returns length when initialized with a String on JRuby.

4.2.2

03 Jul 12:20

Choose a tag to compare

  • RUBY-1192 Update Int64 test so that test integer is within Fixnum range on both 64-bit and 32-bit architectures. Update test to avoid warnings on MRI >= 2.4.1.
  • Include JSON module in Decimal128 so #as_json is used when #to_json is called.
  • RUBY-1221 Ensure that same data is set for ObjectId clones.

3.2.7

03 Jul 14:52

Choose a tag to compare

  • RUBY-1221 Ensure that same data is set for ObjectId clones.

4.2.1

19 Dec 16:16

Choose a tag to compare

  • RUBY-1189 Deserialize an int64 to a Fixnum, not Bignum on jRuby
  • Don't require options to be passed to Regexp::Raw#new
  • RUBY-1173 Force unpacking Q< and update big endian byte order check
  • Correct GCC version check

4.2.0

29 Nov 15:49

Choose a tag to compare

This minor release has the following changes in addition to those included in the 4.2.0.rc0 and 4.2.0.rc1 releases:

  • RUBY-1152 Implement driver BSON corpus tests.
  • RUBY-1164 Ensure that all options are captured when decoding a BSON regex.

4.2.0.rc1

01 Nov 10:14

Choose a tag to compare

This second release candidate of version 4.2.0 has the following fixes:

  • Made timestamp as_json match mongo specifications (@amiberger)
  • RUBY-1141 Raise LoadError when native extensions cannot be loaded.
  • Don't freeze BigDecimal class.

4.2.0.rc0

19 Sep 12:48

Choose a tag to compare

This is the first release candidate that supports MongoDB server version 3.4.

It contains the following changes and new features:

  • Renamed extension to bson_native
  • docs now contained in bson gem repo
  • Avoid warning that variable is not initialized (@qbantek)
  • Add BSON::ObjectId#to_time as alias to #generation_time (@oss92)
  • RUBY-1098 Support Decimal128 type.
  • Support serializing/deserializing OpenStruct objects. (@adimitrov)
  • RUBY-1124 Allow instantiating Int64 and Int32 objects and serializing them explicitly.

4.1.1

27 Apr 09:27

Choose a tag to compare

Apply key validation to documents in an Array as well.