Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@Nekonyx Nekonyx released this 09 Dec 15:21
be7c55b

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_IDSTEAM_PROVIDER_ID
    • PROVIDER_NAMESTEAM_PROVIDER_NAME
    • EMAIL_DOMAINSTEAM_EMAIL_PSEUDO_DOMAIN
    • AUTHORIZATION_URLSTEAM_AUTHORIZATION_URL
    • LOGO_URLSTEAM_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 of Unauthorized.
  • Enhanced callbackUrl flexibility: It is now optional. If omitted, the value defaults to process.env.NEXTAUTH_URL.
  • Made the Steam provider generic: Additional properties can now be passed to the SteamProfile interface.
  • Updated the Steam logo URL.

Other Changes

See CHANGELOG.md for more details.