View Source Changelog
5-1-0-2023-02-22
5.1.0 (2023-02-22)
bug-fixes
Bug Fixes
5-0-0-2020-06-10
5.0.0 (2020-06-10)
bug-fixes-1
Bug Fixes
breaking-changes
BREAKING CHANGES
- neuron.connection.http: If your code expects the
response
field ofJSONParseError
to be a tuple, it will break.
4-1-2-2020-02-19
4.1.2 (2020-02-19)
bug-fixes-2
Bug Fixes
- warning: compile time warning (default arguments in handle/3 are never used) (75c151c)
4-1-1-2019-12-26
4.1.1 (2019-12-26)
bug-fixes-3
Bug Fixes
4-1-0-2019-11-21
4.1.0 (2019-11-21)
features
Features
- connection: Allow to inject custom connection module (f22287e)
4-0-0-2019-10-25
4.0.0 (2019-10-25)
bug-fixes-4
Bug Fixes
- connection: fix function signature for Neuron.Connection.post (82817e7)
- typespecs: Fix typespecs for Neuron.query/3 and Neuron.Store.set/3 (263fef4)
features-1
Features
- fragment: raise
Neuron.MissingFragmentsError
for queries with missing fragments (75ddf54)
breaking-changes-1
BREAKING CHANGES
- fragment: Queries with missing fragments will now raise
Neuron.MissingFragmentsError
instead of a regular exception.
Unreleased
- typespecs: Fix various type specs, specifically Neuron.query/2 can return a HTTPoison.Error.t().
3-0-1-2019-08-26
3.0.1 (2019-08-26)
bug-fixes-5
Bug Fixes
- deps: Make poison a test dependency (d75e10b)
3-0-0-2019-08-23
3.0.0 (2019-08-23)
features-2
Features
- json: Use Jason as default JSOn library (3b4e472)
breaking-changes-2
BREAKING CHANGES
- 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
2.0.0 (2019-06-26)
chore
chore
- deps: Update poison to 4.0, mock to 0.3.3 and coverex to 1.5 (600db92)
breaking-changes-3
BREAKING CHANGES
- Now requires elixir >= 1.6
1-2-0-2019-05-30
1.2.0 (2019-05-30)
features-3
Features
- fragment: recursively embed fragments (3807d89)
1-1-1-2019-03-14
1.1.1 (2019-03-14)
bug-fixes-6
Bug Fixes
- typespecs: Fix typespec for
Neuron.query/3
(e267f8c), closes #31
1-1-0-2018-12-25
1.1.0 (2018-12-25)
features-4
Features
- 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
1.0.0 (2018-10-15)
features-5
Features
breaking-changes-4
BREAKING CHANGES
mutation/1
andmutation/2
are deprecatedquery/2
is replaced byquery/3
to allow passing variables in
0-9-1-2018-09-21
0.9.1 (2018-09-21)
bug-fixes-7
Bug Fixes
- headers: Use
application/json
content type with :as_json (f369555)
0.9.0 (2018-09-08)
features-6
Features
0-8-0-2018-08-22
0.8.0 (2018-08-22)
features-7
Features
0-7-0-2018-07-01
0.7.0 (2018-07-01)
features-8
Features
0-6-0-2018-05-15
0.6.0 (2018-05-15)
features-9
Features
- connection: ability to set HTTPoison connection options (#12) (c940965)
0-5-1-2018-03-13
0.5.1 (2018-03-13)
docs
Docs
- docs(response): Adapt docs and tests to returning errors (495cf61)
0-5-0-2018-03-13
0.5.0 (2018-03-13)
breaking-change
BREAKING CHANGE
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
0.4.0 (2018-02-27)
features-10
Features
- deps: Upgrade httpoison to version 1.0 (7f65a61)
0-3-1-2017-09-05
0.3.1 (2017-09-05)
bug-fixes-8
Bug Fixes
- deps: Relax HTTPoison dependency version (405e748)
0-3-0-2017-09-05
0.3.0 (2017-09-05)
features-11
Features
- http: Make it possible to add custom headers (f54a9ff),
bug-fixes-9
Bug Fixes
- test: Update mock/meck to fix tests on elixir 1.5 (9768b69)
0-2-0-2017-05-28
0.2.0 (2017-05-28)
features-12
Features
0-1-1-2017-05-28
0.1.1 (2017-05-28)
bug-fixes-10
Bug Fixes
- logging: Remove unnecessary inspect (6ea9240)
0-1-0-2017-05-28
0.1.0 (2017-05-28)
features-13
Features
- neuron: interact with GraphQL endpoints ( version)