Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-weekly-rotation-notifications.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/for-you-signup-genres.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/group-chats.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/inbox-replied-priority.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/listener-cities.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/sdk-error-handling-fixes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-lazy-onchain-clients.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/sdk-lazy-solana-client.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-lazy-upload-deps.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-noble-curves-ciphers.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-transcode-done-rotate-node.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-viem-mainnet-chain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sp-actions-default-eth-provider.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stems-zip-download-url.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/track-feedback-requests.md

This file was deleted.

18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/harmony/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/harmony/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@audius/harmony",
"version": "0.5.3",
"version": "0.6.0",
"description": "The Audius Design System",
"license": "ISC",
"author": "Audius",
Expand Down
20 changes: 20 additions & 0 deletions packages/libs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/libs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@audius/sdk-legacy",
"version": "6.0.30",
"version": "6.0.31",
"audius": {
"releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49"
},
Expand Down Expand Up @@ -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",
Expand Down
22 changes: 22 additions & 0 deletions packages/protocol-dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/protocol-dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@audius/protocol-dashboard",
"version": "0.1.20",
"version": "0.1.21",
"private": true,
"type": "module",
"homepage": "./",
Expand Down Expand Up @@ -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",
Expand Down
40 changes: 40 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.<method>()` 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.<contract>.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
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@audius/sdk",
"version": "17.0.0",
"version": "18.0.0",
"type": "module",
"audius": {
"releaseSHA": "f1d70a2a0643c5c84d8ab053f70c1e0a2ec3ad49"
Expand Down
7 changes: 7 additions & 0 deletions packages/sp-actions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/sp-actions/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"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"
},
"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",
Expand Down