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

Bump @inrupt/solid-client-authn-node from 2.2.7 to 2.3.0 #2554

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Bumps @inrupt/solid-client-authn-node from 2.2.7 to 2.3.0.

Release notes

Sourced from @​inrupt/solid-client-authn-node's releases.

v2.3.0

Deprecation notice

  • A new signature is introduced for getSessionFromStorage in this release. The legacy signature is deprecated, and could be removed with the next major release.
// Deprecated signature
const session = await getSessionFromStorage(
  sessionId,
  storage,
  onNewRefreshToken,
  refresh,
);
// Replacement signature
const session = await getSessionFromStorage(sessionId, {
  storage,
  onNewRefreshToken,
  refresh,
});

Bugfix

node

  • The session expiration date (session.info.expirationDate) is now correct when loading a Session from storage.

Feature

node

  • It is now possible to build a Session using getSessionFromStorage and not log it in using its refresh token. To do so, a new refresh optional flag has been introduced. It defaults to true, which makes this a non-breaking change. In addition, a new signature is introduced to make it easier to provide the optional arguments:
// Legacy signature only specifying one optional argument
const session = await getSessionFromStorage(
  sessionId,
  undefined,
  undefined,
  false,
);
// New signature
const session = await getSessionFromStorage(sessionId, { refresh: false });

... (truncated)

Changelog

Sourced from @​inrupt/solid-client-authn-node's changelog.

2.3.0 - 2024-11-14

Bugfix

node

  • The session expiration date (session.info.expirationDate) is now correct when loading a Session from storage.

Feature

node

  • It is now possible to build a Session using getSessionFromStorage and not log it in using its refresh token. To do so, a new refresh optional flag has been introduced. It defaults to true, which makes this a non-breaking change. In addition, a new signature is introduced to make it easier to provide the optional arguments:
// Legacy signature only specifying one optional argument
const session = await getSessionFromStorage(
  sessionId,
  undefined,
  undefined,
  false,
);
// New signature
const session = await getSessionFromStorage(sessionId, { refresh: false });

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @edwardsph.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner November 18, 2024 07:14
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2024

The following labels could not be found: npm.

Copy link

socket-security bot commented Nov 18, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@inrupt/[email protected] network +6 1.36 MB inrupt_ci

🚮 Removed packages: npm/@inrupt/[email protected]

View full report↗︎

Copy link
Collaborator

@edwardsph edwardsph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@edwardsph
Copy link
Collaborator

@dependabot rebase

Bumps [@inrupt/solid-client-authn-node](https://github.com/inrupt/solid-client-authn-js) from 2.2.7 to 2.3.0.
- [Release notes](https://github.com/inrupt/solid-client-authn-js/releases)
- [Changelog](https://github.com/inrupt/solid-client-authn-js/blob/main/CHANGELOG.md)
- [Commits](inrupt/solid-client-authn-js@v2.2.7...v2.3.0)

---
updated-dependencies:
- dependency-name: "@inrupt/solid-client-authn-node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inrupt/solid-client-authn-node-2.3.0 branch from 304ee16 to d71ebc8 Compare November 25, 2024 18:35
@dependabot dependabot bot merged commit 86036f0 into main Nov 25, 2024
26 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/inrupt/solid-client-authn-node-2.3.0 branch November 25, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant