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/CHANGELOG.md b/CHANGELOG.md index 11d3e12..a1fe7ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ 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 + +- 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 + + ## [0.13.0] - 2023-09-06 ### Changed 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/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. 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-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 a2a5cbb..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.13.0-alpha.1", + "version": "0.14.1", "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"