Releases: zyndex-drive/server-build
Releases · zyndex-drive/server-build
Release 0.2.0-66
0.2.0-66 (2022-08-25)
Docs 📃
- plugins/auth/helpers: add jsdoc comments for model-methods in auth plugin (5dd8c9d)
Code Refactoring 🖌
- plugins/db: properly give spacing, arrange the folder properly (2f880f3)
- plugins/misc: make exports consistent across files (33fd62d)
Build System 🏗
- package: add cross-env package and update commands (920ec0c)
- packages: add winston and luxon for logger functionality (0adcd7e)
Features 🔥
Release 0.2.0-65
Release 0.2.0-64
Release 0.2.0-63
0.2.0-63 (2022-08-08)
Bug Fixes 🛠
- plugin/auth: fix auth model methods improperly checking for result (a83f2c0)
- plugins/misc: fix otp string length and characters (0aebd78)
- workflows: update codacy workflow to new version (4562efa)
Code Refactoring 🖌
- plugins/auth/user: refactor user methods to use async await instead of promise (b6442e1)
- plugins/server/generators: fix database handler to use a single type for helper function (89e9256)
- routes/auth: remove the redundant routes using same functions (1e3c20c)
Features 🔥
- plugins/auth: add a auth method for viewing documents from the database (762dbba)
- plugins/auth: update policy checker with multiple options for getting detailed results (fa2caff)
- plugins/auth: write all the auth methods for all the models (d536980)
- plugins/server/generators: update the dbhandler class to include a router and host it (2692f0c)
- plugins/server/generators: write a view database handler function (9231b75)
- plugins/templates: add policies for all models for viewing the documents (2193361)
- plugins/templates: update the policy maps for roles to include view policies (8d55b8f)
- routes/auth: automate route handling for all models using dbhandler class (e87a7ba)
Tests 🧪
- rest: add missing test cases (7e4af37)
Release 0.2.0-62
0.2.0-62 (2022-08-04)
Bug Fixes 🛠
- plugins/google: properly export google api methods (2874f36)
Features 🔥
- plugins/auth: update all the auth model methods for latest changes in model mothods (af99a67)
- plugins/auth: update model methods for more error handling (6768ee0)
- plugins/serve/generators: create a express database auth handlers for performaing db funcs (2d73efa)
- routes: update auth routes to use the new express handler class for db functions (ed1a857)
Tests 🧪
- fix unit tests import line (f4b39a8)
Release 0.2.0-61
0.2.0-61 (2022-06-30)
Styling 🎨
- misc: update import lines (2de1f62)
- routes: misc change (dc0db6d)
- types: update import as type imports (8bc7d66)
Code Refactoring 🖌
- app: use the refactored server class to start the server (19aec1a)
- plugins/server/generator: rewrite express database handlers as class based (59b1661)
- plugins/server/generators: refactor the folder structure for consistent views (8be9e1e)
- plugins/server/helpers: rewrite health checker function as a class based (81c8a47)
- plugins/server/middlewares: rename functions and have a consistent format (b260368)
- plugins/server: rewrite the server function as a class based (b4125fe)
- routes/auth: update policy, role files to use the refactored database handler (7e93f00)
Release 0.2.0-60
0.2.0-60 (2022-06-25)
Build System 🏗
- config: change node engine version and target version to use more advanced features (ff21fce)
Features 🔥
- plugins/auth/helpers: return database result type instead of boolean for more meaningfull res (709260b)
- plugins/auth/methods: implement database result in all model methods (bf4c851)
- plugins/auth: add new type for database edit results (e755e50)
- plugins/server: add a common express handler to handle database edit requests (2c84f1c)
- routes/auth/policies: add new route for editing policy model with the new express handler (e204294)
- routes/auth/roles: add new route for editing roles model using new express handler (fe99bb3)
Bug Fixes 🛠
Release 0.2.0-59
0.2.0-59 (2022-06-23)
Features 🔥
- plugins/auth/helpers: write a asyncwhileloop function for use in auth helper functions (332518b)
- plugins/errors: add a new not allowed error response class (b6f415c)
Others 🔧
- types/express: add express header types for x-session-id and x-session-token (71c88c0)
Code Refactoring 🖌
- plugins/server/middleware: update session checker function to use the new session headers (e995941)
Bug Fixes 🛠
- plugins/auth/helper: fix mathjs module import line, add owner to heirarchy (92f0490)
- plugins/auth/helpers: remove existing while loop and use asyncwhileloop function (ef3c1ad)
- plugins/auth/policy: restrict editing 'code' prop in policy document (386af4c)
- plugins/cors: allow x-session-id & x-session-token to be allowed in cors requests (f3b6ee7)
- plugins/session-manager: use updated error classes for more proper responses to user (cb5d02f)
Release 0.2.0-58
0.2.0-58 (2022-06-22)
Bug Fixes 🛠
- models: use lean method for applicable models for faster db queries (68c7c4c)
- plugins/auth: fix editdatabase function modification type (a1e483d)
- plugins/session: pass userid down the response context (897e440)
Features 🔥
- error class: introduce too many request error class for rate limiting responses (60b76da)
- middleware: introduce global, user & other rate limiters in the application (7f8fcfe)
- plugins/sessions: create user document and pass it down the response context (6ad7255)
- routes/auth/policy: implement auth plugin in the auth/policy/modify route (95e783b)
- routes: add setup route for adding global, user & other rate limiter settings (81a90c9)
- templates: add setup template for rate limiter settings (15e5955)