0.3.17
Highlights
- Added
@arkstack/notificationswith mail, SMS, and database notification drivers. - Added two-factor authentication support to
@arkstack/auth, including authenticator app secrets, SMS codes, recovery codes, andUserTwoFactor. - Added database-backed user notifications with
UserNotificationmodels and migrations. - Added
middleware:authhook support through@arkstack/common. - Added Vitest setup and basic tests for the Express and H3 templates.
- Replaced
supertestauth tests withparasito. - Updated
clear-routerto2.3.5.
What's Changed
Authentication
- Added
TwoFactorutilities for authenticator apps, SMS codes, recovery codes, and 2FA status. - Added
UserTwoFactorcontract, starter models, and migrations. - Updated auth user/session models and middleware integration.
- Added Express and H3 auth integration tests.
- Added auth middleware hook support via
middleware:auth.
Notifications
- Added new
@arkstack/notificationspackage. - Added mail delivery through SMTP.
- Added SMS delivery through AfricasTalking and Twilio transports.
- Added database/in-app notification delivery through
UserNotification. - Added
UserNotificationCenterhelpers for creating, listing, reading, and deleting notifications. - Added notification config to the Express and H3 templates.
- Added notification tests for mail, SMS, and database delivery.
Templates and Testing
- Added Vitest config to Express and H3 templates.
- Added basic template test assertions.
- Replaced
supertestwithparasitoin auth tests. - Added starter
UserNotificationandUserTwoFactormodels/migrations to templates.
Documentation
- Added notifications guide.
- Added hooks guide.
- Expanded authentication docs for 2FA and auth middleware hooks.
- Expanded API reference for notifications, hooks, and two-factor auth.
- Refreshed homepage feature cards and icons.
CI and Release
- Added release version preparation script.
- Updated publish workflow and npm auth handling.
- Added PostgreSQL-backed testing steps for prepublish workflows.
- Removed stale VitePress dependency cache files from the repository.
Dependencies
- Updated
clear-routerto2.3.5. - Updated
arkormxto2.0.7. - Updated
@resora/plugin-clear-routerto0.1.6. - Downgraded
@types/expressto5.0.6for compatibility.
Full Changelog: 0.3.3...0.3.17