Skip to content

Releases: zyndex-drive/server-build

Release 0.2.0-66

25 Aug 14:11
v0.2.0-66
6328108
Compare
Choose a tag to compare
Release 0.2.0-66 Pre-release
Pre-release

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 🔥

  • plugins/axios: add request start and end time to axios interceptor (9da847e)
  • plugins/logger: write a logger function using winston and log it to a file (a2e72fb)
  • plugins: use the new logger function instead of console.log (109d0e2)

Release 0.2.0-65

25 Aug 14:10
v0.2.0-65
739f179
Compare
Choose a tag to compare
Release 0.2.0-65 Pre-release
Pre-release

0.2.0-65 (2022-08-17)

Features 🔥

  • plugins/auth: reduce more code in auth plugin model methods to reduce duplication (be45fe9)

Code Refactoring 🖌

  • plugins/auth/auth: remove exports which are not required (8b69507)
  • plugins/auth/methods: completely refactor all the models except user to a single file (94695c2)
  • plugins/server: refactor all generator classes to include private or public methods (6620291)

Release 0.2.0-64

25 Aug 14:10
v0.2.0-64
7dd9781
Compare
Choose a tag to compare
Release 0.2.0-64 Pre-release
Pre-release

0.2.0-64 (2022-08-13)

CI 🛠

  • remove github codacy workflow (449570b)

Code Refactoring 🖌

  • plugins/auth: completely refactor auth methods for all models reducing duplicated code (d554a03)
  • plugins/auth: refactor model-methods completely to a class to reduce duplication (5d3b082)

Release 0.2.0-63

08 Aug 02:32
v0.2.0-63
5ca37e3
Compare
Choose a tag to compare
Release 0.2.0-63 Pre-release
Pre-release

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

04 Aug 15:55
v0.2.0-62
4c56be0
Compare
Choose a tag to compare
Release 0.2.0-62 Pre-release
Pre-release

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

04 Aug 15:55
v0.2.0-61
b8b1e0a
Compare
Choose a tag to compare
Release 0.2.0-61 Pre-release
Pre-release

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

25 Jun 10:58
v0.2.0-60
b72a50e
Compare
Choose a tag to compare
Release 0.2.0-60 Pre-release
Pre-release

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 🛠

  • models/frontend: add new property to frontend schema to have more control over scopes (6dd55a7)
  • plugins/server: add data property to send data in error responses (cdff2b8)

Release 0.2.0-59

23 Jun 16:21
v0.2.0-59
84a317a
Compare
Choose a tag to compare
Release 0.2.0-59 Pre-release
Pre-release

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

22 Jun 14:56
v0.2.0-58
7ce56e1
Compare
Choose a tag to compare
Release 0.2.0-58 Pre-release
Pre-release

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)

Release 0.2.0-57

22 Jun 14:55
v0.2.0-57
160e874
Compare
Choose a tag to compare
Release 0.2.0-57 Pre-release
Pre-release

0.2.0-57 (2022-06-11)

Others 🔧

  • pushing changes after a long time (d79761e)