Releases: kernelsauce/turbo
Releases · kernelsauce/turbo
v1.1-beta3
- Fixed default_host kwarg. of Application class.
- IOStream class: only raise error in connect if we don't have a 'connect fail' callback.
v1.1-beta2
New and smarter web.StaticFileHandler.
Uses Etag and If-None-Match headers with hash (SHA1) to deliver Not Modified when applicable.
Also will not cache files bigger than 1024_1024_1 or _G.TURBO_STATIC_MAX in memory, uses Lua file pointers for files bigger than this (relying on disk cache for strategy).
v1.1-beta1
Beta release of Turbo v1.1.
New since Turbo 1.0 release:
- New turbo.websocket namespace contains WebSocketHandler (WebSocket RFC 6455 server for turbo.web.Application) and WebSocketClient (a callback based WebSocket client).
- Chatapp example using WebSocket functionality added to examples.
- turbo.web.RequestHandler.get_json added.
- Fixed handling of max_header_size and max_body_size in turbo.httpserver.HTTPServer.
- "Turbovisor" added. Turbovisor is an application management tool which detects file changes and restart application on the fly.
- Signal handler added to IOLoop.
v1.0
The official Turbo.lua v1.0 release.
Virtually the same as v1.0-beta11.
v1.0-beta11
- Fixed a regression in cookie handling.
v1.0-beta9
- Added PUT and POST as valid for x-www-form-urlencoded in turbo.async.HTTPClient.
- Added RequestHandler:get_json() which will parse the request body as raw JSON.
- Fix for oddities when multiple cookies are sent to RequestHandler.
v1.0-beta10
- Minor fix in initialization of inherited class in HTTPServer initialize.
v1.0-beta8
- Added get_secure_cookie and set_secure_cookie method's to turbo.web.RequestHandler. Which gives Turbo the possiblity to sign cookies with a HMAC digest.
- New namespace turbo.hash. Contains a OpenSSL backed SHA1 class and HMAC function now.
The TURBO_SSL global must be set before requiring Turbo to use this new functionality because they depend on the OpenSSL library.
v1.0-beta7
- Fixed Expires header field in static file handler. Also fixed a bug with HEAD requests towards static file handler.
- Updated docs (now includes the latest features that were missing docs).
- Fixed the _G.TURBO_SOCKET_BUFFER_SZ value so it is now correctly read from in the IOStream class.
- Provide helpful error message when user is trying to use SSL without having enabled it with the TURBO_SSL global.
- Added option to Makefile to compile without linking OpenSSL to wrapper and also running Turbo.lua without OpenSSL on system.
- Fixed a incorrect calling convention in error handling in the HTTPClient class when it failed to resolve DNS.
- Added two more examples of usage: a simple command-line curl tool and usage of the low-level HTTPServer class without turbo.web.Application.
v1.0-beta6
- Added default size limit of 16K for HTTP headers. Users can adjust this when creating HTTPServer or Application classes in the kwargs table using the "max_header_size" and "max_body_size" keys. The defaults are sane and severely limits the potential to DOS the server.
- Limit accepted types for RequestHandler:write(data) to string and table.