Javalin 3.0 suggestions and feature request
See original GitHub issueFeel free to discuss Javalin 3.0 in this issue.
Please create new issues if you have specific requests.
The current milestone (roadmap) can be seen here: https://github.com/tipsy/javalin/milestone/7
Current changelog: https://github.com/tipsy/javalin/compare/dbf20902ebe2e0d3d0a3f0a2d1545fca3d59ac45...HEAD
Javalin 2.8.X will receive security updates when 3.0 is out, but no new features.
Alpha/beta builds available at: https://javalin.io/future/documentation
Progress
Misc
- Rewrite configuration setup
- Remove old validation methods and simplify Validator classes
- Make routing case sensitive
- Let
FileRenderer
throw exception - Add config option:
asyncRequestTimeout
- Add config option:
enforceSsl
- Rework event system
- Rework package structure
- Consider publishing a
javalin-servlet
separately (rejected) - Expose JavalinServlet in a better way
- OpenAPI/Swagger support
WebSocket
- Simplify WebSocket API (make all websockets take a WsContext)
- Add WebSocket AccessManager
- Add to/from JSON to WebSocket methods
- Human-readable method names for WebSocket interfaces
- Add cookies to WsContext
- Add attributes to WsContext
- Sync WsContext and Context APIs (use Context proxy)
- Add
wsBefore
/wsAfter
andwsException
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:37 (14 by maintainers)
Top Results From Across the Web
Javalin 3.0 suggestions and feature request · Issue #514
Feel free to discuss Javalin 3.0 in this issue. Please create new issues if you have specific requests. The current milestone (roadmap) can...
Read more >Javalin 3.0.0 released
Introducing Javalin 3.0. Javalin is a very lightweight web framework for Kotlin and Java which supports WebSockets, HTTP2 and async requests ...
Read more >Archive - v3 documentation - Javalin - A lightweight Java and ...
This allows you to share the map between requests and servers (in case you are running multiple servers behind a load-balancer) ...
Read more >News - Javalin - A lightweight Java and Kotlin web framework
Javalin - A lightweight Java and Kotlin web framework. Create REST APIs in Java or Kotlin easily.
Read more >Documentation - A lightweight Java and Kotlin web framework
Javalin - A lightweight Java and Kotlin web framework. Create REST APIs in Java or Kotlin easily.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Rewriting to be based on Java 8 instead of Kotlin, but still be Kotlin-viable. Under certain circumstances, pulling 5 kotlin related libs, including sdk might not be acceptable. I remember there was discussion about it some time ago and I could see couple valid points there.
Java is the language (IMO) that lacks good framework like Javalin, in Kotlin, there are alternatives. I think (I’m not sure though) that majority of users actually come from Java, and Kotlin users wouldn’t probably even notice it, so …
OpenAPI/Swagger spec generation (#254), similar to HTTP4K and SpringFox.
Neither Javalin, Ktor, nor SparkJava support it. Ktor offers codegen (
Swagger -> Code
), but not the other way around (Code -> Swagger
).In my opinion, codegen isn’t nearly as useful as spec generation.