Releases: sergiodxa/remix-auth
Releases Β· sergiodxa/remix-auth
v3.2.1
What's Changed
Bug Fixes
- Ensure sessionSomething properties in Authenticator are not typed as undefined by @sergiodxa in #119
Full Changelog: v3.2.0...v3.2.1
v3.2.0
What's Changed
New Features
- Set the strategy name in session after success with redirect by @sergiodxa in #117
- Add logout method to the authenticator by @sergiodxa in #118
Full Changelog: v3.1.0...v3.2.0
v3.1.0
What's Changed
Documentation Changes
- Update the documentation for v3 by @sergiodxa in #112
New Features
- Remove strategies already published in other packages by @sergiodxa in #110
- Add AppLoadContext as a strategy and authenticate option by @sergiodxa in #113
Full Changelog: v3.0.1...v3.1.0
v3.0.1
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
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
authenticatemethod receives athrowOnErroroption, if defined it will throw an AuthorizationError instead of a 401 response in case of errors and iffailureRedirectis not set. - The strategies
authenticatemethod receives asessionErrorKeywhere it will set the error message in case of a redirect. It defaults to theauth:errorkey. - The Authenticator now receives the
throwOnErroroptions upon instantiation (optional) and allow it as option in theauthenticatemethod to overwrite it, useful to enable it by default. - The Authenticator now receives the
sessionErrorKeyand defaults toauth: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
What's Changed
Other Changes
- Fix types to accurately reflect Discord docs by @JonnyBnator in #98
- Update Discord Strategy by @JonnyBnator in #99
- Support scope as string in DiscordStrategy by @sergiodxa in #100
New Contributors
- @JonnyBnator made their first contribution in #98
Full Changelog: v2.5.1...v2.6.0
v2.5.1
What's Changed
Other Changes
- Update crypto import in KCDStrategy by @ArturoAtomplay in #96
New Contributors
- @ArturoAtomplay made their first contribution in #96
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
Documentation Changes
- Update google documentation by @VictorPeralta in #70
- Remove unused import from README.md by @faheempatel in #74
- Fix small errors in KCD docs by @jacobparis in #73
- Adds Auth0Strategy example. by @coreyleelarson in #78
- fix the bug in the github callback of example app. by @pbteja1998 in #80
- Fix KCD example to await
isAuthenticatedto fix crashes due to unhandled promises by @zainfathoni in #84 - docs: (fix) typos by @edgesoft in #89
New Strategy
New Features
- Authorization by @sergiodxa in #67
- Add audience support for Auth0Strategy by @wellDan28 in #92
- Refactor crypto implementation for KCDStrategy, fix linter and tests by @sergiodxa in #93
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
- fix linting errors by @pbteja1998 in #83
- add bug report template by @cliffordfajardo in #87
New Contributors
- @VictorPeralta made their first contribution in #70
- @faheempatel made their first contribution in #74
- @jacobparis made their first contribution in #73
- @lgastler made their first contribution in #71
- @coreyleelarson made their first contribution in #78
- @pbteja1998 made their first contribution in #80
- @zainfathoni made their first contribution in #84
- @cliffordfajardo made their first contribution in #87
- @m5r made their first contribution in #75
- @edgesoft made their first contribution in #89
- @wellDan28 made their first contribution in #92
Full Changelog: v2.4.1...v2.5.0
v2.5.0-0
v2.4.1
What's Changed
New Features
- Upgrade to Remix v1 by @sergiodxa in #65
Full Changelog: v2.4.0...v2.4.1