Skip to content

Commit

Permalink
docs: makrdown lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sixcolors committed Sep 8, 2024
1 parent 6812fc4 commit 28aad65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/middleware/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ We recommend using the `Middleware` handler for better integration with other mi
## Migration Guide

### v2 to v3

- In version 3, the `New` function signature has been updated. It now returns a Fiber middleware handler instead of a `*Store`. To access the store, you can use the `Store` method on the `*Middleware` (obtained by calling `session.FromContext(c)` in a handler where the middleware is applied) or utilize the `NewWithStore` function.

While it's still possible to work with the `*Store` directly, we recommend using the `Middleware` handler for better integration with other Fiber middlewares.
Expand Down

0 comments on commit 28aad65

Please sign in to comment.