View Source Changelog

5-1-0-2023-02-22

5.1.0 (2023-02-22)

bug-fixes

Bug Fixes

  • ci(github): bump deps and switch to github actions (#72) (c56bc74), closes #72

5-0-0-2020-06-10

5.0.0 (2020-06-10)

bug-fixes-1

Bug Fixes

  • neuron.connection.http: fix error case so return value matches typespec (#60) (b96d871), closes #59

breaking-changes

BREAKING CHANGES

  • neuron.connection.http: If your code expects the response field of JSONParseError 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

  • fragments: remove duplicate fragments when inserting them into the query (d3a5c3d), closes #56

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

breaking-changes-1

BREAKING CHANGES

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

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

  • query: Allow passing variables (ff82f0a), closes #25

breaking-changes-4

BREAKING CHANGES

  • mutation/1 and mutation/2 are deprecated
  • query/2 is replaced by query/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

  • options: Allow to override options per request (6ba4b39), closes #18

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

  • fragments: Allow to register fragments to fill queries automatically (5593fc6), closes #1

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 alongside data (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

  • config: Allow to set url globally or for current process (3843326), closes #2

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)