Skip to content

Commit ae7834c

Browse files
authored
Apply changes after 4.1.0 release (#1397)
* add doc links * update SBOM lite * update augmented SBOM * Prepare to generate r4.1.0 release documentation * add CHANGELOG entry for next minor release * remove step to update the SSDLC Report spreadsheet ** The spreadsheet was only used for internal tracking. Coverity tracks static analysis issues. And third party vulnerabilities are tracked in third_party_vulnerabilities.md. * move `#` comment outside of `snyk_args` to avoid bash error * update `etc/apidocmenu.md` before generating docs ** The `doxygen-latest` target builds from the tag. Update `apidocmenu.md` before tagging, to ensure the updates are present in the built docs. * remove duplicate sentence
1 parent c6be26d commit ae7834c

File tree

8 files changed

+23
-16
lines changed

8 files changed

+23
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
Changes prior to 3.9.0 are documented as [release notes on GitHub](https://github.com/mongodb/mongo-cxx-driver/releases).
99

10+
## 4.2.0 [Unreleased]
11+
12+
<!-- Will contain entries for the next minor release. -->
13+
1014
## 4.1.0
1115

1216
### Fixed

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ TOC_EXPAND = NO
16021602
# protocol see https://www.sitemaps.org
16031603
# This tag requires that the tag GENERATE_HTML is set to YES.
16041604

1605-
SITEMAP_URL = https://mongocxx.org/api/mongocxx-4.0.0/
1605+
SITEMAP_URL = https://mongocxx.org/api/mongocxx-4.1.0/
16061606

16071607
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
16081608
# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ git clone -b releases/stable https://github.com/mongodb/mongo-cxx-driver.git
2828
| Version | ABI Stability | Development Stability | Development Status |
2929
| :---------: | :-------------: | :-------------------------: | :----------------: |
3030
| master | N/A | _Do not use in production!_ | Active |
31-
| 4.0.0 | None | Ready for Use | Bug Fixes Only |
31+
| 4.1.0 | None | Ready for Use | Bug Fixes Only |
32+
| 4.0.0 | None | Ready for Use | Not Supported |
3233
| 3.11.0 | None | Ready for Use | Bug Fixes Only |
3334
| 3.10.2 | None | Ready for Use | Not Supported |
3435
| ... | ... | ... | ... |

etc/apidocmenu.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Driver Documentation By Version
44

5-
[4.0.0](../mongocxx-4.0.0) | [3.11.0](../mongocxx-3.11.0) | [3.10.2](../mongocxx-3.10.2) | [3.10.1](../mongocxx-3.10.1) | [3.10.0](../mongocxx-3.10.0) | [3.9.0](../mongocxx-3.9.0) | [3.8.1](../mongocxx-3.8.1) | [3.8.0](../mongocxx-3.8.0) | [3.7.2](../mongocxx-3.7.2) | [3.7.1](../mongocxx-3.7.1) | [3.7.0](../mongocxx-3.7.0) | [3.6.7](../mongocxx-3.6.7) | [3.6.6](../mongocxx-3.6.6) | [3.6.5](../mongocxx-3.6.5) | [3.6.4](../mongocxx-3.6.4) | [3.6.3](../mongocxx-3.6.3) | [3.6.2](../mongocxx-3.6.2) | [3.6.1](../mongocxx-3.6.1) | [3.6.0](../mongocxx-3.6.0) | [3.5.1](../mongocxx-3.5.1) | [3.5.0](../mongocxx-3.5.0) | [3.4.2](../mongocxx-3.4.2) | [3.4.1](../mongocxx-3.4.1) | [3.4.0](../mongocxx-3.4.0) | [3.3.2](../mongocxx-3.3.2) | [3.3.1](../mongocxx-3.3.1) | [3.3.0](../mongocxx-3.3.0) | [3.2.1](../mongocxx-3.2.1) | [3.2.0](../mongocxx-3.2.0) | [3.1.4](../mongocxx-3.1.4/) | [3.1.3](../mongocxx-3.1.3/) | [3.1.2](../mongocxx-3.1.2/) | [3.1.1](../mongocxx-3.1.1/) | [3.1.0](../mongocxx-3.1.0/) | [3.0.3](../mongocxx-3.0.3/) | [3.0.2](../mongocxx-3.0.2/) | [3.0.1](../mongocxx-3.0.1/) | [3.0.0](../mongocxx-3.0.0/)
5+
[4.1.0](../mongocxx-4.1.0) | [4.0.0](../mongocxx-4.0.0) | [3.11.0](../mongocxx-3.11.0) | [3.10.2](../mongocxx-3.10.2) | [3.10.1](../mongocxx-3.10.1) | [3.10.0](../mongocxx-3.10.0) | [3.9.0](../mongocxx-3.9.0) | [3.8.1](../mongocxx-3.8.1) | [3.8.0](../mongocxx-3.8.0) | [3.7.2](../mongocxx-3.7.2) | [3.7.1](../mongocxx-3.7.1) | [3.7.0](../mongocxx-3.7.0) | [3.6.7](../mongocxx-3.6.7) | [3.6.6](../mongocxx-3.6.6) | [3.6.5](../mongocxx-3.6.5) | [3.6.4](../mongocxx-3.6.4) | [3.6.3](../mongocxx-3.6.3) | [3.6.2](../mongocxx-3.6.2) | [3.6.1](../mongocxx-3.6.1) | [3.6.0](../mongocxx-3.6.0) | [3.5.1](../mongocxx-3.5.1) | [3.5.0](../mongocxx-3.5.0) | [3.4.2](../mongocxx-3.4.2) | [3.4.1](../mongocxx-3.4.1) | [3.4.0](../mongocxx-3.4.0) | [3.3.2](../mongocxx-3.3.2) | [3.3.1](../mongocxx-3.3.1) | [3.3.0](../mongocxx-3.3.0) | [3.2.1](../mongocxx-3.2.1) | [3.2.0](../mongocxx-3.2.0) | [3.1.4](../mongocxx-3.1.4/) | [3.1.3](../mongocxx-3.1.3/) | [3.1.2](../mongocxx-3.1.2/) | [3.1.1](../mongocxx-3.1.1/) | [3.1.0](../mongocxx-3.1.0/) | [3.0.3](../mongocxx-3.0.3/) | [3.0.2](../mongocxx-3.0.2/) | [3.0.1](../mongocxx-3.0.1/) | [3.0.0](../mongocxx-3.0.0/)
66

77
## Driver Development Status
88

@@ -12,7 +12,8 @@
1212
| Version | ABI Stability | Development Stability | Development Status |
1313
| :---------: | :-------------: | :-------------------------: | :----------------: |
1414
| master | N/A | _Do not use in production!_ | Active |
15-
| 4.0.0 | None | Ready for Use | Bug Fixes Only |
15+
| 4.1.0 | None | Ready for Use | Bug Fixes Only |
16+
| 4.0.0 | None | Ready for Use | Not Supported |
1617
| 3.11.0 | None | Ready for Use | Bug Fixes Only |
1718
| 3.10.2 | None | Ready for Use | Not Supported |
1819
| ... | ... | ... | ... |

etc/augmented.sbom.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
}
7777
]
7878
},
79-
"serialNumber": "urn:uuid:d27194f6-e5a2-45d3-b9cd-0da1502fb655",
79+
"serialNumber": "urn:uuid:c1c87561-6868-46b2-9e0c-d2f7f3bdf028",
8080
"version": 1,
8181
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
8282
"bomFormat": "CycloneDX",

etc/cyclonedx.sbom.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"metadata": {
36-
"timestamp": "2025-04-02T19:47:45.682404+00:00",
36+
"timestamp": "2025-05-01T20:23:28.401764+00:00",
3737
"tools": [
3838
{
3939
"externalReferences": [
@@ -76,7 +76,7 @@
7676
}
7777
]
7878
},
79-
"serialNumber": "urn:uuid:d27194f6-e5a2-45d3-b9cd-0da1502fb655",
79+
"serialNumber": "urn:uuid:c1c87561-6868-46b2-9e0c-d2f7f3bdf028",
8080
"version": 1,
8181
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
8282
"bomFormat": "CycloneDX",

etc/generate-latest-apidocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
set -o errexit
1111
set -o pipefail
1212

13-
LATEST_VERSION="4.0.0"
13+
LATEST_VERSION="4.1.0"
1414
DOXYGEN_VERSION_REQUIRED="1.13.2"
1515

1616
# Permit using a custom Doxygen binary.

etc/releasing.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ Ensure the `sbom` task is passing on Evergreen for the relevant release branch.
148148

149149
Review the contents of the new Augmented SBOM and ensure any new or known vulnerabilities with severity "Medium" or greater have a corresponding JIRA ticket (CXX or VULN) that is scheduled to be resolved within its remediation timeline.
150150

151-
Update the [SSDLC Report spreadsheet](https://docs.google.com/spreadsheets/d/1sp0bLjj29xO9T8BwDIxUk5IPJ493QkBVCJKIgptxEPc/edit?usp=sharing) with any updates to new or known vulnerabilities.
152-
153151
Update `etc/third_party_vulnerabilities.md` with any updates to new or known vulnerabilities for third party dependencies that have not yet been fixed by the upcoming release.
154152

155153
Download the "Augmented SBOM (Updated)" file from the latest EVG commit build in the `sbom` task and commit it into the repo as `etc/augmented.sbom.json` (even if the only notable change is the timestamp field).
@@ -207,6 +205,8 @@ git fetch upstream
207205
git checkout releases/vX.Y
208206
```
209207

208+
In `etc/apidocmenu.md`, update the list of versions under "Driver Documentation By Version" and the table under "Driver Development Status" with a new entry corresponding to this release.
209+
210210
Update `CHANGELOG.md` with a summary of important changes in this release. Consult the list of related Jira tickets (updated ealier) as well as the list of commits since the last release.
211211

212212
Remove the `[Unreleased]` tag from the relevant patch release section, e.g. for release `1.2.3`:
@@ -222,7 +222,7 @@ Remove the `[Unreleased]` tag from the relevant patch release section, e.g. for
222222

223223
```
224224

225-
Commit and push the updates to `CHANGELOG.md` to `releases/vX.Y` (a PR is not required):
225+
Commit and push the updates to `etc/apidocmenu.md` and `CHANGELOG.md` to `releases/vX.Y` (a PR is not required):
226226

227227
```bash
228228
git commit -m 'Update CHANGELOG for X.Y.Z'
@@ -238,6 +238,8 @@ git fetch upstream
238238
git checkout -b pre-release-changes upstream/master
239239
```
240240

241+
In `etc/apidocmenu.md`, update the list of versions under "Driver Documentation By Version" and the table under "Driver Development Status" with a new entry corresponding to this release.
242+
241243
Update `CHANGELOG.md` with a summary of important changes in this release. Consult the list of related Jira tickets (updated earlier) as well as the list of commits since the last release.
242244

243245
Remove the `[Unreleased]` tag from the relevant non-patch release section, e.g. for release `1.3.0`:
@@ -256,7 +258,7 @@ Remove the `[Unreleased]` tag from the relevant non-patch release section, e.g.
256258
> [!IMPORTANT]
257259
> If there are entries under an unreleased patch release section with the old minor release number, move the entries into this release's section and remove the unreleased patch release section. For example, for a `1.3.0` minor release, move entries from `1.2.3 [Unreleased]` to `1.3.0` and remove `1.2.3 [Unreleased]`. Due to cherry-picking, a non-patch release should always (already) contain the changes targeting a patch release with a prior minor version number. (This is analogous to updating the fix version of Jira tickets, as done earlier.)
258260
259-
Commit the updates to `CHANGELOG.md`.
261+
Commit the updates to `etc/apidocmenu.md` and `CHANGELOG.md`.
260262

261263
```bash
262264
git commit -m 'Update CHANGELOG for X.Y.Z'
@@ -495,13 +497,14 @@ snyk auth "${SNYK_API_TOKEN:?}"
495497

496498
# Verify third party dependency sources listed in etc/purls.txt are detected by Snyk.
497499
# If not, see: https://support.snyk.io/hc/en-us/requests/new
500+
# Use --exclude=extras until CXX-3042 is resolved
498501
snyk_args=(
499502
--org=dev-prod
500503
--remote-repo-url=https://github.com/mongodb/mongo-cxx-driver/
501504
--target-reference="${release_tag:?}"
502505
--unmanaged
503506
--all-projects
504-
--exclude=extras # CXX-3042
507+
--exclude=extras
505508
)
506509
snyk test "${snyk_args[@]:?}" --print-deps
507510

@@ -525,7 +528,7 @@ This branch will be used to create a PR later.
525528
> [!IMPORTANT]
526529
> Make sure the `post-release-changes` branch is created on `master`, not `rX.Y.Z` or `releases/vX.Y`!
527530
528-
In `etc/apidocmenu.md`, update the list of versions under "Driver Documentation By Version" and the table under "Driver Development Status" with a new entry corresponding to this release.
531+
For a patch release, in `etc/apidocmenu.md`, update the list of versions under "Driver Documentation By Version" and the table under "Driver Development Status" with a new entry corresponding to this release.
529532

530533
In `README.md`, sync the "Driver Development Status" table with the updated table from `etc/apidocmenu.md`.
531534

@@ -627,8 +630,6 @@ cmake --build build --target doxygen-latest
627630

628631
Verify that the `build/docs/api/mongocxx-X.Y.Z` directory is present and populated. Verify the resulting API doc looks as expected.
629632

630-
Remove all contents of `build/docs/api` before running the next commands.
631-
632633
> [!IMPORTANT]
633634
> Remove all contents of `build/docs/api` before running the next commands.
634635

0 commit comments

Comments
 (0)
close