Releases: Nekonyx/next-auth-steam
Releases · Nekonyx/next-auth-steam
v0.4.0
Full Changelog: Compare v0.3.0...v0.4.0
This version has no breaking changes and backward compatible, with the exception of some changes to TypeScript's type definitions.
Major Changes
- License Update: Switched from WTFPL to Unlicense.
- Next.js Support: Added Next.js v15 as a peer dependency, ensuring compatibility with Next.js v13, v14, and v15 (#24).
Changes
- Renamed key configuration variables by adding the
STEAM_
prefix:PROVIDER_ID
→STEAM_PROVIDER_ID
PROVIDER_NAME
→STEAM_PROVIDER_NAME
EMAIL_DOMAIN
→STEAM_EMAIL_PSEUDO_DOMAIN
AUTHORIZATION_URL
→STEAM_AUTHORIZATION_URL
LOGO_URL
→STEAM_LOGO_URL
- Note: Previous variable names are still exported and will remain functional until NextAuth.js v5 is released.
- Improved error handling:
- Changed the error message when no API Key is provided.
- Updated behavior for invalid claimed identities: now throws a
Claimed identity is invalid
error instead ofUnauthorized
.
- Enhanced
callbackUrl
flexibility: It is now optional. If omitted, the value defaults toprocess.env.NEXTAUTH_URL
. - Made the
Steam
provider generic: Additional properties can now be passed to theSteamProfile
interface. - Updated the Steam logo URL.
Other Changes
See CHANGELOG.md for more details.
v0.3.0
Full Changelog: v0.2.0...v0.3.0
This version has no breaking changes. I strongly recommend upgrading to the latest version if you haven't already done so.
Changes
- Previous versions of this package may have the same security problems as liamcurry/passport-steam#120, so additional checks added
Thanks for reporting this, anonymous folks ❤️! - Don't lock minimal minor versions of peer/dev dependencies
- Accept various types of requests
- Only dark style is used now
Miscellaneous
- All examples are up-to-date now and have bare minimum to see how it works.
prisma
example has been removed because I can't support it.