1. May 17, 2024
  2. May 16, 2024
    • Kevin Albertson's avatar
      CDRIVER-5565 remove non-API docs (#1600) · 151975f9
      Kevin Albertson authored
      
      
      * libmongoc: remove links to content moved to mongodb.com
      
      The API and APM docs are linked to from mongodb.com.
      
      * libmongoc: remove no-longer-referenced files
      
      * libmongoc: remove `genindex`
      
      The index page only shows one entry for `mongoc_kms_credentials_provider_callback_fn`.
      
      * libmongoc: link to `MongoDB C Driver` page
      
      * libmongoc: fix links to `queryable-encryption`
      
      * libmongoc: fix links to `authentication`
      
      * libmongoc: fix links to `bulk`
      
      * libmongoc: fix links to `client-side-field-level-encryption`
      
      * libmongoc: fix links to `configuring_tls`
      
      * libmongoc: fix links to `connection-pooling`
      
      * libmongoc: fix links to `in-use-encryption`
      
      * libmongoc: fix links to `manage-collection-indexes`
      
      * libmongoc: fix links to ``setting_collation_order`
      
      * libmongoc: fix links to `tutorial_crud_operations`
      
      * libmongoc: fix link to `bulk_operation_bypassing_document_validation`
      
      * libmongoc: fix links to `cursors_tailable`
      
      * libbson: remove links to content moved to mongodb.com
      
      The API docs are linked to from mongodb.com.
      
      * libbson: link to `MongoDB C Driver` page
      
      * libbson: remove no-longer-referenced files
      
      * libbson: fix links to `errors`
      
      * libmongoc: fix links to `bson:errors`
      
      * libmongoc: fix links to `bson:lifetimes`
      
      * homepage: link to `MongoDB C Driver` page
      
      * libmongoc: remove no-longer-used images
      
      * libmongoc: remove unreferenced include
      
      * update links in README
      
      * update link in CONTRIBUTING.md
      
      * fix links to community forums
      
      * add missing "the"
      
      Co-authored-by: default avatarRoberto C. Sánchez <roberto@connexer.com>
      
      * fix `setting_collation_order_` links
      
      Co-authored-by: default avatarRoberto C. Sánchez <roberto@connexer.com>
      
      * fix `setting_collation_order_` in `generate-opts.py`
      
      ---------
      
      Co-authored-by: default avatarRoberto C. Sánchez <roberto@connexer.com>
      151975f9
  3. Apr 25, 2024
    • Kevin Albertson's avatar
      CDRIVER-5299 Bump libmongocrypt to 1.10.0 (#1573) · f2de5340
      Kevin Albertson authored
      * bump required libmongocrypt version to 1.10.0
      
      * replace "Client-Side Field Level Encryption" with "In-Use Encryption" in errors and docs
      
      "In-Use Encryption" is the umbrella term referring to both "Client-Side Field Level Encryption" and "Queryable Encryption".
      
      * fix docs typo
      
      Link refers to QE, but text incorrectly refers to CSFLE
      
      * update NEWS
      
      * bump version in script
      f2de5340
  4. Feb 01, 2024
    • Kevin Albertson's avatar
      CDRIVER-4801 support named KMS providers (#1509) · b34cd2b5
      Kevin Albertson authored
      * copy in new unified tests
      
      * copy in new legacy spec test
      
      * add new KMS providers to test runner
      
      add partial support for JSON schema 1.18
      
      * implement `encrypt` and `decrypt` operations in unified test runner
      
      * export env vars in run-tests.sh
      
      * update prose test 11 for named KMS providers
      
      * add map for TLS options
      
      Required to configure TLS options on named KMS providers
      
      * check out libmongocrypt with changes of MONGOCRYPT-605
      
      * update docs to reflect spec terminology
      
      KMS provider is specified with string `<KMS provider type>` or `<KMS provider type>:<KMS provider name>`
      b34cd2b5
  5. Sep 14, 2023
    • Kyle Kloberdanz's avatar
      Fix testing instructions (#1402) · 684c77f4
      Kyle Kloberdanz authored
      
      
      * Fix testing instructions
      
      Previously, following the testing instructions in CONTRIBUTING.md
      results in the following error:
      ```
      "error":"NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the 'storage.dbPath' option in the configuration file."
      ```
      This adds the dbpath to the command line so that way one can copy and
      paste the instructions in order to run tests.
      
      Also, prefer to use the newer mongosh over mongo.
      
      ---------
      
      Co-authored-by: default avatarKevin Albertson <kevin.albertson@10gen.com>
      684c77f4
  6. Jul 21, 2023
  7. Jul 19, 2023
    • vector-of-bool's avatar
      [CDRIVER-4640] Remove the Release Archive (#1333) · 75db6e1a
      vector-of-bool authored
      * Remove CMake code for source distribution
      
      This removes code that accumulates lists of sources to include in the
      source dist, as well as the targets which generate it.
      
      * "RELEASE" mode does not use release archive
      * link-sample tasks do not use the source archive
      * No more make-release-archive
      * Rename make_release_archive -> make_docs
      * Rename the variant
      * Define a variant tag for protecting merges
      * Use stable Fedora for RPM build (for now)
      * Use git archive to create the source archive
      * Bring packaging tasks as PR-protected
      * Tweak pkg version detection
      * Tweak spec patchfile
      * Get source filename from rpmspec
      * Note pending removal of the release archive
      75db6e1a
  8. May 26, 2023
    • vector-of-bool's avatar
      CDRIVER-4641: A Poetry project file (#1276) · cf875501
      vector-of-bool authored
      * A basic Poetry project for managing dev scripts and tools
        Fixup several other scripts to be set -u safe since we now import that
        setting.
      * Use Poetry to run Sphinx
      * Change variant used for release archive
        The release archive build invokes Sphinx, and since Sphinx is now installed by
        Poetry, we require a newer Python version. make-release-archive now runs
        on Ubuntu 22.04
      * abi-compliance-check needs u18
        The abi-compliance-check task assumes an external `abi-compliance-checker`
        tool is installed, but that is only true on the Ubuntu 18.04 EVG
        distros.
      * Significant script refactoring:
      - Split components into separate files, and provide a way to selectively
        import them from other scripts.
      - Download install-poetry.py on-the-fly when it is needed, not committed
        into the repository.
      - Add a download-file utility.
      - python.sh/poetry.sh are importable to be reused in other scripts.
      * Add notes about building docs to CONTRIBUTING
      * Parallelize the HTML build
      * Add a console script for EVG generation
      cf875501
  9. Mar 14, 2023
  10. Sep 29, 2022
    • Ezra Chung's avatar
      CDRIVER-3882 Support AWS temporary credentials (#1109) · 0c29610f
      Ezra Chung authored
      * Sync legacy CSE test files with b3beada7
      
      * Add legacy CSE test runner support for AWS temp creds
      
      * Update Evergreen config to support AWS temp creds
      
      * Print status during invocation of Drivers Evergreen Tools scripts
      
      * Define PYTHON as PYTHON_BINARY after activate_venv.sh
      
      * Deactivate the kmstlsenv venv environment when done
      
      * Ensure calls to activate_venv.sh do not race on venv preparation
      
      * Replace legacy backtick notation with dollar-parenthesis notation
      
      * Suppress errors on chmod of build dirs
      0c29610f
  11. Aug 27, 2022
  12. Dec 01, 2021
    • Ezra Chung's avatar
    • Ezra Chung's avatar
      CDRIVER-4097 Implement srvMaxHosts for initial DNS seedlist and SRV polling (#898) · d67527c6
      Ezra Chung authored
      * Permit zero hosts when validating SRV loadBalanced URI before DNS query
      * Add URI parsing support for srvMaxHosts
      * Add documentation of MONGOC_URI_SRVMAXHOSTS to mongoc_uri_t.rst
      * Add URI Options spec tests for srvMaxHosts
      * Add const qualifier to _mongoc_host_list_length() parameters
      * Add bounded uniform distributed random integer generators
      * Fix infinite loop in dump_hosts()
      * Add support for limiting initial DNS seedlist per srvMaxHosts
      * Add srvMaxHosts spec tests for Initial DNS Seedlist Discovery
      * Add support for limiting SRV record polling hosts per srvMaxHosts
      * Add prose tests for SRV Polling
      * Refactor SRV Polling prose tests to handle single vs. pooled cases
      d67527c6
  13. Nov 14, 2021
  14. Oct 20, 2021
    • Ezra Chung's avatar
      CDRIVER-4183 re-enable CSE tests on RHEL (#882) · 48fcc98d
      Ezra Chung authored
      * Enable skipping of KMS TLS tests via MONGOC_TEST_SKIP_KMS_TLS_TESTS
      * Add condition for skipping KMS TLS tests on CA cert register failure
      * Add CA certificate registration routines for MacOS
      * Add routine to wait for mock KMS server startup completion
      * Re-enable CSE tests on RHEL variants
      48fcc98d
  15. Oct 12, 2021
    • Ezra Chung's avatar
      CDRIVER-3927 add KMS TLS tests for client side encryption (#879) · 33c8d319
      Ezra Chung authored
      * Support detailed certificate verify failure errors with OpenSSL
      * Support detailed certificate verify failure errors with Secure Channel
      * Move CSE tests into conditional compilation under MONGOC_ENABLE_SSL
      * Add Client Side Encryption KMS TLS tests
      * Fix CA certificate registration failure on Windows
      * Fix CA certificate registration failure on Red Hat
      * Add mock KMS servers to Evergreen
      * Document mock KMS server requirements for CSFLE tests
      * Disable CSE tests on RHEL until resolution of BUILD-14068
      33c8d319
  16. Aug 16, 2021
    • Ezra Chung's avatar
      Add instructions to enable fail points for test suite (#846) · bd381490
      Ezra Chung authored
      Several tests require use of the configureFailPoint command to trigger
      server-side errors. The command must be enabled via configuration file
      or command line option when starting mongod.
      
      The configureFailPoint command is not yet documented; see DOCS-10784.
      bd381490
  17. Aug 12, 2021
    • Kevin Albertson's avatar
      CDRIVER-4062 test load balancer on evg (#837) · 932e7e48
      Kevin Albertson authored
      Add tasks to the Evergreen configuration based to test against a loadbalanced cluster.
      - Tests with auth+SSL and with no auth+SSL on both server version 5.0 and latest.
      - Runs tests against: new load balanced tests, all unified tests, retryable reads, retryable writes, change streams, and the C driver specific /loadbalanced/* tests.
      
      Update test-libmongoc to support testing against a load balancer.
      - Support the environment variable MONGOC_TEST_LOADBALANCED to enable testing against load balancers in test-libmongoc.
      Support the environment variables SINGLE_MONGOS_LB_URI, MULTI_MONGOS_LB_URI to set URIs for test clients.
      - Mock the serviceId when MONGOC_TEST_LOADBALANCED is true.
      - Support multiple occurrences of the -l flag in test-libmongoc and alias the flag as --match.
      - Remove unnecessary constraint of retryable writes tests for replica sets.
      
      CDRIVER-4060 add remaining support to the unified test runner for the new loadbalancer spec tests.
      - Iterate the first result of a FindCursor in the createFindCursor operation.
      - Support appname as a URI parameter.
      - Skip listening or comparing CMAP (Connection Monitoring and Pooling) events, since the C driver does not implement CMAP.
      932e7e48
  18. Aug 04, 2021
    • Andreas Braun's avatar
      Add missing features in unified test format (#820) · 08f95424
      Andreas Braun authored
      
      
      * CDRIVER-4066 "Support" version 1.2 of unified test format
      
      Since the only tests that are using the loop operation and storeEventsAsEntities are the drivers-atlas-testing tests, we can defer implementation of those two features until the atlas testing project.
      
      * CDRIVER-4060 Implement version 1.3 of unified test format
      
      Note that implementing the serverless topology check will be done separately
      
      * CDRIVER-4064 Support serverless runOnRequirement in test runner
      
      * Avoid early exit in complex check functions
      
      Co-authored-by: default avatarKevin Albertson <kevin.albertson@10gen.com>
      
      * Error when encountering unsupported functionality
      
      * Don't call result_check when ignoreResultAndError is used
      
      * Reference CMAP ticket
      
      * Don't require saveResultAsEntity for createFindCursor operation
      
      * Set return value after fetching data from cursor
      
      Co-authored-by: default avatarKevin Albertson <kevin.albertson@10gen.com>
      08f95424
  19. Jul 06, 2021
    • Kevin Albertson's avatar
      CDRIVER-4048 support loadBalanced URI option (#808) · c90981ef
      Kevin Albertson authored
      - Resyncs the URI options tests and the initial DNS seedlist discovery tests
      - Add the loadBalanced URI option
      - Validates the loadBalanced URI option after TXT records are applied
      - Disable SRV polling if loadBalanced is enabled
      - Add prose test to ensure SRV polling is disabled
      - Consolidates DNS related tests under /initial_dns_seedlist_discovery/
      c90981ef
  20. May 10, 2021
    • Andreas Braun's avatar
      CDRIVER-3954 Run all integration tests in Versioned API evergreen tests (#787) · 3e9adec1
      Andreas Braun authored
      
      
      * CDRIVER-3917 route all test client and client_pool creation through the test framework
      
      * small fixes
      
      * add missing include
      
      * rename pool method to match client method
      
      * Refactor test framework client factories to accept API version
      
      * Revert change in mongoc-cache.c
      
      Despite the #include, the linker does not like this:
      tests/test-mongoc-cache.c.o: In function `ping':
      src/libmongoc/tests/test-mongoc-cache.c:45: undefined reference to `test_framework_client_new'
      
      * Run all tests with requireApiVersion=true
      
      * Fix large_ismaster test
      
      * Don't set server api when client can't be created
      
      * Don't use test clients in tests specifically testing server API behaviour
      
      * Print default API version in test output
      
      * Set requireApiVersion option earlier
      
      * Consider apiVersion field when assembling large bulk operation
      
      * Fix wrong comment wording
      
      Co-authored-by: default avatarBenjamin Rewis <32186188+benjirewis@users.noreply.github.com>
      
      * Fix inaccurate variable name
      
      * Remove obsolete todo
      
      * Document MONGODB_API_VERSION environment variable in contributing docs
      
      * Document new test methods
      
      * Fix tests with acceptApiVersion2
      
      * Update newly added test
      
      Co-authored-by: default avatarsamantharitter <samantha.ritter@10gen.com>
      Co-authored-by: default avatarBenjamin Rewis <32186188+benjirewis@users.noreply.github.com>
      3e9adec1
  21. Feb 03, 2021
  22. Nov 11, 2020
  23. Nov 09, 2019
  24. Nov 04, 2019
  25. Dec 21, 2018
  26. Jun 22, 2018
  27. May 31, 2018
  28. May 05, 2018
  29. Jan 30, 2018
  30. Jan 13, 2018
  31. Oct 28, 2017
  32. Oct 10, 2017
  33. Sep 27, 2017
  34. Aug 11, 2017
  35. Jun 11, 2017
  36. May 17, 2017
  37. Apr 28, 2017