Skip to content

Commit

Permalink
0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Serdar Dogruyol committed Aug 14, 2018
1 parent e468e2e commit 9448360
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions CHANGELOG.md
@@ -1,4 +1,4 @@
# Next
# 0.24.0 (14-08-2018)

- *[breaking change]* Removed `env.params.files`. You can use Crystal's built-in `HTTP::FormData.parse` instead

Expand All @@ -19,15 +19,27 @@ post "/upload" do |env|
end
```

- *[breaking change]* From now on to access dynamic url params in a WebSocket route you have to use
- *[breaking change]* From now on to access dynamic url params in a WebSocket route you have to use:

```ruby
ws "/:id" do |socket, context|
id = context.ws_route_lookup.params["id"]
end
```

- *[breaking change]* Removed `_method` magic param
- *[breaking change]* Removed `_method` magic param.

- Added new exception page [#466](https://github.com/kemalcr/kemal/pull/466). Thanks @mamantoha 🙏

- Support custom port binding. Thanks @straight-shoota 🙏

```ruby
Kemal.run do |config|
server = config.server.not_nil!
server.bind_tcp "127.0.0.1", 3000, reuse_port: true
server.bind_tcp "0.0.0.0", 3001, reuse_port: true
end
```

# 0.23.0 (17-06-2018)

Expand Down
2 changes: 1 addition & 1 deletion shard.yml
@@ -1,5 +1,5 @@
name: kemal
version: 0.23.0
version: 0.24.0

dependencies:
radix:
Expand Down

0 comments on commit 9448360

Please sign in to comment.