Releases: mongodb/bson-ruby
Releases · mongodb/bson-ruby
4.2.2
- 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
- RUBY-1221 Ensure that same data is set for ObjectId clones.
4.2.1
- 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
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
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
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
Apply key validation to documents in an Array as well.
4.1.0
BSON can now be configured to validate keys, this defaults to false
but if set to true
a BSON::String::IllegalKey
exception will get raised for keys that contain a '.' or start with '$':
BSON::Config.validating_keys = true
4.0.3
This release contains the following bug fixes and improvements:
- RUBY-1091 Fix ObjectId generation on little endian architectures.
4.0.2
This release has one bug fix for the java ByteBuf rewind method.
- After rewind, set ByteBuf to read mode