-
Notifications
You must be signed in to change notification settings - Fork 29
DOCSP-50809: bson 5.1 release #159
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,9 @@ Release Notes | |
|
||
Learn what's new in: | ||
|
||
* :ref:`2.22 <ruby-version-2.22>` | ||
* :ref:`2.21 <version-2.21>` | ||
* :ref:`2.20 <version-2.20>` | ||
* :ref:`Version 2.22 <ruby-version-2.22>` | ||
* :ref:`Version 2.21 <version-2.21>` | ||
* :ref:`Version 2.20 <version-2.20>` | ||
|
||
.. _upcoming-breaking-changes: | ||
|
||
|
@@ -42,6 +42,31 @@ The {+driver-short+} 2.22 release includes the following new features: | |
|
||
- Adds compatibility with {+language+} 3.3. | ||
|
||
BSON v5.1 | ||
~~~~~~~~~ | ||
|
||
The ``bson`` gem is the implementation of the BSON specification in | ||
{+language+}. ``bson`` v5.1 accompanies the {+driver-short+} v2.22 | ||
release. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We actually discovered that all the changes we meant to release in driver v2.22 somehow got released in 2.21.1. This includes the vector search support in the driver, though it wouldn't have worked until bson 5.1.0. So, bson 5.1.0 supports ruby driver 2.21.1. There will be a driver 2.22 eventually, but probably not imminently. |
||
|
||
The ``bson`` 5.1 release includes the following new features, changes, | ||
and improvements: | ||
|
||
- Adds the ``BSON::Vector`` type to represent vectors of numeric values. | ||
To learn more, see the :ref:`ruby-bson-vector` section of the BSON | ||
guide. | ||
|
||
- ``BSON::Document`` objects do not support use of the | ||
``#deep_symbolize_keys!`` and ``#symbolize_keys!`` methods. In | ||
previous versions, the ``#symbolize_keys!`` method raises an | ||
``ArgumentError`` when used on a ``BSON::Document``, but | ||
``#deep_symbolize_keys!`` does not, and only returns a ``Hash`` | ||
rather than a ``BSON::Document``. | ||
|
||
This release adds a warning when you use ``#deep_symbolize_keys!`` on a | ||
``BSON::Document`` instance. In ``bson`` v6.0, this action will raise | ||
an error. | ||
|
||
.. _version-2.21: | ||
|
||
What's New in 2.21 | ||
|
Uh oh!
There was an error while loading. Please reload this page.