All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Extract the DSL as an optional convenience layer and introduce
WebPipe::Pipe
as top abstraction. #47 - Be able to plug anything responding to
#to_proc
. #47 - Be able to use anything responding to
#to_middlewares
. #47
:not_found
extension #46
- BREAKING. Switch
dry_view
extension withhanami_view
. #45
- Update rake to fix security alert
- BREAKING. Ruby 2.4 deprecated.
- Ruby 2.7 supported.
- Ruby 2.7 argument warnings. [#38]
- BREAKING.
dry-transformer
(formertransproc
) dependency is now optional. [#37] - Switch
transproc
dependency todry-transformer
. [#37]
:rails
extension integrating with Ruby On Rails. [#36]
- Comprehensive documentation. [#35]
- BREAKING. Rename
Rack
module toRackSupport
. [#34]
-
BREAKING.
Conn#config
instead ofConn#bag
for extension configuration. [#29] -
BREAKING.
:params
extension extracted from:url
extension. [#30] -
BREAKING. Router params are extracted as a param transformation. [#30]
-
BREAKING. Plugs now respond to
.call
instead of.[]
. [#31] -
BREAKING.
:dry-schema
extension has not a default handler. [#32] -
BREAKING.
:dry-schema
extension stores output in#config
. [#32] -
Integration with
transproc
gem to provide any number of params transformations. [#30] -
:dry-schema
extension automatically loads:params
extension. [#32]
- Fixed support for ruby 2.4. [#28]
-
BREAKING. Rename
put
methods asadd
. [#26] -
BREAKING. Rename taint to halt, and clean/dirty to ongoing/halted. [#25]
-
BREAKING. URL redundant methods need to be loaded from
:url
extension. [#24] -
Merge router params with GET and POST params. [#23]
-
Extension integrating rack session. [#21]
-
Extension to easily create HTTP redirects. [#19]
-
Added
Conn#set_response_headers
method. [#27]
-
BREAKING.
container
is now an extension. [#16] -
Extension providing Integration with
dry-schema
. [#18] -
No need to manually call
#to_proc
when composing plugs. [#13] -
Extension adding flash functionality to conn. [#15]
-
Extensions automatically require their associated plugs, so there is no need to require them manually anymore. [#17]
- Fixed bug not allowing middlewares to modify responses initially set with default values. [#14]
-
BREAKING. Middlewares have to be named when used. [#11]
-
BREAKING. Middlewares have to be initialized when composed. [#11]
-
BREAKING. The array of injected plugs is now scoped within a
plugs:
kwarg. [#11] -
Middlewares can be injected. [#11]
-
DSL helper method
compose
to add middlewares and plugs in order and in a single shot- [#12]
-
BREAKING. When plugging with
plug:
, the operation is no longer specified throughwith:
. Now it is just the second positional argument- [#9] -
It is possible to plug a block- [#9]
-
WebPipe plug's can be composed. A WebPipe proc representation is the composition of all its operations, which is an operation itself- [#9]
-
WebPipe's middlewares can be composed into another WebPipe class- [#10]
-
Plug to set
Content-Type
response header- [#7]
- Fix key interpolation in
KeyNotFoundInBagError
- [#8]
- Initial release.