DEV Community

Mite
Mite

Posted on

🚀 Crudify 1.2.6: Major Improvements & New Features!

Hello, developers! 👋

We're excited to announce the latest updates to Crudify, our powerful NestJS library that simplifies CRUD operations. This update introduces significant improvements, fixes, and new features to make your API development even smoother. Let's dive into the details! 🎉


🔥 What's New in Crudify 1.2.6?

🚀 Removed: CrudifyLoggerModule

Starting from 1.2.6, we've removed CrudifyLoggerModule. Instead, you should now use CrudifyModule directly for logging functionalities. This change simplifies the module structure and enhances maintainability.


🔧 Fixes & Enhancements

🛠 QueryParser Fix (1.2.5)

  • Fixed an issue with the in operator in QueryParser, ensuring better query handling.

🚀 Improved DTO Support (1.2.4)

  • CrudifyController & CrudifyService now support CreateDto and UpdateDto, enhancing type safety and flexibility in create/update operations.

🗑 Soft Delete Support (1.2.4)

  • We've introduced soft delete functionality! Now, you can soft-delete records individually or in bulk, providing greater control over data retention.

🔥 Bulk Operation Control (1.2.4)

  • Added disableBulk in routes.disableBulk, allowing more granular control over bulk operations.

📌 OpenAPI Fix (1.2.4)

  • Resolved an issue where duplicate operationIds were being generated in Swagger/OpenAPI, improving documentation clarity.

🔧 Errsole Configuration Fix (1.2.4)

  • Fixed the default URI configuration for Errsole, ensuring proper logging setup.

💡 Other Notable Fixes & Changes

📜 Example Filters in Swagger (1.2.1)

  • Added example filters in Swagger UI to demonstrate advanced query filtering.

✅ Default Validation Pipe (1.2.1)

  • Now, UsePipes(new ValidationPipe({ transform: true })) is applied by default to enhance request validation.

📉 Removed CrudifySwaggerModule (1.2.1)

  • We've deprecated CrudifySwaggerModule. You should now use the classic Swagger configuration instead.

🔥 Upgrade Now!

To upgrade to the latest version, run:

npm update ncrudify
Enter fullscreen mode Exit fullscreen mode

Or install it fresh:

npm install ncrudify@latest
Enter fullscreen mode Exit fullscreen mode

For full documentation, check out our Wiki 📖.


💬 Feedback & Contributions

We love hearing from the community! If you encounter issues or have feature requests, feel free to open an issue or submit a PR on GitHub.

Happy coding! 🚀

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.