From 72a19794ccc12114d63c799f3661eb1e49463f62 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Mon, 24 Jul 2023 23:12:01 +0900 Subject: [PATCH] Bump version up to 0.21.0. --- CHANGES.md | 11 +++++ README.md | 88 ++++++++++++++++++------------------ SECURITY.md | 4 +- samples/node/package.json | 2 +- samples/ts-node/package.json | 2 +- 5 files changed, 59 insertions(+), 48 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d1a40ccbb..1261f8e7d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,16 @@ # Changes +## Version 0.21.0 + +Released 2023-07-25 + +- [(#194) Expose AEAD Classes for CipherSuiteParams.](https://github.com/dajiaji/hpke-js/pull/194) +- [(#193) Add AeadInterface for CipherSuiteParams.](https://github.com/dajiaji/hpke-js/pull/193) +- [(#192) Add mod.ts to formatter/linter targets.](https://github.com/dajiaji/hpke-js/pull/192) +- [(#191) Update CipherSuiteParameters to make Kem/KdfInterface to be set instead of Kem/KdfId.](https://github.com/dajiaji/hpke-js/pull/191) +- [(#190) Introduce union type algorithm identifier.](https://github.com/dajiaji/hpke-js/pull/190) +- [(#189) Add support for Node.js 20.](https://github.com/dajiaji/hpke-js/pull/189) + ## Version 0.20.0 Released 2023-07-19 diff --git a/README.md b/README.md index 6f962e56e..69fc1bcf0 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ This module works on web browsers, Node.js, Deno and Cloudflare Workers. - **Node.js**: 16.x, 17.x, 18.x, 19.x, 20.x - **Deno**: 1.x (1.15-) - **Cloudflare Workers** -- **bun** +- **bun**: 0.x (0.3.0-) ## Warnings and Restrictions @@ -125,7 +125,7 @@ Using esm.sh: ```html @@ -141,7 +141,7 @@ Using unpkg: ```html ``` @@ -166,7 +166,7 @@ Using deno.land: ```js // use a specific version -import * as hpke from "https://deno.land/x/hpke@0.20.0/mod.ts"; +import * as hpke from "https://deno.land/x/hpke@0.21.0/mod.ts"; // use the latest stable version import * as hpke from "https://deno.land/x/hpke/mod.ts"; @@ -177,15 +177,15 @@ import * as hpke from "https://deno.land/x/hpke/mod.ts"; Downloads a single js file from esm.sh: ```sh -curl -sS -o $YOUR_SRC_PATH/hpke.js https://esm.sh/v86/hpke-js@0.20.0/es2022/hpke-js.js +curl -sS -o $YOUR_SRC_PATH/hpke.js https://esm.sh/v86/hpke-js@0.21.0/es2022/hpke-js.js # if you want to use a minified version: -curl -sS -o $YOUR_SRC_PATH/hpke.min.js https://esm.sh/v86/hpke-js@0.20.0/es2022/hpke.min.js +curl -sS -o $YOUR_SRC_PATH/hpke.min.js https://esm.sh/v86/hpke-js@0.21.0/es2022/hpke.min.js ``` Emits a single js file by using `deno bundle`: ```sh -deno bundle https://deno.land/x/hpke@0.20.0/mod.ts > $YOUR_SRC_PATH/hpke.js +deno bundle https://deno.land/x/hpke@0.21.0/mod.ts > $YOUR_SRC_PATH/hpke.js ``` ## Usage @@ -201,15 +201,15 @@ Browsers: