From 4ec88f00a45499324c52e570cebd41ac5c17c86f Mon Sep 17 00:00:00 2001 From: norareidy Date: Fri, 22 Nov 2024 10:05:31 -0500 Subject: [PATCH 1/3] DOCSP-45313: Remove mongocxx::stdx namespace --- source/upgrade.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/upgrade.txt b/source/upgrade.txt index aa6bed09..372ca6a1 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -159,6 +159,12 @@ The v4.0 driver introduces the following breaking changes to the API: library equivalents. For context, see the :ref:`Build System Breaking Changes ` section. +- Removes the the ``mongocxx::stdx`` namespace. Replace the following + types in your code: + + - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. + - ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``. + ABI Breaking Changes in v4.0 ```````````````````````````` @@ -169,6 +175,12 @@ The v4.0 driver introduces the following breaking changes to the ABI: library equivalents. For context, see the :ref:`Build System Breaking Changes ` section. +- Removes the the ``mongocxx::stdx`` namespace. Replace the following + types in your code: + + - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. + - ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``. + .. _version-3.11-breaking-changes: Version 3.11 From fed56cc87d5c849a48bdd42044a3c016c70fe6ef Mon Sep 17 00:00:00 2001 From: norareidy Date: Fri, 22 Nov 2024 13:49:27 -0500 Subject: [PATCH 2/3] MW feedback --- source/upgrade.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/upgrade.txt b/source/upgrade.txt index 372ca6a1..dc179d1d 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -159,7 +159,7 @@ The v4.0 driver introduces the following breaking changes to the API: library equivalents. For context, see the :ref:`Build System Breaking Changes ` section. -- Removes the the ``mongocxx::stdx`` namespace. Replace the following +- Removes the ``mongocxx::stdx`` namespace. Replace the following types in your code: - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. @@ -175,7 +175,7 @@ The v4.0 driver introduces the following breaking changes to the ABI: library equivalents. For context, see the :ref:`Build System Breaking Changes ` section. -- Removes the the ``mongocxx::stdx`` namespace. Replace the following +- Removes the ``mongocxx::stdx`` namespace. Replace the following types in your code: - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. From 5e43a750f07cc1be2d58203e2b39a21e260f9861 Mon Sep 17 00:00:00 2001 From: norareidy Date: Fri, 22 Nov 2024 14:08:22 -0500 Subject: [PATCH 3/3] EC feedback --- source/upgrade.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/upgrade.txt b/source/upgrade.txt index dc179d1d..2cfc3204 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -175,12 +175,6 @@ The v4.0 driver introduces the following breaking changes to the ABI: library equivalents. For context, see the :ref:`Build System Breaking Changes ` section. -- Removes the ``mongocxx::stdx`` namespace. Replace the following - types in your code: - - - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. - - ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``. - .. _version-3.11-breaking-changes: Version 3.11