Skip to content

Releases: kernelsauce/turbo

Bug fixing

05 Sep 12:14
7fe88c2
Compare
Choose a tag to compare
  • Fixing bug where two Content-Type headers might be set in web.lua.
  • Add stat support for OSX.
  • Fix race condition in IOStream when using HTTPConnection.
  • Fix Luasocket variable name when using that backend for connections.
  • Bump http-parser to latest.
  • Gracefully handle closed connections.
  • Fixed broken client cert functionality.
  • Remove erroring in HTTPUtil when parameter is incorrectly encoded.

v2.1.2

26 Jan 17:30
Compare
Choose a tag to compare
  • Fix: Initial read for FFI sockets must handle closed connection (#329)
  • Fix: Struct declaration clash with ljsyscall (#321)
  • Fix: Error in IOLoop handler. attempt to index global 'bit' #316
  • Fix: Attempt to concatenate local 'strerr' (a nil value) #315
  • Fix: websocket->async: fetch:dns failed, _throw_error duplicate calls

Multiple fixes in IOSimple class:

  • Fix the error in running fail_cb in iostream
  • Fix the args of fail_cb when using iostream in dail

Thanks to everyone for contributing to ironing out some important bugs.

v2.1.1

25 May 15:51
Compare
Choose a tag to compare
  • Make LuaSec work on MacOS.
  • Fix signal.lua incorrect assignment of constant.
  • Fix for issue #310. CA Cert read from Crt file correctly.

v2.1.0

31 Dec 08:13
Compare
Choose a tag to compare
  • Added turbo.thread, which adds support to spawn seperate threads with communication. See turbolua.org for documentation.
  • DNS resolving is now implemented async.
  • Added pre, main and post handler functions for RequestHandler's, see examples/tablehandler.lua for example.
  • Fixes for socket handling in turbo.websocket.
  • Avoid name clashes with ljsyscall thanks to Paul Emmerich.
  • Remove string:split and string:substr overrides from turbo. Still available as turbo.util.strsplit and turbo.util.substr.

v2.0.4

12 Dec 18:24
Compare
Choose a tag to compare
  • Issue #238 fixed. Incorrect temp/perm redirect HTTP code.
  • Issue #240 fixed. WS upgrade issue.
  • Issue #241 fixed. WS race condition.
  • Added OSX as supported platform in rockspec.
  • ioloop.instance() now takes 1 argument, a function that will be added as a IOLoop callback and run on :start().

v2.0.3

20 Oct 17:28
Compare
Choose a tag to compare
  • Issue #223. Fix for inverted nested section in Mustache rendering.
  • Fix for redirect within HTTPS sites in HTTPClient.
  • Fix for intervals and timeouts in IOLoop which could fail to launch because of holes (nil's) in tables.

v2.0.2

10 Oct 05:24
Compare
Choose a tag to compare
  • Fix for Github issue #235. All header lookups are now done caseinsensitive for compatibility with standard.

v2.0.1

11 Aug 17:52
Compare
Choose a tag to compare
  • Fix for Github issue #222. HTTPClient broken for "Chunked Encoding".

v2.0.0

10 Aug 16:50
Compare
Choose a tag to compare

Official v2.0 release.

New since 1.1.6:

  • "make package" build target to create a LuaJIT byte code version of the framework. Reduces size substantially.
  • Improved logging of errors raised from RequestHandlers and IOLoop/IOStream callbacks.
  • Windows support via LuaSocket and LuaSec. install.bat for simple development environment added. Appveyor integration tests added for Windows CI.
  • OS X added as a supported OS through LuaSocket (Intel CPU).
  • IOSimple API. Wrapper for the IOStream which masks all yielding/callbacks etc from the user of the API.
  • Architectures: MIPSEL support, PPC64 support
  • Improved documentation, now available on readthedocs.org
  • Application "routes" now case sensitive, as opposed to case insensitive. This is why the Major version is bumped, as it may break backward compatibility for some.
  • .url attribute added to HTTPResponse object. This contains the URL that the request ended up at, including all redirects.

v2.0-beta2

02 Aug 12:19
Compare
Choose a tag to compare
  • LuaSec and OpenSSL is built as part of install.bat and installed on Windows, providing working SSL/TLS for Windows.
  • OS X added as a supported OS (Intel CPU).
  • Bumped version number of HTTPClient.
  • Fix for verify_ca option of Async HTTP Client. Issue #204.
  • Fix for HTTPClient HEAD requests that are redirected to site with a Content-Length greater than 0. Issue #211.
  • .url attribute added to HTTPResponse object. This contains the URL that the request ended up at, including all redirects.
  • Raising a Lua error instead of causing a segfault if someone tries to use get_url() from HTTPParser when it has not been needed with a URL to parse.
  • Readded old way to load libtffi_wrap. This is used as a fallback in addition to the new way.