Releases: tank-bohr/bookish_spork
Releases · tank-bohr/bookish_spork
Rethink interface
BREAKING CHANGES
Dropped functions
bookish_spork:stub_request/3
bookish_spork:stub_multi/2
And
bookish_spork:stub_request/2
had been changed semantics (now it works like stub_multi
)
Migration instructions
bookish_spork:stub_request(Status, Headers, Body)
should be changed to
bookish_spork:stub_request([Status, Headers, Body])
bookish_spork:stub_request(Status, Headers)
should be changed to
bookish_spork:stub_request([Status, Headers, <<>>])
bookish_spork:stub_request(Status, Body)
should be changed to
bookish_spork:stub_request([Status, #{}, Body])
bookish_spork:stub_multi(Response, Times)
should be changed to
bookish_spork:stub_request(Response, Times)
Introduce stub_multi
response list syntax support
- Response list syntax support (see #32)
v0.2.5
Keepalive support
Added
- Keepalive support
Breaking
bookish_spork:stub_request
returns ok
instead of {ok, Pid}
Test autopublish
Moves rebar3_hex setup from rebar.config to separate script Due to rebar3_hex does not support config from rebar.config
Test auto-publish to hex.pm
It's an empty release just to check automatic ci hex.pm publishing mechanism
Documentation enhancements
- It's an empty release just to check automatic ci hex.pm publishing mechanism
- Some minor documentation enhancements
v0.2.0 (2018-08-08)
Added
bookish_spork:stub_request/1
with a fun for dynamic responses (#16)
Internal
- Refactoring to increase the test coverage