You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,36 @@
1
+
# 1.7.0 (14-04-2025)
2
+
3
+
-***(SECURITY)*** Fix a Path Traversal Security issue in `StaticFileHandler`. [See](https://packetstorm.news/files/id/190294/) for more details. Thanks a lot @ahmetumitbayram:pray:
4
+
- Crystal 1.16.0 support :tada:
5
+
- Add ability to add handlers for raised exceptions [#688](https://github.com/kemalcr/kemal/pull/688). Thanks @syeopite:pray:
6
+
7
+
```crystal
8
+
require "kemal"
9
+
10
+
class NewException < Exception
11
+
end
12
+
13
+
get "/" do | env |
14
+
raise NewException.new()
15
+
end
16
+
17
+
error NewException do | env |
18
+
"An error occured!"
19
+
end
20
+
21
+
Kemal.run
22
+
```
23
+
24
+
- Add `all_files` method to `params` to support multiple file uploads in names ending with `[]`[#701](https://github.com/kemalcr/kemal/pull/701). Thanks @sdogruyol:pray:
25
+
26
+
```crystal
27
+
images = env.params.all_files["images[]"]?
28
+
```
29
+
30
+
- Embrace Crystal standard Log for logging [#705](https://github.com/kemalcr/kemal/pull/705). Thanks @hugopl:pray:
31
+
- Cleanup temporary files for file uploads [#707](Add cleanup methods for file uploads and temporary files). Thanks @sdogruyol:pray:
0 commit comments