Skip to content

Releases: ponylang/http_server

0.4.1

26 Feb 15:09

Choose a tag to compare

Update to work with Pony 0.49.0

Pony 0.49.0 introduced a lot of different breaking changes. We've updated to account for them all.

[0.4.1] - 2022-02-26

Fixed

  • Update to work with Pony 0.49.0 (PR #43)

0.4.0

02 Feb 03:14

Choose a tag to compare

Update to work with Pony 0.47.0

Pony 0.47.0 disallows interfaces having private methods. We've updated accordingly. HTTP11RequestHandler and Session are now traits instead of interfaces. If you are subtyping them by structural typing, you'll now need to use nominal typing.

Previously:

class MyRequestHandler

would become:

class MyRequestHandler is Session

[0.4.0] - 2022-02-02

Changed

  • Update to work with Pony 0.47.0 (PR #42)

0.3.3

16 Jan 04:53

Choose a tag to compare

Update to work with latest ponyc

The most recent ponyc implements RFC #65 which changes the type of Env.root.

We've updated accordingly. You won't be able to use this and future versions of the library without a corresponding update to your ponyc version.

[0.3.3] - 2022-01-16

Fixed

  • Update to work with Pony 0.46.0 (PR #39)

0.3.2

03 Sep 03:40

Choose a tag to compare

Updates to work with ponyc 0.44.0

RFC 70 resulted in breaking changes in ponyc. We've updated http_server so that it works with ponyc 0.44.0.

[0.3.2] - 2021-09-03

Fixed

  • Update to work with ponyc 0.44.0 (PR #31)

0.3.1

07 May 12:36

Choose a tag to compare

Forward prepare for coming breaking change in ponyc

This change has no impact on end users, but will future proof against a coming breaking change in the pony compiler. Users of this version of the library won't be impacted by the coming change.

[0.3.1] - 2021-05-07

Changed

  • Update to deal with changes to reference capabilities subtyping rules (PR #30)

0.3.0

10 Apr 19:44

Choose a tag to compare

Don't export test types

Prior to this change, http_server was exporting test related types to user packages.

Update net_ssl dependency

Updated the net_ssl dependency from 1.1.4 to 1.1.5.

[0.3.0] - 2021-04-10

Changed

  • Don't export test types (PR #27)
  • Update net_ssl dependency (PR #29)

0.2.4

20 Feb 11:11

Choose a tag to compare

Fix missing Content-Length header

Setting a content length via the BuildableResponse constructor didn't set the corresponding header

[0.2.4] - 2021-02-20

Fixed

  • BuildableResponse: unify constructor and setter for content length (PR #23)

0.2.3

08 Feb 20:45

Choose a tag to compare

[0.2.3] - 2021-02-08

0.2.2

10 Dec 12:51

Choose a tag to compare

Fix HTTP/1.0 connections not closing without keep-alive

Due to a logic bug this lib was not closing HTTP/1.0 connections when the request wasnt sending a Connection header. This caused tools like ab to hang, as they expect the connection to close to determine when the request is fully done, unless the -k flag is provided.

[0.2.2] - 2020-12-10

Fixed

  • Fix HTTP/1.0 connections not closing without keep-alive (PR #19)

0.2.1

19 May 21:54

Choose a tag to compare

[0.2.1] - 2020-05-19

Fixed

  • Close Connection when application requested it with Connection: close header (PR #14)