Skip to content

Releases: zyndex-drive/server-build

Release 0.2.0-55

22 Jun 14:55
v0.2.0-55
0c13adc
Compare
Choose a tag to compare
Release 0.2.0-55 Pre-release
Pre-release

0.2.0-55 (2022-03-19)

Bug Fixes 🛠

  • views: fix paths, fix router not rendering index.html (d79eb93)

Release 0.2.0-54

22 Jun 14:54
v0.2.0-54
9e2f1b8
Compare
Choose a tag to compare
Release 0.2.0-54 Pre-release
Pre-release

0.2.0-54 (2022-03-19)

Features 🔥

  • plugins/oauth: add more oauth2.0 clients - facebook, twitter, github (11b1d58)

Tests 🧪

  • tests: correct all tests to implement local dev password (43605a0)

Build System 🏗

  • packages: add passport oauth client packages (50adcc8)
  • packages: add passport oauth packages (ec0c9ef)

Release 0.2.0-53

22 Jun 14:54
v0.2.0-53
091350f
Compare
Choose a tag to compare
Release 0.2.0-53 Pre-release
Pre-release

0.2.0-53 (2022-02-10)

Code Refactoring 🖌

  • move to a proper project folder structure (a9f3d83)

Release 0.2.0-52

22 Jun 14:53
v0.2.0-52
5673b17
Compare
Choose a tag to compare
Release 0.2.0-52 Pre-release
Pre-release

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

22 Jun 14:52
v0.2.0-51
63dd4c2
Compare
Choose a tag to compare
Release 0.2.0-51 Pre-release
Pre-release

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

22 Jun 14:51
v0.2.0-50
f05041e
Compare
Choose a tag to compare
Release 0.2.0-50 Pre-release
Pre-release

0.2.0-50 (2022-01-30)

Code Refactoring 🖌

  • plugins: completely refactor all the plugins to async/await from promises' (d417cfe)

Release 0.2.0-49

22 Jun 14:50
v0.2.0-49
be9ff4b
Compare
Choose a tag to compare
Release 0.2.0-49 Pre-release
Pre-release

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

22 Jun 14:50
v0.2.0-48
16076fd
Compare
Choose a tag to compare
Release 0.2.0-48 Pre-release
Pre-release

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)

Release 0.2.0-47

22 Jun 14:49
v0.2.0-47
f03816b
Compare
Choose a tag to compare
Release 0.2.0-47 Pre-release
Pre-release

0.2.0-47 (2022-01-09)

Features 🔥

  • models: introduce lean document types for all models (4f34628)
  • plugins: use lean based mongo queries for faster performance (e7c563e)
  • routes/login: write user login route (be12108)
  • routes: use lean queries for faster performance (85f1b58)

Code Refactoring 🖌

  • app: change misc console.logs (fbda11d)
  • routes: rename first-setup folder to setup (c0c0e48)

Release 0.2.0-46

08 Jan 14:51
v0.2.0-46
c731b5a
Compare
Choose a tag to compare
Release 0.2.0-46 Pre-release
Pre-release

0.2.0-46 (2022-01-08)

Features 🔥

  • routes/setup: completely scaffold setup api routes (9d17424)

Code Refactoring 🖌

  • app: refactor imports (988d62e)
  • models: fix every models's type imports (37f4e8a)
  • plugins: add default imports and exports for many plugins (e316646)
  • plugins: fix every plugin's model type imports (4094721)
  • routes: fix model type imports (3dbe285)