Skip to content

Releases

v2.1.0

Choose a tag to compare

@nuvairea nuvairea released this 18 Nov 19:24

Conflict copies

Editing the same note on two devices no longer loses work.

  • PUT /notes/:id now checks whether the note was saved by someone else
    since the client last saw it.
  • If it was, the server keeps the saved version and stores the late edit
    as a new note titled "<title> (conflict copy)". The response includes
    it as conflict.
  • Identical content doesn't create a copy.
  • Backward compatible: requests without updatedAt overwrite as before.

v2.0.2

Choose a tag to compare

@nuvairea nuvairea released this 01 Nov 05:50
0c8a3b5

Fixed

POST /notes is now idempotent. If the same note id is sent again (say a retry after a dropped response), the server returns the existing note instead of failing with a 500.

v2.0.1

Choose a tag to compare

@nuvairea nuvairea released this 25 Oct 17:16

Fixes

  • PUT /notes/:id now only accepts title, body, color, date, time and timestamp. Editing a note can no longer restore it from the trash. Trash state changes only through PATCH /notes/:id.

v2.0.0

Choose a tag to compare

@nuvairea nuvairea released this 08 Oct 19:33
91af367

TypeScript rewrite + Google sign-in

Full rewrite of the Scribbly server in TypeScript (ES modules).

  • Secure Google sign-in: Sign in with Google - no passwords to create or store. The server verifies the Google ID token and confirms the email is verified before starting a session. Account is created automatically the first time you sign in.
  • Persistent sessions: Session is stored in MongoDB and refreshed as you use the app, with a rolling 30-day cookie. The cookie is HTTP-only, and secure cross-site settings are enabled in production.
  • Private notes: Create and edit notes in your account. Each note is scoped to its owner.
  • Trash and restore: Soft-delete notes to remove them from active use, restore them later, or permanently delete notes once they’re in the trash.
  • Account controls: Log out to end a session, or permanently delete your account and its associated notes.
  • Sign-in protection: The Google sign-in route is limited to 10 attempts per 5-minute window.

Breaking:

Important

/signup and /login are removed. Email/password accounts were not migrated.
Requires GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.

v1.0.0: Scribbly Server

Choose a tag to compare

@nuvairea nuvairea released this 05 Oct 07:50

First stable version of the Scribbly backend.

  • Node.js + Express with MongoDB
  • Email/password signup and login (bcrypt)
  • Session-based auth stored in Mongo, 30-day rolling cookie
  • Per-user notes API: create, edit, soft delete / restore, permanent delete
  • Account deletion
  • Rate limiting on auth routes

Last version before the TypeScript rewrite and Google sign-in (v2.0.0).