52 lines
2.8 KiB
Markdown
52 lines
2.8 KiB
Markdown
---
|
|
title: 'SVR.JS 4.0.0-beta1: A New Era for Our Web Server'
|
|
date: 2024-08-28 08:26:56
|
|
tags:
|
|
- webserver
|
|
- web
|
|
- release
|
|
category: News
|
|
thumbnail: /images/covers/SVR-JS-4-0-0-beta1-A-New-Era-for-Our-Web-Server.png
|
|
---
|
|
**We are thrilled to announce the first beta release of SVR.JS 4.0.0!** This release marks a significant milestone in the development of our web server software, bringing a host of new features, and a more robust architecture.
|
|
|
|
## What's new in SVR.JS 4.0.0-beta1?
|
|
|
|
Here's the differences between SVR.JS 4.0.0-beta1 and SVR.JS 3.15.7:
|
|
- Added support for SVR.JS mods in ".js" extension.
|
|
- Changed SVR.JS logo.
|
|
- Regex strings now can have single unescaped "/" within square parentheses ("[" and "]").
|
|
- Removed "graceful-fs" dependency.
|
|
- Rewritten SVR.JS to use multiple split files for the source instead of single one.
|
|
- SVR.JS now uses build system consisting of esbuild, ESLint, Prettier, and Jest.
|
|
|
|
## Getting Started with SVR.JS 4.0.0-beta1
|
|
|
|
### Installation
|
|
To get started with the beta version, you can install it via SVR.JS installer for GNU/Linux or manually.
|
|
|
|
If you want to install SVR.JS manually, you can read the [tentative documentation](https://svrjs.org/docs/tentative#Manual-installation) for SVR.JS 4.0.0-beta1.
|
|
|
|
If you want to install via SVR.JS installer for GNU/Linux, first [download SVR.JS 4.0.0-beta1 zip archive](https://downloads.svrjs.org/beta/svr.js.4.0.0.beta1.zip), then run this command:
|
|
```bash
|
|
curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240509.sh > /tmp/installer.sh && sudo bash /tmp/installer.sh
|
|
```
|
|
You will be then prompted about the type of installation. Choose option "2" to install SVR.JS from the zip archive, and type in the path to the SVR.JS 4.0.0-beta1 zip archive you have just downloaded.
|
|
|
|
After typing the path, you may be prompted to install dependencies via GNU/Linux distribution's package manager. Proceed with the installation of dependencies.
|
|
|
|
After installation, SVR.JS should be listening at http://localhost.
|
|
|
|
### Documentation
|
|
You can read the [tentative documentation](https://svrjs.org/docs/tentative) for SVR.JS 4.0.0-beta1.
|
|
|
|
### Feedback and support
|
|
We value your feedback and are eager to hear your thoughts on this beta release. Please report any bugs or feature requests through our [issues page on our Git server](https://git.svrjs.org/svrjs/svrjs/issues). Your input will help us make SVR.JS even better.
|
|
|
|
## What's next?
|
|
|
|
This beta release is just the beginning. We have exciting plans for future updates, including more advanced features, additional performance optimizations, and even more robust security measures. Stay tuned for more announcements!
|
|
|
|
## 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.
|