From 1d3c7dd0b29bb1a28f0ddddfa00dbabd75ae151f Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 12 Jan 2024 10:28:06 +0100 Subject: [PATCH 1/5] chore(release): update changelog --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d3e12..fd91325 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.14.0] - 2024-01-12 + +### Changed + +- Fixed Python typings for `ThresholdMessageKit.decrypt_with_shared_secret()` and `combine_decryption_shares_simple()` ([#84]) +- Inlined WASM modules to simplify packaging for WASM users ([#83]) + +### Added + +- Support for Python 3.11-3.12 ([#87]) + +[#84]: https://github.com/nucypher/nucypher-core/pull/84 +[#87]: https://github.com/nucypher/nucypher-core/pull/87 + + ## [0.13.0] - 2023-09-06 ### Changed From 9729a421b2ad4cf00b4c74d6443151b4ccd53d16 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 12 Jan 2024 10:28:39 +0100 Subject: [PATCH 2/5] =?UTF-8?q?Bump=20version:=200.13.0=20=E2=86=92=200.14?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- Cargo.lock | 6 +++--- nucypher-core-python/Cargo.toml | 2 +- nucypher-core-python/setup.py | 2 +- nucypher-core-wasm-bundler/package.json | 2 +- nucypher-core-wasm/Cargo.toml | 2 +- nucypher-core-wasm/package.template.json | 2 +- nucypher-core/Cargo.toml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index c2ef923..519de8c 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.13.0 +current_version = 0.14.0 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(-(?P[^.]*)\.(?P\d+))? diff --git a/Cargo.lock b/Cargo.lock index 589b475..2f34579 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -869,7 +869,7 @@ checksum = "94c7128ba23c81f6471141b90f17654f89ef44a56e14b8a4dd0fddfccd655277" [[package]] name = "nucypher-core" -version = "0.13.0" +version = "0.14.0" dependencies = [ "chacha20poly1305", "ferveo-pre-release", @@ -891,7 +891,7 @@ dependencies = [ [[package]] name = "nucypher-core-python" -version = "0.13.0" +version = "0.14.0" dependencies = [ "derive_more", "ferveo-pre-release", @@ -903,7 +903,7 @@ dependencies = [ [[package]] name = "nucypher-core-wasm" -version = "0.13.0" +version = "0.14.0" dependencies = [ "console_error_panic_hook", "derive_more", diff --git a/nucypher-core-python/Cargo.toml b/nucypher-core-python/Cargo.toml index 8539b8a..2cc7df7 100644 --- a/nucypher-core-python/Cargo.toml +++ b/nucypher-core-python/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nucypher-core-python" authors = ["Bogdan Opanchuk "] -version = "0.13.0" +version = "0.14.0" edition = "2018" [lib] diff --git a/nucypher-core-python/setup.py b/nucypher-core-python/setup.py index 2e57de4..e6f3614 100644 --- a/nucypher-core-python/setup.py +++ b/nucypher-core-python/setup.py @@ -10,7 +10,7 @@ description="Protocol structures of Nucypher network", long_description=long_description, long_description_content_type="text/markdown", - version="0.13.0", + version="0.14.0", author="Bogdan Opanchuk", author_email="bogdan@opanchuk.net", url="https://github.com/nucypher/nucypher-core/tree/main/nucypher-core-python", diff --git a/nucypher-core-wasm-bundler/package.json b/nucypher-core-wasm-bundler/package.json index a2a5cbb..6d7cc9e 100644 --- a/nucypher-core-wasm-bundler/package.json +++ b/nucypher-core-wasm-bundler/package.json @@ -1,6 +1,6 @@ { "name": "@nucypher/nucypher-core", - "version": "0.13.0-alpha.1", + "version": "0.14.0", "license": "GPL-3.0-only", "sideEffects": false, "type": "module", diff --git a/nucypher-core-wasm/Cargo.toml b/nucypher-core-wasm/Cargo.toml index f8158b7..3434ed6 100644 --- a/nucypher-core-wasm/Cargo.toml +++ b/nucypher-core-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nucypher-core-wasm" -version = "0.13.0" +version = "0.14.0" authors = [ "Bogdan Opanchuk ", "Piotr Roslaniec " diff --git a/nucypher-core-wasm/package.template.json b/nucypher-core-wasm/package.template.json index 756c596..1ad80c7 100644 --- a/nucypher-core-wasm/package.template.json +++ b/nucypher-core-wasm/package.template.json @@ -5,7 +5,7 @@ "Bogdan Opanchuk " ], "description": "NuCypher network core data structures", - "version": "0.13.0", + "version": "0.14.0", "license": "GPL-3.0-only", "repository": { "type": "git", diff --git a/nucypher-core/Cargo.toml b/nucypher-core/Cargo.toml index eb57828..2043430 100644 --- a/nucypher-core/Cargo.toml +++ b/nucypher-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nucypher-core" -version = "0.13.0" +version = "0.14.0" authors = ["Bogdan Opanchuk "] edition = "2021" license = "GPL-3.0-only" From 0a6dd957b6e16dfc2afe5caa0a273133cad91bac Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 12 Jan 2024 11:26:37 +0100 Subject: [PATCH 3/5] chore(release): release @nucypher/@nucypher-core@0.14.1 --- nucypher-core-wasm-bundler/package-lock.json | 4 ++-- nucypher-core-wasm-bundler/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nucypher-core-wasm-bundler/package-lock.json b/nucypher-core-wasm-bundler/package-lock.json index 90eee3d..ab3558e 100644 --- a/nucypher-core-wasm-bundler/package-lock.json +++ b/nucypher-core-wasm-bundler/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nucypher/nucypher-core", - "version": "0.13.0-alpha.0", + "version": "0.14.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@nucypher/nucypher-core", - "version": "0.13.0-alpha.0", + "version": "0.14.1", "license": "GPL-3.0-only", "devDependencies": { "@rollup/plugin-typescript": "^11.1.3", diff --git a/nucypher-core-wasm-bundler/package.json b/nucypher-core-wasm-bundler/package.json index 6d7cc9e..476e7cc 100644 --- a/nucypher-core-wasm-bundler/package.json +++ b/nucypher-core-wasm-bundler/package.json @@ -1,6 +1,6 @@ { "name": "@nucypher/nucypher-core", - "version": "0.14.0", + "version": "0.14.1", "license": "GPL-3.0-only", "sideEffects": false, "type": "module", From cde635983de3f08840a4590c91de530cf74cf050 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 12 Jan 2024 11:29:55 +0100 Subject: [PATCH 4/5] chore(docs): update publishing instructions for npm package --- PUBLISHING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PUBLISHING.md b/PUBLISHING.md index df3d46b..06266f3 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -38,12 +38,12 @@ Gitub Actions are configured to take care of this automatically. ## NPM package -In `nucypher-core-wasm` dir: +In `nucypher-core-wasm-bundler` directory: -- `rm -rf pkg`. -- `make`. -- `wasm-pack login`. -- `cd pkg`. -- `npm publish --access=public`. +```bash +npm install +npm build +npm publish --access=public +``` See see https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/packaging-and-publishing.html for more info on publishing. From 9fb12007fb381e8842b5f499575dc71faf0839b3 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 12 Jan 2024 15:29:29 +0100 Subject: [PATCH 5/5] chore: fix 0.14.0 changelog --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd91325..a1fe7ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,14 +8,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Fixed Python typings for `ThresholdMessageKit.decrypt_with_shared_secret()` and `combine_decryption_shares_simple()` ([#84]) - Inlined WASM modules to simplify packaging for WASM users ([#83]) ### Added - Support for Python 3.11-3.12 ([#87]) +### Fixed + +- Fixed Python typings for `ThresholdMessageKit.decrypt_with_shared_secret()` and `combine_decryption_shares_simple()` ([#84]) + + [#84]: https://github.com/nucypher/nucypher-core/pull/84 +[#83]: https://github.com/nucypher/nucypher-core/pull/83 [#87]: https://github.com/nucypher/nucypher-core/pull/87