Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency supertokens-node to v13 #7595

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 8, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
supertokens-node 12.1.6 -> 13.0.1 age adoption passing confidence

Release Notes

supertokens/supertokens-node

v13.0.1

Compare Source

  • Email template updates

v13.0.0

Compare Source

Breaking changes
  • The frontend SDK should be updated to a version supporting the header-based sessions!
    • supertokens-auth-react: >= 0.31.0
    • supertokens-web-js: >= 0.5.0
    • supertokens-website: >= 16.0.0
    • supertokens-react-native: >= 4.0.0
    • supertokens-ios >= 0.2.0
    • supertokens-android >= 0.3.0
    • supertokens-flutter >= 0.1.0
  • createNewSession now requires passing the request as well as the response.
    • This only requires a change if you manually created sessions (e.g.: during testing)
    • There is a migration example added below. It uses express, but the same principle applies for other supported frameworks.
  • Only supporting FDI 1.16
Added
Migration

This example uses express, but the same principle applies for other supported frameworks.

Before:

const app = express();
app.post("/create", async (req, res) => {
    await Session.createNewSession(res, "testing-userId", {}, {});
    res.status(200).json({ message: true });
});

After the update:

const app = express();
app.post("/create", async (req, res) => {
    await Session.createNewSession(req, res, "testing-userId", {}, {});
    res.status(200).json({ message: true });
});

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 added the release:chore This PR is a chore (means nothing for users) label Feb 8, 2023
@renovate renovate bot assigned jtoar Feb 8, 2023
@jtoar jtoar merged commit 7594a63 into main Feb 9, 2023
@jtoar jtoar deleted the renovate/supertokens-node-13.x branch February 9, 2023 00:25
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Feb 9, 2023
@jtoar jtoar modified the milestones: next-release, v4.2.0 Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant