← All Releases
2.2.0
June 12, 2026Auth plugin and composable renames, DynamoDB lazy-loading, and sign-in payload fix
Summary
- Renamed
$apito$accApianduseAccActiveSessionId()touseAccAuthActiveSessionId(). - Improved DynamoDB auth storage with lazy AWS SDK loading and early dependency validation.
- Fixed internal sign-in payload structure and consolidated session token types.
Breaking Changes
- Renamed
useAccActiveSessionId()touseAccAuthActiveSessionId()in the exported auth state composables. Update imports and usages accordingly. - Renamed the injected API plugin from
$apito$accApi. Update direct usages ofuseNuxtApp().$apitouseNuxtApp().$accApi(or preferuseAccApi()).
Changed
- Changed the DynamoDB auth session storage driver to lazy-load AWS SDK packages at runtime so non-DynamoDB consumers do not need them installed.
Fixed
- Fixed
signInWithPasswordwrappingsessionDurationandbaseUrlin an unnecessaryoptionsobject; these are now top-level fields onSignInWithPasswordInput. - Fixed missing AWS SDK packages for DynamoDB storage being detected too late; the module now validates and reports them with a clear install command at setup time.
- Fixed duplicate session token type definitions by extracting a shared
SessionTokenstype and removingProviderSessionTokens/ProviderSignInPayload.