Skip to content

chore(deps): bump @adonisjs/session from 7.7.1 to 8.3.0 - #6

Closed
dependabot[bot] wants to merge 81 commits into
masterfrom
dependabot/npm_and_yarn/adonisjs/session-8.2.0
Closed

dependabot[bot] wants to merge 81 commits into
masterfrom
dependabot/npm_and_yarn/adonisjs/session-8.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 20, 2026 •

Copy link
Copy Markdown

Bumps @adonisjs/session from 7.7.1 to 8.3.0.

Release notes

Sourced from @​adonisjs/session's releases.

Support for @​adonisjs/redis v11 and store selection in configure

8.3.0 (2026-10-18)

This release adds support for @adonisjs/redis v11 and lets node ace configure set up the store of your choice.

@adonisjs/redis v11

The peer dependency now accepts @adonisjs/redis v11 (ioredis 6). v10 remains supported, so you can upgrade Redis on your own schedule.

Store selection in configure

node ace add @adonisjs/session used to always configure the cookie store. It now asks which store to use, or reads it from the --store flag.

node ace add @adonisjs/session --store=redis
  • Supported stores: cookie, file, redis and database. DynamoDB must still be configured by hand.
  • config/session.ts contains the selected store, and SESSION_DRIVER is set and validated as that store or memory.
  • With database, the hook also creates the sessions table migration.
  • Without --store, the command prompts for the store. Scripts that run it non-interactively must pass the flag.

Features

  • prompt for the session store (ed57154)

Chores

  • allow @​adonisjs/redis v11 as peer dependency (c62388d)

Safer sessions with overlapping requests and encrypted redis/database stores

8.2.0 (2026-10-17)

This release makes sessions more robust when requests from the same browser overlap: a logout, a regenerate() or a SessionCollection.destroy() that occurs while another request runs. Before, the late request could bring an ended session back.

With the default config, no behavior that apps rely on changes. The new protections that change visible behavior are opt-in.

What changes for everyone

  • The redis, database, file and dynamodb stores do not write back a session that another request destroyed during the request.
  • On redis and database, the write of a newly tagged session adds it to the user's sessions in the same operation (MULTI on standalone Redis, one query in SQL). A concurrent tagged() call can no longer drop it. On Redis Cluster, the store writes the data and then the tag, outside a transaction.
  • The database store tag() no longer creates an empty row for a session that has no data.
  • The japa api and browser client plugins write test sessions to the configured store, instead of always using the memory store. The cookie store still uses memory.

New options

  • refreshCookie (default true): with false, the session cookie is sent only when the session id changes. A late response can then not put back an id the browser left. The cookie Max-Age is no longer refreshed, so use it with clearWithBrowser.
  • renewMissingSessionId (default false): when the cookie names a session that the store does not have, the session gets a new id. The id of an ended session is never used again. A session without data then gets a new id on each request.
  • encrypt on stores.redis() and stores.database() (default false): encrypts the session data with the encryption service, instead of only signing it. Existing sessions cannot be read after you enable it.

... (truncated)

Commits
  • 0548a16 chore(release): 8.3.0
  • ed57154 feat(configure): prompt for the session store
  • c62388d chore: allow @​adonisjs/redis v11 as peer dependency
  • e842848 chore(release): 8.2.0
  • 088965c feat(session): make the new id for a missing session opt-in
  • fc0a5ae fix(plugins): destroy the browser test session before close resolves
  • 0ceb6cd fix(stores): report partial writes of a read session in the file store
  • 8acfa72 fix(stores): do not replay the tag of a session read by the store
  • 60d3e81 fix(plugins): give each test client call its own store
  • e8fedf5 fix(plugins): read the response session when refreshCookie is false
  • Additional commits viewable in compare view

Consolidate RPC client implementation with improved error handling,
retry logic, and TypeScript support. Clean up legacy app scaffolding.

Key changes:
- Implement typed JSON-RPC client in TypeScript (src/index.ts)
- Add comprehensive error handling for JSON-RPC responses
- Add retry logic with configurable delays and attempts
- Add HTTP timeout and status code range validation
- Support environment-based configuration via .env
- Support Basic Auth and custom headers for RPC endpoints
- Add type definitions (src/types.ts) for Config, Logger, RpcParams
- Implement configurable logging with multiple levels
- Support both default and custom logger implementations
- Remove legacy app scaffolding (apps/app/ files)
  - Delete auth pages (login, register, verify)
  - Delete account settings pages and layouts
  - Delete explorer API routes

Package:
- Modernize to ESM (type: "module")
- Add proper exports map (ESM/CJS/types)
- Add comprehensive package metadata
- Maintain backward compatibility at v0.3.1

Features:
```typescript
import { createClient, createClientFromEnv } from '@hyperbitjs/rpc';

// Configure via env vars: RPC_URL, RPC_USERNAME, RPC_PASSWORD
const client = createClientFromEnv();

// Make typed RPC calls
const result = await client.requestOrThrow('getblockchaininfo');

// Custom config
const client = createClient({
  url: 'http://localhost:8332',
  username: 'user',
  password: 'pass',
  timeout: 30000,
  retries: 3
});
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 20, 2026
michaelmcshinsky and others added 7 commits October 20, 2026 15:13
- cipher-base 1.0.4 → 1.0.7
- sha.js 2.4.11 → 2.4.12
- pbkdf2 3.0.8 → 3.1.7
- handlebars 4.7.8 → 4.7.10
- axios 1.7.7 → 1.20.0
- node-forge dropped in fresh resolution
- .npmrc: legacy-peer-deps for pre-existing my-react-app peer conflict
Bumps [@adonisjs/session](https://github.com/adonisjs/session) from 7.7.1 to 8.3.0.
- [Release notes](https://github.com/adonisjs/session/releases)
- [Commits](adonisjs/session@v7.7.1...v8.3.0)

---
updated-dependencies:
- dependency-name: "@adonisjs/session"
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump @adonisjs/session from 7.5.0 to 8.2.0 chore(deps): bump @adonisjs/session from 7.7.1 to 8.3.0 Oct 22, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/adonisjs/session-8.2.0 branch from bed5b5b to 9e403ad Compare October 22, 2026 18:57
@dependabot @github

dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/adonisjs/session-8.2.0 branch October 22, 2026 21:00
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