Skip to content

Python Client for Oracle Coherence v2.0.0

Compare
Choose a tag to compare
@dhirupandey dhirupandey released this 31 Jan 20:47
· 45 commits to main since this release
26fa5c4

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