A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/mongodb/bson-ruby

https://github.com/mongodb/bson-ruby - 5.2.0

The MongoDB Ruby team is pleased to announce version 5.2.0 of the bson gem - a fully featured BSON specification implementation in Ruby. This is a new minor release in the 5.x series of BSON for Ruby.

Install this release using RubyGems via the command line as follows:

gem install -v 5.2.0 bson

Or simply add it to your Gemfile:

gem 'bson', '5.2.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

- Ruby
Published by mongodb-dbx-release-bot[bot] 5 months ago

https://github.com/mongodb/bson-ruby - 5.1.1

The MongoDB Ruby team is pleased to announce version 5.1.1 of the bson gem - a fully featured BSON specification implementation in Ruby. This is a new patch release in the 5.1.x series of BSON for Ruby.

This release only corrects an issue with the JRuby version of the gem, where the gem was missing a pre-built jar file. It is otherwise identical to the 5.1.0 release.

Install this release using RubyGems via the command line as follows:

gem install -v 5.1.1 bson

Or simply add it to your Gemfile:

gem 'bson', '5.1.1'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

- Ruby
Published by mongodb-dbx-release-bot[bot] 9 months ago

https://github.com/mongodb/bson-ruby - 5.1.0

The MongoDB Ruby team is pleased to announce version 5.1.0 of the bson gem - a fully featured BSON specification implementation in Ruby.

Install this release using RubyGems via the command line as follows:

gem install -v 5.1.0 bson

or simply add it to your Gemfile:

gem 'bson', '5.1.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Release Notes

New Features

  • RUBY-3521 Add binary vector support (PR)
  • Warn on BSON::Document#deep_symbolize_keys! (PR)

Bug Fixes

  • TEST: explicitly require stringio (PR)
  • RUBY-3665 - Fix Rubocop (PR)
  • Update bson-ruby.yml workflow (PR)
  • RUBY-3675 Use append_cflags over modifying CFLAGS directly (PR)

- Ruby
Published by mongodb-dbx-release-bot[bot] 9 months ago

https://github.com/mongodb/bson-ruby - 5.0.2

Version 5.0.2 of BSON for Ruby is now available.

Release Highlights

This patch release contains an important bugfix, therefore an upgrade from the previous version is strongly recommended.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 5.0.2 bson

What's Changed

New Contributors

Full Changelog: https://github.com/mongodb/bson-ruby/compare/v5.0.1...v5.0.2

- Ruby
Published by mongodb-dbx-release-bot[bot] over 1 year ago

https://github.com/mongodb/bson-ruby - 5.0.1

Version 5.0.1 of BSON for Ruby is now available.

Release Highlights

  • RUBY-3435 Dates beyond 19 Jan 2038 were not representable in an ObjectID, but should have been.
  • RUBY-3508 Certain malformed BSON packets could result in crashes when attempting to parse them.
  • DOP-4704 Documentation sources have been moved to a separate repository. Please see https://github.com/mongodb/docs-ruby if you wish to contribute to the documentation for bson-ruby.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

$ gem install --version 5.0.1 bson

Full Changelog: https://github.com/mongodb/bson-ruby/compare/v5.0.0...v5.0.1

- Ruby
Published by mongodb-dbx-release-bot[bot] over 1 year ago

https://github.com/mongodb/bson-ruby - 5.0.0

This major release of the BSON ruby library includes the following changes:

  • RUBY-1114 "JRuby Driver and Java Driver Libraries are incompatible" -- JRuby package name changed to org.bson_ruby (implementation detail -- JRuby programs should be using 'require "bson"' instead of importing these packages directly)
  • RUBY-1410 "Implement ObjectID spec" -- brings bson-ruby into full spec compliance with ObjectID generation
  • RUBY-1806 "Create an exception hierarchy" -- errors raised by the library are now descended from BSON::Error
  • RUBY-2056 "Allow all subtype values in BSON::Binary" -- BSON::Binary now accepts both symbols and integers as subtypes
  • RUBY-2783 "Return a String without '$oid' from BSON::ObjectId#as_json and #to_json"
  • RUBY-2810 "Make as_json serializations user-friendly for numeric types"
  • RUBY-2846 "Add _bson_to_i method to ActiveSupport::TimeWithZone class."
  • RUBY-2867 "Change Decimal128 to deserialize to BigDecimal by default"
  • RUBY-3101 "Prohibit integer options in BSON::Regexp::Raw constructor" -- BSON::Regexp::Raw no longer accepts integers as options
  • RUBY-3109 "Remove all references to dots and dollars in BSON" -- removes "validating_keys" from the API
  • RUBY-3116 "Investigate leftover code for Rexgexp integer options"
  • RUBY-3137 "Use SecureRandom to initialize ObjectId counter"
  • RUBY-3140 "BSON::Decimal128 should support #to_d"
  • RUBY-3306 "Investigate using Ruby's internal random utility instead of rand for ObjectId's" -- now using SecureRandom internally to generate the random portions of BSON::ObjectID's.
  • RUBY-3309 "Add BSON Binary Data subtype Sensitive"

The following minor/internal changes are also included:

  • RUBY-1168 "Correct BSON corpus Decimal128 test failures"
  • RUBY-2655 "Set up build pipeline for outside contributors"
  • RUBY-2777 "Regex decoding error tests in top.json have unexpected, invalid syntax"
  • RUBY-2942 "Update docs.mongodb.com links in source, API & Reference documentation"
  • RUBY-3139 "Update Gem::Specification with MongoDB Ruby Team Info"
  • RUBY-3228 "[BSON] Various warnings"

- Ruby
Published by jamis about 2 years ago

https://github.com/mongodb/bson-ruby - 4.15.0

This release adds Comparable functionality to BSON::Decimal128.

- Ruby
Published by p-mongo almost 4 years ago

https://github.com/mongodb/bson-ruby - 4.14.1

This patch release of bson makes the DBRef class accept the legacy driver's DBRef constructor API, permitting existing code to migrate from using the legacy driver's DBRef implementation to using the bson's modern one.

- Ruby
Published by p-mongo about 4 years ago

https://github.com/mongodb/bson-ruby - 4.14.0

The release of the BSON gem allows for serialization and deserialization of BigDecimals to/from BSON. It also adds Ruby 3.1 and Rails 7 support.

- Ruby
Published by Neilshweky about 4 years ago

https://github.com/mongodb/bson-ruby - 4.12.1

This patch release fixes the following issue:

- Ruby
Published by comandeo almost 5 years ago

https://github.com/mongodb/bson-ruby - 4.11.1

This patch release fixes a regression in version 4.11.0:

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.11.0

This release of the bson gem fixes the following bug:

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.10.1

This patch release in the 4.10 series fixes a segmentation fault on s390x architectures.

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.9.5

This patch release in the 4.9 series fixes a segmentation fault on s390x architectures.

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.10.0

This feature release of bson-ruby contains the following improvement:

The following bug was also fixed:

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.9.3

This bug fix release repairs a segfault that occurred when calling GC.compact while using the library.

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.9.2

This bugfix release repairs inability to deserialize BSON::Regexp::Raw instances from YAML.

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/bson-ruby - 4.9.1

This patch release addresses a packaging issue in 4.9.0 (the library was unusable on JRuby in Java 8 environments, and neither MRI nor JRuby gems were signed).

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/bson-ruby - 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.

- Ruby
Published by p-mongo almost 6 years ago

https://github.com/mongodb/bson-ruby - 4.8.2

This patch release fixes the following issues related to Extended JSON (de)serialization:

- Ruby
Published by p-mongo almost 6 years ago

https://github.com/mongodb/bson-ruby - 4.8.0

This release of bson-ruby adds Extended JSON support for reading and writing.

- Ruby
Published by p-mongo about 6 years ago

https://github.com/mongodb/bson-ruby - 4.7.1

This patch release in the 4.7 series fixes Windows build. The following tickets have been closed:

- Ruby
Published by egiurleo about 6 years ago

https://github.com/mongodb/bson-ruby - 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:

- Ruby
Published by p-mongo about 6 years ago

https://github.com/mongodb/bson-ruby - 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:

As of this release, bson-ruby requires Ruby 2.3+ and JRuby 9.2+ which is equivalent to the current driver requirements.

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/bson-ruby - 4.5.0

This release contains two improvements to the BSON implementation in Ruby:

- Ruby
Published by p-mongo almost 7 years ago

https://github.com/mongodb/bson-ruby - 4.4.2

This release fixes a regression in 4.4.1 release:

This release has also been tested on Ruby 2.6.

- Ruby
Published by p-mongo about 7 years ago

https://github.com/mongodb/bson-ruby - 4.4.1

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.

- Ruby
Published by p-mongo about 7 years ago

https://github.com/mongodb/bson-ruby - 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)

- Ruby
Published by estolfo about 8 years ago

https://github.com/mongodb/bson-ruby - 4.3.0.beta

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.

- Ruby
Published by estolfo over 8 years ago

https://github.com/mongodb/bson-ruby - 3.2.7

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

- Ruby
Published by estolfo over 8 years ago

https://github.com/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.

- Ruby
Published by estolfo over 8 years ago

https://github.com/mongodb/bson-ruby - 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

- Ruby
Published by estolfo about 9 years ago

https://github.com/mongodb/bson-ruby - 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.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/bson-ruby - 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.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/bson-ruby - 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.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/bson-ruby - 4.1.1

Apply key validation to documents in an Array as well.

- Ruby
Published by estolfo almost 10 years ago

https://github.com/mongodb/bson-ruby - 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

- Ruby
Published by durran almost 10 years ago

https://github.com/mongodb/bson-ruby - 4.0.3

This release contains the following bug fixes and improvements:

  • RUBY-1091 Fix ObjectId generation on little endian architectures.

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/bson-ruby - 4.0.2

This release has one bug fix for the java ByteBuf rewind method.

  • After rewind, set ByteBuf to read mode

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/bson-ruby - v4.0.1

This patch release has the following changes:

  • Initialize the ObjectId counter to a random value, as per the ObjectId spec. @alethea
  • Add #rewind! method to ByteBuffer.

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/bson-ruby - v4.0.0

This is a new major version of the bson gem. The most notable change is the implementation and use of ByteBuffers instead of Strings, which greatly improves the serialization/deserialization performance (#to_bson/#from_bson).

  • RUBY-1019 Performance improvements; implementation and use of ByteBuffers instead of Strings
  • Remove unused gems
  • Use [] instead of fetch in hashes
  • Update for JRuby 9
  • RUBY-1071 Integer#to_bson_key should return a String
  • Serialize Symbols to String bson types
  • BSON::ObjectId conversion function passes ObjectIds through (@jesjos)
  • Documentation fix (@knapo)

- Ruby
Published by estolfo about 10 years ago