Skip to content

v4.0.0

Compare
Choose a tag to compare
@vvo vvo released this 01 May 19:57
· 636 commits to main since this release

4.0.0 (2020-05-01)

Features

  • API: expose ironSession (express), applySession, cookieName required (5b7c3d1), closes #54 #54 #9 #41
  • API: remove setFlash (3320ccd), closes #53
  • cookieName: enforce cookieName option (c016fec), closes #54

BREAKING CHANGES

  • API: - req.session.setFlash was removed, if you were using this please comment on
    GitHub
  • API: - you need to import withIronSession as a named export:
    before: import withIronSession from "next-iron-session"
    after: import { withIronSession } from "next-iron-session"
  • cookieName: cookieName is now mandatory, to avoid issues of shared
    cookieNames in examples etc..