dart_jsonwebtoken 3.3.1
dart_jsonwebtoken: ^3.3.1 copied to clipboard
An easy to use JSON Web Token (JWT) implementation in Dart with all algorithms supported.
3.3.1 #
- Rollback to a
dynamicJWT.payload
3.3.0 #
- RETRACTED
- Increase
JWT.payloadstrictness (https://github.com/jonasroussel/dart_jsonwebtoken/issues/67)
3.2.0 #
- Update upper bound of pointycastle (https://github.com/jonasroussel/dart_jsonwebtoken/pull/65)
- Dart SDK minimum version set to 3.0.0
- Use
pointycastlefor HMAC calculation instead ofcrypto - Implement custom deep list equality instead of using the
collectionpackage
3.1.1 #
- Rollback
collectionto 1.17.1 to be compatible with older flutter versions
3.1.0 #
- Fix unconsistant JWK convertion
- Add
JWTKey.fromJWKstatic method for parsing JWK to various key types
3.0.0 #
- Possible BREAKING CHANGE:
exp,nbfandiatare now following the JWT RFC for NumericDate by only using UTC DateTime - Add JWK (JSON Web Key) conversion methods to key classes (
toJWK()) - Fix HMAC secret auto detect if base64 is url or not
- Fix base64Url instead of base64 for string payloads JWT
- Add header tests for
exp,nbfandiat
2.17.0 #
- Parse standard parameters when using
JWT.decode(https://github.com/jonasroussel/dart_jsonwebtoken/pull/64)
2.16.0 #
- Add support of PEM parsing for EdDSA keys with
EdDSAPrivateKey.fromPemandEdDSAPublicKey.fromPem
2.15.0 #
- Added support for PSS alogrithm varations (https://github.com/jonasroussel/dart_jsonwebtoken/pull/59)
2.14.2 #
- Ensure
sub,iss,jtiare strings (https://github.com/jonasroussel/dart_jsonwebtoken/pull/62)
2.14.1 #
- Fix
iatclaim verification (https://github.com/jonasroussel/dart_jsonwebtoken/pull/57)
2.14.0 #
- Add support for base64 encoded secrets (https://github.com/jonasroussel/dart_jsonwebtoken/pull/54)
- Fix
exp,nbfandiatchecks by casting the value toint
2.13.0 #
- Fix invalid ECDSA signature for keys that are not a multiple of 8 (e.g. secp521r1) (https://github.com/jonasroussel/dart_jsonwebtoken/issues/51)
2.12.2 #
- Add testable date times (https://github.com/jonasroussel/dart_jsonwebtoken/issues/50)
2.12.1 #
- Fixing issue with custom headers (https://github.com/jonasroussel/dart_jsonwebtoken/issues/48)
2.12.0 #
- NEW: tests have been added
- NEW: publish & test CI
- Making all
JWTAlgorithmclasses public (mainly to be mocked in tests)
2.11.0 #
- Removing
basic_utilspackage that was incompatible with flutter web - Moving utils to
helpers.dartand key parsing functions intokey_parser.dart - Adding some new examples in
example/example.dart
2.10.0 #
- New ECDSA algorithm (ES256K)
- New RSA algorithm with PSS padding (PS256, PS384, PS512)
- README.md improved
- example/example.dart improved
2.9.1 #
- Adding a new class factory
ECPublicKey.cert
2.9.0 #
- Adding
basic_utilspackage to handle PEM & key parsing - A lot of new class factory to create
Keys(e.g.RSAPublicKey.certand.bytes)
2.8.2 #
- Downgraing
collectionto 1.7.1 to be compatible with flutter_test
2.8.1 #
- Updating dependencies
- Fixing
CHANGELOG.md
2.8.0 #
- BREAKING CHANGE: Replacing all JWTError by JWTException that is more accurate (https://github.com/jonasroussel/dart_jsonwebtoken/issues/39)
- Fixing assert message (https://github.com/jonasroussel/dart_jsonwebtoken/pull/42)
2.7.1 #
- Migrating from
pedantictolints
2.7.0 #
parsing.darthas been replaced by more accurate CryptoUtils functionshttps://github.com/Ephenodrom/Dart-Basic-Utils- Fixing
_ECDSAAlgorithm.signmethod that did not filling the gap in the ECDSA curve signatures
2.6.4 #
- Fixing
ECPrivateKey.rawinitializesize
2.6.3 #
- Adding a
.rawand.cloneconstructor toJWTKey(execptSecretKeyof course)
2.6.2 #
- Fix rethrow of JWTError exceptions for the method
verify. Before this change every exception thrown byverifyalways returned JWTUndefinedError
2.6.1 #
- Adding a
tryversion ofdecode,verifyandsign, that simply returnsnullinstead of throwing errors
2.6.0 #
- Adding a
JWT.decodemethod to simply decode a token without checking its signature - The
JWT.verifymethod do not remove extra token infos (iss,aud, ...) anymore
2.5.1 #
- Fix Flutter compatibility issue:
downgradedependency collection to1.16.0
2.5.0 #
2.4.2 #
- Formating for 'static analysis'
2.4.0 #
- BREAKING CHANGE:
JWT.audienceis now an instance of theAudienceclass, to handle multiple audience entries and can be used like list. You can always use a single entry by callingAudience.one('...')factory and the.firstgetter - Upgrading
pointycastledependency to3.3.4
2.3.2 #
- Some badges on
README.md(Thanks to https://github.com/bruno-garcia/badges.bar)
2.3.1 #
- Fix the
pointycastledependency,v3.1.3is incompatible with flutter web (dart2js) (https://github.com/jonasroussel/dart_jsonwebtoken/issues/14)
2.3.0 #
- Adding
headerin JWT class (you can now set your custom header)
2.2.0 #
- Fixing EdDSA incompatibility's with flutter web (https://github.com/jonasroussel/dart_jsonwebtoken/issues/11)
- Dependencies:
ed25519_edwardshave been removed,convert&collectionhave been added
2.1.1 #
- Fixing
_pkcs8ECPublicKeyto work with pointycastle 3.0.1
2.1.0 #
- When an undefined error occur
JWTUndefinedErroris thrown containing the original error inerrorproperty (https://github.com/jonasroussel/dart_jsonwebtoken/issues/9) - BREAKING CHANGE:
jwt.verifyno longer supportthrowUndefinedErrorsparameter
2.0.1 #
- Fixing
JWT.signto includeiat& other attributes when payload is an empty Map
2.0.0 #
- Stable release for null safety
2.0.0-nullsafety.2 #
- New EdDSA Algorithm (EdDSA)
- EdDSAPrivateKey and EdDSAPublicKey, two new keys for EdDSA algorithm
ed25519_edwardspackage has been added
2.0.0-nullsafety.1 #
- Null safety migration of this package
1.6.2 #
- Adding
analysis_options.yamlto work with pedantic during development
1.6.1 #
- Formating for 'static analysis'
1.6.0 #
- New ECDSA Algorithm (ES256, ES384, ES512)
- ECPrivateKey and ECPublicKey, two new keys for ECDSA algorithm
- PrivateKey is renamed in RSAPrivateKey
- PublicKey is renamed in RSAPublicKey
- Optimization of private & public keys parsing
rsa_pkcs&cryptographyhave been removed
1.5.0 #
- Debuging
_TypeError issue on sign method(#4) - Implementing
toStringin theJWTErrorclass
1.4.1 #
- Formating for 'static analysis'
1.4.0 #
- Implementing
throwUndefinedErrorsoption in theJWT.verifymethod
1.3.1 #
- Formating for 'static analysis'
1.3.0 #
- Adding checks in
JWT.verifyfunction foriss, sub, aud, iat, jti
1.2.1 #
- Formating for 'static analysis'
1.2.0 #
- Payload is now required
- Payload is now dynamic and not restricted to an object
- Dependencies updated
1.1.0 #
- New algorithms
1.0.3 #
- Formating for 'static analysis'
1.0.2 #
- Docs & examples
1.0.1 #
- More details on exceptions
- New examples
1.0.0 #
- New RSA Algorithm (RS256)
- Keys a now using an abstract class 'Key' instead of a string
- SecretKey: for HMAC (HS256)
- PrivateKey & PublicKey: for RSA (RS256)
0.2.1 #
- Formatting
0.2.0 #
- Better documentations
0.1.0 #
- First version with every based features