Releases: projectnamul/beginner
Releases · projectnamul/beginner
Release list
v0.4.0
v0.3.1
v0.3.0
📝 Outline
- Restructure exception advice (#22)
⭐️ Changes
- Change handler to handle the overall of the error handling progress
- Delete response generic in writer
- Change the way how ExceptionAdvice handle exception to select handler and ErrorReasonDTO with ExceptionHandlerRegistry
- Change registry contains only handler and ErrorReasonDTO
- Change configurer to contains all Exception with ExceptionHandlerRegistry and be able to register and unregister handler
v0.2.1
v0.2.0
⭐️ Changes
- Fix field of AbstractBaseResponse and DefaultResponse
- Separate the ResponseWriteUtil into the SuccessResponseWriter and the FailureResponseWriter
- Change ResponseWriteUtil field in every ExceptionAdviceHandler to FailureResponseWriter
- Change some file locations (package)
v0.1.3
v0.1.2
v0.1.1
⭐️ Changes
- Add two method in ErrorReasonDTO, SuccessReasonDTO. (#12)
- Move two field in DefaultResponse to AbstractBaseResponse. For modified ErrorReasonDTO and SuccessReasonDTO. (#12)
- Modify to create ExceptionAdvice separately for each exception. (#12)
- Add ExceptionAdviceHandler to handle Exception in each ExceptionAdvice. (#12)
- Add ExceptionHandlerRegistry to store ExceptionAdviceHandler. (#12)
- Add ExceptionAdviceConfigurer to customize ExceptionAdvice. (#12)
- Add AutoConfiguration to apply ExceptionAdviceConfigurer. (#12)
v0.1.0
⭐️ Changes
- Rename ReasonDTO to SuccessResonDTO
- Abstract ErrorReasonDTO and SuccessReasonDTO with interface
- Rename ApiResponse* to DefautResponse*
- Create ResponseWriteUtil which write success and fail response with BaseErrorCode and BaseSuccessCode
- Create ResponseWriter which write success response
- Create ExceptionAdviceHandler which write fail response in ExceptionAdvice
- Rename GeneralException to ServerApplicationException
- Abstract DefaultResponse(ApiResponse) with interface and Abstract class
- Create default class for all interfaces
- Add AutoConfiguration about DefaultResponseWriter and DefaultExceptionAdviceHandler when ResponseWriter and ExceptionAdviceHandler weren't registered in bean
- Add README.md in ApiPayload