Skip to content

Releases: oracle/coherence-py-client

Python Client for Oracle Coherence v2.0.4

08 Jul 16:10
bfebf8f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.0.4

Python Client for Oracle Coherence v2.0.3

20 Jun 20:25
0757c94
Compare
Choose a tag to compare

What's Changed

  • COH-32107 - Create a GitHub workflow action for running Python examples by @dhirupandey in #245
  • Check server version in vector search to determine if the example will run or not by @dhirupandey in #246
  • Update types-protobuf requirement from 6.30.2.20250506 to 6.30.2.20250516 by @dependabot in #247
  • Update jsonpickle requirement from >=3.0,<4.1 to >=3.0,<4.2 by @dependabot in #248
  • Update protobuf requirement from 5.29.4 to 5.29.5 by @dependabot in #250
  • Update grpcio-tools requirement from 1.70.0 to 1.71.0 by @dependabot in #254
  • Update typing-extensions requirement from >=4.11,<4.14 to >=4.11,<4.15 by @dependabot in #259
  • Update grpcio requirement from 1.72.1 to 1.73.0 by @dependabot in #257
  • Updates for LangChain integration by @dhirupandey in #260

Full Changelog: v2.0.2...v2.0.3

Python Client for Oracle Coherence v2.0.2

07 May 18:49
16a20a5
Compare
Choose a tag to compare

What's Changed

  • Update ci/cd to latest patch releases. by @rlubke in #240
  • Update types-protobuf requirement from 6.30.2.20250503 to 6.30.2.20250506 by @dependabot in #243
  • COH-32325 - Fix issue with cache destroy when the stream handler has been closed by @dhirupandey in #242

Full Changelog: v2.0.1...v2.0.2

Python Client for Oracle Coherence v2.0.1

23 Apr 18:33
2f076d7
Compare
Choose a tag to compare

What's Changed

  • Bump aquasecurity/trivy-action from 0.29.0 to 0.30.0 by @dependabot in #217
  • Update protobuf requirement from 5.29.3 to 5.29.4 by @dependabot in #221
  • COH-31964 - Create a GitHub workflow action for updating Docs by @dhirupandey in #222
  • Bump coherence.version from 24.09.3 to 25.03 in /tests/java by @dependabot in #224
  • Update types-protobuf requirement from 5.29.1.20250402 to 5.29.1.20250403 by @dependabot in #228
  • Update typing-extensions requirement from >=4.11,<4.13 to >=4.11,<4.14 by @dependabot in #229
  • COH-32065 - Use numpy package to improve performance of Vector.normalize() api by @dhirupandey in #230
  • COH-32073 - Add support for HnswIndex in ai module by @dhirupandey in #232
  • COH-31963 - Create example for using Vectors in Python Client by @dhirupandey in #233
  • COH-32201 - Fix bug in HNSWIndex implementation in Python Client by @dhirupandey in #234
  • Add async to abstract add_index and remove_index methods of NamedMap by @dhirupandey in #235
  • COH-32151 - Pin workflow action actions/download-artifactv@4 to immut… by @dhirupandey in #236

Full Changelog: v2.0.0...v2.0.1

Python Client for Oracle Coherence v2.0.0

31 Jan 20:47
26fa5c4
Compare
Choose a tag to compare

Introduction

This is release v2.0.0 of the Python Client for Oracle Coherence. It allows Python applications to act as cache clients to a Coherence cluster using gRPC.

Requirements

  • Coherence CE 22.06.11+ or Coherence 14.1.1.2206.11+, 14.1.2.0+ Commercial edition with a configured gRPCProxy.
  • Usage of module coherence.ai requires Coherence CE 24.09.2+
  • Python 3.9.x or later

Updates / New Features

  • Added support for new internal gRPC v1 API in CE 24.09+, CE 14.1.2+ and commercial 14.1.2+.
  • Added NearCache support to cache frequently accessed data in your Python application.
  • Added support to use the Coherence Name Service to lookup gRPC endpoints by specifying the resolve address of coherence:///host:port where host is a machine in the cluster and port is the cluster port.
    E.g. coherence:///localhost:7574
  • coherence.ai module added to support SimilaritySearch API

Breaking Changes

The following methods have changed their signatures to be async in NamedMap and NamedCache class:

  • async def get_all(...)
  • async def release(...)
  • async def invoke_all(...)
  • async def values(...)
  • async def keys(...)
  • async def entries(...)

What's Changed

  • Integrate V1 Protocol Support, and Near Caching by @rlubke in #180
  • Updated Near Caching documentation and new example by @rlubke in #189
  • COH-30144 Implement NSLookup resolution for Python Client by @dhirupandey in #193
  • COH-31333 - Update the session connection log output to be similar to… by @dhirupandey in #197
  • COH-31421 - Integrate Coherence AI changes to main and release a new version to Pypi by @dhirupandey in #207
  • Updated Coherence CE versions to 22.06.11, 24.09.2
  • Update jsonpickle requirement to >=3.0,<4.1 by @dependabot in #174
  • Update types-protobuf requirement from 5.27.0.20240626 to 5.29.1.20241207 by @dependabot in #187
  • Update pymitter requirement from >=0.4,<0.6 to >=0.4,<1.1 by @dependabot in #191
  • Update protobuf requirement 5.29.3 by @dependabot in #195
  • Update grpcio requirement to 1.70.0 by @dependabot in #203
  • Update grpcio-tools requirement to 1.70.0 by @dependabot in #204

Full Changelog: v1.1.1...v2.0.0

Coherence Python Client v1.1.1

01 Jun 00:09
9aa76bb
Compare
Choose a tag to compare

What's Changed

  • Fix version number in coherence/init.py and update other locations for release by @dhirupandey in #145
  • Update grpcio requirement from >=1.54,<1.64 to >=1.54,<1.65 by @dependabot in #142

Full Changelog: v1.1.0...v1.1.1

Coherence Python Client v1.1.0

30 Apr 22:39
4433266
Compare
Choose a tag to compare

What's Changed

  • COH-29986 - Implement missing apis - add_index and remove_index in Python client by @dhirupandey in #139

Full Changelog: v1.0.3...v1.1.0

Coherence Python Client v1.0.3

17 Apr 18:33
3026b5c
Compare
Choose a tag to compare

What's Changed

  • COH-29971 - Changes for supporting Python 3.8+ by @dhirupandey in #133
  • COH-29294 - Add missing test for put with TTL by @dhirupandey in #109
  • Update grpcio requirement from >=1.54,<1.61 to >=1.54,<1.63 by @dependabot in #112
  • Update grpcio-tools requirement from >=1.54,<1.61 to >=1.54,<1.63 by @dependabot in #113
  • Update CI builds to use latest CE releases by @dhirupandey in #105
  • COH-29907 - Fix error from "docker-compose: not found" on GitHub CI by @dhirupandey in #129
  • COH-29926 - Archive server logs for CI runs on both GitHub and Jenkins by @dhirupandey in #130
  • COH-29941- Remove destroy() calls during teardown to fix failures in main by @dhirupandey in #131

Full Changelog: v1.0.2...v1.0.3

Coherence Python Client v1.0.2

29 Nov 04:47
020bb34
Compare
Choose a tag to compare

What's Changed

  • Changes to run SSL tests on OEL by @dhirupandey in #54
  • Stop test containers after the test execution by @dhirupandey in #56
  • Revert "Stop test containers after the test execution" by @dhirupandey in #57
  • Update to latest 22.06 CE release. by @rlubke in #60
  • Fix for intermittent hang by @rlubke in #70
  • Changes to test with other Coherence versions by @dhirupandey in #72
  • Update grpcio requirement from >=1.54,<1.59 to >=1.54,<1.60 by @dependabot in #80
  • Replace 23.03 with 23.09. by @rlubke in #81
  • Update grpcio-tools requirement from >=1.54,<1.59 to >=1.54,<1.60 by @dependabot in #82
  • COH-28687 - Display the host its trying to connect in error stack by @dhirupandey in #84
  • Update protobuf requirement from >=4.23,<4.25 to >=4.23,<4.26 by @dependabot in #86
  • COH-28861 - CI Build - error: Missing type parameters for generic type "ValueManipulator" [type-arg] by @dhirupandey in #88
  • Update pymitter requirement from ~0.4 to >=0.4,<0.6 by @dependabot in #89

Full Changelog: v1.0.1...v1.0.2

Coherence Python Client v1.0.1

11 Jul 18:57
75b281d
Compare
Choose a tag to compare

What is the Coherence Python Client?

  • The Coherence Python Client allows Python applications to act as cache clients to a Coherence Cluster using gRPC for the network transport.
  • Supported on Coherence CE 22.06.4+ or Coherence 14.1.1.2206.4+ Commercial edition with a configured gRPC Proxy. (Can get started using the latest coherence docker image)
  • Python 3.11.x is required

Features

  • Familiar Map-like interface for manipulating cache entries including but not limited to:
  • put, put_if_absent, put_all, get, get_all, remove, clear, get_or_default, replace, replace_mapping, size, is_empty, contains_key, contains_value
  • Cluster-side querying, aggregation and filtering of map entries
  • Cluster-side manipulation of map entries using EntryProcessors
  • Registration of listeners to be notified of:
    • mutations such as insert, update and delete on Maps
    • map lifecycle events such as truncated, released or destroyed
    • session lifecycle events such as connected, disconnected, reconnected and closed
  • Support for storing Python objects as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API’s

Next Steps