Releases: zyndex-drive/server-build
Releases · zyndex-drive/server-build
Release 0.2.0-55
Release 0.2.0-54
Release 0.2.0-53
Release 0.2.0-52
0.2.0-52 (2022-02-09)
Bug Fixes 🛠
- plugins/db: fix db-hash plugin which hangs the server which using plugin (a152836)
- plugins/sessionmanager: move more redundant tasks to the main create session function (386c928)
Code Refactoring 🖌
- plugins/google: fix google oauth helpers to update to latest changes (1ed3083)
- plugins/healthcheck: refactor health-check.ts file (ee8e594)
- routes/setup: refactor all routes which require changes as per latest updates (556c88e)
- types: move files inside types to a proper folder structure (4492166)
Build System 🏗
- packages: add passport,google-oauth,twitter-oauth packages (735b5a0)
Tests 🧪
- tests/rest: add latest routes rest based tests (05a4de1)
Features 🔥
- app.ts: add passport initialize function after db connects (55fcb37)
- model/credentials: change credential schema to support more oauth features (1f2b68f)
- models/user: change user schema to support oauth based logins (cf13987)
- oauth/google: write oauth authenticate action for login with google function (21b269a)
- oauth/helpers: write passport authenticate tranform function for proper error handling (79a1aff)
- oauth/helpers: write passport function for oauth user verification (ab8921e)
- oauth/helpers: write passport initialize function that initializes all the clients (78fab85)
- oauth/twitter: write oauth authenticate action for login with twitter function (c9f2172)
- routes/login: write router for google oauth login (dffefe1)
- routes/login: write router for twitter oauth login (95cc509)
Release 0.2.0-51
0.2.0-51 (2022-02-04)
Bug Fixes 🛠
- models/credentials: use correct encrypt plugin and change corresponding option (d8eec82)
- models/global-settings: fix flag type casting with mixed type (f088fcf)
- plugins/auth: remove parameter requirement for objectid function (79f9ad1)
- plugins/db: fix encryption helper for db to always encrypt with object (a5e4287)
- plugins/otp: fix objectid function (0450158)
- plugins/server/gen: fix endpoints generator class to properly handle errors (79c76f0)
- plugins/server/middlewares: fix cors middleware to properly send response headers (d939d58)
- plugins/server/middlewares: remove first-setup middleware as it is not working as expected (8d4f7e8)
- plugins/session-manager: fix objectid function (d4a0ff0)
- plugins/templates: fix objectid function (706ec25)
- plugins/uid: fix objectid function - now requires no parameter (31540a7)
- routes/login: fix login response, properly handle errors (76d86a8)
Code Refactoring 🖌
- plugins/db/helpers: refactor db hash plugin from promises to async/await (824975e)
- plugins/google/helpers: refactor google oauth helper function to async/await (e2eb99c)
- plugins/google/helpers: refactor google service account handlers (bd061ef)
- plugins/google/helpers: refactor google token resolver functions (fc1f4a7)
- plugins/google: refactor every promise function to use async/await (303ab8b)
- plugins/server/middlewares: add named exports (9cc6329)
- routes/setup: refactor every under setup route to reduce duplication (bddfe23)
Features 🔥
- models: introduce new model to store server private, public and secret keys (3f08cb3)
- plugins/crypto: add new function for generating random bytes (57f6cc8)
- plugins/crypto: enable support for decrypting with rsa algorithm (5037369)
- plugins/crypto: enable support for encrypting with rsa algorithm (f7c968b)
- plugins/jwt: use jose to generate rsa and es256 keys (df311c8)
- plugins/jwt: use the new keys database and use es256 keys to generate jwt (c35dfb3)
- plugins/server/gen: use header param to enable lean document request (7744782)
- plugins/server/middlewares: add secret check and setup check middlewares (2e7a710)
- routes/setup: add route for generating random bytes, random rsa & es256 keys (41402e0)
- routes: use the new setup and secret check middlewares (ac3498a)
Tests 🧪
- rest/login: write rest test case login/user route (82e3e33)
- rest/setup: add rest test cases for setup routes (c14d172)
Others 🔧
- ignore: fix ignore files to properly ignore unnecessary files (34b7927)
- types: declare lean-doc-request header to express types (924478b)
Build System 🏗
- packages: remove crypto-js module, use native nodejs crypto module (a803618)
Release 0.2.0-50
Release 0.2.0-49
0.2.0-49 (2022-01-18)
Bug Fixes 🛠
- auth/helpers: fix model helper for retreiving role docs (d111d44)
Features 🔥
- db: add support for test database (cb84d8d)
- errors: introduce http error classes (cf06b81)
- plugins/server: add a setup route generator for redundant routes (f5130ba)
Code Refactoring 🖌
- google: refactor google helper methods to use new http Error classes (aab63c5)
- middlewares: refactor promises to async/await and use new Error Classes (f643aef)
- responses: refactor responses and remove all error methods (1cc29e7)
- routes: remove massive redundant code and use new Error Classes (1539e8e)
Tests 🧪
- rest-test: move rest tests to a seperate folder (2887a9f)
Release 0.2.0-48
0.2.0-48 (2022-01-12)
Docs 📃
- models: add a readme for models for future reference (99c6db7)
Bug Fixes 🛠
- plugins/server: remove type parameters for response handlers (5b56232)
- plugins: remove lean methods for some models as it creates problems (5bb234e)
- routes: remove lean methods for some models (b1c1104)
Build System 🏗
- package: add morgan package for rest logger (3de1f45)
Tests 🧪
- routes/setup: add rest based tests for route - setup/credentials (1774df7)