Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for BSON 5.0 Release #322

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Prepare for BSON 5.0 Release #322

merged 2 commits into from
Feb 9, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Feb 7, 2024

No description provided.

@jamis jamis requested a review from comandeo February 7, 2024 23:12
@jamis
Copy link
Contributor Author

jamis commented Feb 7, 2024

Summary of changes in this release:

Significant 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"

Minor Changes

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"

@jamis jamis merged commit 88ac9e4 into mongodb:master Feb 9, 2024
37 of 40 checks passed
@jamis jamis deleted the prepare-for-5.0 branch February 9, 2024 15:38
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.

2 participants