File: UPGRADING.md

package info (click to toggle)
ruby-graphlient 0.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,648 kB
  • sloc: ruby: 1,288; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 827 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Upgrading Graphlient
===========================

### Upgrading to >= 0.4.0

#### Requires Faraday >= 1.0

See [#75](https://github.com/ashkan18/graphlient/pull/75).

#### Changes in error handling of connection refused error

When the GraphQL request was failing, we were receiving a `Faraday::ServerError`. After 0.4.0, Graphlient
will return `Graphlient::Errors::FaradayServerError` instead.

### Upgrading to >= 0.3.7

#### Changes in error handling of connection refused error

Prior to 0.3.7, Graphlient would return `NoMethodError: undefined method []' for nil:NilClass` error if connection is
refused/failed when connecting to a remote host. After 0.3.7, Graphlient will return a new 
`Graphlient::Errors::ConnectionFailedError` instead.

See [#68](https://github.com/ashkan18/graphlient/pull/68) for more information.