From ce8bd910384edc4e1fd2710dbf25b535ed0bf576 Mon Sep 17 00:00:00 2001 From: portuu3 <61605646+portuu3@users.noreply.github.com> Date: Tue, 17 Mar 2026 14:07:33 +0100 Subject: [PATCH] bump changeset version (#3828) --- .changeset/cozy-poets-go.md | 6 ------ .changeset/crisp-buckets-agree.md | 5 ----- .changeset/nine-seas-dream.md | 11 ---------- .changeset/shaggy-months-post.md | 5 ----- packages/core/CHANGELOG.md | 11 ++++++++++ packages/core/package.json | 2 +- .../python/human-protocol-sdk/CHANGELOG.md | 16 ++++++++++++++ .../human_protocol_sdk/gql/cancel.py | 4 +--- .../human_protocol_sdk/gql/escrow.py | 4 +--- .../human_protocol_sdk/gql/reward.py | 4 +--- .../human_protocol_sdk/gql/transaction.py | 4 +--- .../human_protocol_sdk/gql/worker.py | 4 +--- .../python/human-protocol-sdk/package.json | 2 +- .../human-protocol-sdk/CHANGELOG.md | 21 +++++++++++++++++++ .../human-protocol-sdk/package.json | 2 +- 15 files changed, 56 insertions(+), 45 deletions(-) delete mode 100644 .changeset/cozy-poets-go.md delete mode 100644 .changeset/crisp-buckets-agree.md delete mode 100644 .changeset/nine-seas-dream.md delete mode 100644 .changeset/shaggy-months-post.md create mode 100644 packages/core/CHANGELOG.md diff --git a/.changeset/cozy-poets-go.md b/.changeset/cozy-poets-go.md deleted file mode 100644 index 7728c99e1f..0000000000 --- a/.changeset/cozy-poets-go.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@human-protocol/sdk": major -"@human-protocol/python-sdk": major ---- - -Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error diff --git a/.changeset/crisp-buckets-agree.md b/.changeset/crisp-buckets-agree.md deleted file mode 100644 index 3915fea605..0000000000 --- a/.changeset/crisp-buckets-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@human-protocol/sdk": minor ---- - -Added typed subgraph errors (SubgraphRequestError, SubgraphBadIndexerError) and wrapped subgraph request failures with these classes diff --git a/.changeset/nine-seas-dream.md b/.changeset/nine-seas-dream.md deleted file mode 100644 index a6c0ea17cd..0000000000 --- a/.changeset/nine-seas-dream.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@human-protocol/core": major -"@human-protocol/sdk": major -"@human-protocol/python-sdk": major ---- - -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`. diff --git a/.changeset/shaggy-months-post.md b/.changeset/shaggy-months-post.md deleted file mode 100644 index 183d64c44e..0000000000 --- a/.changeset/shaggy-months-post.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@human-protocol/sdk": patch ---- - -Split combined domain files into module folders with explicit files per responsibility. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md new file mode 100644 index 0000000000..951f1a805f --- /dev/null +++ b/packages/core/CHANGELOG.md @@ -0,0 +1,11 @@ +# @human-protocol/core + +## 6.0.0 + +### 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`. diff --git a/packages/core/package.json b/packages/core/package.json index 908f7cdc6a..31d24f0f95 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@human-protocol/core", "description": "Human Protocol Core Smart Contracts", - "version": "5.0.1", + "version": "6.0.0", "files": [ "contracts/**/*.sol", "abis/**/*.json", diff --git a/packages/sdk/python/human-protocol-sdk/CHANGELOG.md b/packages/sdk/python/human-protocol-sdk/CHANGELOG.md index 00b16bfdbf..95ef3c397b 100644 --- a/packages/sdk/python/human-protocol-sdk/CHANGELOG.md +++ b/packages/sdk/python/human-protocol-sdk/CHANGELOG.md @@ -1,5 +1,21 @@ # @human-protocol/python-sdk +## 7.0.0 + +### 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 + ## 6.1.0 ### Minor Changes diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/cancel.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/cancel.py index 6d5ddf36db..223b88aafb 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/cancel.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/cancel.py @@ -70,6 +70,4 @@ def get_cancellation_refund_by_escrow_query(): }} }} {cancellation_refund_fragment} -""".format( - cancellation_refund_fragment=cancellation_refund_fragment - ) +""".format(cancellation_refund_fragment=cancellation_refund_fragment) diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/escrow.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/escrow.py index 38a0ca8919..5d1b01f6e6 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/escrow.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/escrow.py @@ -97,9 +97,7 @@ def get_escrow_query(): }} }} {escrow_fragment} -""".format( - escrow_fragment=escrow_fragment - ) +""".format(escrow_fragment=escrow_fragment) def get_status_query( diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/reward.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/reward.py index 3f43bbff9e..09c06278ae 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/reward.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/reward.py @@ -14,6 +14,4 @@ }} }} {reward_added_event_fragment} -""".format( - reward_added_event_fragment=reward_added_event_fragment -) +""".format(reward_added_event_fragment=reward_added_event_fragment) diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/transaction.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/transaction.py index ef637424b2..f17cc61876 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/transaction.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/transaction.py @@ -103,6 +103,4 @@ def get_transaction_query() -> str: }} }} {transaction_fragment} -""".format( - transaction_fragment=transaction_fragment - ) +""".format(transaction_fragment=transaction_fragment) diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/worker.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/worker.py index 9788272612..ee21af1ef7 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/worker.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/gql/worker.py @@ -18,9 +18,7 @@ def get_worker_query() -> str: }} }} {worker_fragment} -""".format( - worker_fragment=worker_fragment - ) +""".format(worker_fragment=worker_fragment) def get_workers_query(filter: WorkerFilter) -> str: diff --git a/packages/sdk/python/human-protocol-sdk/package.json b/packages/sdk/python/human-protocol-sdk/package.json index 3bf7565226..0bccb37465 100644 --- a/packages/sdk/python/human-protocol-sdk/package.json +++ b/packages/sdk/python/human-protocol-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@human-protocol/python-sdk", - "version": "6.1.0", + "version": "7.0.0", "private": true, "description": "Stub package to integrate the Python SDK with Changesets (dev-only).", "license": "MIT", diff --git a/packages/sdk/typescript/human-protocol-sdk/CHANGELOG.md b/packages/sdk/typescript/human-protocol-sdk/CHANGELOG.md index cfdab05143..7dfae9ee93 100644 --- a/packages/sdk/typescript/human-protocol-sdk/CHANGELOG.md +++ b/packages/sdk/typescript/human-protocol-sdk/CHANGELOG.md @@ -1,5 +1,26 @@ # @human-protocol/sdk +## 7.0.0 + +### 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 + ## 6.1.0 ### Minor Changes diff --git a/packages/sdk/typescript/human-protocol-sdk/package.json b/packages/sdk/typescript/human-protocol-sdk/package.json index e77a006717..f1c4573780 100644 --- a/packages/sdk/typescript/human-protocol-sdk/package.json +++ b/packages/sdk/typescript/human-protocol-sdk/package.json @@ -1,7 +1,7 @@ { "name": "@human-protocol/sdk", "description": "Human Protocol SDK", - "version": "6.1.0", + "version": "7.0.0", "files": [ "src", "dist"