Skip to content

Releases: DanielAraldi/clean-node-api

3.2.0

16 Jul 23:30
Compare
Choose a tag to compare

Edit User Data πŸ‘€

Features:

(#25, #27) You can now change your name and e-mail with /api/account/edit endpoint in a PUT request.

Documentation:

(#25, #27) Updated the Swagger and GraphQL documentation for consuming the /api/account/edit endpoint.

Collaborators:

@DanielAraldi

3.1.0

07 Feb 12:21
Compare
Choose a tag to compare

Refresh Token πŸ”‘

Features:

  • (#16) You can now refresh your access token using the /api/refresh endpoint in a POST request.

Documentation:

  • (#16) Updated the Swagger and GraphQL documentation for consuming the /api/refresh endpoint.

Collaborators:

3.0.2

02 Feb 21:40
Compare
Choose a tag to compare

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

31 Jan 19:02
Compare
Choose a tag to compare

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

30 Jan 20:59
Compare
Choose a tag to compare

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

24 Jan 19:41
Compare
Choose a tag to compare

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 and CheckByEmail. All this to improve the performance of the application.

Fixs:

Documentation:

  • Updated the main documentation on the classes held.

Collaborators:

2.4.1

10 Jan 00:59
Compare
Choose a tag to compare

2.4.1

Fixs:

  • We introduced a new boolean property called didAnswer 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

07 Jan 19:50
Compare
Choose a tag to compare

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

07 Jan 01:09
Compare
Choose a tag to compare

2.3.1

Fixs:

  • (#18) Now our server is live again for you to use it. Enjoy!

Collaborators:

2.3.0

05 Jan 19:41
Compare
Choose a tag to compare

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.

Collaborators: