Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Jun 20:27
· 45 commits to master since this release
5f60db4

2.0.0 (2022-06-29)

Bug Fixes

Code Refactoring

  • jwt: added a type to the jwts (9a12239)

Features

  • /auth: add authentication and user system (bea35ad)
  • /image/upload: added an upload key requirement (b93ec96)
  • /user: add user apis (d1eb9e8)
  • authenticatejwt: add userObj to res.locals (7259431)
  • db: add User model (35787b2)
  • prisma: add UploadKey model (973cf4d)

BREAKING CHANGES

  • /image/upload: an upload key is required to upload anything
  • jwt: JWTs without "type": "auth" will now be rejected