Skip to content

Commit 5250a4b

Browse files
committed
Published version 1.1.0
1 parent a6c1f44 commit 5250a4b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.1.0
2+
3+
- __BREAKING__: Removed the `stripTrailingPadding` parameter as padding should always be removed as per the [spec](https://datatracker.ietf.org/doc/html/rfc7636#section-3).
4+
If your code passed `stripTrailingPadding: true`, you can simply remove this parameter and the behavior won't change.
5+
If your code passed `stripTrailingPadding: false` or didn't pass anything, the behavior _will_ change. This shouldn't be a problem, but feel free to open an issue if it is.
6+
- __BREAKING__: The `length` parameter now represents the length of the code verifier _before_ it is base64 encoded, so `length: 32` corresponds to a code verifier of length 44 and `length: 96` corresponds to a length of 128. The `length` parameter must be between 32 and 96, inclusive, and I strongly recommend using the default length of 32 suggested by the [spec](https://datatracker.ietf.org/doc/html/rfc7636#section-4.1).
7+
18
## 1.0.0+1
29

310
- Fixed homepage in pubspec

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pkce
22
description: Generates code verifier and code challenge pairs for PKCE (Proof Key for Code Exchange).
3-
version: 1.0.0+1
3+
version: 1.1.0
44
homepage: https://github.com/nrubin29/pkce_dart
55

66
environment:

0 commit comments

Comments
 (0)