Repository navigation
Releases
v1.3.0
v1.2.2
Re-drafted due to a previous issue relating to code refactoring.
Yet another stable release which adds a few new features.
New features:
- Add ability to format directory listings as either JSON (new) or HTML
- Add a global state for the application which is passed through the server's core functions and the response's utilities
- Add file caching (read documentation for configuration for more information)
v1.2.1
Emergency patch update to fix some problems with the test suite.
Changelog:
- Fix errors in the requests test suite.
- Refactor the entire source directory to make it easier to maintain.
v1.2.0
From now on, the releases on GitHub will follow the Semantic Versioning 2.0.0 for software version numbers incrementing (MAJOR.MINOR.PATCH).
This stable release adds a few small features.
Changelog:
- Add "EXTRA_HEADERS" feature for headers you wish to append to the HTTP request's responses regardless of whether it errors or not (disabled by default).
- Add "ALLOW_DIRECTORY_LISTING" in case for some reason the end user wishes to disable listing directories (folders) when a user tries to access something that is a directory (enabled by default).
- Deprecate fuzz tests in favor of a possibly improved integrated testing suite for the web server (tests still exist.)
- Documentation improvements.
v1.1.2
(Redrafted for version number increment)
Yet another stable release which adds some extra features for improved security and convenience. This is probably one of the last medium-large updates to VRS because most of the wanted features have been implemented.
Changelog:
- Finally add proper unit testing (thanks to #8)
- Add directory listing for when a user tries to access a directory inside the server instead of a file. It will basically list all files (and sub-directories) inside the requested directory.
- Improve error-handling and propagate the errors throughout the Server.
- Move cargo test to build Makefile's instruction instead of run.
- Bug fixes.
v1.1.1
Emergency update because I forgot to push something to the main branch before release.
Changelog:
- Add MIME type support (HTML / CSS / JS)
v1.1.0
After lots of rewriting and new features added, the first stable release of VRS is finally out!
Changelog:
- Proper multithreading has finally been added
- Security headers for common attacks such as clickjacking added
- Fixed many bugs from the old Beta releases
- Improve performance by a few milliseconds
- Rewrite server to use a structural pattern instead of pure functions in order to improve code reusability
- Add ALLOWED_METHODS in order to block disallowed methods
- Create a separate bin and lib
- Improve some code comments
v1.0.3 (Beta 3)
Third and possibly the last beta release of VRS. This release adds many new features and code improvements comparable to how the codebase previously looked.
- Finally implemented Cross Origin Resource Sharing (CORS) support :)
- Replaced many of the lines where it overused match statement and replaced them with the ? Rust operator
- Remove the manual which used to be an HTML document in favor of a proper markdown documentation in the future
- Finally fix the path traversal exploit once and for all (#3, thanks mcronce)
- Change many status codes in order to make them more appropriate
- Overall improvements
v1.0 (Beta 2)
Second beta release of VRS! This one is mostly going to be to fix bugs and vulnerabilities.
Changelog:
- Fix a critical vulnerability regarding path traversal exploit which allowed getting access to any file outside of the static directory.
- Fixed server crashing by panicing when socket connects by opening a connection and sending no data.
Beta 3 will contain Cross Origin Resource Sharing (CORS) and origins.
v1.0 (Beta 1)
The first release of VRS! Minor problems expected, feel free to make issues for them in order to be resolved.