Skip to content

Releases: belyalov/tinyweb

Release 1.1

17 Apr 20:46
Compare
Choose a tag to compare

Mostly bugfixes, including but not limited to

Features

  • Keyword arguments into REST handler: add_resource(self, cls, url, **kwargs). Refer to #10
  • Added content_encoding to send_file()
  • parse_headers parameter replaced with save_headers dict to make it less memory consuming. Refer to #13
  • Switch from os to uos to remove unneeded dependency.
  • Add optional response message: def redirect(self, location, msg=None)

Fixes

  • Run garbage collection before / after REST handler
  • Couple of travis-ci bugfixes

Release 1.0

28 Feb 18:17
78e557f
Compare
Choose a tag to compare

First stable release of tinyweb.
Supported and tested devices:

  • ESP8266
  • ESP32

Beta2 release v1.0

27 Feb 05:31
Compare
Choose a tag to compare
Beta2 release v1.0 Pre-release
Pre-release

Bugfixes

  • Content-Length in auto OPTIONS method
  • add_resource() - now accepts either - class or class instance
  • Access-Control-Allow-Methods use comma instead of whitespace
  • Proper handle of Broken Pipe error

Improvements

  • Added simple way to do HTTP redirects: response.redirect()
  • Include simple error message into HTTP errors (like 404, 500, etc)
  • More documentation and unittests :)

Beta release v1.0

09 Jan 08:43
Compare
Choose a tag to compare
Beta release v1.0 Pre-release
Pre-release

Release 1.0-beta

First working version of tinyweb.

What's included?

  • core functionality (webserver, request, response classes) / unittests
  • static content support
  • RestAPI support for HTTP form types:
    • urlencoded
    • json

What's missed?

  • HTTP/1.1 - currently, there is no any justification to use it on microcontrollers. Maybe in the future.
  • HTTP Authorization

Known issues / limitations

  • HTML form are supported in no so efficient way, probably there is a big room for improvements.
  • Not tested on ESP32 device, however, ESP8266 works fine, but requires frozen bytecode due to RAM limitation.