Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Nothing yet.
0.4.0 - 2024-12-09
- CHANGELOG.md is created.
- Biome is used for linting and formatting.
- .nvmrc file is created for keeping Node version in mind.
- All methods related to OpenID are moved to
utils/openid.ts
. claimIdentity
method is created and called instead ofverifyAssertion
for better refactoring and more accurate naming.
- License changed from WTFPL to Unlicense.
- README file is rewritten and updated.
- Examples are rewritten and updated.
verifyAssertion
method moved toutils/openid.ts
.verifyAssertion
now returns only a string and throws aClaimed identity is invalid
error instead of returningnull
.- Constant variables in
verifyAssertion
extracted to global scope to avoid re-creation on each call. PROVIDER_ID
,PROVIDER_NAME
,EMAIL_DOMAIN
,AUTHORIZATION_URL
, andLOGO_URL
renamed withSTEAM_
prefix.- Error message when no secret is passed to the provider slightly changed.
callbackUrl
property is no longer required. If not provided, the default value fromprocess.env.NEXTAUTH_URL
is used.- Lockfile version upgraded from 6 to 9.
steam-icon-light.svg
renamed tosteam-icon.svg
.SteamProfile
interface moved tosteam.ts
and is now extendable, as theSteam
method is generic.- Next.js 15 added as a peer dependency, supporting Next.js v13, v14, and v15.
- TypeScript updated to
^5.4.3
.
types.ts
file removed.