- Updated for
gleam_stdlib
v0.43.0.
- The requirement for
gleam_json
has been relaxed to < 3.0.0. - The requirement for
mist
has been relaxed to < 4.0.0. - The Gleam version requirement has been corrected to
>= 1.1.0
from the previously inaccurate">= 0.32.0
.
- Rather than using
/tmp
, the platform-specific temporary directory is detected used.
- The Mist web server related functions have been moved to the
wisp_mist
module. - The
wisp
module gains theset_logger_level
function andLogLevel
type.
- HTML and JSON body functions now include
charset=utf-8
in the content-type header. - The
require_content_type
function now handles additional attributes correctly.
- The
mist
version constraint has been increased to >= 1.2.0. - The
simplifile
version constraint has been increased to >= 2.0.0. - The
escape_html
function in thewisp
module has been optimised.
- The
mist
version constraint has been relaxed to permit 0.x or 1.x versions.
- The
wisp
module gains thefile_download_from_memory
andfile_download
functions.
- The output format used by the logger has been improved.
- Erlang SASL and supervisor logs are no longer emitted.
- Updated for simplifile v1.4 and replaced the deprecated
simplifile.is_file
function withsimplifile.verify_is_file
.
- Relaxed version constraints for
gleam_stdlib
andgleam_json
to permit 0.x or 1.x versions.
- Updated for Gleam v0.33.0.
- Updated for simplifile v1.0.
- Updated for simplifile v0.3.
- Updated for Gleam v0.32. All references to "bit string" have been changed to "bit array" to match.
- The
wisp
module gains theget_query
function.
- The
wisp.require_form
now handlesapplication/x-www-form-urlencoded
content types with a charset.
- The
wisp
module gains theset_cookie
,get_cookie
,json_response
andpriv_directory
functions. - The
wisp
module gains theSecurity
type.
- The
wisp
module gains theset_header
,string_builder_body
,string_body
,json_body
,unprocessable_entity
,require_json
andrequire_content_type
functions. - The
wisp/testing
module gains thepost_json
,put_json
,patch_json
,delete_json
, andset_header
functions. - The request construction functions in the
wisp/testing
module now support query strings. e.g.get("/users?limit=10", [])
.
- The
mist_service
function has been renamed tomist_handler
. - The
method_not_allowed
function gains theallowed
label for its argument. - The
wisp
module gains thehtml_escape
function. - The
wisp/testing
module gains thepost_form
,put_form
,patch_form
, anddelete_form
functions.
- Initial release