# What changed in pkce-challenge

> 2 changes in pkce-challenge 5 to 6 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/pkce-challenge/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## pkce-challenge 6

### New APIs and options

- The return type now includes code_challenge_method, and configurable PKCE methods are supported. (6.0.0) — [release notes](https://github.com/crouchcd/pkce-challenge/releases/tag/6.0.0)

## pkce-challenge 5

### Breaking changes

- Uses even distribution, changing the behavior of generated values. (5.0.1) — [release notes](https://github.com/crouchcd/pkce-challenge/releases/tag/5.0.1)
