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

DOCSP-45311: Remove deprecated utf8 types #78

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

norareidy
Copy link
Collaborator

@norareidy norareidy commented Nov 21, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-45311
Staging - https://deploy-preview-78--docs-cpp.netlify.app/upgrade/#version-4.0

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for docs-cpp ready!

Name Link
🔨 Latest commit 91dc43d
🔍 Latest deploy log https://app.netlify.com/sites/docs-cpp/deploys/6740e1354cd71e000844c33b
😎 Deploy Preview https://deploy-preview-78--docs-cpp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@rustagir rustagir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with some qs

Comment on lines 88 to 89
- ``get_utf8`` from the ``bsoncxx::v_noabi::document::element``, ``bsoncxx::v_noabi::array::element``,
and ``bsoncxx::v_noabi::types::bson_value::view`` classes. Instead, use ``get_string``.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: is this a type or a method?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That one's a method! fixed

@@ -102,6 +102,17 @@ What's New in 4.0
library equivalents. For context, see the :ref:`Build System Breaking Changes
<version-4.0-build-system-breaking>` admonition.

- Removes the following deprecated ``utf8`` types that have ``string`` equivalents:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: you could consider removing the full list from here and just linking to the upgrade guide for specific details and keep the list there?

@norareidy norareidy requested review from kevinAlbs and eramongodb and removed request for kevinAlbs November 21, 2024 22:30
source/upgrade.txt Show resolved Hide resolved
source/upgrade.txt Outdated Show resolved Hide resolved
@norareidy norareidy requested a review from eramongodb November 22, 2024 19:13
Copy link
Collaborator

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One feedback remaining; otherwise, LGTM.

source/upgrade.txt Outdated Show resolved Hide resolved
@norareidy norareidy merged commit 1bca700 into mongodb:master Nov 22, 2024
5 checks passed
@norareidy norareidy deleted the DOCSP-45311-utf8-types branch November 22, 2024 20:27
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.

3 participants