Skip to content

Releases: bohdaq/rust-tls-server

16.1.0

03 Sep 12:08
31da104
Compare
Choose a tag to compare

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

16.0.0

10 Aug 13:40
e411a31
Compare
Choose a tag to compare

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.

15.1.0

  • Added thread id to log messages
  • Added tests for controllers
  • 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
  • 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

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

13.0.0

  • Added Application and Controller traits
  • Added Base64 implementation
  • Updated existing controllers to implement Application and Controller traits.
  • Updated Server module
  • Added and updated documentation
  • Updated dependencies to latest versions
  • Added URL module
  • Added get_domain, get_path and get_port methods to Request
  • Added and updated tests

12.0.0

Partially added documentation.
Added examples on how to use Request, Response, and Header.

  • Response has a new method generate
  • Response has a new method parse
  • Response has a new method get_header
  • Request has a new method parse
  • Request has a new method generate
  • Range has a new method parse_multipart_body
  • Header has a new method parse
  • Header has a new method generate
  • FormUrlEncoded has a new method generate

Response parse method returns a result, previously used method _parse_response was falling silently in case of a malformed response. Now developers can use the result to handle errors. Same with parse_multipart_body in Range, previously used method _parse_multipart_body was falling silently in the case of a malformed multipart body.


11.0.1

Added support for JSON processing.

Added fn float_number_with_precision(number: f64, number_of_digits: u8) -> String to StringExt to display float number with specified precision.

Updated rust compiler version to 1.68


10.0.0

  • Form submission processing using method POST and Url Encoded Enctype. Take a look at the controller on how to use it.
  • Form submission processing using method GET and without Enctype specified. Take a look at the controller on how to use it.
  • Form submission processing using method Post and Multipart Enctype. Take a look at the controller on how to use it.
  • Rust version 1.67

There are a lot of examples on how to use new functionality in tests and sample form.

Checkout changelist

9.0.0

23 Jan 06:01
826f7e3
Compare
Choose a tag to compare

Updated rust-web-server to 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 for Rust Web Server

Full change list

8.0.0

17 Dec 08:33
0611a6f
Compare
Choose a tag to compare
  1. proper error handling for not UTF-8 encoded incoming requests
  2. added ability to set allocated memory size for each incoming request
  3. added tests
  4. configuration parameters are now shown during startup
  5. improved request/response logging

UPDATE 19 Dec 2022:
Added Windows executable

2.0.0

02 Dec 08:52
ed3f453
Compare
Choose a tag to compare

Release 2.0.0

  • fix for homebrew formula installation support
  • added .deb (arm, x86_64) and .rpm (x86_64) packages

1.0.0

30 Nov 08:00
58cec22
Compare
Choose a tag to compare

Initial release