Skip to content

Releases: humanprotocol/human-protocol

python/sdk@7.1.0

18 Mar 12:52
d4644d9

Choose a tag to compare

Minor Changes

  • 7da7b12: Extended SDK to return block and tx hash for "getStatusEvents".
    Fixed "status" field in return value to be consistent in SDKs.

Patch Changes

  • a49202f: Delete references to totalHMTAmountReceived that was removed from subgraph

js/sdk@7.1.0

18 Mar 12:53
d4644d9

Choose a tag to compare

Minor Changes

  • 7da7b12: Extended SDK to return block and tx hash for "getStatusEvents".
    Fixed "status" field in return value to be consistent in SDKs.

Patch Changes

  • a49202f: Delete references to totalHMTAmountReceived that was removed from subgraph

python/sdk@7.0.0

17 Mar 13:13
f99cd5c

Choose a tag to compare

Major Changes

  • a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error

  • a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from KVStore instead of passing fee values during escrow setup. Escrow.setup(...) and factory setup flows no longer accept fee arguments, escrow deployments now require a KVStore address, and fee validation is enforced on-chain from KVStore values, including per-oracle and total fee limits. Added upgrade-safe EscrowFactory support for storing and updating the KVStore address.

    Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from setup(...) and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

    Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed totalAmountPaid and averageAmountPerWorker from IDailyPayment.

Patch Changes

  • Updated dependencies [a7ab394]
    • @human-protocol/core@6.0.0

js/sdk@7.0.0

17 Mar 13:14
f99cd5c

Choose a tag to compare

Major Changes

  • a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error

  • a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from KVStore instead of passing fee values during escrow setup. Escrow.setup(...) and factory setup flows no longer accept fee arguments, escrow deployments now require a KVStore address, and fee validation is enforced on-chain from KVStore values, including per-oracle and total fee limits. Added upgrade-safe EscrowFactory support for storing and updating the KVStore address.

    Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from setup(...) and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

    Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed totalAmountPaid and averageAmountPerWorker from IDailyPayment.

Minor Changes

  • a31cfc8: Added typed subgraph errors (SubgraphRequestError, SubgraphBadIndexerError) and wrapped subgraph request failures with these classes

Patch Changes

  • c50fc7e: Split combined domain files into module folders with explicit files per responsibility.
  • Updated dependencies [a7ab394]
    • @human-protocol/core@6.0.0

js/core@6.0.0

17 Mar 13:14
f99cd5c

Choose a tag to compare

Major Changes

  • a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from KVStore instead of passing fee values during escrow setup. Escrow.setup(...) and factory setup flows no longer accept fee arguments, escrow deployments now require a KVStore address, and fee validation is enforced on-chain from KVStore values, including per-oracle and total fee limits. Added upgrade-safe EscrowFactory support for storing and updating the KVStore address.

    Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from setup(...) and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.

    Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed totalAmountPaid and averageAmountPerWorker from IDailyPayment.

python/sdk@6.1.0

11 Feb 13:19

Choose a tag to compare

Minor Changes

  • 39e76d1: Enhance transaction handling with timeout and confirmations

Patch Changes

  • cb2a6aa: Add prune to subgraph and update ids for the new version
  • 68da3b1: Remove SUBGRAPH_API_KEY placeholder and simplify subgraph URL handling

js/sdk@6.1.0

11 Feb 12:03
4432e46

Choose a tag to compare

Minor Changes

  • 39e76d1: Enhance transaction handling with timeout and confirmations

Patch Changes

  • cb2a6aa: Add prune to subgraph and update ids for the new version
  • f9c729c: Enhance transaction handling to support bigint for block filters
  • 68da3b1: Remove SUBGRAPH_API_KEY placeholder and simplify subgraph URL handling

v5.0.0

06 Nov 13:55
4f90668

Choose a tag to compare

5.0.0 release for both JS SDK & Python SDK. Actual versions of packages:

From now on only tags will be pushed, no new releases created on GitHub. If you find it necessary - please create a feature request.

v5.0.0-beta.3

23 Oct 09:40

Choose a tag to compare

v5.0.0-beta.3 Pre-release
Pre-release

Updated return types in sdk for subgraph responses. Fixed ABI mismatches in python sdk

v5.0.0-beta.2

02 Oct 15:49

Choose a tag to compare

v5.0.0-beta.2 Pre-release
Pre-release
upgrade contracts and subgraphs