summaryrefslogtreecommitdiffstats
path: root/_build/content/articles/cowboy-2.1.0.asciidoc
blob: 5662e943d315ab5850ab68cd9fd406c03197c5c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
+++
date = "2017-11-09T12:00:00+01:00"
title = "Cowboy 2.1"

+++

Cowboy `2.1.0` has been released!

This release focused on adding features that were temporarily
removed during the 2.0 release process:

* The client TLS certificate can now be obtained.

* The 100 Continue response is now sent automatically
  again when necessary.

* NEW: It is now possible to send informational
  responses (1XX) directly from user code via the
  `cowboy_req:inform/2,3` functions.

* NEW: `cowboy_rest` handlers can now switch to any
  other type of handler from almost any callback. This
  is especially useful to switch to `cowboy_loop` to
  stream the request or response body.

A number of bugs have also been fixed. A more complete
list of changes can be found in the migration guide:
https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/[Migrating from Cowboy 2.0 to 2.1].

The next release will see the added support for trailers,
which are necessary for implementing the gRPC protocol.

You can donate to this project via
https://github.com/sponsors/essen[GitHub Sponsors]
because I need to eat snacks when I write code.
Thanks in advance!

As usual, any feedback is appreciated, and any issues
should be reported by opening a ticket. Thanks!