Skip to content

jooby 3.2.0

Compare
Choose a tag to compare
@jknack jknack released this 10 Jun 16:28
· 29 commits to 3.x since this release

Happy to announce a new release! πŸš€ πŸŽ‰

  • #2968 jooby apt: generate source code
  • #3422 handler: remove io.jooby.ResultHandler
  • #3447 @ResultType: new annotation for source code generator
  • #3446 Add custom SSL context option
  • #3230 [kotlin, openapi] Kooby extension method in another compilation unit
  • #3448 Kotlin 2.0

Changes

Support my work


New Source Code Generator

The jooby-apt processor now generates Java Source Code (no more binary code). For each Controller has a generated Controller_ class. The mvc router method now supports the new generated code:

{
    mvc(new Controller_());
}

The old (now deprecated) way is still supported, which uses the ServiceLocator pattern to find the generated code.

NOTE: kotlin project will have to compile Java code too.