Releases: sumory/lor
Releases · sumory/lor
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
features
- router refactor: change from
pipeline
topipeline+trie tree
- middleware
- support array param for
get/post/put/delete...
method - middlewares could be defined on any node of the router trie
- support array param for
- 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
- 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 istrue
- enhance
lord new
cli- make
app
module cache to optimize runtime performance - refactor CRUD example, see more in
app/routes/user.lua
- make
- remove default X-Powered-By header