Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Only MONGOC_DOWNLOAD_VERSION needs to be updated when pinning to an unreleased commit.
# If pinning to an unreleased commit, create a "Blocked" JIRA ticket with
# a "depends on" link to the appropriate C Driver version release ticket.
MONGOC_VERSION_MINIMUM = '2.0.0'
MONGOC_VERSION_MINIMUM = '2.0.2'


class InstallCDriver(Function):
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/generated_configs/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ functions:
type: setup
params:
updates:
- { key: mongoc_version_minimum, value: 2.0.0 }
- { key: mongoc_version_minimum, value: 2.0.2 }
- command: subprocess.exec
type: setup
params:
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ else()
endif()

# Also update etc/purls.txt.
set(BSON_REQUIRED_VERSION 2.0.0)
set(MONGOC_REQUIRED_VERSION 2.0.0)
set(MONGOC_DOWNLOAD_VERSION 2.0.0)
set(BSON_REQUIRED_VERSION 2.0.2)
set(MONGOC_REQUIRED_VERSION 2.0.2)
set(MONGOC_DOWNLOAD_VERSION 2.0.2)

# All of our target compilers support the deprecated
# attribute. Normally, we would just let the GenerateExportHeader
Expand Down
12 changes: 6 additions & 6 deletions etc/augmented.sbom.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"components": [
{
"bom-ref": "pkg:github/mongodb/[email protected].0",
"bom-ref": "pkg:github/mongodb/[email protected].2",
"copyright": "Copyright 2009-present MongoDB, Inc.",
"externalReferences": [
{
"type": "distribution",
"url": "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/v2.0.0.tar.gz"
"url": "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/v2.0.2.tar.gz"
},
{
"type": "website",
"url": "https://github.com/mongodb/mongo-c-driver/tree/v2.0.0"
"url": "https://github.com/mongodb/mongo-c-driver/tree/v2.0.2"
}
],
"group": "mongodb",
Expand All @@ -22,14 +22,14 @@
}
],
"name": "mongo-c-driver",
"purl": "pkg:github/mongodb/[email protected].0",
"purl": "pkg:github/mongodb/[email protected].2",
"type": "library",
"version": "v2.0.0"
"version": "v2.0.2"
}
],
"dependencies": [
{
"ref": "pkg:github/mongodb/[email protected].0"
"ref": "pkg:github/mongodb/[email protected].2"
}
],
"metadata": {
Expand Down
12 changes: 6 additions & 6 deletions etc/cyclonedx.sbom.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"components": [
{
"bom-ref": "pkg:github/mongodb/[email protected].0",
"bom-ref": "pkg:github/mongodb/[email protected].2",
"copyright": "Copyright 2009-present MongoDB, Inc.",
"externalReferences": [
{
"type": "distribution",
"url": "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/v2.0.0.tar.gz"
"url": "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/v2.0.2.tar.gz"
},
{
"type": "website",
"url": "https://github.com/mongodb/mongo-c-driver/tree/v2.0.0"
"url": "https://github.com/mongodb/mongo-c-driver/tree/v2.0.2"
}
],
"group": "mongodb",
Expand All @@ -22,14 +22,14 @@
}
],
"name": "mongo-c-driver",
"purl": "pkg:github/mongodb/[email protected].0",
"purl": "pkg:github/mongodb/[email protected].2",
"type": "library",
"version": "v2.0.0"
"version": "v2.0.2"
}
],
"dependencies": [
{
"ref": "pkg:github/mongodb/[email protected].0"
"ref": "pkg:github/mongodb/[email protected].2"
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion etc/make_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
show_default=True,
help='The remote reference which points to the mongodb/mongo-cxx-driver repo')
@click.option('--c-driver-build-ref',
default='2.0.0',
default='2.0.2',
show_default=True,
help='When building the C driver, build at this Git reference')
@click.option('--with-c-driver',
Expand Down
2 changes: 1 addition & 1 deletion etc/purls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# re-generate the SBOM JSON file!

# bson and mongoc may be obtained via cmake/FetchMongoC.cmake.
pkg:github/mongodb/[email protected].0
pkg:github/mongodb/[email protected].2
4 changes: 2 additions & 2 deletions examples/api/bsoncxx/examples/validation/basic_usage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ void example() {

EXPECT(bsoncxx::validate(data, length) == bsoncxx::validate(data, length, options, &offset));

// Not set when valid.
EXPECT(offset == 123u);
// Set to 0 when valid.
EXPECT(offset == 0u);
}
}
// [Example]
Expand Down
4 changes: 2 additions & 2 deletions examples/api/bsoncxx/examples/validation/validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ void example(std::uint8_t const* bytes, std::size_t length) {

EXPECT(!bsoncxx::validate(bytes, length, options, &offset));

// Offset of `"$numberInt": "123"` relative to start of the sub-document. (CDRIVER-5710)
EXPECT(offset == 4u);
// Offset of `"$numberInt": "123"` relative to start of the document.
EXPECT(offset == 31u);
}
}
// [Example]
Expand Down