Skip to content

Commit 0e92414

Browse files
authored
Release 4.0.0 (#4242)
* Prepare release v4.0.0 * Remove deprecated signature for `getSessionFromStorage`
1 parent cfc2316 commit 0e92414

10 files changed

Lines changed: 198 additions & 135 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,29 @@ within this mono-repo.
55

66
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## Deprecation notice
8+
## Unreleased
9+
10+
The following changes have been implemented but not released yet:
11+
12+
## [4.0.0](https://github.com/inrupt/solid-client-authn-js/releases/tag/v4.0.0) - 2026-03-30
13+
14+
### Breaking changes
15+
16+
#### oidc-browser
17+
18+
Note that these changes are unlikely to impact a client application.
19+
20+
- Replaced `@inrupt/oidc-client` dependency with `oidc-client-ts` (`^3.5.0`), the actively maintained TypeScript successor.
21+
- Removed re-exports: `Version`, `CordovaPopupNavigator`, `CordovaIFrameNavigator` (no longer available upstream).
22+
- Changed `SigninRequest` and `OidcClientSettings` to type-only exports.
23+
24+
#### node
925

1026
- A new signature was introduced for `getSessionFromStorage` in release 2.3.0. The legacy signature is
11-
deprecated, and will be removed with the 4.0.0 major release.
27+
deprecated, and will be removed with the 4.0.0 major release. Using the more recent API to manage Sessions
28+
based on the associated tokens should be preferred, as it allows to not rely on in-memory scale, making it
29+
easier to scale horizontally. Prefer using `session.events.on(EVENTS.NEW_TOKENS, ...)` to get the tokens, and
30+
`Session.fromTokens` to build the `Session` object.
1231

1332
```javascript
1433
// Deprecated signature
@@ -29,18 +48,6 @@ const session = await getSessionFromStorage(sessionId, {
2948
- The event `EVENTS.NEW_REFRESH_TOKEN` is being replaced by `EVENTS.NEW_TOKENS` which returns all the tokens a client
3049
can store for refreshing a session.
3150

32-
## Unreleased
33-
34-
The following changes have been implemented but not released yet:
35-
36-
### Breaking changes
37-
38-
#### oidc-browser
39-
40-
- Replaced `@inrupt/oidc-client` dependency with `oidc-client-ts` (`^3.5.0`), the actively maintained TypeScript successor.
41-
- Removed re-exports: `Version`, `CordovaPopupNavigator`, `CordovaIFrameNavigator` (no longer available upstream).
42-
- Changed `SigninRequest` and `OidcClientSettings` to type-only exports.
43-
4451
### Bugfix
4552

4653
#### core

e2e/browser/solid-client-authn-browser/test-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "test-app",
3-
"version": "3.1.1",
3+
"version": "4.0.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@inrupt/internal-playwright-testids": "^4.1.0",
14-
"@inrupt/solid-client-authn-browser": "^3.1.1",
14+
"@inrupt/solid-client-authn-browser": "^4.0.0",
1515
"next": "^16.2.1",
1616
"react": "^19.2.3",
1717
"react-dom": "^19.2.4"

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "3.1.1",
2+
"version": "4.0.0",
33
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
44
}

0 commit comments

Comments
 (0)