Releases: SouOWendel/op-fvtt-api
Releases · SouOWendel/op-fvtt-api
v3.4.0
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
andorigin
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 wasres
(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
- remove console log (81d2822)
Reverts
- knex connection: revert the config import comment (70cc28d)
v3.3.0
3.3.0 (2024-02-21)
Features
- app routes: route to login and id param for update notes was been added (3461e02)
- auth controller: auth verification with access token through cookies and renewToken function (aee0efa)
- authentication: now body is used instead of params, create catch in some functions, rename fn (4d6694e)
- axios: enabled cross-site Access-Control requests (364c153)
- button to return to home was added in consult, create and update pages (6155769)
- check-auth: check auth has been added to routes create and home (ad7f5cf)
- consult: consult action was been added to site (b1603c7)
- home: button to edit a note and delete notes without reload the page was been added (72fa9c3)
- login page: simple login page with authentication has been created (56f1d60)
- notes route: middleware for verify the authentication was been added in post, put and delete (f252c81)
- router: route /auth is now Route /login (9b47e65)
- token: refresh Token was been added and generated when login is successful (22f1a9c)
- update page: a link to update note in consult, TINYMCEEDITOR in update page, data in fields (7d31c56)
- web home route: sync the check-auth fetch with data retrieved and navigate between the pages (2986547)
Bug Fixes
- auth route: fixed a double response (f1da9a7)
Performance Improvements
- notes schema: increased the length of content field from 255 (default) to 8000 (4b33531)
v3.2.0
3.2.0 (2024-02-18)
Features
- crud: update and delete acts have been added; the intermediate value error has been resolved (2b919dc)
- jest: tests for validate required fields and password was added for jest unit tests (9d48886)
- server listener: console log with localhost + port has been added (f377b2f)
- web access: the view has been created with React, Vite and Axios. Some components been created (81edfc0)
- web: route for update page, delete button and update data notes with axios was been added (8e031fb)
Bug Fixes
- knex.js: fixed the config knex file path (59ec42d)
v3.1.0
3.1.0 (2024-02-15)
Features
- changed the expire time of token from 120s to 600s (ac5e5f6)
- notes api: partial CRUD (findAll, consult, create) of notes was created with postgre and knex (5820658)
- notes migration: schema of notes was created with migrations of Knex (2da01e4)
- test archive: test (cff6a45)
- user api: partial CRUD (findAll, create) of user was created with postgre and knex (21e6240)
v3.0.0
3.0.0 (2024-01-26)
⚠ BREAKING CHANGES
- authentication: These changes make the API functional with authentication, being a big change for the functioning of the information, compared to the previos version
Features
- api with js vanilla: an API was created with vanilla JavaScript (3ebd00f)
- authentication: integrated system with JWT, in addition, token auth and verify have been added (5d6fd9b)
- controller auth: added to control the authentication requests that will be detected (9a3e7c8)
- created the database connection with Knex and authentication with postgreSQL data (bcc9de8)
- data: created data file for store the information for update notes (7fdb9a9)
- express: initial version of API with Express Framework, this include an CRUD code (f588c50)
- http request errors: some functions are created to handle bad request and unauthorized errors (c7821b3)
- index: added notes on url, use the auth and .env was adopted within the project (69d7476)
- initial configuration: added Husky, ESLint, Commitizen, Commitlint, Release Please and Nodemon (09df358)
- knex file: added knexfile for database comunication and create migrations (697d7c0)
- knex migrations: migrations for querys raw and users has been created (fbef171)
- model user: created the model for process the data and prepare (bd9411d)
- move again (6a7c6e9)
- notes prototype: created route for notes and controller for handle (34f3299)
- npm package: added and changed some scripts, changes on author name, modules have been added (7355197)
- npm package: created new script (predev), remove npx for scripts, added pg and knex, ver up (bd937fc)
- product controller and route: added the interaction with the products of the API and the route (1ed5017)
- release please configuration: generate alpha versions and switch for manifest on ReleasePlease (b165fad)
- release-please: added github actions workflows to base folder (b59bb19)
- release-please: the next release is not pre-release, changed the configuration of action (4d7fccc)
- routes auth: created for handle the routes of api (9d45c3b)
- user service: service for authentication with error handle (4711703)
v1.1.0
1.1.0 (2024-01-26)
⚠ BREAKING CHANGES
- authentication: These changes make the API functional with authentication, being a big change for the functioning of the information, compared to the previos version
Features
- api with js vanilla: an API was created with vanilla JavaScript (3ebd00f)
- authentication: integrated system with JWT, in addition, token auth and verify have been added (5d6fd9b)
- controller auth: added to control the authentication requests that will be detected (9a3e7c8)
- data: created data file for store the information for update notes (7fdb9a9)
- express: initial version of API with Express Framework, this include an CRUD code (f588c50)
- http request errors: some functions are created to handle bad request and unauthorized errors (c7821b3)
- index: added notes on url, use the auth and .env was adopted within the project (69d7476)
- model user: created the model for process the data and prepare (bd9411d)
- move again (6a7c6e9)
- npm package: added and changed some scripts, changes on author name, modules have been added (7355197)
- npm package: created new script (predev), remove npx for scripts, added pg and knex, ver up (bd937fc)
- product controller and route: added the interaction with the products of the API and the route (1ed5017)
- release please configuration: generate alpha versions and switch for manifest on ReleasePlease (b165fad)
- release-please: added github actions workflows to base folder (b59bb19)
- release-please: the next release is not pre-release, changed the configuration of action (4d7fccc)
- routes auth: created for handle the routes of api (9d45c3b)
- user service: service for authentication with error handle (4711703)
v0.3.0
v0.2.0
v1.0.0
1.0.0 (2024-01-19)
⚠ BREAKING CHANGES
- authentication: These changes make the API functional with authentication, being a big change for the functioning of the information, compared to the previous version
Features
- authentication: integrated system with JWT, in addition, token auth and verify have been added (5d6fd9b)
- controller auth: added to control the authentication requests that will be detected (9a3e7c8)
- http request errors: some functions are created to handle bad request and unauthorized errors (c7821b3)
- index: added notes on url, use the auth and .env was adopted within the project (69d7476)
- model user: created the model for process the data and prepare (bd9411d)
- product controller and route: added the interaction with the products of the API and the route (1ed5017)
- release-please: the next release is not pre-release, changed the configuration of action (4d7fccc)
- routes auth: created for handle the routes of api (9d45c3b)
- user service: service for authentication with error handle (4711703)