github streetwriters/notesnook-sync-server v1.0-beta.49

pre-releaseone hour ago

Note: This is a beta version and NOT ready for use in production.

Identity

  1. Password reset and email confirmation links no longer stop working when the identity server restarts or is redeployed, and they now work across multiple identity server instances. The keys that sign them are now kept in MongoDB (the new dataprotection.keys collection), encrypted with NOTESNOOK_API_SECRET like the token keys.
    • Any password reset or email confirmation links sent before you upgrade will no longer work once the upgrade is done. These links expire after 2 hours anyway, so this only affects links sent shortly before upgrading; users can simply request a new one. Links sent after the upgrade are not affected.
    • If you change NOTESNOOK_API_SECRET, links sent before the change stop working; new ones work as usual.

Sync

  1. A short Redis outage no longer takes the sync server offline. /health no longer includes the Redis check, so load balancers and Docker no longer mark every instance unhealthy (or restart them) while Redis is unavailable. The full check, Redis included, is now available at /ready.

Events

  1. Fix the events (SSE) server crashing when handling a message fails; the error is now logged instead.

Test drive

wget https://raw.githubusercontent.com/streetwriters/notesnook-sync-server/v1.0-beta.49/docker-compose.yml
wget https://raw.githubusercontent.com/streetwriters/notesnook-sync-server/v1.0-beta.49/.env
docker compose up

Make sure everything is up and running:

docker ps

All the above services must show (healthy) in the output.

Full Changelog: v1.0-beta.48...v1.0-beta.49

Don't miss a new notesnook-sync-server release

NewReleases is sending notifications on new releases.