Skip to content

Commit 3600641

Browse files
authored
Update NEWS, versions, and release steps after 2.1.0 release (#2081)
* move MANA group step Move this step before "Create a New Clone ..." since that step requires pushing a new release branch * update NEWS entries * update VERSION_CURRENT to `2.2.0-dev` * update `prior_version.txt` to `2.1.0` * update SBOM serial number * add step to generate SBOM serial numbers
1 parent 233d78c commit 3600641

File tree

7 files changed

+73
-26
lines changed

7 files changed

+73
-26
lines changed

NEWS

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
libmongoc 2.1.0 (Unreleased)
2-
============================
1+
libmongoc 2.1.0
2+
===============
33

44
## Fixes
55

6+
* Windows Secure Channel is fixed to support newer signatures to verify client certificates.
7+
* Replace use of `rand()` with thread-safe alternatives.
68
* The uninstall script for Windows is fixed so it no longer "succeeds" with a non-zero `%ERRORLABEL%` value.
79
* The uninstall script for non-Windows environments now calls `find "$dir" -maxdepth 1` instead of `ls --almost-all "$dir"` when detecting non-empty directories to fix macOS compatibility.
810

11+
## Improvements
12+
13+
* Remove unhelpful long-lived buffers to reduce memory usage.
14+
* Improve error messages produced by Windows APIs.
15+
916
## Notes
1017

1118
* The minimum supported MongoDB Server version is raised from 4.0 to 4.2. This is in accordance with [MongoDB Software Lifecycle Schedules](https://www.mongodb.com/legal/support-policy/lifecycles).
@@ -18,6 +25,17 @@ libmongoc 2.1.0 (Unreleased)
1825

1926
* Support for Debian 9 and Debian 10.
2027

28+
Thanks to everyone who contributed to the development of this release.
29+
30+
* Kevin Albertson
31+
* Ezra Chung
32+
* Colby Pike
33+
* Adrian Dole
34+
* Azat Khuzhin
35+
* Jeroen Ooms
36+
* Roberto C. Sánchez
37+
* Micah Scott
38+
2139

2240
libmongoc 2.0.2
2341
===============

VERSION_CURRENT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0-dev
1+
2.2.0-dev

docs/dev/earthly.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ enumerated using ``earthly ls`` or ``earthly doc`` in the root of the repository
216216

217217
.. seealso:: `sbom-lite` and `sbom-lite-updating`
218218

219+
.. program:: +sbom-generate-new-serial-number
219220
.. earthly-target:: +sbom-generate-new-serial-number
220221

221222
Equivalent to `+sbom-generate` but uses the ``--generate-new-serial-number``

docs/dev/releasing.rst

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,21 @@ Check that the `etc/purls.txt` file is up-to-date with the set of
9797
:term:`vendored dependencies <vendored dependency>`. If any items need to be
9898
updated, refer to `sbom-lite-updating`.
9999

100+
Join the Release Team
101+
#####################
102+
103+
The release process may require creating new branches, new tags, and directly
104+
pushing to development branches. These operations are normally restricted by
105+
branch protection rules.
106+
107+
When assigned the responsibility of performing a release, submit a request to a
108+
repository administrator to be temporarily added to the
109+
`releases team <dbx-c-cxx-releases-github_>`_ on GitHub for the duration of the
110+
release process. The team member must be added via
111+
`MANA <dbx-c-cxx-releases-mana_>`_ (the GitHub team should normally be empty,
112+
meaning there should not be any member with the "Maintainer" role to add new
113+
users via GitHub).
114+
100115
Create a New Clone of ``mongo-c-driver``
101116
########################################
102117

@@ -252,21 +267,6 @@ __ https://github.com/settings/tokens
252267
(Selecting this permission may also enable the *Metadata* permission; this is
253268
normal.)
254269
255-
Join the Release Team
256-
#####################
257-
258-
The release process may require creating new branches, new tags, and directly
259-
pushing to development branches. These operations are normally restricted by
260-
branch protection rules.
261-
262-
When assigned the responsibility of performing a release, submit a request to a
263-
repository administrator to be temporarily added to the
264-
`releases team <dbx-c-cxx-releases-github_>`_ on GitHub for the duration of the
265-
release process. The team member must be added via
266-
`MANA <dbx-c-cxx-releases-mana_>`_ (the GitHub team should normally be empty,
267-
meaning there should not be any member with the "Maintainer" role to add new
268-
users via GitHub).
269-
270270
Do the Release
271271
##############
272272

@@ -491,6 +491,11 @@ Do the following:
491491
contain the version that you have just released. This text should match the
492492
generated Git tag. (The tag should always be an ancestor of the branch that
493493
contains that :file:`etc/prior_version.txt`.)
494+
4. For a non-patch release, update the SBOM serial number with :any:`+sbom-generate-new-serial-number`:
495+
496+
.. code-block:: console
497+
498+
$ tools/earthly.sh +sbom-generate-new-serial-number
494499
495500
Push this branch to your fork of the repository::
496501

@@ -501,6 +506,21 @@ changes back into the ``master`` branch.
501506

502507
__ https://github.com/mongodb/mongo-c-driver/pulls
503508

509+
Update SBOM serial number
510+
*************************
511+
512+
Regenerate the SBOM serial number so the next patch release will have a unique SBOM serial number.
513+
514+
Check out the release branch and run :any:`+sbom-generate-new-serial-number`:
515+
516+
.. code-block:: console
517+
518+
$ git checkout $RELEASE_BRANCH
519+
$ tools/earthly.sh +sbom-generate-new-serial-number
520+
$ git add etc/cyclonedx.sbom.json
521+
$ git commit -m "update SBOM serial number"
522+
$ git push origin $RELEASE_BRANCH
523+
504524
505525
Leave the Release Team
506526
**********************

etc/cyclonedx.sbom.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
}
122122
],
123123
"metadata": {
124-
"timestamp": "2025-02-19T20:15:38.178269+00:00",
124+
"timestamp": "2025-08-01T13:37:06.557212+00:00",
125125
"tools": [
126126
{
127127
"externalReferences": [
@@ -164,7 +164,7 @@
164164
}
165165
]
166166
},
167-
"serialNumber": "urn:uuid:298714b7-1628-44c5-90a2-3c351f3626c5",
167+
"serialNumber": "urn:uuid:c58c1297-c364-4b70-b46d-cfbbc3845bbe",
168168
"version": 1,
169169
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
170170
"bomFormat": "CycloneDX",

etc/prior_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.1.0

src/libbson/NEWS

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1-
libbson 2.1.0 (Unreleased)
2-
==========================
1+
libbson 2.1.0
2+
=============
33

4-
Fixes:
4+
## Fixes
55

66
* The uninstall script for Windows is fixed so it no longer "succeeds" with a non-zero `%ERRORLABEL%` value.
77
* The uninstall script for non-Windows environments now calls `find "$dir" -maxdepth 1` instead of `ls --almost-all "$dir"` when detecting non-empty directories to fix macOS compatibility.
88

9-
Changed:
9+
## Changed
1010

1111
* The CMake project now sets a CMake policy max version of `4.0` (previously unset).
1212

13-
Removed:
13+
## Removed
1414

1515
* Support for Debian 9 and Debian 10.
1616

17+
Thanks to everyone who contributed to the development of this release.
18+
19+
* Kevin Albertson
20+
* Ezra Chung
21+
* Colby Pike
22+
* Roberto C. Sánchez
23+
* Micah Scott
24+
1725
libbson 2.0.2
1826
=============
1927

0 commit comments

Comments
 (0)