Skip to content

Commit

Permalink
Merge pull request #1587 from oasisprotocol/pro-wh/feature/tsrel
Browse files Browse the repository at this point in the history
ts-web: 1.0 releases
  • Loading branch information
pro-wh authored Dec 8, 2023
2 parents 10a94af + 6257c13 commit 9f7b93c
Show file tree
Hide file tree
Showing 14 changed files with 74 additions and 48 deletions.
18 changes: 15 additions & 3 deletions client-sdk/ts-web/core/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Changelog

## Unreleased changes
## v1.0.0

Spotlight change:

- Bumped protobufjs to 7.2.x.
Due to the versioning scheme they use, this is a "major" version, so
downstream packages can now upgrade to that too.

Little things:

- Requests for scalar values (e.g. `consensusGetSignerNonce`) now properly
return falsy values (e.g. 0) instead of `undefined`.
Our thanks to the grpc-web team that helped us add support for this in their
library!
- Compatibility with oasis-core is updated to 22.2.2.
They told me to keep pressing 2 until it auto completed a Git tag.
- Compatibility with oasis-core is updated to 23.0.
How neat was that, that nobody complained about incompatibility for so long?

Extra note:

- Happy v1!
We'll be publishing this to the `latest` tag on npm, so you won't need to
specify the `@alpha` tag anymore.

## v0.1.1-alpha.2

Expand Down
10 changes: 1 addition & 9 deletions client-sdk/ts-web/core/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,9 @@
## Getting this SDK and building

```sh
npm install @oasisprotocol/client@alpha
npm install @oasisprotocol/client
```

Install this package [from
npm](https://www.npmjs.com/package/@oasisprotocol/client?activeTab=versions).
The `@alpha` is needed because we are publishing to the `alpha` tag.
Due to technical limitations, npm has also created a `latest` tag which is
stuck at a very old alpha verison.

**TODO: Update this command when this library gets out of alpha.**

You'll need a bundler.
We have [a sample that uses webpack](../playground/webpack.config.js).

Expand Down
2 changes: 1 addition & 1 deletion client-sdk/ts-web/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisprotocol/client",
"version": "0.1.1-alpha.2",
"version": "1.0.0",
"license": "Apache-2.0",
"homepage": "https://github.com/oasisprotocol/oasis-sdk/tree/main/client-sdk/ts-web/core",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions client-sdk/ts-web/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"src/**/*"
],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
}
}
8 changes: 8 additions & 0 deletions client-sdk/ts-web/ext-utils/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## v1.0.0

Spotlight change:

- Our dependencies on `@oasisprotocol/client` and `@oasisprotocol/client-rt`
are bumped to v1.0.0.
Happy v1!

## v0.1.1-alpha.1

Spotlight change:
Expand Down
6 changes: 3 additions & 3 deletions client-sdk/ts-web/ext-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisprotocol/client-ext-utils",
"version": "0.1.1-alpha.1",
"version": "1.0.0",
"license": "Apache-2.0",
"homepage": "https://github.com/oasisprotocol/oasis-sdk/tree/main/client-sdk/ts-web/ext-utils",
"repository": {
Expand All @@ -24,10 +24,10 @@
"test-e2e-cy": "cypress run"
},
"dependencies": {
"@oasisprotocol/client": "^0.1.1-alpha.2"
"@oasisprotocol/client": "^1.0.0"
},
"devDependencies": {
"@oasisprotocol/client-rt": "^0.2.1-alpha.2",
"@oasisprotocol/client-rt": "^1.0.0",
"buffer": "^6.0.3",
"cypress": "^13.6.1",
"prettier": "^3.1.0",
Expand Down
8 changes: 4 additions & 4 deletions client-sdk/ts-web/ext-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"src/**/*"
],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
}
}
24 changes: 12 additions & 12 deletions client-sdk/ts-web/package-lock.json

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

7 changes: 7 additions & 0 deletions client-sdk/ts-web/rt/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v1.0.0

Spotlight change:

- Our dependency on `@oasisprotocol/client` is bumped to v1.0.0.
Happy v1!

## v0.2.1-alpha.2

Spotlight change:
Expand Down
4 changes: 2 additions & 2 deletions client-sdk/ts-web/rt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisprotocol/client-rt",
"version": "0.2.1-alpha.2",
"version": "1.0.0",
"license": "Apache-2.0",
"homepage": "https://github.com/oasisprotocol/oasis-sdk/tree/main/client-sdk/ts-web/rt",
"repository": {
Expand All @@ -22,7 +22,7 @@
"test-e2e-cy": "cypress run"
},
"dependencies": {
"@oasisprotocol/client": "^0.1.1-alpha.2",
"@oasisprotocol/client": "^1.0.0",
"@oasisprotocol/deoxysii": "^0.0.5",
"elliptic": "^6.5.3",
"js-sha512": "^0.8.0",
Expand Down
8 changes: 4 additions & 4 deletions client-sdk/ts-web/rt/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"src/**/*"
],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
}
}
7 changes: 7 additions & 0 deletions client-sdk/ts-web/signer-ledger/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v1.0.0

Spotlight change:

- Our dependency on `@oasisprotocol/client` is bumped to v1.0.0.
Happy v1!

## v0.1.1-alpha.1

Spotlight change:
Expand Down
4 changes: 2 additions & 2 deletions client-sdk/ts-web/signer-ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisprotocol/client-signer-ledger",
"version": "0.1.1-alpha.1",
"version": "1.0.0",
"license": "Apache-2.0",
"homepage": "https://github.com/oasisprotocol/oasis-sdk/tree/main/client-sdk/ts-web/signer-ledger",
"repository": {
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@ledgerhq/hw-transport-webusb": "^6.28.0",
"@oasisprotocol/client": "^0.1.1-alpha.2",
"@oasisprotocol/client": "^1.0.0",
"@oasisprotocol/ledger": "^1.0.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions client-sdk/ts-web/signer-ledger/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"src/**/*"
],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"excludeInternal": true,
"excludePrivate": true
}
}

0 comments on commit 9f7b93c

Please sign in to comment.