From a85629726f4b54f88a38970eba15c4a339d0f790 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Dec 2026 21:16:05 +0000 Subject: [PATCH] Version Packages --- .../fix-weekly-rotation-notifications.md | 5 --- .changeset/for-you-signup-genres.md | 5 --- .changeset/group-chats.md | 5 --- .changeset/inbox-replied-priority.md | 6 --- .changeset/listener-cities.md | 5 --- .changeset/sdk-error-handling-fixes.md | 13 ------ .changeset/sdk-lazy-onchain-clients.md | 5 --- .changeset/sdk-lazy-solana-client.md | 11 ----- .changeset/sdk-lazy-upload-deps.md | 5 --- .changeset/sdk-noble-curves-ciphers.md | 5 --- .changeset/sdk-transcode-done-rotate-node.md | 5 --- .changeset/sdk-viem-mainnet-chain.md | 5 --- .changeset/sp-actions-default-eth-provider.md | 5 --- .changeset/stems-zip-download-url.md | 5 --- .changeset/track-feedback-requests.md | 5 --- package-lock.json | 18 ++++----- packages/harmony/CHANGELOG.md | 6 +++ packages/harmony/package.json | 2 +- packages/libs/CHANGELOG.md | 20 ++++++++++ packages/libs/package.json | 4 +- packages/protocol-dashboard/CHANGELOG.md | 22 ++++++++++ packages/protocol-dashboard/package.json | 6 +-- packages/sdk/CHANGELOG.md | 40 +++++++++++++++++++ packages/sdk/package.json | 2 +- packages/sp-actions/CHANGELOG.md | 7 ++++ packages/sp-actions/package.json | 4 +- 26 files changed, 113 insertions(+), 108 deletions(-) delete mode 100644 .changeset/fix-weekly-rotation-notifications.md delete mode 100644 .changeset/for-you-signup-genres.md delete mode 100644 .changeset/group-chats.md delete mode 100644 .changeset/inbox-replied-priority.md delete mode 100644 .changeset/listener-cities.md delete mode 100644 .changeset/sdk-error-handling-fixes.md delete mode 100644 .changeset/sdk-lazy-onchain-clients.md delete mode 100644 .changeset/sdk-lazy-solana-client.md delete mode 100644 .changeset/sdk-lazy-upload-deps.md delete mode 100644 .changeset/sdk-noble-curves-ciphers.md delete mode 100644 .changeset/sdk-transcode-done-rotate-node.md delete mode 100644 .changeset/sdk-viem-mainnet-chain.md delete mode 100644 .changeset/sp-actions-default-eth-provider.md delete mode 100644 .changeset/stems-zip-download-url.md delete mode 100644 .changeset/track-feedback-requests.md diff --git a/.changeset/fix-weekly-rotation-notifications.md b/.changeset/fix-weekly-rotation-notifications.md deleted file mode 100644 index 2876ca4f200..00000000000 --- a/.changeset/fix-weekly-rotation-notifications.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Parse weekly rotation notifications so a response containing one does not fail to load the entire notification list. diff --git a/.changeset/for-you-signup-genres.md b/.changeset/for-you-signup-genres.md deleted file mode 100644 index 5d0437dad16..00000000000 --- a/.changeset/for-you-signup-genres.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Add `genre` to the For You feed request diff --git a/.changeset/group-chats.md b/.changeset/group-chats.md deleted file mode 100644 index 5be6a6debfa..00000000000 --- a/.changeset/group-chats.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Add group chats: `chats.create` with more than one invitee makes a group (`grp_` id), new `chats.leave`, and `is_group` on `UserChat`. diff --git a/.changeset/inbox-replied-priority.md b/.changeset/inbox-replied-priority.md deleted file mode 100644 index 6bc41f19472..00000000000 --- a/.changeset/inbox-replied-priority.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@audius/sdk': minor -'@audius/harmony': minor ---- - -Add `has_replied` to user chats and `uncategorized_unreplied` to the unread-by-category counts. Add an `endAdornment` slot to `SelectablePill`. diff --git a/.changeset/listener-cities.md b/.changeset/listener-cities.md deleted file mode 100644 index 69b19838603..00000000000 --- a/.changeset/listener-cities.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Add `users.getListenerCities` for an artist's top listener cities diff --git a/.changeset/sdk-error-handling-fixes.md b/.changeset/sdk-error-handling-fixes.md deleted file mode 100644 index 5b2b749efb3..00000000000 --- a/.changeset/sdk-error-handling-fixes.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Fix several error-handling bugs: - -- Uploads reject when transcode/resize polling fails instead of never settling, and aborting an upload stops status polling right away. -- The storage node selector reorders using the refreshed node list after an earlier node list fetch failed. -- The request signature middleware no longer attaches a previously cached signature after the wallet is gone (e.g. after logout) or signing fails. -- `SolanaRelayWalletAdapter.connect()` resets `connecting` when fetching the fee payer fails. -- `SolanaRelay.relay()` rethrows the original response error when the error body isn't JSON. -- `SolanaClient.buildTransaction()` rounds the percentile-based priority fee, which threw on fractional values. -- Chats: a failed public key fetch is no longer cached, and errors handling websocket events are logged instead of becoming unhandled rejections. diff --git a/.changeset/sdk-lazy-onchain-clients.md b/.changeset/sdk-lazy-onchain-clients.md deleted file mode 100644 index b2e531f8c18..00000000000 --- a/.changeset/sdk-lazy-onchain-clients.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Load the default ClaimableTokens, RewardManager and PaymentRouter clients and the EthereumService contracts on first use, so creating the SDK no longer loads @audius/spl, anchor or the @audius/eth ABIs up front. The public interfaces are unchanged, with two differences for the defaults: `sdk.services.ethereum..abi` is only available after that contract has been used, and these services are no longer `instanceof` their client classes. Also marks the package as side-effect free so bundlers can drop unused exports. diff --git a/.changeset/sdk-lazy-solana-client.md b/.changeset/sdk-lazy-solana-client.md deleted file mode 100644 index 9a04170c406..00000000000 --- a/.changeset/sdk-lazy-solana-client.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@audius/sdk': major ---- - -Load @solana/web3.js on first use instead of when the SDK is created. `createSdkWithServices` now creates a lazy `solanaClient` and the Solana relay, `PublicKeySchema` and the program client defaults import @solana/web3.js only when they need it. - -- Adds `solanaClient.getConnection()`, which resolves to the RPC `Connection`. Use it instead of `solanaClient.connection`. -- The default `sdk.services.solanaClient.connection` throws until the client has loaded (after any `await solanaClient.()` call, including `getConnection()`), and the default `solanaClient` is no longer `instanceof SolanaClient`. A `solanaClient` passed in through `services` is used as-is. -- The default `rewardManagerClient.lookupTable` is only available once that client has loaded, unless `rewardManagerLookupTable` is passed in its config. -- `PublicKeySchema` (and schemas built on it, such as `MintSchema`) now only supports async parsing (`parseAsync`/`safeParseAsync`). The SDK's own methods already parse asynchronously. -- `SolanaAddressSchema` validates the address as base58-encoded 32 bytes without @solana/web3.js. It accepts the same strings as before. diff --git a/.changeset/sdk-lazy-upload-deps.md b/.changeset/sdk-lazy-upload-deps.md deleted file mode 100644 index 0d08fe5eeb0..00000000000 --- a/.changeset/sdk-lazy-upload-deps.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Load `tus-js-client` and the Node `file-type` path only when an upload or file type check needs them, and fetch the storage node list on first use instead of when the SDK is created. diff --git a/.changeset/sdk-noble-curves-ciphers.md b/.changeset/sdk-noble-curves-ciphers.md deleted file mode 100644 index 834b21e13dc..00000000000 --- a/.changeset/sdk-noble-curves-ciphers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Use @noble/curves for secp256k1 and @noble/ciphers for AES-GCM instead of @noble/secp256k1 and micro-aes-gcm. Chat and email encryption, shared secrets and signatures are byte-for-byte the same. diff --git a/.changeset/sdk-transcode-done-rotate-node.md b/.changeset/sdk-transcode-done-rotate-node.md deleted file mode 100644 index cdc7fd4fa1d..00000000000 --- a/.changeset/sdk-transcode-done-rotate-node.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -When a storage node reports an audio upload as done without its transcode result, poll the next node and fail after two minutes instead of waiting for the 20-minute stall timeout. diff --git a/.changeset/sdk-viem-mainnet-chain.md b/.changeset/sdk-viem-mainnet-chain.md deleted file mode 100644 index 4684f294177..00000000000 --- a/.changeset/sdk-viem-mainnet-chain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': patch ---- - -Define the Ethereum mainnet chain in the SDK instead of importing it from `viem/chains`, so bundlers that don't tree-shake CommonJS (like Metro) no longer include viem's full chain list. diff --git a/.changeset/sp-actions-default-eth-provider.md b/.changeset/sp-actions-default-eth-provider.md deleted file mode 100644 index d042c1313cb..00000000000 --- a/.changeset/sp-actions-default-eth-provider.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sp-actions': patch ---- - -Default `--web3-provider` to `https://eth-client.audius.co`. The previous default Alchemy key has been deactivated. diff --git a/.changeset/stems-zip-download-url.md b/.changeset/stems-zip-download-url.md deleted file mode 100644 index 6345ef3f65e..00000000000 --- a/.changeset/stems-zip-download-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@audius/sdk': minor ---- - -Add `tracks.getTrackStemsDownloadUrl` for downloading a track's stems as one zip diff --git a/.changeset/track-feedback-requests.md b/.changeset/track-feedback-requests.md deleted file mode 100644 index 364463d9b9d..00000000000 --- a/.changeset/track-feedback-requests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@audius/sdk": minor ---- - -Add feedbackRequested to tracks and getFeedbackTracks diff --git a/package-lock.json b/package-lock.json index e98482e80e8..a0ba604937c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -114650,7 +114650,7 @@ }, "packages/harmony": { "name": "@audius/harmony", - "version": "0.5.3", + "version": "0.6.0", "license": "ISC", "dependencies": { "@emotion/css": "11.13.5", @@ -116434,12 +116434,12 @@ }, "packages/libs": { "name": "@audius/sdk-legacy", - "version": "6.0.30", + "version": "6.0.31", "license": "Apache-2.0", "dependencies": { "@audius/fixed-decimal": "0.2.1", "@audius/hedgehog": "3.0.0-alpha.1", - "@audius/sdk": "17.0.0", + "@audius/sdk": "18.0.0", "@audius/spl": "2.2.0", "@babel/core": "^7.23.7", "@babel/plugin-proposal-class-static-block": "7.21.0", @@ -120791,13 +120791,13 @@ }, "packages/protocol-dashboard": { "name": "@audius/protocol-dashboard", - "version": "0.1.20", + "version": "0.1.21", "dependencies": { "@apollo/client": "3.3.7", "@audius/common": "*", "@audius/harmony": "*", - "@audius/sdk": "17.0.0", - "@audius/sdk-legacy": "6.0.30", + "@audius/sdk": "18.0.0", + "@audius/sdk-legacy": "6.0.31", "@audius/stems": "0.3.10", "@emotion/react": "11.14.0", "@emotion/styled": "11.14.0", @@ -123464,7 +123464,7 @@ }, "packages/sdk": { "name": "@audius/sdk", - "version": "17.0.0", + "version": "18.0.0", "license": "Apache-2.0", "dependencies": { "@audius/eth": "1.0.0", @@ -125452,10 +125452,10 @@ }, "packages/sp-actions": { "name": "@audius/sp-actions", - "version": "1.0.34", + "version": "1.0.35", "license": "Apache-2.0", "dependencies": { - "@audius/sdk-legacy": "6.0.30", + "@audius/sdk-legacy": "6.0.31", "@truffle/hdwallet-provider": "^1.2.2", "axios": "^0.21.0", "commander": "^6.2.1", diff --git a/packages/harmony/CHANGELOG.md b/packages/harmony/CHANGELOG.md index fea8a0e3fcd..91e1c013454 100644 --- a/packages/harmony/CHANGELOG.md +++ b/packages/harmony/CHANGELOG.md @@ -1,5 +1,11 @@ # @audius/harmony +## 0.6.0 + +### Minor Changes + +- 66aca9f: Add `has_replied` to user chats and `uncategorized_unreplied` to the unread-by-category counts. Add an `endAdornment` slot to `SelectablePill`. + ## 0.5.3 ### Patch Changes diff --git a/packages/harmony/package.json b/packages/harmony/package.json index 196478a7516..f9ececadf6f 100644 --- a/packages/harmony/package.json +++ b/packages/harmony/package.json @@ -1,6 +1,6 @@ { "name": "@audius/harmony", - "version": "0.5.3", + "version": "0.6.0", "description": "The Audius Design System", "license": "ISC", "author": "Audius", diff --git a/packages/libs/CHANGELOG.md b/packages/libs/CHANGELOG.md index 9b02af2bc2f..f2cc1156a08 100644 --- a/packages/libs/CHANGELOG.md +++ b/packages/libs/CHANGELOG.md @@ -1,5 +1,25 @@ # @audius/sdk +## 6.0.31 + +### Patch Changes + +- Updated dependencies [2633593] +- Updated dependencies [c59fe5b] +- Updated dependencies [277b3b5] +- Updated dependencies [66aca9f] +- Updated dependencies [e7fae88] +- Updated dependencies [6e30f1f] +- Updated dependencies [aeba05f] +- Updated dependencies [5a1a3a0] +- Updated dependencies [4042e05] +- Updated dependencies [1408b93] +- Updated dependencies [737c197] +- Updated dependencies [de6f379] +- Updated dependencies [196ef51] +- Updated dependencies [71aa373] + - @audius/sdk@18.0.0 + ## 6.0.30 ### Patch Changes diff --git a/packages/libs/package.json b/packages/libs/package.json index efd930810ef..2efb0df42c1 100644 --- a/packages/libs/package.json +++ b/packages/libs/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sdk-legacy", - "version": "6.0.30", + "version": "6.0.31", "audius": { "releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49" }, @@ -44,7 +44,7 @@ "dependencies": { "@audius/fixed-decimal": "0.2.1", "@audius/hedgehog": "3.0.0-alpha.1", - "@audius/sdk": "17.0.0", + "@audius/sdk": "18.0.0", "@audius/spl": "2.2.0", "@babel/core": "^7.23.7", "@babel/plugin-proposal-class-static-block": "7.21.0", diff --git a/packages/protocol-dashboard/CHANGELOG.md b/packages/protocol-dashboard/CHANGELOG.md index 920cc9ee002..dd642129539 100644 --- a/packages/protocol-dashboard/CHANGELOG.md +++ b/packages/protocol-dashboard/CHANGELOG.md @@ -1,5 +1,27 @@ # @audius/protocol-dashboard +## 0.1.21 + +### Patch Changes + +- Updated dependencies [2633593] +- Updated dependencies [c59fe5b] +- Updated dependencies [277b3b5] +- Updated dependencies [66aca9f] +- Updated dependencies [e7fae88] +- Updated dependencies [6e30f1f] +- Updated dependencies [aeba05f] +- Updated dependencies [5a1a3a0] +- Updated dependencies [4042e05] +- Updated dependencies [1408b93] +- Updated dependencies [737c197] +- Updated dependencies [de6f379] +- Updated dependencies [196ef51] +- Updated dependencies [71aa373] + - @audius/sdk@18.0.0 + - @audius/harmony@0.6.0 + - @audius/sdk-legacy@6.0.31 + ## 0.1.20 ### Patch Changes diff --git a/packages/protocol-dashboard/package.json b/packages/protocol-dashboard/package.json index 706331d1080..e832cce73d3 100644 --- a/packages/protocol-dashboard/package.json +++ b/packages/protocol-dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@audius/protocol-dashboard", - "version": "0.1.20", + "version": "0.1.21", "private": true, "type": "module", "homepage": "./", @@ -39,8 +39,8 @@ "@apollo/client": "3.3.7", "@audius/common": "*", "@audius/harmony": "*", - "@audius/sdk": "17.0.0", - "@audius/sdk-legacy": "6.0.30", + "@audius/sdk": "18.0.0", + "@audius/sdk-legacy": "6.0.31", "@audius/stems": "0.3.10", "@emotion/react": "11.14.0", "@emotion/styled": "11.14.0", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index c97daddec4e..fcaeaf3a990 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,45 @@ # @audius/sdk +## 18.0.0 + +### Major Changes + +- 5a1a3a0: Load @solana/web3.js on first use instead of when the SDK is created. `createSdkWithServices` now creates a lazy `solanaClient` and the Solana relay, `PublicKeySchema` and the program client defaults import @solana/web3.js only when they need it. + + - Adds `solanaClient.getConnection()`, which resolves to the RPC `Connection`. Use it instead of `solanaClient.connection`. + - The default `sdk.services.solanaClient.connection` throws until the client has loaded (after any `await solanaClient.()` call, including `getConnection()`), and the default `solanaClient` is no longer `instanceof SolanaClient`. A `solanaClient` passed in through `services` is used as-is. + - The default `rewardManagerClient.lookupTable` is only available once that client has loaded, unless `rewardManagerLookupTable` is passed in its config. + - `PublicKeySchema` (and schemas built on it, such as `MintSchema`) now only supports async parsing (`parseAsync`/`safeParseAsync`). The SDK's own methods already parse asynchronously. + - `SolanaAddressSchema` validates the address as base58-encoded 32 bytes without @solana/web3.js. It accepts the same strings as before. + +### Minor Changes + +- c59fe5b: Add `genre` to the For You feed request +- 277b3b5: Add group chats: `chats.create` with more than one invitee makes a group (`grp_` id), new `chats.leave`, and `is_group` on `UserChat`. +- 66aca9f: Add `has_replied` to user chats and `uncategorized_unreplied` to the unread-by-category counts. Add an `endAdornment` slot to `SelectablePill`. +- e7fae88: Add `users.getListenerCities` for an artist's top listener cities +- aeba05f: Load the default ClaimableTokens, RewardManager and PaymentRouter clients and the EthereumService contracts on first use, so creating the SDK no longer loads @audius/spl, anchor or the @audius/eth ABIs up front. The public interfaces are unchanged, with two differences for the defaults: `sdk.services.ethereum..abi` is only available after that contract has been used, and these services are no longer `instanceof` their client classes. Also marks the package as side-effect free so bundlers can drop unused exports. +- 196ef51: Add `tracks.getTrackStemsDownloadUrl` for downloading a track's stems as one zip +- 71aa373: Add feedbackRequested to tracks and getFeedbackTracks + +### Patch Changes + +- 2633593: Parse weekly rotation notifications so a response containing one does not fail to load the entire notification list. +- 6e30f1f: Fix several error-handling bugs: + + - Uploads reject when transcode/resize polling fails instead of never settling, and aborting an upload stops status polling right away. + - The storage node selector reorders using the refreshed node list after an earlier node list fetch failed. + - The request signature middleware no longer attaches a previously cached signature after the wallet is gone (e.g. after logout) or signing fails. + - `SolanaRelayWalletAdapter.connect()` resets `connecting` when fetching the fee payer fails. + - `SolanaRelay.relay()` rethrows the original response error when the error body isn't JSON. + - `SolanaClient.buildTransaction()` rounds the percentile-based priority fee, which threw on fractional values. + - Chats: a failed public key fetch is no longer cached, and errors handling websocket events are logged instead of becoming unhandled rejections. + +- 4042e05: Load `tus-js-client` and the Node `file-type` path only when an upload or file type check needs them, and fetch the storage node list on first use instead of when the SDK is created. +- 1408b93: Use @noble/curves for secp256k1 and @noble/ciphers for AES-GCM instead of @noble/secp256k1 and micro-aes-gcm. Chat and email encryption, shared secrets and signatures are byte-for-byte the same. +- 737c197: When a storage node reports an audio upload as done without its transcode result, poll the next node and fail after two minutes instead of waiting for the 20-minute stall timeout. +- de6f379: Define the Ethereum mainnet chain in the SDK instead of importing it from `viem/chains`, so bundlers that don't tree-shake CommonJS (like Metro) no longer include viem's full chain list. + ## 17.0.0 ### Major Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index a49ac63317b..3fc53db44f3 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sdk", - "version": "17.0.0", + "version": "18.0.0", "type": "module", "audius": { "releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49" diff --git a/packages/sp-actions/CHANGELOG.md b/packages/sp-actions/CHANGELOG.md index 2bf88098fa6..a4aae36df8e 100644 --- a/packages/sp-actions/CHANGELOG.md +++ b/packages/sp-actions/CHANGELOG.md @@ -1,5 +1,12 @@ # @audius/sp-actions +## 1.0.35 + +### Patch Changes + +- 687cd53: Default `--web3-provider` to `https://eth-client.audius.co`. The previous default Alchemy key has been deactivated. + - @audius/sdk-legacy@6.0.31 + ## 1.0.34 ### Patch Changes diff --git a/packages/sp-actions/package.json b/packages/sp-actions/package.json index c6fd7380b79..e9f92082dcd 100644 --- a/packages/sp-actions/package.json +++ b/packages/sp-actions/package.json @@ -1,6 +1,6 @@ { "name": "@audius/sp-actions", - "version": "1.0.34", + "version": "1.0.35", "description": "A utility for audius service providers to claim token rewards.", "bin": { "claim": "claim.js" @@ -8,7 +8,7 @@ "author": "Audius", "license": "Apache-2.0", "dependencies": { - "@audius/sdk-legacy": "6.0.30", + "@audius/sdk-legacy": "6.0.31", "@truffle/hdwallet-provider": "^1.2.2", "axios": "^0.21.0", "commander": "^6.2.1",