Skip to content

Releases: rocketbase-io/commons-rest

3.3.2

17 Apr 19:36
Compare
Choose a tag to compare
  • openapi-generation fixed inifinite generic for react-query > 4

3.3.1

16 Apr 21:21
Compare
Choose a tag to compare
  • openapi-generation fixed mutation cache invalidation for react-query v5

3.3.0

12 Apr 08:58
Compare
Choose a tag to compare
  • 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

21 Feb 12:28
Compare
Choose a tag to compare
  • 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

14 Dec 13:38
Compare
Choose a tag to compare
  • 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

14 Sep 07:38
Compare
Choose a tag to compare
  • solved issue with infinite hooks with only PageableRequest params
  • litte version fixes regarding swagger-annotations

3.1.1

13 Sep 19:38
Compare
Choose a tag to compare
  • upgraded spring-boot 3.1.3
  • upgraded springdoc-openapi 2.2.0
  • add missing short generic openapi converter

3.1.0

25 Jul 07:40
Compare
Choose a tag to compare
  • 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

06 Jul 19:29
Compare
Choose a tag to compare
  • upgraded to spring-boot 3.1.1
  • reverted union handling for openapi...
    (jsonsubtype -> union without checking wether interface or abstract...)

3.0.7

26 May 07:33
Compare
Choose a tag to compare
  • upgraded to spring-boot 3.1.0
  • fixed native type converting issue within open-api generator