Skip to content

Commit 085c3d7

Browse files
committed
Update CHANGELOG
1 parent 56e58fc commit 085c3d7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff 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:
32+
- Implement multiple partial ranges [#708](https://github.com/kemalcr/kemal/pull/708). Thanks @sdogruyol :pray:
33+
134
# 1.6.0 (12-10-2024)
235

336
- Crystal 1.14.0 support :tada:

0 commit comments

Comments
 (0)