From c064bde8b718844e1e986ee6e5df450de590b7da Mon Sep 17 00:00:00 2001 From: aikoven Date: Tue, 29 Jun 2021 11:23:08 +0700 Subject: [PATCH] chore(release): publish - nice-grpc-client-middleware-deadline@1.0.0 - nice-grpc-common@1.0.0 - nice-grpc-web@1.0.0 - nice-grpc@1.0.0 --- .../CHANGELOG.md | 8 ++++++ .../package.json | 6 ++--- packages/nice-grpc-common/CHANGELOG.md | 8 ++++++ packages/nice-grpc-common/package.json | 4 +-- packages/nice-grpc-web/CHANGELOG.md | 11 ++++++++ packages/nice-grpc-web/package.json | 4 +-- packages/nice-grpc/CHANGELOG.md | 26 +++++++++++++++++++ packages/nice-grpc/package.json | 4 +-- 8 files changed, 62 insertions(+), 9 deletions(-) create mode 100644 packages/nice-grpc-client-middleware-deadline/CHANGELOG.md create mode 100644 packages/nice-grpc-common/CHANGELOG.md create mode 100644 packages/nice-grpc-web/CHANGELOG.md create mode 100644 packages/nice-grpc/CHANGELOG.md diff --git a/packages/nice-grpc-client-middleware-deadline/CHANGELOG.md b/packages/nice-grpc-client-middleware-deadline/CHANGELOG.md new file mode 100644 index 00000000..aeb56438 --- /dev/null +++ b/packages/nice-grpc-client-middleware-deadline/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 1.0.0 (2021-06-29) + +**Note:** Version bump only for package nice-grpc-client-middleware-deadline diff --git a/packages/nice-grpc-client-middleware-deadline/package.json b/packages/nice-grpc-client-middleware-deadline/package.json index 0f5f114f..c97aabbf 100644 --- a/packages/nice-grpc-client-middleware-deadline/package.json +++ b/packages/nice-grpc-client-middleware-deadline/package.json @@ -1,6 +1,6 @@ { "name": "nice-grpc-client-middleware-deadline", - "version": "0.1.0", + "version": "1.0.0", "description": "Deadline client middleware for nice-grpc", "repository": "deeplay-io/nice-grpc", "main": "lib/index.js", @@ -28,10 +28,10 @@ "google-protobuf": "^3.14.0", "grpc-tools": "^1.10.0", "grpc_tools_node_protoc_ts": "^5.0.1", - "nice-grpc": "^0.1.5" + "nice-grpc": "^1.0.0" }, "dependencies": { - "nice-grpc-common": "^0.1.0", + "nice-grpc-common": "^1.0.0", "node-abort-controller": "^2.0.0" } } diff --git a/packages/nice-grpc-common/CHANGELOG.md b/packages/nice-grpc-common/CHANGELOG.md new file mode 100644 index 00000000..78450e20 --- /dev/null +++ b/packages/nice-grpc-common/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 1.0.0 (2021-06-29) + +**Note:** Version bump only for package nice-grpc-common diff --git a/packages/nice-grpc-common/package.json b/packages/nice-grpc-common/package.json index bfc52445..252209d8 100644 --- a/packages/nice-grpc-common/package.json +++ b/packages/nice-grpc-common/package.json @@ -1,6 +1,6 @@ { "name": "nice-grpc-common", - "version": "0.1.0", + "version": "1.0.0", "description": "Common stuff for nice-grpc and nice-grpc-web", "repository": "deeplay-io/nice-grpc", "main": "lib/index.js", @@ -20,7 +20,7 @@ "author": "Daniel Lytkin ", "license": "MIT", "devDependencies": { - "@tsconfig/recommended": "^1.0.1" + "@tsconfig/recommended": "^1.0.1" }, "dependencies": { "node-abort-controller": "^2.0.0" diff --git a/packages/nice-grpc-web/CHANGELOG.md b/packages/nice-grpc-web/CHANGELOG.md new file mode 100644 index 00000000..02127db0 --- /dev/null +++ b/packages/nice-grpc-web/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 1.0.0 (2021-06-29) + + +### Features + +* **nice-grpc-web:** support `ts-proto` service definitions ([#15](https://github.com/deeplay-io/nice-grpc/issues/15)) ([53a4861](https://github.com/deeplay-io/nice-grpc/commit/53a48610ce92263963882a68ef47bdf5ed26190c)) diff --git a/packages/nice-grpc-web/package.json b/packages/nice-grpc-web/package.json index 79a3e48f..ebc5e044 100644 --- a/packages/nice-grpc-web/package.json +++ b/packages/nice-grpc-web/package.json @@ -1,6 +1,6 @@ { "name": "nice-grpc-web", - "version": "0.1.0", + "version": "1.0.0", "description": "A Browser gRPC library that is nice to you", "keywords": [ "grpc", @@ -52,7 +52,7 @@ "abort-controller-x": "^0.2.6", "ix": "^4.4.0", "js-base64": "^3.6.1", - "nice-grpc-common": "^0.1.0", + "nice-grpc-common": "^1.0.0", "node-abort-controller": "^2.0.0" } } diff --git a/packages/nice-grpc/CHANGELOG.md b/packages/nice-grpc/CHANGELOG.md new file mode 100644 index 00000000..d61a942b --- /dev/null +++ b/packages/nice-grpc/CHANGELOG.md @@ -0,0 +1,26 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 1.0.0 (2021-06-29) + + +### Code Refactoring + +* **nice-grpc:** migrate to `nice-grpc-common` ([#12](https://github.com/deeplay-io/nice-grpc/issues/12)) ([79ec8f8](https://github.com/deeplay-io/nice-grpc/commit/79ec8f8c7c1df9d6d5df4f268acef9c86de766c9)) + + +### Features + +* **nice-grpc:** support `ts-proto` service definitions ([#14](https://github.com/deeplay-io/nice-grpc/issues/14)) ([1852519](https://github.com/deeplay-io/nice-grpc/commit/1852519dd8cdb7f616a5a2a14bb45d8902c171c3)) + + +### BREAKING CHANGES + +* **nice-grpc:** APIs now use `nice-grpc-common` instead of `grpc-js` + +- `grpc-js#Metadata` replaced with `nice-grpc-common#Metadata`. +- `grpc-js#status` replaced with `nice-grpc-common#Status`. +- Server middleware `call.definition` replaced with `call.method` containing a universal method descriptor. +- Built-in deadline support was removed in favor of a separate deadline client middleware. diff --git a/packages/nice-grpc/package.json b/packages/nice-grpc/package.json index 8c80fdec..05ccd123 100644 --- a/packages/nice-grpc/package.json +++ b/packages/nice-grpc/package.json @@ -1,6 +1,6 @@ { "name": "nice-grpc", - "version": "0.1.5", + "version": "1.0.0", "description": "A Node.js gRPC library that is nice to you", "keywords": [ "grpc", @@ -45,7 +45,7 @@ "dependencies": { "@grpc/grpc-js": "^1.2.6", "abort-controller-x": "^0.2.4", - "nice-grpc-common": "^0.1.0", + "nice-grpc-common": "^1.0.0", "node-abort-controller": "^1.2.1" } }