Skip to content

ChâtopApp 1.1.0

Pre-release
Pre-release

Choose a tag to compare

@thibautlfr thibautlfr released this 03 Nov 08:13
· 19 commits to release since this release

What's Changed

  • fix: update Hibernate DDL configuration to 'none' by @thibautlfr in #17
  • feat: use MapStruct to more easily convert entities into dto and vice versa by @thibautlfr in #18
  • test: add unit tests for RentalService and validation of RentalRequest DTOs by @thibautlfr in #19
  • feat: optimize rental queries by preventing N+1 problem with JOIN FETCH by @thibautlfr in #20
  • feat: update error handling to use ProblemDetail for standardized responses by @thibautlfr in #21
  • docs: enhance README with Quick Start guide and API testing tools by @thibautlfr in #22

This version primarily updates both the frontend and backend documentation for the ChâTop project, clarifying the separation between the Angular frontend and Spring Boot backend, improving developer onboarding, and standardizing error handling in the backend. It also introduces enhancements to the backend build configuration and API documentation setup.

Documentation and Developer Experience Improvements:

  • Updated README.md to clearly distinguish the Angular frontend from the backend, provide a more focused quick start guide, and reorganize sections for easier navigation. The frontend README now emphasizes module structure, authentication flow, and troubleshooting for backend connectivity. [1] [2] [3] [4]
  • Added a "Quick Start" section to the backend api/README.md for faster setup, and improved documentation for error handling, API testing tools (Postman/Bruno), and frontend-backend integration. [1] [2] [3] [4] [5] [6]

Backend Error Handling and API Documentation:

  • Documented and implemented standardized error responses using RFC 9457 (Problem Details for HTTP APIs), centralizing error handling with Spring's ProblemDetail and GlobalExceptionHandler.java. [1] [2] [3]
  • Improved Swagger/OpenAPI configuration by using annotation-based setup for JWT authentication and removing redundant code. [1] [2] [3]
  • Updated controller annotations for better OpenAPI compliance and removed unused error response DTOs in favor of standardized error handling. [1] [2]

Backend Build Configuration:

  • Added MapStruct and Lombok MapStruct binding dependencies to api/pom.xml for improved entity-DTO mapping and annotation processing compatibility. [1] [2] [3]

General Project Structure:

  • Reorganized documentation to highlight the main evaluation focus on the backend and provide clear links between frontend and backend resources. [1] [2]

These changes make it much easier for new developers to get started, ensure consistent error handling in the backend, and improve maintainability of the API documentation and build process.

Full Changelog: v1.0.0...v1.1.0