SVR.JS 4.1.0 has just arrived with Deno support!

SVR.JS 4.1.0 has just arrived with Deno support!

Published on: October 19, 2024

We have just released a feature releaseof SVR.JS - SVR.JS 4.1.0! This release adds the experimental support for Deno 2, which was recently released in October 9, 2024.

What’s new in SVR.JS 4.1.0?

Here’s the difference between SVR.JS 4.1.0 and SVR.JS 4.0.2:

  • Added experimental support for Deno 2.

Getting started with SVR.JS 4.1.0

To get started with SVR.JS 4.1.0, you can install it via SVR.JS installer for GNU/Linux, via Docker or manually. You can read the documentation for SVR.JS 4.1.0 in order to learn more about the installation process. We have now added the instructions on how to use SVR.JS with Deno to the documentation.

Limitations of SVR.JS on Deno 2

SVR.JS currently has an experimental support for Deno 2, however it comes with some limitations:

  • SVR.JS limits the amount of clusters to one, because out of multiple clusters only work would work. Deno doesn’t support Node.JS “cluster” module yet, so SVR.JS shims the module, however the shim doesn’t make multiple Deno processes listen to the same port. This limitation is similar to SVR.JS running on Bun 1.x versions without Node.JS “cluster” module support.
  • SVR.JS on Deno fails to try again to listen to the web server’s port, if the port listening fails.

Thank you!

We want to extend a heartfelt thank you to our community for your support and contributions. Your feedback and suggestions have been invaluable in shaping SVR.JS into what it is today.