Skip to content

Conversation

eramongodb
Copy link
Contributor

@eramongodb eramongodb commented Mar 21, 2025

Resolves CXX-3251. Followup to #1216. Removes the workaround for CDRIVER-5732, whose behavior was properly fixed by mongodb/mongo-c-driver#1891 (CDRIVER-5915). The proper fix now means the - 32u workaround is preventing the length checks which are intended to fail in API examples.

This PR sets MONGOC_VERSION_MINIMUM and LIBMONGOC_DOWNLOAD_VERSION to mongodb/mongo-c-driver@57bffac accordingly.

Important

This dependency update implies the next C++ Driver release (4.1.0) will require C Driver 2.0.0 or newer (CXX-3103). If we do not want to impose a C Driver v2 requirement on C++ Driver users (even if it is technically an ABI-only requirement), we may need to consider creating a v5.0 development branch to avoid applying the C Driver 2.0 dependency to upcoming v4 releases.

@eramongodb eramongodb requested review from a user and kevinAlbs March 21, 2025 16:48
@eramongodb eramongodb self-assigned this Mar 21, 2025
@ghost
Copy link

ghost commented Mar 21, 2025

Please include this fix too: 16b8e1f

@eramongodb eramongodb changed the title Remove workaround for CDRIVER-5732 in API examples CXX-3251 remove workaround for CDRIVER-5732 in API examples Mar 21, 2025
@eramongodb
Copy link
Contributor Author

Created CXX-3251 to track the related fix to core::append.

Additionally applied a workaround for incompatible C Driver VERSION_CURRENT values to forcibly satisfy development version requirements that target the upcoming C Driver 2.0.0 release (the version remains v1 to avoid triggering major version incompatibility checks by CMake and/or pkg-config).

@eramongodb eramongodb changed the title CXX-3251 remove workaround for CDRIVER-5732 in API examples CXX-3251 remove workaround for big_string length in API examples Mar 21, 2025
@eramongodb eramongodb merged commit 2233791 into mongodb:master Mar 21, 2025
14 of 15 checks passed
@eramongodb eramongodb deleted the cxx-cdriver-5732 branch March 21, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants