Skip to content

Commit

Permalink
Version Packages (#20468)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @mysten/[email protected]

### Minor Changes

- ec2dc7f: Add legacyAddress flag to zklogin methods that generate
addresses
- ec2dc7f: All functionality from `@mysten/zklogin` has been moved to
`@mysten/sui/zklogin`

For most methods, simply replace the `@mysten/zklogin` import with
`@mysten/sui/zklogin`

    2 Methods require one small additional change:

`computeZkLoginAddress` and `jwtToAddress` have new `legacyAddress`
flags which must be set to
    true for backwards compatibility:

    ```diff
- import { computeZkLoginAddress, jwtToAddress } from '@mysten/zklogin';
+ import { computeZkLoginAddress, jwtToAddress } from
'@mysten/sui/zklogin';

      const address = jwtToAddress(
       jwtAsString,
       salt,
    +  true
      );
      const address = computeZkLoginAddress({
    	claimName,
    	claimValue,
    	iss,
    	aud,
    	userSalt: BigInt(salt),
    +	legacyAddress: true,
      });
    ```

## @mysten/[email protected]

### Minor Changes

- ec2dc7f: All functionality from `@mysten/zklogin` has been moved to
`@mysten/sui/zklogin`

For most methods, simply replace the `@mysten/zklogin` import with
`@mysten/sui/zklogin`

    2 Methods require one small additional change:

`computeZkLoginAddress` and `jwtToAddress` have new `legacyAddress`
flags which must be set to
    true for backwards compatibility:

    ```diff
- import { computeZkLoginAddress, jwtToAddress } from '@mysten/zklogin';
+ import { computeZkLoginAddress, jwtToAddress } from
'@mysten/sui/zklogin';

      const address = jwtToAddress(
       jwtAsString,
       salt,
    +  true
      );
      const address = computeZkLoginAddress({
    	claimName,
    	claimValue,
    	iss,
    	aud,
    	userSalt: BigInt(salt),
    +	legacyAddress: true,
      });
    ```

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   360e9a2: Fixes missing parser for move-parser error

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]
    -   @mysten/[email protected]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]

## @mysten/[email protected]

### Patch Changes

-   Updated dependencies [ec2dc7f]
-   Updated dependencies [ec2dc7f]
    -   @mysten/[email protected]
    -   @mysten/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
sui-merge-bot[bot] and github-actions[bot] authored Nov 30, 2024
1 parent 4355b42 commit 1bd8d22
Show file tree
Hide file tree
Showing 32 changed files with 185 additions and 56 deletions.
5 changes: 0 additions & 5 deletions .changeset/short-avocados-lick.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/silent-jeans-matter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-days-relate.md

This file was deleted.

6 changes: 6 additions & 0 deletions external-crates/move/tooling/prettier-move/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @mysten/prettier-plugin-move

## 0.2.1

### Patch Changes

- 360e9a2: Fixes missing parser for move-parser error

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion external-crates/move/tooling/prettier-move/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@mysten/prettier-plugin-move",
"author": "Mysten Labs <[email protected]>",
"description": "Move Plugin for Prettier",
"version": "0.2.0",
"version": "0.2.1",
"license": "Apache-2.0",
"keywords": [
"prettier",
Expand Down
9 changes: 9 additions & 0 deletions sdk/create-dapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @mysten/create-dapp

## 0.3.41

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0
- @mysten/dapp-kit@0.14.40

## 0.3.40

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/create-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Mysten Labs <[email protected]>",
"description": "A CLI for creating new Sui dApps",
"homepage": "https://sdk.mystenlabs.com",
"version": "0.3.40",
"version": "0.3.41",
"license": "Apache-2.0",
"files": [
"CHANGELOG.md",
Expand Down
10 changes: 10 additions & 0 deletions sdk/dapp-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @mysten/dapp-kit

## 0.14.40

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0
- @mysten/wallet-standard@0.13.16
- @mysten/zksend@0.12.6

## 0.14.39

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/dapp-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Mysten Labs <[email protected]>",
"description": "A collection of React hooks and components for interacting with the Sui blockchain and wallets.",
"homepage": "https://sdk.mystenlabs.com/typescript",
"version": "0.14.39",
"version": "0.14.40",
"license": "Apache-2.0",
"files": [
"CHANGELOG.md",
Expand Down
8 changes: 8 additions & 0 deletions sdk/deepbook-v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/deepbook-v3

## 0.12.15

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.12.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/deepbook-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@mysten/deepbook-v3",
"author": "Mysten Labs <[email protected]>",
"description": "Sui Deepbook SDK",
"version": "0.12.14",
"version": "0.12.15",
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/cjs/index.js",
Expand Down
8 changes: 8 additions & 0 deletions sdk/deepbook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/deepbook

## 0.8.30

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.8.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/deepbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@mysten/deepbook",
"author": "Mysten Labs <[email protected]>",
"description": "Sui Deepbook SDK",
"version": "0.8.29",
"version": "0.8.30",
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/cjs/index.js",
Expand Down
9 changes: 9 additions & 0 deletions sdk/enoki/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @mysten/enoki

## 0.4.14

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0
- @mysten/zklogin@0.8.0

## 0.4.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/enoki/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mysten/enoki",
"version": "0.4.13",
"version": "0.4.14",
"description": "TODO: Description",
"license": "Apache-2.0",
"author": "Mysten Labs <[email protected]>",
Expand Down
8 changes: 8 additions & 0 deletions sdk/graphql-transport/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/graphql-transport

## 0.2.32

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.2.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/graphql-transport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mysten/graphql-transport",
"version": "0.2.31",
"version": "0.2.32",
"description": "A GraphQL transport to allow SuiClient to work with RPC 2.0",
"license": "Apache-2.0",
"author": "Mysten Labs <[email protected]>",
Expand Down
8 changes: 8 additions & 0 deletions sdk/kiosk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/kiosk

## 0.9.30

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.9.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/kiosk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@mysten/kiosk",
"author": "Mysten Labs <[email protected]>",
"description": "Sui Kiosk library",
"version": "0.9.29",
"version": "0.9.30",
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/cjs/index.js",
Expand Down
8 changes: 8 additions & 0 deletions sdk/kms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/kms

## 0.0.10

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/kms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mysten/kms",
"version": "0.0.9",
"version": "0.0.10",
"description": "A collection of KMS signers for various cloud providers",
"license": "Apache-2.0",
"author": "Mysten Labs <[email protected]>",
Expand Down
8 changes: 8 additions & 0 deletions sdk/suins-toolkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/suins-toolkit

## 0.5.30

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.5.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/suins-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@mysten/suins-toolkit",
"author": "Mysten Labs <[email protected]>",
"description": "SuiNS TypeScript SDK",
"version": "0.5.29",
"version": "0.5.30",
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/cjs/index.js",
Expand Down
33 changes: 33 additions & 0 deletions sdk/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @mysten/sui.js

## 1.16.0

### Minor Changes

- ec2dc7f: Add legacyAddress flag to zklogin methods that generate addresses
- ec2dc7f: All functionality from `@mysten/zklogin` has been moved to `@mysten/sui/zklogin`

For most methods, simply replace the `@mysten/zklogin` import with `@mysten/sui/zklogin`

2 Methods require one small additional change:

`computeZkLoginAddress` and `jwtToAddress` have new `legacyAddress` flags which must be set to
true for backwards compatibility:

```diff
- import { computeZkLoginAddress, jwtToAddress } from '@mysten/zklogin';
+ import { computeZkLoginAddress, jwtToAddress } from '@mysten/sui/zklogin';

const address = jwtToAddress(
jwtAsString,
salt,
+ true
);
const address = computeZkLoginAddress({
claimName,
claimValue,
iss,
aud,
userSalt: BigInt(salt),
+ legacyAddress: true,
});
```

## 1.15.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Mysten Labs <[email protected]>",
"description": "Sui TypeScript API(Work in Progress)",
"homepage": "https://sdk.mystenlabs.com",
"version": "1.15.1",
"version": "1.16.0",
"license": "Apache-2.0",
"sideEffects": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

// This file is generated by genversion.mjs. Do not edit it directly.

export const PACKAGE_VERSION = '1.15.1';
export const PACKAGE_VERSION = '1.16.0';
export const TARGETED_RPC_VERSION = '1.39.0';
8 changes: 8 additions & 0 deletions sdk/wallet-standard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @mysten/wallet-standard

## 0.13.16

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.13.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-standard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mysten/wallet-standard",
"version": "0.13.15",
"version": "0.13.16",
"description": "A suite of standard utilities for implementing wallets based on the Wallet Standard.",
"license": "Apache-2.0",
"author": "Mysten Labs <[email protected]>",
Expand Down
38 changes: 38 additions & 0 deletions sdk/zklogin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @mysten/zklogin

## 0.8.0

### Minor Changes

- ec2dc7f: All functionality from `@mysten/zklogin` has been moved to `@mysten/sui/zklogin`

For most methods, simply replace the `@mysten/zklogin` import with `@mysten/sui/zklogin`

2 Methods require one small additional change:

`computeZkLoginAddress` and `jwtToAddress` have new `legacyAddress` flags which must be set to
true for backwards compatibility:

```diff
- import { computeZkLoginAddress, jwtToAddress } from '@mysten/zklogin';
+ import { computeZkLoginAddress, jwtToAddress } from '@mysten/sui/zklogin';

const address = jwtToAddress(
jwtAsString,
salt,
+ true
);
const address = computeZkLoginAddress({
claimName,
claimValue,
iss,
aud,
userSalt: BigInt(salt),
+ legacyAddress: true,
});
```

### Patch Changes

- Updated dependencies [ec2dc7f]
- Updated dependencies [ec2dc7f]
- @mysten/sui@1.16.0

## 0.7.30

### Patch Changes
Expand Down
Loading

0 comments on commit 1bd8d22

Please sign in to comment.