Skip to content

Release candidate for 5.2.1#375

Closed
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:rc-5.2.1
Closed

Release candidate for 5.2.1#375
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:rc-5.2.1

Conversation

@jamis

@jamis jamis commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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

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

gem install -v 5.2.1 bson

Or simply add it to your Gemfile:

gem 'bson', '5.2.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 🧠.

New Features

  • RUBY-3667 BSON::ObjectId(object_id) returns its argument when it is already an ObjectId (PR)

Bug Fixes

  • RUBY-3535 Remove if RUBY_VERSION from gemspec (PR)
  • RUBY-3860 Cap BSON decode nesting depth at 200 (PR)
  • RUBY-3869 Validate Binary subtype 0x02 outer/inner length on decode (PR)
  • RUBY-3893 Fix heap use-after-free in put_array (PR)
  • RUBY-3894 Fix heap buffer overflow in put_string and related methods (PR)
  • RUBY-3872 Fix put_double TypeError message regex for Ruby head (PR)

@jamis jamis requested a review from a team as a code owner July 1, 2026 17:07
@jamis jamis requested a review from comandeo-mongo July 1, 2026 17:07
@jamis jamis added release-candidate The PR represents a potential candidate for a new release and removed release-candidate The PR represents a potential candidate for a new release labels Jul 1, 2026
@jamis

jamis commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

This was just a test of the candidate creation logic; closing.

@jamis jamis closed this Jul 1, 2026
@jamis jamis deleted the rc-5.2.1 branch July 1, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant