Releases: xRiot45/express-js-cli
Releases · xRiot45/express-js-cli
v2.0.0
[v2.0.0] - 2025-03-12
🚀 Release Highlights
- This major update introduces new features, improved project structure, and additional documentation to enhance usability and maintainability.
✨ Features
- Enum Generation: Added support for generating enum file.
- Import Alias Options: Users can choose whether to use import alias or not to use import alias.
🔧 Enhancements
- Middleware Templates: Added built-in templates for commonly used middleware:
- Compression Middleware
- Error Handling Middleware
- Morgan (Logging) Middleware
- CORS Middleware
- Rate Limiter Middleware
- Express Configuration: All express configurations are now in the
express.config.js/ts
file in theconfigs
folder, no longer storing all configurations inapp.js/ts
. - Server Separation: The server setup is now in a separate file rather than being defined in
app.js/ts
.
📚 Documentation
- Code of Conduct: Added
CODE_OF_CONDUCT.md
to establish community guidelines. - Contribution Guide: Added
CONTRIBUTING.md
to help contributors understand the workflow and best practices.
📝 Licensing
- Changed project license from ISC to MIT for better compatibility and openness.
v1.2.5
[v1.2.5] - 2025-03-07
🚀 Release Highlights
- This update enhances project transparency and security by adding a
SECURITY.md
file and refining the project metadata.
🔄 Changed
- Changing the homepage url link in
package.json
🔒 Security
- Introduced
SECURITY.md
to provide guidelines on reporting vulnerabilities and maintaining project security.
📚 Documentation
- Added
SECURITY.md
with details on how to report security issues.
v1.2.4
[v1.2.4] - 2025-03-05
🚀 Release Highlights
- This update improves the user experience by adding a default template for the root endpoint (
/
) when generating a new Express.js project using the CLI. - The default template includes a simple welcome message, making it easier for users to see an initial response without additional setup.
- Updated
README.md
to reflect the changes.
✨ Added
- The generated project now includes a default route (
/
) with a simple welcome message. This can be removed fromapp.js
orapp.ts
if not needed.
📚 Documentation
- Updated
README.md
to describe the new default template behavior.
v1.2.3
[v1.2.3] - 2025-03-05
🚀 Release Highlights
- This version improves project metadata, making it easier for developers and users to track the project's repository and homepage.
- Enhancements ensure better traceability and transparency for the project.
⚙️ Configuration
- Added
repository
andhomepage
fields inpackage.json
to provide direct links to the project documentation and source code.
v.1.2.1
[v1.2.1] - 2025-03-04
🚀 Release Highlights
- Fixed a critical issue where users were unnecessarily prompted to select the test option again when creating a new file.
- This fix ensures a more seamless and efficient experience when generating files using the CLI.
🛠 Fixed
- Fixed an issue where users were prompted to select the test option again when trying to create a new file. This ensures a smoother CLI experience.
v1.2.0
[v1.2.0] - 2025-03-03
🚀 Release Highlights
- Introduced built-in testing features using Jest & Supertest, and Mocha & Chai, allowing users to test their API endpoints more easily.
- Added the
test
command, which helps in regenerating test files automatically for seamless testing setup.
✨ Added
- Implemented Jest & Supertest as the default testing framework for API testing.
- Added Mocha & Chai as alternative testing frameworks for API testing.
- Introduced the
test
command to automatically generate test files, making it easier for developers to maintain and update tests.