1# Changelog
2
3## v0.16.0 - 2024-07-13
4
5- HTML and JSON body functions now include `charset=utf-8` in the content-type
6 header.
7- The `require_content_type` function now handles additional attributes
8 correctly.
9
10## v0.15.0 - 2024-05-12
11
12- The `mist` version constraint has been increased to >= 1.2.0.
13- The `simplifile` version constraint has been increased to >= 2.0.0.
14- The `escape_html` function in the `wisp` module has been optimised.
15
16## v0.14.0 - 2024-03-28
17
18- The `mist` version constraint has been relaxed to permit 0.x or 1.x versions.
19
20## v0.13.0 - 2024-03-23
21
22- The `wisp` module gains the `file_download_from_memory` and `file_download`
23 functions.
24
25## v0.12.0 - 2024-02-17
26
27- The output format used by the logger has been improved.
28- Erlang SASL and supervisor logs are no longer emitted.
29
30## v0.11.0 - 2024-02-03
31
32- Updated for simplifile v1.4 and replaced the deprecated `simplifile.is_file`
33 function with `simplifile.verify_is_file`.
34
35## v0.10.0 - 2024-01-17
36
37- Relaxed version constraints for `gleam_stdlib` and `gleam_json` to permit 0.x
38 or 1.x versions.
39
40## v0.9.0 - 2024-01-15
41
42- Updated for Gleam v0.33.0.
43- Updated for simplifile v1.0.
44
45## v0.8.0 - 2023-11-13
46
47- Updated for simplifile v0.3.
48
49## v0.7.0 - 2023-11-05
50
51- Updated for Gleam v0.32. All references to "bit string" have been changed to
52 "bit array" to match.
53- The `wisp` module gains the `get_query` function.
54
55## v0.6.0 - 2023-10-19
56
57- The `wisp.require_form` now handles `application/x-www-form-urlencoded`
58 content types with a charset.
59
60## v0.5.0 - 2023-09-13
61
62- The `wisp` module gains the `set_cookie`, `get_cookie`, `json_response` and
63 `priv_directory` functions.
64- The `wisp` module gains the `Security` type.
65
66## v0.4.0 - 2023-08-24
67
68- The `wisp` module gains the `set_header`, `string_builder_body`,
69 `string_body`, `json_body`, `unprocessable_entity`, `require_json` and
70 `require_content_type` functions.
71- The `wisp/testing` module gains the `post_json`, `put_json`, `patch_json`,
72 `delete_json`, and `set_header` functions.
73- The request construction functions in the `wisp/testing` module now support
74 query strings. e.g. `get("/users?limit=10", [])`.
75
76## v0.3.0 - 2023-08-21
77
78- The `mist_service` function has been renamed to `mist_handler`.
79- The `method_not_allowed` function gains the `allowed` label for its argument.
80- The `wisp` module gains the `html_escape` function.
81- The `wisp/testing` module gains the `post_form`, `put_form`, `patch_form`, and
82 `delete_form` functions.
83
84## v0.2.0 - 2023-08-12
85
86- Initial release