- The documentation now uses uppercase http verbs instead of lowercase ones (
r:match('GET', ...)
instead ofr:match('get', ...)
) - The shortcut methods now define uppercase http verbs. In other words,
r:get(...)
is equivalent tor:match('GET', ...)
instead ofr:match('get', ...)
. This is a backwards-incompatible change, hence the version bump.
- Throws an error when an unknown verb gets received
- Parameters can now be given in a splat list. So if before you had to do
r:resolve('GET', '/foo/bar', table_merge(params1, params2))
, now you can dor:resolve('GET', '/foo/bar', params1, params2)
. - Passed-in parameters no longer override url parameters (url parameters are stronger). This allows using the params in a "default params" quality.