Skip to content

Releases: tank-bohr/bookish_spork

Rethink interface

12 Jan 21:14
Compare
Choose a tag to compare

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

08 Jan 13:33
Compare
Choose a tag to compare
  • Introduce bookish_spork:stub_multi/2. See #35 for more details
  • Some internal refactoring. See #34 for more details

response list syntax support

20 Nov 19:52
Compare
Choose a tag to compare
  • Response list syntax support (see #32)

v0.2.5

27 Sep 13:12
Compare
Choose a tag to compare

Fix evaluating rebar config script error #24

Keepalive support

26 Sep 20:52
Compare
Choose a tag to compare

Added

  • Keepalive support

Breaking

bookish_spork:stub_request returns ok instead of {ok, Pid}

Test autopublish

11 Aug 14:00
Compare
Choose a tag to compare
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

11 Aug 08:20
Compare
Choose a tag to compare

It's an empty release just to check automatic ci hex.pm publishing mechanism

Documentation enhancements

10 Aug 21:04
Compare
Choose a tag to compare
  • It's an empty release just to check automatic ci hex.pm publishing mechanism
  • Some minor documentation enhancements

v0.2.0 (2018-08-08)

09 Aug 14:58
Compare
Choose a tag to compare

Added

  • bookish_spork:stub_request/1 with a fun for dynamic responses (#16)

Internal

  • Refactoring to increase the test coverage

v0.1.1

08 Aug 18:07
Compare
Choose a tag to compare

BREAKING CHANGES

  • Change the default port to safe 32002 due to the old one clashed with the postgres default port (#5)