Skip to content

Releases: sumory/lor

v0.3.4

30 Aug 13:13
Compare
Choose a tag to compare

v0.3.3

05 Aug 11:26
Compare
Choose a tag to compare
  • refactor node id to make sure it's unique

v0.3.2

10 Jun 12:11
Compare
Choose a tag to compare
  • support char - for route definition
  • replace lua-resty-session with a simple & thin session middleware base on cookie
  • fix session timeout bug

v0.3.1

16 Apr 11:40
Compare
Choose a tag to compare
  • support char ~ for route definition (from @XadillaX)
  • support multi functions( in plain functions or array style) for group router
  • support index route for group router (see issues#40)

v0.3.0

11 Feb 08:33
Compare
Choose a tag to compare

features

  • router refactor: change from pipeline to pipeline+trie tree
  • middleware
    • support array param for get/post/put/delete... method
    • middlewares could be defined on any node of the router trie
  • improve performance

break changes

  • 404 error is handled by app:erroruse now
  • no strong relationship between route definition and execution
  • no middlewares executed if no route found for the request

v0.2.6

26 Nov 12:05
Compare
Choose a tag to compare
  • upgrade built-in session middleware
    • upgrade lua-resty-session to v2.13
    • add a new param timeout to set session/cookie timeout, default is 3600 seconds
    • add a new param refresh_cookie which indicates whether to refresh cookie & session expire time when new request is coming, default is true
  • enhance lord new cli
    • make app module cache to optimize runtime performance
    • refactor CRUD example, see more in app/routes/user.lua
  • remove default X-Powered-By header

v0.2.4

16 Nov 11:20
Compare
Choose a tag to compare
  • add application/json support

v0.2.2

19 Oct 10:41
Compare
Choose a tag to compare
  • support opm

v0.1.6

15 Oct 10:49
Compare
Choose a tag to compare
  • new lord supported with resty-cli
  • remove luajit dependency of cli

v0.1.5

01 Oct 06:48
Compare
Choose a tag to compare
  • replace pcall with xpcall to keep traceback for error handling
  • path uri support '.'
  • update some test cases