Skip to content

Releases: sergiodxa/remix-auth

v3.0.1

27 Dec 06:28
Compare
Choose a tag to compare

What's Changed

Other Changes

  • Use session.set instead of session.flash for success callback by @pbteja1998 in #105

Full Changelog: v3.0.0...v3.0.1

v3.0.0

21 Dec 01:54
Compare
Choose a tag to compare

What's Changed

  • New abstract Strategy class instead of an interface.
  • The verify callback strategies receive is now part of the Strategy class types
  • The verify callback now receives a single object as argument, the type comes from the Strategy class generics.
  • The strategies authenticate method receives a throwOnError option, if defined it will throw an AuthorizationError instead of a 401 response in case of errors and if failureRedirect is not set.
  • The strategies authenticate method receives a sessionErrorKey where it will set the error message in case of a redirect. It defaults to the auth:error key.
  • The Authenticator now receives the throwOnError options upon instantiation (optional) and allow it as option in the authenticate method to overwrite it, useful to enable it by default.
  • The Authenticator now receives the sessionErrorKey and defaults to auth:error.
  • Don't export the strategies with the package, but keep the code until they are on a different package.

Full Changelog: v2.6.0...v3.0.0

v2.6.0

20 Dec 05:25
Compare
Choose a tag to compare

What's Changed

Other Changes

New Contributors

Full Changelog: v2.5.1...v2.6.0

v2.5.1

16 Dec 20:10
Compare
Choose a tag to compare

What's Changed

Other Changes

New Contributors

Full Changelog: v2.5.0...v2.5.1

v2.5.0

15 Dec 18:23
Compare
Choose a tag to compare

What's Changed

Documentation Changes

New Strategy

New Features

Bug Fixes

  • add User-Agent to GitHub strategy by @pbteja1998 in #81
  • add User-Agent to GitHub strategy by @pbteja1998 in #82
  • Pass errors thrown from local strategy in an object with a message property by @m5r in #75
  • Use webcrypto when node crypto is not supported by @pbteja1998 in #86

Other Changes

New Contributors

Full Changelog: v2.4.1...v2.5.0

v2.5.0-0

24 Nov 05:50
Compare
Choose a tag to compare
v2.5.0-0 Pre-release
Pre-release

What's Changed

New Features

Full Changelog: v2.4.1...v2.5.0-0

v2.4.1

23 Nov 02:27
Compare
Choose a tag to compare

What's Changed

New Features

Full Changelog: v2.4.0...v2.4.1

v2.4.0

19 Nov 23:32
Compare
Choose a tag to compare

What's Changed

New Features

  • Set @remix-run/server-runtime as peerDependencies instead of @remix-run/node by @edmundhung in #51
  • Switch from esbuild to tsc by @sergiodxa in #54
  • Use UUID instead of randomBytes from Node crypto by @sergiodxa in #56

Other Changes

New Contributors

Full Changelog: v2.3.0...v2.4.0

v2.3.0

18 Nov 17:23
Compare
Choose a tag to compare

What's Changed

New Features

Full Changelog: v2.2.0...v2.3.0

v2.2.0

04 Nov 23:23
Compare
Choose a tag to compare

What's Changed

New Strategy

New Features

New Contributors

Full Changelog: v2.1.2...v2.2.0