-
Notifications
You must be signed in to change notification settings - Fork 382
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
doc: remove inline namespace from doxygen #7461
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,22 @@ | |
|
||
## v1.33.0 - TBD | ||
|
||
**ATTENTION**: Users should generally **NOT** spell the name of our versioned | ||
inline namespace in their code, as doing so will tightly couple your code to a | ||
specific version of our library and will make upgrades more difficult for you. | ||
Previously, this version was `v1` (but it will change in the future), and so | ||
you may have some code that references, say, ~`google::cloud::v1::Status`~ | ||
(WRONG) and you should instead prefer `google::cloud::Status` (omit the | ||
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. Don't yell at the customers. Specially if it was our fault. Maybe just say:
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. Done |
||
versioned inline namespace name). | ||
|
||
Our Doxygen documentation (e.g. [Storage docs][storage-dox-link]) was | ||
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. I would lead with this paragraph. 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. Done |
||
incorrectly showing the versioned inline namespace name for our symbols, | ||
implicitly suggesting that users should spell this inline namespace in their | ||
own code. This mistake was fixed and our Doxygen documentation no longer shows | ||
the versioned inline namespace name. | ||
|
||
[storage-dox-link]: https://googleapis.dev/cpp/google-cloud-storage/latest/ | ||
|
||
## v1.32.1 - 2021-10 | ||
|
||
### [Pub/Sub](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/pubsub/README.md) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph assumes that one knows what "our versioned inline namespace" is. And it is a bit informal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.