Skip to content

v4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@HofmannZ HofmannZ released this 07 Oct 00:05
· 657 commits to main since this release

4.0.0-beta.1 (2020-10-07)

Bug Fixes

  • examples: ignore missing token (ffd3294)
  • query test (f54c6ae)
  • ci: loosen path version (645d462)
  • client: gql_http_link==0.3.2 for custom toJsons closing #734 (98b8cf7)
  • client: mutation not firing observer callbacks (75393c2)
  • client: only queries are refetch safe (1e93376)
  • docs: typo in docstring, add todo to sanitizeVariables (9c84cb1)
  • examples: cleanup bloc example (82724f0)
  • examples: flutter bloc pubspec (61582b3)
  • examples: starwars example cache (22db4f7)
  • examples: starwars example works again (7514b93)
  • examples: update ios files for graphql_flutter/example (5b6e3d0)
  • graphql: default-yet-overrideable variable (6ba687e)
  • graphql: don't close mutations after callbacks (2ba6c74)
  • graphql: dumb ?? documentNode bug (ba7b641)
  • graphql: fix rebroadcasting by refactoring onData callbacks into a simpler async function (9a5fff1)
  • graphql: keep deprecated QueryResult api and mark it as such (2b447a0)
  • graphql: sanitize multipart files for cache (4ceb800)
  • graphql: simplified AuthLink (0b3fbd9)
  • tests: update tests (bba4a7a)

Features

  • cache now flags itself for broadcasting (84cba43)
  • client.fetchMore utility for leveraging the fetch more logic results without using ObservableQuery (814ccb3)
  • documentNode -> document, dependency issues, reexport links from client (for now), retrieve subscription changes from #533 (4fb205c)
  • graphql_flutter: add ResultAccumulator, fix Subscription (7e1edee)
  • drop Link layer in favor of package:gql_link and package:gql_exec (2e491a7)
  • client: cache proxy methods on cache, resetStore with optional refetchQueries (ba7134a)
  • client: expose store, cleanup (6fc5e7e)
  • client: refetchSafeQueries, clarify rebroadcast calls in docs (e45b240)
  • docs: v4 changelog (38cfd9b)
  • examples: reorg graphql example so pub displays code (bc32bdd)
  • examples: starwars hivestore usage (2f874ec)
  • graphql: add isMutation etc helpers to Options types (04e7888)
  • graphql: complete caching overhaul (e9b5660)
  • graphql: HiveStore api improvements, fetchmore fixes (2d1a7f2)
  • graphql: HiveStore.open (6db4677)
  • graphql: multipart file support (c2733ca)
  • graphql: re-add documentNode asdeprecated (20d0176)
  • graphql: Robust ObservableQuery docs (1e893b5)
  • graphql: update old websocket_link (496d994)
  • graphql: use new cache correctly everywhere else (f64a6c8)
  • HiveStore (2c3c66c)
  • more work on gql links (0d7ef7a)
  • move to DocumentNode-only documents (7499323)
  • starting on gql links (d9452bc)
  • graphql: work on making subscriptions more of a first-class citizen (6d0b045)
  • graphql_flutter: initHiveForFlutter (1118cc7)
  • graphql_flutter: work on making subscriptions more of a first-class citizen (a0e0d5c)
  • tests: test subscriptions (2a3e6a1)

BREAKING CHANGES

  • the deprecated string documents are no longer supported
  • Link layer is now implemented via package:gql_link and package:gql_exec