You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/releasing.md
+63-14Lines changed: 63 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,12 @@ For patch releases, check the [mongo-cxx-driver-latest-release](https://spruce.m
103
103
104
104
Ensure there are no new or unexpected task failures.
105
105
106
+
### Minimum Required MongoDB C Driver Version
107
+
108
+
Ensure `mongoc_version_minimum` and related values are updated for the latest minimum required C Driver release.
109
+
110
+
See the comment accompanying `mongoc_version_minimum` for a list of other sources to update.
111
+
106
112
### Coverity
107
113
108
114
Ensure there are no new or unexpected issues with High severity or greater.
@@ -136,9 +142,14 @@ podman run \
136
142
137
143
Commit the latest version of the SBOM Lite document into the repo as `etc/cyclonedx.sbom.json`. (This may just be a modification of the timestamp.)
138
144
145
+
Generate an updated Augmented SBOM as described below.
146
+
147
+
> [!IMPORTANT]
148
+
> If the SBOM Lite was updated, generate an updated Augmented SBOM as described below even if the `silk-check-augmented-sbom` is currently passing on Evergreen!
149
+
139
150
### Augmented SBOM
140
151
141
-
Ensure the `silk-check-augmented-sbom` task is passing on Evergreen for the relevant release branch. If it is passing, nothing needs to be done.
152
+
Ensure the `silk-check-augmented-sbom` task is passing on Evergreen for the relevant release branch. If it is passing, nothing needs to be done (unless the SBOM Lite was updated as described above).
142
153
143
154
If the `silk-check-augmented-sbom` task was failing, update the Augmented SBOM document using the following command(s):
144
155
@@ -265,6 +276,8 @@ Commit the updates to `CHANGELOG.md`.
265
276
git commit -m 'Update CHANGELOG for X.Y.Z'
266
277
```
267
278
279
+
## Pre-Release Changes PR
280
+
268
281
Push the `pre-release-changes` branch to a fork repository and create a PR to merge `pre-release-changes` onto `master`:
The new branch should be continuously tested on Evergreen. Update the "Display Name" and "Branch Name" of the [mongo-cxx-driver-latest-release Evergreen project](https://spruce.mongodb.com/project/mongo-cxx-driver-latest-release/settings/general) to refer to the new release branch.
@@ -457,7 +470,7 @@ The new branch should be tracked by Silk. Use the [create-silk-asset-group.py sc
457
470
458
471
```bash
459
472
# Snyk credentials. Ask for these from a team member.
Verify the new asset group (`mongo-cxx-driver-X.Y`) is present in the [Silk Asset Inventory](https://us1.app.silk.security/inventory/all).
492
+
478
493
### Update Snyk
479
494
480
495
> [!IMPORTANT]
481
496
> Run the Snyk commands in a fresh clone of the post-release repository to avoid existing build and release artifacts from affecting Snyk.
482
497
483
498
Checkout the new release tag.
484
499
485
-
Configure and build the CXX Driver with `BSONCXX_POLY_USE_MNMLSTC=ON` (force download of mnmlstc/core sources) and no `CMAKE_PREFIX_PATH` entry to an existing C Driver installation (force download of C Driver sources), then run:
500
+
Configure and build the CXX Driver with `BSONCXX_POLY_USE_MNMLSTC=ON` (force download of mnmlstc/core sources) and no `CMAKE_PREFIX_PATH` entry to an existing C Driver installation (force download of C Driver sources):
# Snyk credentials. Ask for these from a team member.
@@ -511,7 +533,9 @@ snyk test "${snyk_args[@]:?}" --print-deps
511
533
snyk monitor "${snyk_args[@]:?}"
512
534
```
513
535
514
-
### Create Documentation Tickets
536
+
Verify the new Snyk target reference is present in the [Snyk project targets list](https://app.snyk.io/org/dev-prod/projects?groupBy=targets&before&after&searchQuery=mongo-cxx-driver&sortBy=highest+severity&filters[Show]=&filters[Integrations]=cli&filters[CollectionIds]=) for `mongodb/mongo-cxx-driver`.
537
+
538
+
### Post-Release Changes
515
539
516
540
Create and checkout a new branch `post-release-changes` relative to `master` to contain documentation updates following the new release:
517
541
@@ -525,10 +549,18 @@ This branch will be used to create a PR later.
525
549
> [!IMPORTANT]
526
550
> Make sure the `post-release-changes` branch is created on `master`, not `rX.Y.Z` or `releases/vX.Y`!
527
551
528
-
Add the new release to the tables in `etc/apidocmenu.md`.
552
+
Update the tables in `etc/apidocmenu.md` with entries for the new release.
529
553
530
554
Edit `README.md` to match the updated `etc/apidocmenu.md`.
531
555
556
+
Commit these changes to the `post-release-changes` branch:
557
+
558
+
```bash
559
+
git commit -m "Post-release changes"
560
+
```
561
+
562
+
### Create Documentation Tickets
563
+
532
564
(Stable Releases Only) Close the Jira ticket tracking this release with "Documentation Changes" set to "Needed". Fill the "Documentation Changes Summary" field with information requesting updates to:
533
565
534
566
- the "Installing the MongoDB C Driver" section of the [Advanced Configuration and Installation Options](https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/installation/advanced/#installing-the-mongodb-c-driver) page
@@ -542,7 +574,7 @@ This will generate a DOCSP ticket with instructions to update the C++ Driver doc
542
574
Example (using Jira syntax formatting):
543
575
544
576
```
545
-
* The [Advanced Installation|https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/installation/advanced/#installing-the-mongodb-c-driver] page must be updated with a new requirement: "For mongocxx-X.Y.x, libmongoc A.B.C or later is required.
577
+
* The [Advanced Installation|https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/installation/advanced/#installing-the-mongodb-c-driver] page must be updated with a new requirement: "For mongocxx-X.Y.x, libmongoc A.B.C or later is required."
546
578
* The [MongoDB C++ Driver|https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/#driver-status-by-family-and-version] page must be updated: {{{}mongocxx X.Y.x{}}} is now a previous stable release and no longer under active development; {{{}mongocxx X.Y+1.x{}}} is the new current stable release eligible for bug fixes.
547
579
* the [full version|https://github.com/mongodb/docs-cpp/blob/master/snooty.toml] for C++ Driver documentation must be updated to {{{}X.Y.Z{}}}.
548
580
```
@@ -574,7 +606,7 @@ command -V doxygen hugo
574
606
Run `git clean -dfx` to restore the repository to a clean state.
575
607
576
608
> [!WARNING]
577
-
> Do NOT run `git clean -dfx` in your local development repository, as it may delete your local development files present in the repository (even if excluded)! Only run this in the command in the separate repository being used for this release!
609
+
> Do NOT run `git clean -dfx` in your local development repository, as it may delete your local development files present in the repository (even if normally ignored by git)! Only run this in the command in the separate repository being used for this release!
578
610
579
611
Configure CMake using `build` as the binary directory. Leave all other configuration variables as their default.
Post an announcement to the [Developer Community Forum](https://www.mongodb.com/community/forums/tags/c/announcements/driver-releases/110/cxx) under "Product & Driver Announcements > Driver Releases" and include the "production" and "cxx" tags.
730
769
731
-
Template:
770
+
Template Title:
771
+
772
+
```
773
+
MongoDB C++11 Driver X.Y.Z Released
774
+
```
775
+
776
+
Template Body:
732
777
733
778
```md
734
779
The MongoDB C++ Driver Team is pleased to announce the availability of [MongoDB C++ Driver X.Y.Z](https://github.com/mongodb/mongo-cxx-driver/releases/tag/rX.Y.Z).
735
780
736
-
Please note that this version of mongocxx requires [MongoDB C Driver A.B.C](https://github.com/mongodb/mongo-c-driver/releases/tag/A.B.C) or higher.
781
+
Please note that this version of mongocxx requires [MongoDB C Driver A.B.C](https://github.com/mongodb/mongo-c-driver/releases/tag/A.B.C) or newer.
737
782
738
783
See the [MongoDB C++ Driver Manual](https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/) and the [Driver Installation Instructions](https://www.mongodb.com/docs/languages/cpp/cpp-driver/current/installation/) for more details on downloading, installing, and using this driver.
739
784
@@ -751,12 +796,16 @@ The C++ Driver Team
751
796
### vcpkg
752
797
753
798
Submit a PR or create an issue to update the vc-pkg file for mongo-cxx-driver.
754
-
To submit an issue, follow: https://github.com/microsoft/vcpkg/issues/new/choose. Example: https://github.com/microsoft/vcpkg/issues/34984
799
+
To submit an issue, follow: https://github.com/microsoft/vcpkg/issues/new/choose (Request an update to an existing port). Example: [r3.10.2](https://github.com/microsoft/vcpkg/issues/39539).
800
+
801
+
Include a note communicating new minimum C Driver version requirements.
755
802
756
803
### Conan
757
804
758
805
Submit a PR or create an issue to update the Conan recipe for mongo-cxx-driver.
759
-
To submit an issue, follow: https://github.com/conan-io/conan-center-index/issues/new/choose/. Example: https://github.com/conan-io/conan-center-index/issues/21006
806
+
To submit an issue, follow: https://github.com/conan-io/conan-center-index/issues/new/choose/ (Package: New Version). Example: [r3.10.2](https://github.com/conan-io/conan-center-index/issues/24451).
807
+
808
+
Include a note communicating new minimum C Driver version requirements.
0 commit comments