I’ve just released Spring CRUD Generator v1.3.0 🎉
If you haven’t seen it before, Spring CRUD Generator is an open-source Maven plugin that generates Spring Boot CRUD code from a YAML/JSON project config — including:
- entities
- transfer objects (DTOs)
- mappers
- services and business services
- controllers
…and optionally:
- OpenAPI/Swagger resources
- GraphQL resolvers
- Flyway migrations
- Docker resources
The goal is simple: generate the repetitive CRUD boilerplate fast, keep the structure consistent, and let you focus on business logic.
What’s new in v1.3.0
✅ Full MariaDB support
The generator is now fully compatible with MariaDB, in addition to:
- MySQL
- PostgreSQL
- MSSQL
This release also includes related updates for MariaDB support across the ecosystem around the generator:
- Flyway scripts
- Docker Compose setup
- Database compatibility support in the generator and generated code
If you’re using MariaDB in your projects, you can now use the generator without workarounds.
✅ New property: rest.response.excludeNull
A new additional property is now available:
rest.response.excludeNull=true
When enabled, generated REST responses will exclude null fields from JSON output.
This is useful when you want:
- cleaner API responses
- smaller payloads
- more controlled serialization behavior
It’s compatible with:
- Spring Boot 3
- Spring Boot 4
Why I added this
Two things kept coming up:
- MariaDB support was a natural next step after MySQL/PostgreSQL/MSSQL compatibility.
- In many APIs, people prefer not returning
nullfields in responses — so adding a generator-level switch made sense.
This release is focused on making the generated projects more practical for real-world setups.
Links
- Repository: https://github.com/mzivkovicdev/spring-crud-generator
- Release (v1.3.0): https://github.com/mzivkovicdev/spring-crud-generator/releases/tag/v1.3.0
- Demo project: https://github.com/mzivkovicdev/spring-crud-generator-demo
Feedback welcome 🙌
If you try it, I’d really appreciate feedback — especially on:
- MariaDB compatibility
- Flyway script behavior
-
rest.response.excludeNullbehavior in generated APIs
Also happy to discuss implementation details and tradeoffs behind the generator.
Top comments (0)