0.7.3
What's Changed
Added
- Added a new Express
limitermiddleware powered byexpress-rate-limit. - Rate limit violations now throw
RateLimitExceededException. - Added
MailNotification.prepare()to prepare recipient and data context before sending mail.
Changed
- Renamed auth device payload terminology from
AuthAgentPayloadtoDeviceAgentPayload. - Session device detection now reads client-provided device metadata from the
x-device-agentheader instead ofx-auth-agent. - Mail notifications now resolve
{app_name}fromconfig('app.name'), falling back toArkstack.
Fixed
- Mail notification app name rendering now follows application config instead of relying only on
APP_NAME.
Compatibility Notes
- Consumers using
AuthAgentPayloadshould update imports toDeviceAgentPayload. - Clients sending device metadata should switch from
x-auth-agenttox-device-agent.
Full Changelog: 0.7.2...0.7.3