Skip to content

Commit

Permalink
Bump up version to v0.14.0.
Browse files Browse the repository at this point in the history
Bump up version to v0.14.0.
  • Loading branch information
dajiaji authored Oct 28, 2022
2 parents ac6e6b1 + 48abb7d commit 4ac2b4b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## Unreleased

## Version 0.14.0

Released 2022-10-28

- [(#101) Expose suite-specific KDF and AEAD interface.](https://github.com/dajiaji/hpke-js/pull/101)
- [(#98) Replace deno test jobs with parallel.](https://github.com/dajiaji/hpke-js/pull/98)
- [(#94) Add edge and chrome to playwright test projects.](https://github.com/dajiaji/hpke-js/pull/94)
- [(#93) Add cov to deno tasks.](https://github.com/dajiaji/hpke-js/pull/93)
- [(#92) Introduce import-map.](https://github.com/dajiaji/hpke-js/pull/92)
- [(#91) Refine deno.json.](https://github.com/dajiaji/hpke-js/pull/91)
- [(#90) Add the minimum supported versions to README.](https://github.com/dajiaji/hpke-js/pull/90)

## Version 0.13.0

Released 2022-07-01
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Using esm.sh:
```html
<!-- use a specific version -->
<script type="module">
import * as hpke from "https://esm.sh/hpke-js@0.13.0";
import * as hpke from "https://esm.sh/hpke-js@0.14.0";
// ...
</script>

Expand All @@ -126,7 +126,7 @@ Using unpkg:
```html
<!-- use a specific version -->
<script type="module">
import * as hpke from "https://unpkg.com/hpke-js@0.13.0/esm/mod.js";
import * as hpke from "https://unpkg.com/hpke-js@0.14.0/esm/mod.js";
// ...
</script>
```
Expand All @@ -151,7 +151,7 @@ Using deno.land:

```js
// use a specific version
import * as hpke from "https://deno.land/x/hpke@0.13.0/mod.ts";
import * as hpke from "https://deno.land/x/hpke@0.14.0/mod.ts";

// use the latest stable version
import * as hpke from "https://deno.land/x/hpke/mod.ts";
Expand All @@ -162,15 +162,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.13.0/es2022/hpke-js.js
curl -sS -o $YOUR_SRC_PATH/hpke.js https://esm.sh/v86/hpke-js@0.14.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.13.0/es2022/hpke.min.js
curl -sS -o $YOUR_SRC_PATH/hpke.min.js https://esm.sh/v86/hpke-js@0.14.0/es2022/hpke.min.js
```

Emits a single js file by using `deno bundle`:

```sh
deno bundle https://deno.land/x/hpke@0.13.0/mod.ts > $YOUR_SRC_PATH/hpke.js
deno bundle https://deno.land/x/hpke@0.14.0/mod.ts > $YOUR_SRC_PATH/hpke.js
```

## Usage
Expand All @@ -186,8 +186,8 @@ Browsers:
<head></head>
<body>
<script type="module">
// import * as hpke from "https://esm.sh/hpke-js@0.13.0";
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.13.0";
// import * as hpke from "https://esm.sh/hpke-js@0.14.0";
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.14.0";
globalThis.doHpke = async () => {
Expand Down Expand Up @@ -272,7 +272,7 @@ doHpke();
Deno:

```js
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@0.13.0/mod.ts";
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@0.14.0/mod.ts";

async function doHpke() {
// setup
Expand Down
2 changes: 1 addition & 1 deletion samples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"author": "Ajitomi Daisuke <[email protected]> (https://github.com/dajiaji)",
"license": "MIT",
"dependencies": {
"hpke-js": "^0.13.0"
"hpke-js": "^0.14.0"
}
}
2 changes: 1 addition & 1 deletion samples/ts-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Ajitomi Daisuke <[email protected]> (https://github.com/dajiaji)",
"license": "MIT",
"dependencies": {
"hpke-js": "^0.13.0",
"hpke-js": "^0.14.0",
"ts-node": "^10.7.0"
}
}

0 comments on commit 4ac2b4b

Please sign in to comment.