Releases: DanielAraldi/clean-node-api
Releases Β· DanielAraldi/clean-node-api
3.2.0
3.1.0
3.0.2
Validation and Documentation
Features:
- (#23) Added a validation to the
/api/surveys
endpoint that performs the creation of a survey. It is now only possible to create a survey with two or more responses to the survey.
Fixs:
- (#22) Now the GraphQL route should be accessed via the
/api/graphl
path.
Documentation:
- (#22) Terms of use, link to support site, API license have been added to the new API documentation, and sample submissions and responses have been improved to be easier for users to understand.
Collaborators:
3.0.1
Performance Improvement π
Performances:
- We've improved the authentication layer exclusively for GraphQL routes to make them more abstract and decoupled from other parts of the code.
- We've updated the version of some script pattern libraries and removed unnecessary queries made to the database.
Collaborators:
3.0.0
New Routes with GraphQL π
Features:
- Now you can consult the
/graphql
route and make requests through the graphql environment in our application, with the exception of the survey creation endpoint, which is only possible in the application's/api/docs
route. Enjoy!
Note: The route is only available in development environment.
Collaborators:
2.5.0
New Architecture π
Features:
- Now all of the application's tests are in a single folder, called tests, at the root of the project. We did this to make development easier.
- We performed the improvement of external libraries.
Performances:
- We share responsibilities with the creation of new use cases, namely:
CheckSurveyById
,LoadAnswersBySurvey
andCheckByEmail
. All this to improve the performance of the application.
Fixs:
- Made pull request to chore(deps): bump cookiejar from 2.1.3 to 2.1.4.
Documentation:
- Updated the main documentation on the classes held.
Collaborators:
2.4.1
2.4.1
Fixs:
- We introduced a new
boolean
property calleddidAnswer
to the/surveys
endpoint, responsible for listing surveys, which shows the user which surveys he has already answered. - We fixed an issue with decrypting expired or invalid access tokens which was returning incorrect API exceptions.
- We've added a new
boolean
property to the/survey/${surveyId}/results
endpoint response that shows the user which answer they selected in a survey. This both in the listing method and in the user's response.
Collaborators:
2.4.0
2.4.0
Features:
- The
/login
and/signup
endpoints now return the access token and username in response. - We created a new route for static images in the API, just access the
/static/img/${slug}.png
endpoint.
Collaborators:
2.3.1
2.3.0
2.3.0
Features:
- You can now consult the survey results.
- Updated all application documentation.
- (#10) We added GitHub Actions to ensure application standards and continuous integration.
Fixs:
- (#17) Updated dependencies with vulnerabilities.
- (#19) Fixed issues with development dependency settings.