graphql 3.0.1 graphql: ^3.0.1 copied to clipboard
A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.
3.0.1 (2020-04-20) #
Bug Fixes #
- style: use curly braces (42f4da4)
3.0.0 (2020-01-13) #
Bug Fixes #
- cache: add value == and hashCode to lazy cache map, fix traversal (617dde7)
- cache: AppLifecycleState.{suspending -> detached} (8bc7b14)
- ci: attempt to fix ci (4fac2e4)
- client: default toEncodable (5f938e4)
- client: export operation and fetch results (5dcbae5)
- client: make fetchMore valid with default original document again (faa3779)
- client: organize exports alphabetically (a322339)
- client: patch fetchMore to write to cache (9cb7474)
- client: use http 0.12.0+4 to fix a wrong content-type header on multipart request on http 0.12.0+3 (ea8822c), closes #525
- client: use noCache for fetchMore, avoiding normalization (da20541)
- docs: remove moved onComplete (31a0d2f)
- switch test to AST from document string (894dc53)
- docs: use ast for examples (d68616e)
- add eager result to stream, rebuild query widget on var change (af89b19)
- bump gql dependency (b55a891)
- don't set default policies on options so defaults are applied (fd95e37)
- exception test cases (001cb48)
- fix issues so example runs on latest stable (87d8feb)
- ignore
*.iml
and.idea
(361fdff) - ignore linting errors from the core (0612d44)
- ignore uri doesn't exist lint error (e14349d)
- individually suppress "deprecated_member_use_from_same_package" only (3879f18)
- individually suppress "deprecated_member_use_from_same_package" only (9216976)
- pass queryId directly instead of ObservableQuery object (405ae24)
- remove analysis_options.yaml as its ineffective (0a8d05d)
- remove equatable package (0c32b14)
- remove equitable package and update tests (dbe4db5)
- subscriptions reconnect (fd8f3d1)
- subscriptions reconnect (c310db2)
- suppress fix: individually suppress "deprecated_member_use_from_same_package" only (511630f)
- temporary disable assertion which is failing (3cf7333)
- update .gitignore with standard flutter paths (892fe36)
- graphql-flutter: replace document string with AST Document (23e40af)
- update starwars example (8aaa99b)
- example: depend on updated angel server, add paging example (609c4ec)
- flutter: prevent observable discarding in
MutationState.didChangeDependencies
(baeca25) - flutter: return callback results in case of futures to await (c7d6fd1)
- graphql-flutter: ignore ast errors in the core (3b16f3f)
- packaging: update rxdart and sdk min versions (1980f22), closes #497
- tests: clobbered tests from library-level exceptions (f76e165)
- tests: fix failing tests seemingly to to ast-switch (664fdd1)
- use AST for graphql client example (edf7df6)
- use case else instead of detached or suspended (9fb5aab)
Features #
- client: add error link (de9714a), closes #419 #440
- client: cache.reset() added (8c4f2e2)
- client: introduce Policies class for options and add defaults to client (fa24aab)
- client: library-level exception handling (20e57bd)
- client: library-level exceptions (8976cfc)
- client: support defining operations from document AST (fa2db11)
- client: support joining multiple links at once (9565244)
- attempt to call mutation callbacks from mutation method (e323a4d)
- better message on UnhandledFailure (eccab11)
- document exception handling (b38e2a3)
- flutter: add mutation callback for onError (1ff0b8f)
- graphql-client: re-export parseString as gql (dcd5508)
- update examples to gql instead of parse string (7b9ac57)
- updating example (1a1bc43)
- use equatable package to make it easier to compare links (a7ed072)
BREAKING CHANGES #
- packaging: projects dependent on old sdk/rxdart versions wouldn't build, there is a way to override rxdart dependency with dependency_override (we don't use Observable features in these places, so it should be compatible with older version) there is no way to override min sdk version outside of a project
- client: replaces result.errors with result.exception
3.0.0-beta.3 (2020-01-09) #
Bug Fixes #
- client: use http 0.12.0+4 to fix a wrong content-type header on multipart request on http 0.12.0+3 (ea8822c), closes #525
3.0.0-beta.2 (2020-01-08) #
Bug Fixes #
BREAKING CHANGES #
- packaging: projects dependent on old sdk/rxdart versions wouldn't build, there is a way to override rxdart dependency with dependency_override (we don't use Observable features in these places, so it should be compatible with older version) there is no way to override min sdk version outside of a project
3.0.0-beta.1 (2019-12-22) #
Bug Fixes #
- cache: add value == and hashCode to lazy cache map, fix traversal (617dde7)
- cache: AppLifecycleState.{suspending -> detached} (8bc7b14)
- ci: attempt to fix ci (4fac2e4)
- client: default toEncodable (5f938e4)
- client: export operation and fetch results (5dcbae5)
- client: make fetchMore valid with default original document again (faa3779)
- client: organize exports alphabetically (a322339)
- client: patch fetchMore to write to cache (9cb7474)
- client: use noCache for fetchMore, avoiding normalization (da20541)
- docs: remove moved onComplete (31a0d2f)
- docs: use ast for examples (d68616e)
- example: depend on updated angel server, add paging example (609c4ec)
- flutter: prevent observable discarding in
MutationState.didChangeDependencies
(baeca25) - flutter: return callback results in case of futures to await (c7d6fd1)
- pass queryId directly instead of ObservableQuery object (405ae24)
- graphql-flutter: ignore ast errors in the core (3b16f3f)
- add eager result to stream, rebuild query widget on var change (af89b19)
- bump gql dependency (b55a891)
- don't set default policies on options so defaults are applied (fd95e37)
- exception test cases (001cb48)
- fix issues so example runs on latest stable (87d8feb)
- ignore
*.iml
and.idea
(361fdff) - ignore linting errors from the core (0612d44)
- ignore uri doesn't exist lint error (e14349d)
- individually suppress "deprecated_member_use_from_same_package" only (3879f18)
- individually suppress "deprecated_member_use_from_same_package" only (9216976)
- remove analysis_options.yaml as its ineffective (0a8d05d)
- remove equatable package (0c32b14)
- remove equitable package and update tests (dbe4db5)
- subscriptions reconnect (c310db2)
- subscriptions reconnect (fd8f3d1)
- suppress fix: individually suppress "deprecated_member_use_from_same_package" only (511630f)
- switch test to AST from document string (894dc53)
- temporary disable assertion which is failing (3cf7333)
- update .gitignore with standard flutter paths (892fe36)
- update starwars example (8aaa99b)
- use AST for graphql client example (edf7df6)
- graphql-flutter: replace document string with AST Document (23e40af)
- tests: clobbered tests from library-level exceptions (f76e165)
- tests: fix failing tests seemingly to to ast-switch (664fdd1)
- use case else instead of detached or suspended (9fb5aab)
Features #
- client: add error link (de9714a), closes #419 #440
- client: cache.reset() added (8c4f2e2)
- client: introduce Policies class for options and add defaults to client (fa24aab)
- client: library-level exception handling (20e57bd)
- client: library-level exceptions (8976cfc)
- client: support defining operations from document AST (fa2db11)
- client: support joining multiple links at once (9565244)
- attempt to call mutation callbacks from mutation method (e323a4d)
- better message on UnhandledFailure (eccab11)
- document exception handling (b38e2a3)
- flutter: add mutation callback for onError (1ff0b8f)
- graphql-client: re-export parseString as gql (dcd5508)
- update examples to gql instead of parse string (7b9ac57)
- updating example (1a1bc43)
- use equatable package to make it easier to compare links (a7ed072)
BREAKING CHANGES #
- client: replaces result.errors with result.exception
See GitHub Releases.
-
Loosened
initPayload
todynamic
to support many use-cases, RemovedInitOperation
's excessive and inconsistent json encoding. Old implmentation can still be utilized aslegacyInitPayload
until deprecation -
Fixed broken anonymous operations