Releases: kemalcr/kemal
Releases Β· kemalcr/kemal
v1.7.3
- Refactor #719. Thanks @sdogruyol π
 - Improve Kemal test suite. Thanks @sdogruyol π
 
v1.7.2
v1.7.1
- Improve 
StaticFileHandlerto align with latest Crystal implementation #711. Thanks @sdogruyol @straight-shoota π 
v1.7.0
All users are strongly advised to update immediately.
- (SECURITY) Fix a Path Traversal Security issue in 
StaticFileHandler. See for more details. Huge THANKS to @ahmetumitbayram π - Crystal 1.16.0 support π
 - Add ability to add handlers for raised exceptions #688. Thanks @syeopite π
 
require "kemal"
class NewException < Exception
end
get "/" do | env |
  raise NewException.new()
end
error NewException do | env |
  "An error occured!"
end
Kemal.run- Add 
all_filesmethod toparamsto support multiple file uploads in names ending with[]#701. Thanks @sdogruyol π 
images = env.params.all_files["images[]"]?- Embrace Crystal standard Log for logging #705. Thanks @hugopl π
 - Cleanup temporary files for file uploads #707. Thanks @sdogruyol π
 - Implement multiple partial ranges #708. Thanks @sdogruyol π
 
v1.6.0
- Crystal 1.14.0 support π
 - Windows support #690. Thanks @sdogruyol π
 - Directory Listing: Add UTF-8 Charset to the response Content type #679. Thanks @alexkutsan @Sija π
 - Use context instead of response in static_headers helper #681. Thanks @sdogruyol π
 
v1.5.0
- Crystal 1.12.0 support π
 - Allow HTTP::Server::Context#redirect to take an URL #659. Thanks @xendk π
 - Bump 
exception_pagedependency #669. Thanks @Sija π - Add message support to 
Kemal::Exceptions::CustomException#671. Thanks @sdogruyol π - Add 
Dateheader to HTTP responses #676. Thanks @Sija π 
v1.4.0
- Crystal 1.8.0 support π
 - Fix multiple logger handlers when custom logger is used #653. Thanks @aravindavk π
 - Add Kemal::OverrideMethodHandler #651. Thanks @sdogruyol π
 - HeadRequestHandler: run GET handler and don't return the body #655. Thanks @compumike π
 
v1.3.0
- Crystal 1.6.0 support π
 - Disable signal trap for usage Kemal with other tools #642. Thanks @le0pard π
 - Bump exception_page shard to v0.3.0 #645. Thanks @Sija π
 - (Security) Omitting filters fix for lowercase methods requests #647. Thanks @sdogruyol @SlayerShadow π
 
v1.2.0
- Crystal 1.5.0 support π
 - Eliminated several seconds of delay when loading big mp4 file. Thanks @Athlon64 π
 - Fix content_for failing to capture the correct block input #639. Thanks @sdogruyol π
 - Closes response by default in HTTP::Server::Context#redirect #641. Thanks @cyangle π
 - Enable option for index.html to be a directories default #640. Thanks @ukd1 π
 
You can enable it via
  serve_static({"dir_index" => true})