Skip to content

Releases: belyalov/tinyweb

Release 1.3.5

23 Feb 00:24
Compare
Choose a tag to compare

Firmware

Now based on micropython 1.12

Bug fixes

#24 - Unexpectedly closed connection on non existing URLs (404)

Release 1.3.4

28 Jul 03:29
Compare
Choose a tag to compare

Fixes

  • #20: Properly handle UTF strings restful_resource_handler()

Release 1.3.3

23 Dec 18:18
Compare
Choose a tag to compare

Frozen examples

Include examples into release firmware - in order to simplify flash-n-try, flash image and simply run example:

>>> import network

# Connect to WiFi
>>> sta_if = network.WLAN(network.STA_IF)
>>> sta_if.active(True)
>>> sta_if.connect('<ssid>', '<password>')

# Run Hello World! :)
>>> import examples.hello_world as hello
>>> hello.run()

Release 1.3.2

20 Dec 05:46
Compare
Choose a tag to compare

Release images

#18 - This release fixes broken travis script which result in broken release images for esp32 / esp8266

Release 1.3.1

02 Dec 03:58
Compare
Choose a tag to compare

@resource decorator:

    @app.resource('/user/<id>')
    def user(data, id):
        return {'id': id, 'name': 'foo'}

TCP listen/accept backlog bugfix

Now binaries for esp8266 based on micropython/micropython@4737ff8 which contains bugfix for TCP listen/accept backlog

Release 1.3

18 Nov 05:59
Compare
Choose a tag to compare

Optimizations

  • Get rid of get_mime_type() - mostly useless, however, consumes a lot of memory.
  • Get rid of debug messages.
  • Do not use names for HTTP codes.
  • Minor code cleanup

Chunked encoding

Since HTTP/1.0 does not support Transfer-Encoding: chunked - workaround added: use HTTP/1.1 with Connection: close

Per-connection statistic

Simple counter for processed connections added

Release 1.2.3

15 Jul 01:12
Compare
Choose a tag to compare

Better logging

In order to unify logging mechanism now tinyweb is using logging instead of pure print().

WARNING this may break your app! Consider use of logging module.

P.S. New image already contains logging module frozen.

Release 1.2.2

07 Jul 21:07
Compare
Choose a tag to compare

Now based on top of micropython v1.9.4. release.

  • Added debug. When set - unhandled exception data will be propogated to client as well.

Release 1.2.1

16 May 15:42
Compare
Choose a tag to compare

Minor release aimed to fix bug with max_concurrency and refactor implementation of request_timeout.

Release 1.2

10 May 15:42
Compare
Choose a tag to compare

New Features

  • Limit concurrently opened connections (max_concurrency param)
  • Close connections by timeout (request_timeout param)

Enhancements

  • Allow REST handler to return simple string (converting from dict to json sometimes too expensive)

Bugfixes

  • Properly handle connection errors (ECONNREST, ECONNABORT, etc)

Misc

  • Replace old styled yield from to async / await