Update CHANGELOG
This commit is contained in:
parent
c829b06675
commit
7908b54767
1 changed files with 16 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
||||||
# 0.16.0
|
# 0.16.0
|
||||||
|
|
||||||
- Multipart support <3 (thanks @RX14). Now you can handle file uploads.
|
- Multipart support <3 (thanks @RX14). Now you can handle file uploads.
|
||||||
|
|
||||||
```crystal
|
```crystal
|
||||||
post "/upload" do |env|
|
post "/upload" do |env|
|
||||||
parse_multipart(env) do |field, data|
|
parse_multipart(env) do |field, data|
|
||||||
|
@ -10,11 +11,14 @@
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
- Make session configurable. Now you can specify session name and expire time wit
|
- Make session configurable. Now you can specify session name and expire time wit
|
||||||
|
|
||||||
```crystal
|
```crystal
|
||||||
Kemal.config.session["name"] = "your_app"
|
Kemal.config.session["name"] = "your_app"
|
||||||
Kemal.config.session["expire_time"] = 48.hours
|
Kemal.config.session["expire_time"] = 48.hours
|
||||||
```
|
```
|
||||||
|
|
||||||
- Session now supports more types. (String, Int32, Float64, Bool)
|
- Session now supports more types. (String, Int32, Float64, Bool)
|
||||||
- Add `gzip` helper to enable / disable gzip compression on responses.
|
- Add `gzip` helper to enable / disable gzip compression on responses.
|
||||||
- Static file caching with etag and gzip (thanks @crisward)
|
- Static file caching with etag and gzip (thanks @crisward)
|
||||||
|
|
Loading…
Reference in a new issue