Recent Releases of rust-web-server

rust-web-server - 16.1.0

Fixed broken feature from 16.0.0:

  • Resolving .html files without .html in path. If you try to open /folder it will open file folder/index.html

- Rust
Published by bohdaq over 2 years ago

rust-web-server - 16.0.0

  • Resolving .html files without .html in path. If you try to open /folder it will open file folder/index.html
  • Caching done right. It means no caching and therefore no outdated uncontrollable resources.

Changelist

- Rust
Published by bohdaq almost 3 years ago

rust-web-server - 15.1.0

  1. Added thread id to log messages
  2. Added tests for controllers
  3. New feature - resolving .html files without .html in path. It means if you try to open /some-html-file it will open file some-html-file.html and won't show 404 not found error
  4. New feature - opening static resources with url search params. Previously server returned 404 not found response if request contains query string parameters /some-html-file?some=param&another for example

Full changelist

- Rust
Published by bohdaq almost 3 years ago

rust-web-server - 14.0.0

Added documentation for Range module

Added functionality to parse response with custom boundary (previously worked only with hardcoded one)

Added proper error handling while parsing malformed multipart response (missing starting or ending boundary)

Added build method to Response

Full changelist

- Rust
Published by bohdaq almost 3 years ago

rust-web-server - 9.0.0

Added support for symlinks.

In practice, it means you can have a link to file link --> file.html and request this resource via regular HTTP GET /link request. Response will contain the properly set Content-Type based on file extension.

Added Sec-CH-Prefers-Reduced-Motion and Sec-CH-Prefers-Color-Scheme support to Accept-CH.

Added Critical-CH header.

Added request and response logging to server output.

Added info on the user and working directory to server output.

Proper logging for the peer address.

Added and updated tests.

Using rust 1.66.

Added dependency to file-ext 9.0.3.

Updated documentation and logo.

Default index.html is now properly scaled for smartphones and tablets. Full change list

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 8.0.0

  • proper error handling for not UTF-8 encoded incoming requests
  • added ability to set allocated memory size for each incoming request
  • added tests
  • configuration parameters are now shown during startup

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.28

Change list:

  • Increased default number of threads from 4 to 200.
  • Improved error handling.
  • Fixed wrong parameter in command line documentation.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.27

Change list:

  • Now rws can be started without any configuration. By default, the server will bind to IP 127.0.0.1 and port 7887. CORS requests are allowed by default.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.26

Change list:

  • Now there are no 3rd party dependencies
  • Date-ISO-8601 header renamed to Date-Unix-Epoch-Nanos and showing time is nanoseconds Unix epoch
  • Last-Modified-ISO-8601 header renamed to Last-Modified-Unix-Epoch-Nanos and showing time is nanoseconds Unix epoch

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.25

Change list:

  • Fixed typo in command-line argument cors-allow-methods (previously was 'cors-allow_methods')
  • Changed the name of the argument to thread-count to be consistent with the config file (previously 'threads' as an argument and 'thread-count' in the config file).
  • Removed dependency used to parse config file with the handwritten module. As a result smaller final executable size and faster build time.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.24

Change list:

  • Removed dependency used to parse parts of the HTTP message with the handwritten module. As a result smaller final executable size and faster build time. Added tests.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.23

Change list:

  • Added to console output license information and version of rust used to compile executable.
  • Set the minimum rust version to 1.64, as I'm testing on this specific version. However, if needed you may try to build rws on your own using the --ignore-rust-version flag.
  • Removed dependency used to parse command line arguments with the handwritten module. As a result smaller final executable size and faster build time.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.22

Change list:

  • Added Language crate with a list of languages and their codes
  • Most of the crates are now public, this includes structures and functions defined in them
  • Updated console output while starting the application

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.21

Change list:

  • Fixed bug with empty value header
  • Verified on rustc 1.64.0 (a55dd71d5 2022-09-19)
  • Fixed bug with wrong display format on Date-ISO-8601 response header
  • Added Last-Modified-ISO-8601 response header to static resources

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.20

Breaking change:

  • All header names constants now start from underscore. Header::_HOST as an example

Change list:

  • Server now explicitly asks for Save-Data, Device-Memory hints
  • Vary header now includes Save-Data, Device-Memory, Upgrade-Insecure-Requests
  • Header now has most of the headers listed on MDN

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.19

Breaking Change:

  • Client Hints are turned on by default and not configurable. This is a breaking change if you are running rws via config file or passing arguments. Take a look at the updated config, arguments, and variables.

Change list: - Added support for the PATCH HTTP method - Added Date-ISO-8601 header with corresponding response date time in UTC format

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.18

Added X-Frame-Options: SAMEORIGIN default header

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.17

Added support for HTTP Client hints Updated Vary header to reflect client hints support Added tests to check client hints, CORS, and Vary in the context of the app Response::getheader is now searching lowercase matches

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.16

Introduced controllers support for better code readability Moved ext::fileext::readfile to ext::fileext::{FileExt} Added StringExt with truncatenewlinecarriagereturn method Added FileExt readfile_partially method

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.15

Added HTTP Status Code Reason Phrases Response status_code field now has i16 type (previously String)

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.14

Added status code reason phrase for 500 error Added method Range::getcontentrangeofa_file to get content range of file Added method Range::getcontentrange to get content range of Vec Added method Response::get_response to get response Added method ext::fileext::readfile to read a file from filesystem

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.13

The release fixes the thread panic in case of the absence of index.html or 404.html

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.12

Release resolves compilation warnings, and contains changes related to better modularization, and tests.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.11

The release includes handling for malformed requests, for example, requests containing only zeros now will not cause the thread to panic. A better modular structure. Resolved some compilation warnings. Added tests.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.10

This release brings a more modular approach to handling HTTP headers. Added tests to header crate.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.9

The release focused on reducing amount of warnings during compilation time and added some extra error handling capabilities.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.8

Removed Non-blocking IO support, current model leverages thread pool model.

Put back the thread-count configuration parameter.

- Rust
Published by bohdaq over 3 years ago

rust-web-server - 0.0.7

[UPDATED] Warning! This release seems to generate problems, consider using the newer or previous version.

Added Non-blocking I/O to support a large number of concurrent connections.

Upgrade from older versions: There is no more parameter "threads" so you shall remove it from command line args, rws config file and system variables.

- Rust
Published by bohdaq about 4 years ago

rust-web-server - 0.0.6

Added support for serving Cross-Origin Resource Sharing requests

- Rust
Published by bohdaq about 4 years ago

rust-web-server - 0.0.5

Added support for Range requests Fixed error with hyphen in url caused app to crash.

- Rust
Published by bohdaq about 4 years ago

rust-web-server - 0.0.4

Added support for serving non utf-8 encoded static files (binaries, media content, etc...)

- Rust
Published by bohdaq over 4 years ago

rust-web-server - 0.0.3

Added Content-Type header to responses. Added X-Content-Type-Options: nosniff header to responses.

- Rust
Published by bohdaq over 4 years ago

rust-web-server - 0.0.1

Initial release

- Rust
Published by bohdaq over 4 years ago