2.3.3 (2025-09-22)
- Code janitoring to be compliant with elixir 1.18
2.3.2 (2023-08-04)
- Corrected the declaration of routes with plug when conditionaly removing declared resource.
(eg. Surrounding a
resourcewith an if.)
2.3.1 (2021-12-17)
Ewebmachine.Plug.Send.callnow threads theconnstruct to keep the updates instead of reusing the original one.Ewebmachine.Builder.Handles.add.add_handlers/2: internal changes to satisfy dialyzer.
- Code janitoring wrt elixir versions: supports 1.3 - 1.6
- Validated against Cowboy 1 & 2
- Fix
- Compilation with Plulg > 1.5 (#38)
- Feature: allow to name resources modules
- Bug fixes
- make it compatible with elixir 1.4 without warnings
- fix related regression
- Bug fixes
- Plug version spec and plug update to 1.0
- Bug fixes
accept_helperis used in non terminal decision, so halt conn in case of 415 (else in some case, 415 became 200)
- Bug fixes
- All headers must be lower case to respect Plug.conn convention, updated tests
- add PATCH to default known methods, currently no other support, so to use PATCH
- set Accept-Patch in
optionwith accepted media types, - set handler for these types in
content-types-accepted - implement
resources_existsto convertPATCHmethod toPUTif the resource exists
- set Accept-Patch in
- Bug fixes
- Debug call log size were O(n^2), make it O(n) removing
conn.privatefrom the log
- Debug call log size were O(n^2), make it O(n) removing
-
Enhancements
{:halt,code}works in more cases because it nowthrowstheconnto break the decision flow.- Make it possible to use
Ewebmachine.Plug.Debugnot at the routing root, with relative assets. Thanks to @yrashk. - Make it possible to use a fuzzy
content_types_acceptedmedia type. Thanks again to @yrashk. - little changes to allow to chain ewebmachine handler definitions and run
- 2 nice plugs to handle errors after a run :
ErrorAsExceptionandErrorAsForward - A macro to set common plug pipeline use cases :
resources_plugs - Change Logging from a simple Agent to ETS
- add this CHANGELOG
-
Bug fixes
- Bug in create path relative handling, use Conn.full_path to use the
script_nameand thepath_info
- Bug in create path relative handling, use Conn.full_path to use the
- Bug fixes
- Avoid module name collision with resource module function changing the naming scheme.
- Bug fixes
Ewebmachine.Plug.Runshould run only if the:machine_initoption has been set.
- Enhancements
- Add
:default_plugsoption toEwebmachine.Builder.Resources.
- Add
- Bug fixes
- Makes
{:halt,code}management works correctly, add test.
- Makes
- Bug fixes
- Makes
{:halt,code}management works correctly.
- Makes