Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

v1.3.0

Choose a tag to compare

@evansims evansims released this 10 Jun 04:44
· 204 commits to main since this release
aeb22ec

Threads and fibers dance,
Concurrent requests take their chance,
Speed finds new romance.

Added

  • Support for concurrency using Fibers
    The SDK now internally uses PHP's Fibers language feature,
    providing support for concurrent HTTP requests and improved performance.

  • Support for non-transactional tuple writes
    writeTuples now supports both transactional and non-transactional modes.

    • In transactional mode, all changes must succeed or the entire operation fails (atomic).
      Use when consistency matters - like granting a user multiple permissions at once.

    • In non-transactional mode, each batch succeeds or fails independently.
      If one batch fails, others may still succeed.
      Use for bulk syncs where you can retry failed batches.

    See the docs for more information.

  • A new batch helper function has been added to simplify batch tuple operations. This new helper
    supports the full range of parameters available in writeTuples and provides a more concise API
    for common use cases.

Changed

  • Tuple Operations
    • New parameters have been added to writeTuples to support configurable parallelism and chunking,
      retries and retry delay, and stop-on-first-error behavior.

    • The writeTuples method now filters out duplicate tuples before issuing requests.

    • A new transactional parameter has been added to the write and delete helper functions to support
      the writeTuples changes.

    • The WriteTuplesResponse class returned by writeTuples now includes detailed results about the operations.

Documentation