Skip to content

v3.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Feb 00:37
5fbf506

3.4.0 (2024-02-23)

Features

  • auth controller: change the secret, username and expires time in renewtoken function, add jwt (fd5381b)
  • auth route: added a function and response after the authentication check middleware (cd9c4b6)
  • auth service: configure secret with respective types (a6bca76)
  • auth service: now invalid type of secret throw a error and console log has been removed (68ab582)
  • cors: optionSuccessStatus and origin was added on cors configuration (bbfe780)
  • knex: production vars in knexfile (48f7415)
  • user controller: a message when status is OK has been added and auth is now middlewares (9b62359)
  • user route: authentication middleware has been added and create user route now need a secret (ce0f114)

Bug Fixes

  • auth controller: fixed a bug where the response variable in renewToken function was res (9a195bd)
  • auth controller: now the errors are passed to the next() function in the auth controller (661b0b8)
  • user service: fixed a bug that caused an intermediate value (0333f07)

Performance Improvements

Reverts

  • knex connection: revert the config import comment (70cc28d)