Skip to content

16.0.0

Compare
Choose a tag to compare
@bohdaq bohdaq released this 10 Aug 13:40
· 2 commits to main since this release
e411a31

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