Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 19, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fast-jwt ^2.1.0 -> ^3.0.0 age adoption passing confidence

Release Notes

nearform/fast-jwt (fast-jwt)

v3.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: nearform/fast-jwt@v3.1.0...v3.1.1

v3.1.0

Compare Source

What's Changed

Full Changelog: nearform/fast-jwt@v3.0.0...v3.1.0

v3.0.0

Compare Source

Breaking changes

This change will only affect users who are passing a callback in the key property of createVerifier or createSigner.

Previously the first parameter would be only the header of the JWT:

createVerifier({
  key: async function (header) {
    console.log(header.alg, header.kid)
    return "key"
  },
})

Now the first parameter is the whole JWT object (Except for createSigner which doesn't have the signature option).

If your code was using the header before you can just destructure it from the object and it will maintain the same behavior:

createVerifier({
  key: async function ({ header, payload, signature }) {
    console.log(header.alg, header.kid)
    return "key"
  },
})

What's Changed

Full Changelog: nearform/fast-jwt@v2.2.3...v3.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/fast-jwt-3.x branch from 7c4c2c3 to ab53d29 Compare June 29, 2023 18:29
@renovate renovate bot force-pushed the renovate/fast-jwt-3.x branch from ab53d29 to 6bc0717 Compare June 29, 2023 18:32
@mcollina mcollina merged commit 21793aa into main Jun 29, 2023
@renovate renovate bot deleted the renovate/fast-jwt-3.x branch June 29, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants