Skip to content

Comments

build(deps): bump @adonisjs/session from 7.5.1 to 7.7.1#436

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/adonisjs/session-7.7.1
Open

build(deps): bump @adonisjs/session from 7.5.1 to 7.7.1#436
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/adonisjs/session-7.7.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Bumps @adonisjs/session from 7.5.1 to 7.7.1.

Release notes

Sourced from @​adonisjs/session's releases.

Bug fix around database tagging

7.7.1 (2025-12-20)

Bug Fixes

  • database: preserve session tag when called before commit (f5ce7b0), closes #95

Session Collection

Session Tagging & SessionCollection

This release adds session tagging support and a new SessionCollection API for programmatic session management.

New Features

Session Tagging

Link sessions to user IDs, enabling features like "Logout from all devices" or displaying active sessions in account settings.

// Tag the current session after login
await session.tag(String(user.id))

SessionCollection API

Manage sessions programmatically outside of HTTP requests:

import { SessionCollection } from '@adonisjs/session'
const sessionCollection = await app.container.make(SessionCollection)
await sessionCollection.get(sessionId)           // Get session data
await sessionCollection.destroy(sessionId)       // Destroy a session
await sessionCollection.tag(sessionId, userId)   // Tag a session
await sessionCollection.tagged(userId)           // Get all sessions for a user

Supported Stores

Session tagging is supported by redis, database, and memory stores only.

Database Migration

If using the database store, run node ace make:session-table for new projects, or add the user_id column to existing sessions tables:

table.string('user_id').nullable().index()

... (truncated)

Commits
  • 86bd6d4 chore(release): 7.7.1
  • 6ecbf95 chore: rollback @​japa/runner for now
  • 1a494e3 chore: update dependencies
  • f5ce7b0 fix(database): preserve session tag when called before commit
  • 4c6d6dc chore(release): 7.7.0
  • fb6d1e5 ci: Update Node.js version in release workflow
  • a51e388 feat: add support for tagging + SessionCollection (#94)
  • 0254f9f chore(release): 7.6.0
  • ad12d6b feat: add db adapter
  • abe3770 fix: pin swc as it is broken
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​adonisjs/session since your current version.


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 @abtion-internal-projects.


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)

Bumps [@adonisjs/session](https://github.com/adonisjs/session) from 7.5.1 to 7.7.1.
- [Release notes](https://github.com/adonisjs/session/releases)
- [Commits](adonisjs/session@v7.5.1...v7.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 27, 2026
Copy link

@abtion-internal-projects abtion-internal-projects 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 @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2026

Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2026

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

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