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.