8000 Releases Β· kemalcr/kemal Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Releases: kemalcr/kemal

v1.7.1

14 Apr 13:54
Compare
Choose a tag to compare

v1.7.0

14 Apr 11:53
Compare
Choose a tag to compare

⚠️ IMPORTANT: This release fixes a critical path traversal security vulnerability in previous versions of Kemal.
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_files method to params to 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

12 Oct 10:11
Compare
Choose a tag to compare
  • 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

10 Apr 16:52
Compare
Choose a tag to compare
  • Crystal 1.12.0 support πŸŽ‰
  • Allow HTTP::Server::Context#redirect to take an URL #659. Thanks @xendk πŸ™
  • Bump exception_page dependency #669. Thanks @Sija πŸ™
  • Add message support to Kemal::Exceptions::CustomException #671. Thanks @sdogruyol πŸ™
  • Add Date header to HTTP responses #676. Thanks @Sija πŸ™

v1.4.0

15 Apr 08:40
Compare
Choose a tag to compare
  • 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

09 Oct 10:55
Compare
Choose a tag to 10000 compare
  • 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

07 Jul 09:03
Compare
Choose a tag to compare
  • 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})

v1.1.2

24 Feb 14:57
Compare
Choose a tag to compare

v1.1.1

22 Feb 14:30
Compare
Choose a tag to compare
  • Ignore HTTP::Server::Response patching for crystal >= 1.3.0 #628. Thanks @SamantazFox πŸ™

v1.1.0

02 Sep 14:50
Compare
Choose a tag to compare
  • You can now set your own application name for startup message #606. Thanks @aravindavk πŸ™
  • Add array of paths support for before/after filters #605. Thanks @sdogruyol πŸ™
  • Fixed executing filters when before and after is defined at the same time #612. Thanks @mamantoha πŸ™
  • Set content type to text/html for 500 exceptions #616. Thanks @sdogruyol πŸ™
0