Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: couchbase/couchbase-python-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: couchbase/couchbase-python-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release43
Choose a head ref
  • 8 commits
  • 16 files changed
  • 1 contributor

Commits on Apr 15, 2025

  1. Update C++ core

    Change-Id: I4636e498854af319f02f551f5206aec5e509856b
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226345
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    Tested-by: Build Bot <[email protected]>
    thejcfactor committed Apr 15, 2025
    Configuration menu
    Copy the full SHA
    b6540c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2025

  1. PYCBC-1675: Forward append/prepend CAS to core request

    Motivation
    ==========
    Previously the append and prepend requests in the C++ core did not have
    a field for CAS.  This meant that the relevant option in
    AppendOptions/PrependOptions was being ignored.
    
    Modification
    ============
    * Update C++ core (done in previous commit)
    * Set the CAS option in the core's append_request & prepend_request.
    
    Results
    =======
    Relevant tests in FIT pass.
    
    Change-Id: Ic49f3176618aed1458384abb858eddf17c1fcf70
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226408
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    Tested-by: Build Bot <[email protected]>
    thejcfactor committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    c03ff5c View commit details
    Browse the repository at this point in the history
  2. PYCBC-1681: Raise InvalidArgumentException when base64 vector string is

    empty
    
    Motivation
    ==========
    Base64 vector strings cannot be empty. The RFC requires us to throw an InvalidArgumentException.
    
    Modification
    ============
    If an empty base64 vector string is given, fail with an InvalidArgumentException.
    
    Results
    =======
    Relevant FIT tests pass
    
    Change-Id: Ica200369fe18a2af31c5e3959bbf86c034fd002c
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226419
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    thejcfactor committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    0460df1 View commit details
    Browse the repository at this point in the history
  3. PYCBC-1678: Pin cmake version

    Motivation
    ==========
    Until we have time to investigate CMake 4.0 compatibility we should make
    sure the build system will install CMake < 4.0.  Most users should not
    run into this scenario as we provide wheels.
    
    Modification
    ============
    Pinned setup_requires CMake to >= 3.19 and < 4.0.
    
    Change-Id: Ib8a6badb8a3615f18a13d946dd4c7f8bef5e5971
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226430
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    thejcfactor committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    790bea7 View commit details
    Browse the repository at this point in the history
  4. PYCBC-1683: Fix search range queries to follow RFC

    Motivation
    ==========
    The `DateRangeQuery`, `NumericRangeQuery` and `TermRangeQuery` search
    queries do not abide by the RFC and are incorrectly encoding the search
    JSON for some parameters. The search queries should be updated so that
    users can successfully use these range query types.
    
    Modification
    ============
    * Deprecate `TermRangeQuery` properties that do not follow RFC (`start`,
      `end`, `start_inclusive` and `end_inclusive`)
    * Add properties missing from the RFC: `min`, `max`, `inclusive_min` and
      `inclusive_max`.
    * Deprecate `DateRangeQuery` properties that do not follow RFC
      (`start_inclusive` and `end_inclusive`) and add properties missing
      from the RFC (`inclusive_start` and `inclusive_end`)
    * Deprecate `NumericRangeQuery` properties that do not follow RFC
      (`min_inclusive` and `max_inclusive`) and add properties missing from
      the RFC (`inclusive_min` and `inclusive_max`)
    * Update various type definitions
    * Update search_param tests to confirm correct encoded JSON
    
    Results
    =======
    All tests pass.
    
    Change-Id: I0117938a4c8792b7d47fd0f845811062af6448ac
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226412
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    Tested-by: Build Bot <[email protected]>
    thejcfactor committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    d3a817c View commit details
    Browse the repository at this point in the history
  5. PYCBC-1679: Disable console logger if file logger specified

    Changes
    =======
    * If the `PYCBC_LOG_FILE` environment variable is set (enabling the C++
      core file logger), the C++ console logger will be disabled.
    * If the file logger is enabled, the console logger may also be enabled
      if the `PYCBC_ENABLE_CONSOLE` environment variable is set.
    
    Change-Id: I9288191a5776472ee9ad754cae7a51c3878bdd37
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226346
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    Tested-by: Build Bot <[email protected]>
    thejcfactor committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    2c49a86 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. PYCBC-1676: Update couchbase query operations example to use blocking…

    … API
    
    Change-Id: I5fe66a7d185bf3e56056a941a34ed0cc03ac325c
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/227599
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    thejcfactor committed May 13, 2025
    Configuration menu
    Copy the full SHA
    5beb249 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2025

  1. PYCBC-1685: Remove timeout logic when waiting for C++ core HTTP response

    Motivation
    ==========
    Since the SDK uses a timeout (the same it passes down to the C++ core)
    when waiting for streaming results from the C++ core, it is possible for
    it to raise a `StopIteration` incorrectly.  Instead the SDK should
    continue to wait for the C++ core to return a response.
    
    Modification
    ============
    * Remove logic to raise a `StopIteration` exception when waiting for a
      response for streaming operations.  Instead a message is logged (at
      the DEBUG level) to provide potentially useful information.
    * Update tests to confirm changes.
    
    Change-Id: I2f65f7b5ae1c467f5ee0ed6339f8ecce264f6839
    Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/227435
    Tested-by: Build Bot <[email protected]>
    Reviewed-by: Dimitris Christodoulou <[email protected]>
    thejcfactor committed May 14, 2025
    Configuration menu
    Copy the full SHA
    aa62c0e View commit details
    Browse the repository at this point in the history
Loading