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): bump @inrupt/solid-client-authn-node from 1.12.2 to 1.14.0 #143

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 5, 2023

Bumps @inrupt/solid-client-authn-node from 1.12.2 to 1.14.0.

Release notes

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

v1.14.0

browser and node

New features

  • The Session exposes an events attribute implementing EventEmitter, with type hints to guide which events are supported. It allows to register a callback listening on events using session.events.on, but also to unregister a callback using session.events.off, or to register a one-off callback using session.events.once. This attribute intends at replacing exising Session methods to listen on events, namely onLogin, onLogout, onError, onSessionRestore, onSessionExpiration, onNewRefreshToken.

Deprecation notice

The following have been deprecated, and will be removed in future major releases.

  • The Session class will no longer extend EventEmitter. Instead, it will expose an events attribute implementing EventEmitter. We do not recommand to use either a Session instance or its events attribute as an arbitrary events emitter, and encourage users to only use the supported events and documented API.
  • Session methods onLogin, onLogout, onError, onSessionRestore, onSessionExpiration, onNewRefreshToken are deprecated in favor of session.events.on called with the appropriate event name.

node

Bugfixes

  • The session expiration date was incorrectly computed in the authorization code flow.

v1.13.4

browser

Bugfix

  • v1.13.3 introduced a bug in the silent reload flow, resulting in a "Mismatching redirect URL" error when refreshing a page with an app logged in. This regression went unnoticed because of a misconfiguration of the browser-based test app that should have covered this scenario. Both issues are now resolved.

node

Bugfix

  • The Session expiration date was not set in all contexts: session.info.expirationDate wasn't set properly using Client Credentials.

v1.13.3

browser

... (truncated)

Changelog

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

1.14.0 - 2023-03-23

browser and node

New features

  • The Session exposes an events attribute implementing EventEmitter, with type hints to guide which events are supported. It allows to register a callback listening on events using session.events.on, but also to unregister a callback using session.events.off, or to register a one-off callback using session.events.once. This attribute intends at replacing exising Session methods to listen on events, namely onLogin, onLogout, onError, onSessionRestore, onSessionExpiration, onNewRefreshToken.

node

Bugfixes

  • The session expiration date was incorrectly computed in the authorization code flow.

1.13.4 - 2023-03-16

browser

Bugfix

  • v1.13.3 introduced a bug in the silent reload flow, resulting in a "Mismatching redirect URL" error when refreshing a page with an app logged in. This regression went unnoticed because of a misconfiguration of the browser-based test app that should have covered this scenario. Both issues are now resolved.

node

Bugfix

  • The Session expiration date was not set in all contexts: session.info.expirationDate wasn't set properly using Client Credentials.

browser and node

New feature

  • Added events attribute to the Session class to expose full EventEmitter API with type hints for each supported event. This allows to write code such as the following:

      const mySession = new Session();
      mySession.events.on(EVENTS.LOGIN, () => { console.log("Logged in!") });
    

... (truncated)

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 it's up-to-date and CI passes on it, as requested by @NSeydoux.


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 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 April 5, 2023 15:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 5, 2023
Copy link
Contributor

@NSeydoux NSeydoux 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

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inrupt/solid-client-authn-node-1.14.0 branch 2 times, most recently from d755e26 to a2aae55 Compare April 14, 2023 09:43
Bumps [@inrupt/solid-client-authn-node](https://github.com/inrupt/solid-client-authn) from 1.12.2 to 1.14.0.
- [Release notes](https://github.com/inrupt/solid-client-authn/releases)
- [Changelog](https://github.com/inrupt/solid-client-authn-js/blob/main/CHANGELOG.md)
- [Commits](inrupt/solid-client-authn-js@v1.12.2...v1.14.0)

---
updated-dependencies:
- dependency-name: "@inrupt/solid-client-authn-node"
  dependency-type: direct:production
  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-1.14.0 branch from a2aae55 to 152501e Compare April 14, 2023 09:45
@dependabot dependabot bot merged commit 77d7ee9 into main Apr 14, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/inrupt/solid-client-authn-node-1.14.0 branch April 14, 2023 09:47
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant