6.0.0 - 2026-02-01
code_challenge_methodis now included in the return type in #41
- build(deps-dev): bump qs from 6.14.0 to 6.14.1 in /browser-test by @dependabot[bot] in #39
- build(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in #36
- Add Cypress e2e tests for browser bundle verification by @Copilot in #42
- Add code_challenge_method to return type and support configurable PKCE methods by @Copilot in #41
Full Changelog: https://github.com/crouchcd/pkce-challenge/compare/5.0.1...6.0.0
5.0.1 - 2025-11-22
- Use even distribution by @RobinVdBroeck in #38
- @RobinVdBroeck made their first contribution in #38
Full Changelog: https://github.com/crouchcd/pkce-challenge/compare/5.0.0...5.0.1
5.0.0 - 2025-03-30
- fix: add support for commonjs module by @li-yechao in #32
- @li-yechao made their first contribution in #32
Full Changelog: https://github.com/crouchcd/pkce-challenge/compare/4.1.0...5.0.0
4.1.0 - 2024-01-25
- Separate entrypoints for node and browser by @mdarocha in #25
- @mdarocha made their first contribution in #25
Full Changelog: https://github.com/crouchcd/pkce-challenge/compare/4.0.1...4.1.0
4.0.1 - 2023-05-11
- chore: update README (dc76443a502c25ce98258cea3f25fd78a22cb2a8)
- chore: specify node engines >= 16.20.0 (5e7fc5edbcd0e19f99fc11a9705e5e708a100be8)
4.0.0 - 2023-05-11
- BREAKING CHANGE: Use Web Cryptography API (#20), closes #21, #18
3.1.0 - 2023-03-29
- chore: Use ES6 imports for crypto-js to reduce bundle size
3.0.0 - 2022-03-28
- feat!: depend on crypto-js for node/browser compatibility. Using Typescript with Parcel.
// commonjs
const pkceChallenge = require("pkce-challenge").default;
// es modules
import pkceChallenge from "pkce-challenge";2.2.0 - 2021-05-19
generateChallengeexported from index
2.1.0 - 2019-12-20
verifyChallengeexported from index
- code/comment formatting
- refactored
randomfunction
2.0.0 - 2019-10-18
- CHANGELOG
- typescript definition
- Cryptographically secured method for generating code verifier
- Method for base64 url encoding
generateVerifierexport from indexgenerateChallengeexport from indexbase64urlnpm dependencyrandomaticnpm dependency