Releases: rocketbase-io/commons-rest
Releases · rocketbase-io/commons-rest
3.3.2
3.3.1
- openapi-generation fixed mutation cache invalidation for react-query v5
3.3.0
- upgraded versions spring-boot 3.2.4 and spring-doc 2.5.0
- fixed issue after upgrade with BeanValidationException
- instead of MethodArgumentNotValidException a HandlerMethodValidationException is been thrown
- the BeanValidationExceptionHandler now handls both
- improved openapi-generator to support react-query 5
- a working example is also added to the project
3.2.1
- improved openapi generator
- you can specify custom type imports
@Service
public class CustomOpenApiConverter extends DefaultOpenApiConverter {
@Override
public String getImportPackage(String type) {
if (type != null && type.contains("io.productspace.backoffice.dto") ) {
return "@rcktbs/ps-backoffice-api";
}
return super.getImportPackage(type);
}
}
thins clients-generation it looks then like
import { CreateAnswerGroupCmd} from "../../model";
import { AnswerGroup } from "@rcktbs/ps-backoffice-api";
3.2.0
- upgraded spring-boot 3.2.0, spring-doc 2.3.0 and other
- deprecated NotFoundException + BadRequestException in favour for javax.rs versions
- added openapi-generator convert-types for tsid as string + JsonNode as any
3.1.2
- solved issue with infinite hooks with only PageableRequest params
- litte version fixes regarding swagger-annotations
3.1.1
- upgraded spring-boot 3.1.3
- upgraded springdoc-openapi 2.2.0
- add missing short generic openapi converter
3.1.0
- upgraded spring-boot 3.1.2
- added new module tsid that improves the use of hypersistence-tsid
- you can use it as PathVariables in spring-mvc
- furthermore a JacksonModule is containing to handle the serializations as String within Json's + Deserialization from strings
3.0.8
- upgraded to spring-boot 3.1.1
- reverted union handling for openapi...
(jsonsubtype -> union without checking wether interface or abstract...)
3.0.7
- upgraded to spring-boot 3.1.0
- fixed native type converting issue within open-api generator