All Versions
46
Latest Version
Avg Release Cycle
42 days
Latest Release
1688 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.17.4 Changes
January 06, 2019๐ Fixed
- โ Dialyzer warning from
Raxx.Router.section/2
macro fixed.
- โ Dialyzer warning from
-
v0.17.3 Changes
November 22, 2018โ Added
Raxx.Router.section/2
for defining routes that have a middleware stack.- 0๏ธโฃ Using macro for
Raxx.Middleware
that adds default implementations for each callback.
-
v0.17.2 Changes
November 13, 2018โ Added
- ๐ Support
eex_html
versions0.1.x
and0.2.x
.
- ๐ Support
-
v0.17.1 Changes
November 01, 2018โ Added
Raxx.Middleware
to develop composable components for common server functionality.Raxx.Stack
module to combine middlewares are server modules.
-
v0.17.0 Changes
October 28, 2018โ Added
Raxx.SimpleServer
behaviour for servers that only need ahandle_request/2
callback. usingRaxx.SimpleServer
automatically implementsRaxx.Server
so the module can be used in a service.
๐ Changed
- โ
use Raxx.Server
issues a warning if the module implementshandle_request/2
, it is expected that such servers will make use of the newRaxx.SimpleServer
. Raxx.set_header/2
raises anArgumentError
when setting host headers.ArgumentError
is raised instead ofRuntimeError
in cases of bad headers and body content.Raxx.set_body/2
raises anArgumentError
for GET and HEAD requests.
โ Removed
Raxx.is_application?
, useRaxx.Server.verify_server
instead.Raxx.verify_application
, useRaxx.Server.verify_server
instead.Raxx.Server.is_implemented?
, useRaxx.Server.verify_server
instead.
-
v0.16.1 Changes
September 19, 2018๐ Fixed
- ๐
Raxx.NotFound
was incorrectly building body forhandle_request
callback.
- ๐
-
v0.16.0 Changes
September 12, 2018โ Added
:maximum_body_length
options when usingRaxx.Server
so protect against bad clients.Raxx.set_content_length/3
to set the content length of a request or response.Raxx.get_content_length/2
to get the integer value for the content length of a message.- ๐ป
Raxx.set_attachment/2
helper to tell the browser the response should be stored on disk rather than displayed in the browser. Raxx.safe?/1
to check if request method marks it as safe.Raxx.idempotent?/1
to check if request method marks it as idempotent.Raxx.get_query/1
replacement forRaxx.fetch_query/1
because it never returns error case.
๐ Changed
- ๐ป
Raxx.set_body/2
will raise an exception for responses that cannot have a body. Raxx.set_body/2
automatically adds the "content-length" if it is able.- Requests and Responses now work with iodata.
Raxx.body
spec changed to include iodata.- Improved error message when using invalid iolist in a view.
Raxx.NotFound
works with iodata for temporary body during buffering.render
function generated byRaxx.View
sets body to iodata from view, without turning into a binary.
Raxx.set_header/2
now raises when setting connection specific headers.
โ Removed
- ๐ฆ
EEx.HTML
replaced byEExHTML
from theeex_html
hex package. Raxx.html_escape/1
replaced byEExHTML.escape_to_binary/1
.
๐ Fixed
- ๐
Raxx.HTTP1.parse_request/1
andRaxx.HTTP1.parse_response/1
handle more error cases.- response/request sent when request/response expected.
- multiple "host" headers in message.
- invalid "content-length" header.
- multiple "content-length" headers in message.
- invalid "connection" header.
- multiple "connection" headers in message.
-
v0.15.11 Changes
September 04, 2018โ Added
Raxx.View.javascript_variables/1
to safely inject values into the JavaScript of a template.
-
v0.15.10 Changes
September 03, 2018๐ Fixed
Raxx.HTTP1
to handle case insensitive connect headers.
-
v0.15.9 Changes
September 02, 2018โ Added
Raxx.View
to generate render functions fromeex
templates.Raxx.Layout
generate views from a reusable layout and set of helpers.EEx.HTML
,EEx.HTML.Safe
andEEx.HTMLEngine
. These are temporary additions, used to provide HTML escaping in view and layout modules. They will be moved toeex
or a new project before1.0
.