days
-6
-1
hours
0
-2
minutes
0
-2
seconds
-5
-5
search
Javalin hits the spot in 3.6.0

Javalin version 3.6 cleans up with two features and new fixes

Sarah Schlothauer
javalin
© Shutterstock / Happy Line

Javalin is a lightweight web framework with optional asynchronous mode for both Java and Kotlin. It runs on top of Jetty using only a few thousand modest lines of code and makes creating a REST API easy. The latest November addition brings us to version 3.6.0, with two new features, and a few cleaned up bug fixes and changes.

One thing is for sure: Javalin releases are speedy. Roughly once or twice a month, the web framework releases a new version to the public. The November release is rather small, but it contains a few fixes and two new features for users to check out and explore.

Since every non-major release is backwards compatible with old releases. You can check out the new updates right away without fuss.

From Javalin’s README on GitHub:

Javalin is a very lightweight web framework for Kotlin and Java which supports WebSockets, HTTP2 and async requests. Javalin’s main goals are simplicity, a great developer experience, and first class interoperability between Kotlin and Java.

  • You don’t need to extend anything
  • There are no @Annotations
  • There is no reflection
  • There is no other magic; just code.

New features in Javalin 3.6.0

Just two new features join the crew. The new additions included in this update are as follows:

SEE ALSO: 8 key Kotlin features that give it an edge over Java

  • A new simple basic auth plugin has been added.
  • Users can document form parameters in the OpenAPI plugin. With the OpenAPI plugin, users can generate the OpenAPI specification directly from the application’s source code.

    In a cloud native world enamored with microservices and serverless, meet Quarkus – Java’s brilliant response to technologies like Node.js, Python and Go that had proven quicker, smaller and arguably more nimble. Download your free beginner's tutorial written by JAX London speaker Alex Soto.

Additional fixes and changes

As always, this release is not complete without plentiful fixes, ensuring a smoother experience. Some of the changes this time around include:

  • Uploaded files will no longer buffer in RAM.
  • Query parameters can now contain equals signs.
  • Look who’s moving. Javalin has moved from Travis to GitHub Actions for continuous integration. GitHub Actions helps automate workflow by sharing and combining actions.
  • Case sensitive change: Use byte[] instead of Byte[] in binary WebSocket messages.
  • Javalin squashed a bug in JavalinVue that involved running from an IDE using classpath.
  • The Java documentation engine plugin, Dokka, has been upgraded.

SEE ALSO: New Java group proposed for IDE & tooling support

View the official release blog for additional information about everything added and changed.

Show your love to the devs and contributors and give the project a star on GitHub. View more details all about Javalin on their homepage or its documentation.

Author
Sarah Schlothauer

Sarah Schlothauer

All Posts by Sarah Schlothauer

Sarah Schlothauer is an assistant editor for JAXenter.com. She received her Bachelor's degree from Monmouth University and is currently enrolled at Goethe University in Frankfurt, Germany where she is working on her Masters. She lives in Frankfurt with her husband and cat. She is also the editor for Conditio Humana, an online magazine about ethics, AI, and technology.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of