5.0.0 (2020-06-10)
- neuron.connection.http: If your code expects the
response
field ofJSONParseError
to be a tuple, it will break.
4.1.2 (2020-02-19)
- warning: compile time warning (default arguments in handle/3 are never used) (75c151c)
4.1.1 (2019-12-26)
4.1.0 (2019-11-21)
- connection: Allow to inject custom connection module (f22287e)
4.0.0 (2019-10-25)
- connection: fix function signature for Neuron.Connection.post (82817e7)
- typespecs: Fix typespecs for Neuron.query/3 and Neuron.Store.set/3 (263fef4)
- fragment: raise
Neuron.MissingFragmentsError
for queries with missing fragments (75ddf54)
- fragment: Queries with missing fragments will now raise
Neuron.MissingFragmentsError
instead of a regular exception.
- typespecs: Fix various type specs, specifically Neuron.query/2 can return a HTTPoison.Error.t().
3.0.1 (2019-08-26)
- deps: Make poison a test dependency (d75e10b)
3.0.0 (2019-08-23)
- json: Use Jason as default JSOn library (3b4e472)
- json: JSON parsing library is now Jason.
In order to keep using Poison
you'll need to manually add it as a dependency and configure neuron to
use it by running
Neuron.Config.set(json_library: AnotherJSONLibrary)
.
2.0.0 (2019-06-26)
- deps: Update poison to 4.0, mock to 0.3.3 and coverex to 1.5 (600db92)
- Now requires elixir >= 1.6
1.2.0 (2019-05-30)
- fragment: recursively embed fragments (3807d89)
1.1.1 (2019-03-14)
1.1.0 (2018-12-25)
- decode: Add support for passing options to the json decoder (#29) (f8425ac)
- options: Allow to override connection options per request (#30) (30d99e5)
- response: return a meaningful error when response is not JSON (#27) (32004b2)
1.0.0 (2018-10-15)
mutation/1
andmutation/2
are deprecatedquery/2
is replaced byquery/3
to allow passing variables in
0.9.1 (2018-09-21)
- headers: Use
application/json
content type with :as_json (f369555)
0.9.0 (2018-09-08)
0.8.0 (2018-08-22)
0.7.0 (2018-07-01)
0.6.0 (2018-05-15)
- connection: ability to set HTTPoison connection options (#12) (c940965)
0.5.1 (2018-03-13)
- docs(response): Adapt docs and tests to returning errors (495cf61)
0.5.0 (2018-03-13)
Now the value of response.body will be %{ data: ..., errors: ... } instead of %{ ... } (only returning data).
- fix(response): return
errors
alongsidedata
(ce2534e)
0.4.0 (2018-02-27)
- deps: Upgrade httpoison to version 1.0 (7f65a61)
0.3.1 (2017-09-05)
- deps: Relax HTTPoison dependency version (405e748)
0.3.0 (2017-09-05)
- http: Make it possible to add custom headers (f54a9ff),
- test: Update mock/meck to fix tests on elixir 1.5 (9768b69)
0.2.0 (2017-05-28)
0.1.1 (2017-05-28)
- logging: Remove unnecessary inspect (6ea9240)
0.1.0 (2017-05-28)
- neuron: interact with GraphQL endpoints ( version)