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