Skip to content

v0.12.0

Compare
Choose a tag to compare
@sdogruyol sdogruyol released this 08 May 17:48
· 450 commits to master since this release

This is a major release with following changes.

  • Crystal 0.16.0 support.
  • Custom error handlers. Now you can easily customize your error page.
error 403 do |env|
  "Access forbidden!"
end

get "/" do |env|
  env.response.status_code = 403
end
  • Filters no longer demands you to return the Context.