Skip to content

Releases: decodeblock/expressjs-api-utility

v1.1.1

13 Dec 19:35

Choose a tag to compare

  • Updated Readme

v1.1.0

09 Dec 23:28

Choose a tag to compare

Added

  • Introduced ResponseStatus to simplify usage of HTTP status codes in applications.
    • Example:
      const { ResponseStatus } = require('@decodeblock/expressjs-api-utility');
      console.log(ResponseStatus.HTTP_OK); // 200

v1.0.2

09 Dec 22:11

Choose a tag to compare

Fixed

  • Corrected the main field in the package.json file to point to the proper entry file (src/index.js), resolving issues with importing the package and ensuring compatibility with Node.js.

Changed

  • Minor internal adjustments to ensure package structure aligns with Node.js module resolution best practices.

Upgrade Note:
To apply this fix, update your package to the latest version using the following command:

npm install @decodeblock/expressjs-api-utility@latest

v1.0.1

09 Dec 22:06

Choose a tag to compare

Fixed

  • Corrected the main field in the package.json file to point to the proper entry file (src/index.js), resolving issues with importing the package and ensuring compatibility with Node.js.

Changed

  • Minor internal adjustments to ensure package structure aligns with Node.js module resolution best practices.

Upgrade Note:
To apply this fix, update your package to the latest version using the following command:

npm install @decodeblock/expressjs-api-utility@latest

v1.0.0

09 Dec 21:10

Choose a tag to compare

Added

  • Initial stable release of expressjs-api-utility.
  • Includes ApiResponder class to simplify response handling with methods for success and error responses.
  • Full test coverage for the main functionality.

Changed

  • Improved response handling logic for better error management.
  • Enhanced documentation and added example usage for better integration guidance.

Fixed

  • Fixed issues with response structure in previous versions.
  • Improved test suite to account for various edge cases.

Removed

  • No features have been removed in this release.

Notes

  • This is the first stable version, and all major features are now in place.
  • Users are encouraged to upgrade to this version for the latest features and stability.

Contributors

Changelog

  • See the CHANGELOG for a detailed list of changes.

v0.4.1-alpha

09 Dec 20:45

Choose a tag to compare

v0.4.1-alpha Pre-release
Pre-release
change version to placeholder

v0.4.0-alpha

09 Dec 20:36

Choose a tag to compare

v0.4.0-alpha Pre-release
Pre-release
change version to placeholder

v0.3.0-alpha

09 Dec 20:30

Choose a tag to compare

v0.3.0-alpha Pre-release
Pre-release
change version to placeholder

v0.2.0-alpha

09 Dec 20:17

Choose a tag to compare

v0.2.0-alpha Pre-release
Pre-release
updated relese pipline

v0.1.0-alpha

09 Dec 19:54

Choose a tag to compare

v0.1.0-alpha Pre-release
Pre-release

v0.1.0-alpha Release Notes

  • Initial alpha release of expressjs-api-utility.
  • Introduced the ApiResponder class with the following methods:
    • successResponse: For sending successful JSON responses.
    • failureResponse: For sending error JSON responses.
    • meEndpointResponse: For user login status and details.

This is an alpha release, and the API may change in future versions. Feedback and contributions are welcome.