Commit graph

80 commits

Author SHA1 Message Date
Filip Skokan
4f63638389 ci: update lock.yml 2022-04-25 11:19:24 +02:00
Filip Skokan
6fc1d4388c test,ci: refactor and add tests using node's experimental globals 2022-03-06 13:53:09 +01:00
Filip Skokan
9492822667 ci: update deno to use a min, max, experimental matrix 2022-01-20 18:27:31 +01:00
Filip Skokan
bb762367b9 ci: fail-fast false on electron 2021-11-16 13:00:47 +01:00
Filip Skokan
16d235acf0 ci: full-ci triggers all actions on PRs 2021-11-12 14:53:18 +01:00
Filip Skokan
4a5e89d4e1 test(node): refactor to run only cjs in node 12, else esm 2021-11-10 16:47:41 +01:00
Filip Skokan
e256b4f595
ci: update node test matrix 2021-10-26 18:56:07 +02:00
Filip Skokan
dd2cf9ed2d
refactor: redo exports to support broader tooling
BREAKING CHANGE: All module named exports have moved from subpaths to
just "jose". For example, `import { jwtVerify } from 'jose/jwt/verify'`
is now just `import { jwtVerify } from 'jose'`.

BREAKING CHANGE: All submodule default exports and named have been
removed in favour of just "jose" named exports.
2021-10-14 14:08:05 +02:00
Filip Skokan
56ca183cc2 ci: cloudflare tests are not flaky 2021-09-07 10:55:52 +02:00
Filip Skokan
8cc2ac8160 ci: test with Cloudflare Workers 2021-09-07 10:42:28 +02:00
Filip Skokan
aaf8d22b8a chore: remove .github/workflows/label-sponsors.yml 2021-09-07 10:42:28 +02:00
Filip Skokan
d9d5f6ac7b Revert "ci: experimental builds with pending and throwing deprecations"
This reverts commit c0bc79e949.
2021-09-06 11:14:01 +02:00
Filip Skokan
c0bc79e949 ci: experimental builds with pending and throwing deprecations 2021-09-01 15:45:03 +02:00
Filip Skokan
7589837b38 ci: skip Deno test for types and runtime 2021-08-30 12:12:00 +02:00
Filip Skokan
e290f5285d ci: notify when push after publish fails 2021-08-20 14:48:20 +02:00
Filip Skokan
a3e9fd3c1d ci: cache dist key with package and build files 2021-08-20 14:46:19 +02:00
Filip Skokan
7391013d05 ci: set git config for push 2021-08-20 13:45:42 +02:00
Filip Skokan
5c7d2656b6 feat: experimental Deno build & publish 2021-08-20 12:01:17 +02:00
Filip Skokan
5f784fa730 ci: repeat flaky browser tests 2021-05-14 13:10:47 +02:00
Filip Skokan
31ec117c9d ci: limit browserstack concurrency 2021-04-23 11:12:27 +02:00
Filip Skokan
fcb89bc892 ci: disable browserstack for PRs 2021-04-22 13:30:34 +02:00
Filip Skokan
39b5bbecfd ci: avoid git push locks 2021-03-24 13:52:27 +01:00
Filip Skokan
8f00fb5888 ci: populate main and v3.x after publish 2021-03-18 14:37:26 +01:00
Filip Skokan
f0f19849b4 ci: non LTS node is marked as experimental 2021-03-18 12:04:43 +01:00
Filip Skokan
6a9c6cadb3 ci: automate github releases 2021-03-16 10:21:12 +01:00
Filip Skokan
dd6b0eda9f ci: skip whoami 2021-03-15 17:24:53 +01:00
Filip Skokan
3293bfeaf3 ci: fix deploy yml syntax 2021-03-15 17:20:24 +01:00
Filip Skokan
b921b9a6b7 ci: ignore tool file changes 2021-03-12 22:53:34 +01:00
Filip Skokan
2dd9345db2 ci: automate npm releases on release publish 2021-03-12 21:41:45 +01:00
Filip Skokan
c297a3eb1f ci: ensure latest node is always tested 2021-03-10 15:49:55 +01:00
Filip Skokan
8fffd3e2e1 feat: electron >=12.0.0 is now supported (and tested on ci) 2021-03-03 00:19:04 +01:00
Filip Skokan
e8d41a9335 feat: allow CryptoKey instances in a regular non-webcrypto node runtime 2021-02-04 17:39:28 +01:00
Filip Skokan
a10d61f3f5 ci: remove github actions NODE_OPTIONS 2020-12-16 18:43:35 +01:00
Filip Skokan
40791dab34 ci: update github action targets 2020-12-16 11:36:18 +01:00
Filip Skokan
29373633bc fix(typescript): refactored how types are published
resolves #119
2020-11-26 18:53:01 +01:00
Filip Skokan
ac4aef840f ci: check latest node 2020-11-24 20:01:39 +01:00
Filip Skokan
be55dfa81a Revert "ci: disable 12 temporarily"
This reverts commit b442ffc19d.
2020-11-24 19:57:45 +01:00
Filip Skokan
b442ffc19d ci: disable 12 temporarily 2020-11-22 17:09:44 +01:00
Filip Skokan
115dcb7873 build: smaller test related package.json footprint 2020-11-22 17:09:33 +01:00
Filip Skokan
2276f5a572 ci: limit github actions concurrency on browserstack jobs 2020-11-15 19:55:40 +01:00
Filip Skokan
0b5fbc211a ci: silent browserstack run 2020-11-15 19:30:24 +01:00
Filip Skokan
8406b809fe Revert "ci: limit github actions concurrency on browserstack jobs"
This reverts commit d61f73c0ab.
2020-11-15 19:19:26 +01:00
Filip Skokan
d61f73c0ab ci: limit github actions concurrency on browserstack jobs 2020-11-15 13:16:12 +01:00
Filip Skokan
357fe0b964 feat: Revised API, No dependencies, Browser Support, Promises
BREAKING CHANGE: Revised, Promise-based API
BREAKING CHANGE: No dependencies
BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/))
BREAKING CHANGE: Support for verification using a remote JWKS endpoint
BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉)
2020-11-14 18:26:46 +01:00
Filip Skokan
9cb049bc81 ci: add node v15.x to the test matrix 2020-10-23 22:23:35 +02:00
Filip Skokan
fd69d7f509 refactor: move JWT profile specifics outside of generic JWT
BREAKING CHANGE: the `JWT.verify` profile option was removed, use e.g.
`JWT.IdToken.verify` instead.

BREAKING CHANGE: removed the `maxAuthAge` `JWT.verify` option, this
option is now only present at the specific JWT profile APIs where the
`auth_time` property applies.

BREAKING CHANGE: removed the `nonce` `JWT.verify` option, this
option is now only present at the specific JWT profile APIs where the
`nonce` property applies.

BREAKING CHANGE: the `acr`, `amr`, `nonce` and `azp` claim value types
will only be checked when verifying a specific JWT profile using its
dedicated API.

BREAKING CHANGE: using the draft implementing APIs will emit a one-time
warning per process using `process.emitWarning`
2020-09-08 14:12:04 +02:00
Filip Skokan
655679715e ci: remove macos from the ci matrix 2020-09-08 14:12:04 +02:00
Filip Skokan
19487dbe32 ci: add electron@10 2020-09-08 14:12:04 +02:00
Filip Skokan
1aa9035552 feat: added support for ESM (ECMAScript modules)
BREAKING CHANGE: due to added ESM module support Node.js version with
ESM implementation bugs are no longer supported, this only affects early
v13.x versions. The resulting Node.js semver range is
`>=10.13.0 < 13 || >=13.7.0`
2020-09-08 14:12:04 +02:00
Filip Skokan
db6254e575 ci: improve CI runtime 2020-08-04 17:11:37 +02:00