Skip to content

Releases: EvandroLG/pegasus.lua

Pegasus.lua v0.9.5

03 Jul 21:45
Compare
Choose a tag to compare

Pegasus.lua is an http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.9.4?

  • Moved logic to retrieve querystring to Request:querystring
  • Moved logic to retrieve post parameters to Request.post()
  • General performance improvements
  • Refactoring the project code

Pegasus.lua v0.9.4

01 Nov 01:36
52887e9
Compare
Choose a tag to compare

Pegasus.lua is a http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.9.3?

  • Added support to chunked response in Compresion plugin
  • Added support to lua-zlib library
  • Pegasus.lua now can be initialized with two new parameters: host and timeout, like the example below:
server = Pegasus:new{ host = '127.0.0.1', timeout = 5}

Special thanks to @moteus :)

Pegasus.lua v0.9.3

14 Oct 02:50
Compare
Choose a tag to compare

Pegasus.lua is a http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.9.2?

  • Fix problem to set date header in windows systems
  • Don't raise error when pick up empty content

Special thanks to @moteus :)

Pegasus.lua v0.9.2

13 Jun 14:36
Compare
Choose a tag to compare

Pegasus.lua is a http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.9.1?

  • Added ip property in request module. It returns the client's ip
  • Added port property in request module. It returns the port where Pegasus is running
  • Fixed some bugs in request module

Pegasus.lua v0.9.1

14 Sep 17:13
Compare
Choose a tag to compare

Pegasus.lua is a http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.9?

  • Added native plugin to compress responses using the "gzip" method
local Pegasus = require 'pegasus'
local Compress = require 'pegasus.compress'

local server = Pegasus:new({
  plugins = { Compress:new() }
})

server:start()
  • Created plugin structure on Pegasus.lua's core

Pegasus.lua v0.9

12 Jul 23:47
Compare
Choose a tag to compare

Pegasus.lua is a http server to work with web applications written in Lua language.

What's new from Pegasus.lua v0.8?

  • Added native support for HTTP Streaming, aka chunked responses. Check how it works
  • Fixed bug to serve images

v0.0.8

16 Jun 00:17
Compare
Choose a tag to compare

What's new from Pegasus.lua v0.0.7?

  • Added new method on Response object:
    • addHeader(string:key, string:value): It adds a new header
    • addHeaders(table:headers): It adds news headers
    • statusCode(number:statusCode, string:statusMessage): It adds a Status Code
    • contentType(string:value): It adds a value to Content-Type field
    • write(string:body): It creates the body with the value passed as
      parameter
    • writeFile(string:file): It creates the body with the content of the
      file passed as parameter
  • Removed response:writeHead and response:finish methods
  • Fixed bug on request:querystring
  • Made a big refactoring in all the project code

v0.0.1

16 Apr 21:00
Compare
Choose a tag to compare

Project launch with basic API to handle HTTP requests and responses.