1. Jan 12, 2024
  2. Jan 06, 2024
  3. Jan 05, 2024
    • Kevin Albertson's avatar
      CDRIVER-4767 Support Python 3.6 in man page build (#1504) · 4147d49b
      Kevin Albertson authored
      * remove use of `:=`
      
      Assignment expressions were introduced in Python 3.8
      
      * use `typing.Union` instead of `|`
      
      Writing union types as `X | Y` was introduced in Python 3.10.
      
      * do not use Union `|` operator
      
      The Union `|` operator was added in Python 3.9. See: PEP 584
      
      * use `typing.List` and `typing.Dict`
      
      Type hinting for `list`, `dict` was added in Python 3.9. See: PEP 585
      4147d49b
  4. Jan 03, 2024
  5. Jan 02, 2024
    • Kevin Albertson's avatar
      CDRIVER-4795 restore `MONGOC_MD_FLAG_ENABLE_ICU` (#1494) · ba248f73
      Kevin Albertson authored
      * support Python 3 in `parse_handshake_cfg.py`
      
      * add numeric assignments to enum values
      
      * format `mongoc-handshake-private.h`
      
      * fix reference to test function
      
      * restore `MONGOC_MD_FLAG_ENABLE_ICU`
      
      * comment about `MONGOC_MD_FLAG_ENABLE_ICU` removal
      ba248f73
  6. Dec 28, 2023
    • Kevin Albertson's avatar
      CDRIVER-4767 support Sphinx 1.7.6 (#1492) · 3f2c35d9
      Kevin Albertson authored
      * import older `DirectoryHTMLBuilder` if needed
      
      The import path of `DirectoryHTMLBuilder` was changed from `sphinx.builders.html` to `sphinx.builders.dirhtml` in Sphinx v2.0.0
      
      * import `Directive`, not `SphinxDirective`
      
      `SphinxDirective` was added in Sphinx v2.0.0
      
      * do not import Project
      
      `Project` was added in Sphinx v2.0.0
      
      * update `needs_sphinx` to 1.7
      
      * error if `add_css_file` is unavailable for HTML builder.
      
      But do not error otherwise. This is intended to help build man pages without HTML requirements.
      
      `Sphinx.add_css_file` was added in Sphinx v3.5.0
      
      * use `builder-inited`
      
      `config-inited` was added in Sphinx v1.8.0
      
      * do not use `external` role
      
      `external` role was added in intersphinx extension in v4.4
      
      * do not use `noindexentry`
      
      `noindexentry` option was added to C domain in Sphinx v3.2
      
      * remove `name` from `index` directive
      
      `name` option was added in Sphinx v3.0
      
      * populate `man_pages` in `setup` instead of event handler
      
      The `config-inited` event was added in Sphinx v1.8.0
      The `ManualPageBuilder` constructor raises an exception for an empty `man_pages` value.
      
      * remove parallel build of man pages
      
      To avoid an error observed on Sphinx 1.7.6:
      ```
      AttributeError: Can't pickle local object 'BuildEnvironment._read_parallel.<locals>.merge'
      ```
      
      * remove unhelpful warning
      
      An error is raised at runtime with a message suggesting to install `sphinx-design`. The warning was a source of confusion in CDRIVER-4767
      
      * update NEWS for 1.25.3
      
      * add upcoming NEWS for 1.25.4
      3f2c35d9
  7. Dec 21, 2023
  8. Dec 13, 2023
  9. Dec 08, 2023
  10. Dec 07, 2023
  11. Dec 06, 2023
  12. Dec 05, 2023
  13. Nov 30, 2023
  14. Nov 28, 2023
  15. Nov 22, 2023
  16. Nov 16, 2023
  17. Nov 14, 2023
    • Ezra Chung's avatar
      CDRIVER-4781 Avoid intermediate uint32_t for socketTimeoutMS (#1475) · 6cef90ac
      Ezra Chung authored
      * Fix format specifier in timeout range validation error messages
      
      * CDRIVER-4781 Avoid overflow of -1 sockettimeout in cast to intermediate uint32_t
      
      * Add regression test for negative sockettimeoutms validation
      
      * Update documentation with warnings for non-positive timeout values
      
      * Update timeout variables for type consistency
      
      * Add regression test for unspecified default timeout in writev functions
      6cef90ac
  18. Nov 10, 2023
  19. Nov 09, 2023
  20. Nov 08, 2023
  21. Nov 07, 2023
  22. Nov 03, 2023