Skip to content

armeria-0.67.2

Choose a tag to compare

@minwoox minwoox released this 13 Jul 07:03
74af4e5

Improvements

  • Changed the default behavior to leave a warning log when creating an annotated service with redundant use of Optional and @Default #1284:

    // No need to use Optional because 'value' is always present.
    @Get("/foo/:value")
    public String foo(@Param Optional<String> value) {}
    
    // No need to use @Default because 'value' is always present.
    @Get("/bar/:value")
    public String bar(@Param @Default("defVal") String value) {}
    
    // Optional and @Default were used together. 'value' will always be present.
    @Get("/baz")
    public String baz(@Param @Default("defVal") Optional<String> value) {}
    

Bug fixes

  • Fixed various build errors on JDK 10. #1277
  • Fixed a bug where a RST frame for a non-existent stream can be sent. #1281
  • Fixed a StackOverflowError when stopping a starting server or starting a stopping server #1286

Breaking change

  • HTTP port is not added by default if TLS was enabled and no port was specified. #1285

Dependencies

  • Netty 4.1.25 -> 4.1.27
  • Bouncy Castle 1.59 -> 1.60
  • Tomcat 8.0.52 -> 8.0.53