ferry 0.16.0-dev.5 copy "ferry: ^0.16.0-dev.5" to clipboard
ferry: ^0.16.0-dev.5 copied to clipboard

Ferry is a simple, powerful GraphQL Client for Flutter and Dart.

0.16.0-dev.5 #

  • REFACTOR(ferry): Use const to list.

0.16.0-dev.4 #

Note: This release has breaking changes.

  • BREAKING CHORE(deps): upgrade rxdart to v0.28.0 (#612).

0.16.0-dev.3 #

Note: This release has breaking changes.

  • BREAKING FEAT(ferry_generator): update to gql_code_builders 0.12.0. this extracted the common serializers to a separate package. clients need to add gql_code_builder_serializers to their dependencies if they use ferry_generator. (#601).

0.16.0-dev.2 #

  • FEAT(ferry): make commandSendPort public so it can be shared between isolates (#587).

0.16.0-dev.1 #

  • Update a dependency to the latest release.

0.16.0-dev.0+2 #

  • Update a dependency to the latest release.

0.16.0+1 #

  • Update a dependency to the latest release.

0.16.0 #

  • FEAT: pass context to gql links.

0.15.0-dev.7 #

  • DOCS: add topics (#548).

0.15.0-dev.6 #

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).
  • DOCS: add topics (#548).

0.15.0-dev.5 #

Note: This release has breaking changes.

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).
  • DOCS: add topics (#548).
  • BREAKING FEAT(ferry_exec): remove usage of dynamic in cache and AddTypeNameTypedLink by adding new methods to operationrequest (#547).

0.15.0-dev.4 #

Note: This release has breaking changes.

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).
  • DOCS: add topics (#548).
  • BREAKING FEAT(ferry_exec): remove usage of dynamic in cache and AddTypeNameTypedLink by adding new methods to operationrequest (#547).

0.15.0-dev.3 #

Note: This release has breaking changes.

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).
  • DOCS: add topics (#548).
  • BREAKING FEAT(ferry_exec): remove usage of dynamic in cache and AddTypeNameTypedLink by adding new methods to operationrequest (#547).

0.15.0-dev.2 #

Note: This release has breaking changes.

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).
  • DOCS: add topics (#548).
  • BREAKING FEAT(ferry_exec): remove usage of dynamic in cache and AddTypeNameTypedLink by adding new methods to operationrequest (#547).

0.15.0-dev.1 #

  • Update a dependency to the latest release.

0.15.0-dev.0+2 #

  • DOCS: add topics (#548).

0.15.0+1 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.15.0-dev.0+1 #

  • Update a dependency to the latest release.

0.15.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.15.0-dev.6 #

  • FIX(ferry): Fix problem with operationRequest generated on initial request being included in response each time. (#545).

0.15.0-dev.5 #

Note: This release has breaking changes.

  • BREAKING FEAT(ferry_exec): remove usage of dynamic in cache and AddTypeNameTypedLink by adding new methods to operationrequest (#547).

0.15.0-dev.4 #

  • Update a dependency to the latest release.

0.15.0-dev.3 #

  • Update a dependency to the latest release.

0.15.0-dev.2 #

  • Update a dependency to the latest release.

0.15.0-dev.1 #

Note: This release has breaking changes.

  • DOCS: cleanup buggy autogenerated CHANGELOG from melos (#523).
  • BREAKING REFACTOR(normalize): Add const constructors to FieldPolicy and TypePolicy ( #526).

0.15.0-dev.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR(normalize): Add const constructors to FieldPolicy and TypePolicy ( #526).

0.14.2+1 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.14.2-dev.0+1 #

  • DOCS: cleanup buggy autogenerated CHANGELOG from melos (#523).

0.14.2 #

  • support version 1.0.0 of gql, gql_exec, gql_link.

0.14.0-dev.9 #

Note: This release has breaking changes.

  • REFACTOR(ferry): FetchPolicyTypedLink.request() to avoid pending timers in tests (#427).
  • REFACTOR(ferry): use scheduleMicrostask instead of Future.delayed in order to no have pending timers in widget tests.
  • FIX(normalize): When there are dangling references in child objects of a list, by default do not treat the whole entity as partial data, but remove it from the list. This can be configured using the allowDanglingReference parameter.
  • FIX(ferry): Re-use the same stream for multiple requests when possible (#487).
  • FIX(ferry): add stacktrace to error handler in GqlTypedLink (#467).
  • FIX(ferry): send error to main isolate when data message could not be serialized (#455).
  • FIX(ferry_cache): ensure emitting only one update per updated data ID in cache in watchQuery/watchFragment (#416).
  • FIX(ferry): remove broken isolateSpawn functionality, FlutterIsolate does not support passing functions (#413).
  • FIX: pin normalize 0.6.0.
  • FIX(ferry): call cache handlers for every response from DataSource.Link.
  • FIX(ferry): add dispose method to TypedLinks (#272).
  • FEAT: support stable 1.0.0 versions of depenencies gql, gql_exec, gql_link (#521).
  • FEAT(ferry_generator): when/maybeWhen extensions (#470).
  • FEAT(ferry): add watchQuery, watchFragment, clearOptimisticPatches to IsolateClient (#460).
  • FEAT(ferry): improve isolate error handling (#448).
  • FEAT(ferry): verify that updateResult function can be sent to the other isolate in debug mode using asserts and provide a better error message if updatgeResult cannot be serialized (#425).
  • FEAT(ferry): refactor isolateCommands, add addRequestToRequestController method (#422).
  • FEAT(ferry): add removeOptimisticResponse to isolate client (#412).
  • FEAT(ferry): add IsolateClient (#405).
  • FEAT: generate possibleTypesMap in ferry_generator (#371).
  • FEAT: add Reviews subscription to test graphql.
  • DOCS(ferry): add basic documentation for field policy (#494).
  • DOCS(ferry): fix typo in CHANGELOG (#384).
  • DOCS: remove stale code (#271).
  • BREAKING FIX(ferry): remove optimistic patch when listener unsubscribes before link responds with data instead of leaking optimistic patch forever (#466).
  • BREAKING FIX(ferry_generator): properly generate nullable types for nullable elements in Lists (#445).
  • BREAKING CHORE: update gql_code_builder, gql_exec and vestigial analyzer pubspec entry.

0.14.0-dev.1 #

  • FIX: When there are dangling references in child objects of a list, by default do not treat the whole entity as partial data, but remove it from the list. This can be configured using the allowDanglingReference parameter.

0.14.0-dev.0+2 #

  • DOCS: add basic documentation for field policy (#494).

0.14.0+1 #

  • Update a dependency to the latest release.

0.14.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.14.0-dev.5 #

  • FIX: Re-use the same stream for multiple requests when possible (#487).

0.14.0-dev.4 #

  • Update a dependency to the latest release.

0.14.0-dev.3 #

  • Update a dependency to the latest release.

0.14.0-dev.2 #

  • FIX: add stacktrace to error handler in GqlTypedLink (#467).
  • FEAT: when/maybeWhen extensions (#470).

0.14.0-dev.1 #

Note: This release has breaking changes.

  • BREAKING FIX: remove optimistic patch when listener unsubscribes before link responds with data instead of leaking optimistic patch forever (#466).

0.13.1-dev.1 #

  • FEAT: add watchQuery, watchFragment, clearOptimisticPatches to IsolateClient (#460).

0.13.1 #

  • FIX: send error to main isolate when data message could not be serialized (#455).
  • FEAT: add watchQuery, watchFragment, clearOptimisticPatches to IsolateClient (#460).

0.13.0-dev.1 #

  • FEAT: add watchQuery, watchFragment, clearOptimisticPatches to IsolateClient (#460).

0.13.0-dev.0+1 #

  • FIX: send error to main isolate when data message could not be serialized (#455).

0.13.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.13.0-dev.1 #

  • FEAT: improve isolate error handling (#448).

0.13.0-dev.0 #

Note: This release has breaking changes.

  • BREAKING FIX: properly generate nullable types for nullable elements in Lists (#445).

0.12.0 #

Note: This release has breaking changes.

  • BREAKING FIX: properly generate nullable types for nullable elements in Lists.

0.11.3-dev.0+1 #

  • Update a dependency to the latest release.

0.11.2-dev.0+2 #

  • REFACTOR: FetchPolicyTypedLink.request() to avoid pending timers in tests (#427).

0.11.2 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
  • Add IsolateClient for running queries in a separete Isolate. For details click here

0.11.2-dev.4 #

  • FEAT: verify that updateResult function can be sent to the other isolate in debug mode using asserts and provide a better error message if updatgeResult cannot be serialized (#425).

0.11.2-dev.3 #

  • REFACTOR: use scheduleMicrostask instead of Future.delayed in order to no have pending timers in widget tests.

0.11.2-dev.2 #

  • FEAT: refactor isolateCommands, add addRequestToRequestController method (#422).

0.11.2-dev.1 #

  • FIX: ensure emitting only one update per updated data ID in cache in watchQuery/watchFragment (#416).

0.11.2-dev.0 #

  • REFACTOR: use a generic type parameter for the init params instead of a Map<String,dynamic>.
  • REFACTOR: refactore handleCommand.
  • REFACTOR: refactore handleCommand.
  • REFACTOR: cleanup request response communication.
  • FIX: remove broken isolateSpawn functionality, FlutterIsolate does not support passing functions (#413).
  • FEAT: add removeOptimisticResponse to isolate client (#412).
  • FEAT: add IsolateClient (#405).
  • FEAT: refactor single response commands.
  • FEAT: more IsolateClient features.
  • FEAT: refactor IsolateClient, add more commands.
  • FEAT: add more methods to IsolateClient.
  • FEAT: add IsolateClient.
  • DOCS: add example for token refresh over isolate.

0.11.1 #

  • REFACTOR: use a generic type parameter for the init params instead of a Map<String,dynamic>.
  • REFACTOR: refactore handleCommand.
  • REFACTOR: refactore handleCommand.
  • REFACTOR: cleanup request response communication.
  • FEAT: refactor single response commands.
  • FEAT: more IsolateClient features.
  • FEAT: refactor IsolateClient, add more commands.
  • FEAT: add more methods to IsolateClient.
  • FEAT: add IsolateClient.
  • DOCS: add example for token refresh over isolate.
  • DOCS: fix typo in CHANGELOG (#384).

0.11.0+1 #

  • Update a dependency to the latest release.

0.11.0 #

  • BREAKING: require possibleTypesMap (generated by ferry_generator in your schema.gql.dart file) in the constructor of the Cache when fragments, interfaces or unions are involved

0.10.5 #

Note: This release has breaking changes.

  • FIX: pin normalize 0.6.0.
  • FIX: call cache handlers for every response from DataSource.Link.
  • FIX: add dispose method to TypedLinks (#272).
  • FEAT: generate possibleTypesMap in ferry_generator (#371).
  • FEAT: add Reviews subscription to test graphql.
  • DOCS: remove stale code (#271).
  • BREAKING CHORE: update gql_code_builder, gql_exec and vestigial analyzer pubspec entry.

0.10.5-dev.3 #

Note: This release has breaking changes.

  • BREAKING CHORE: update gql_code_builder, gql_exec and vestigial analyzer pubspec entry.

0.10.5-dev.2 #

  • TEST: add back test.
  • FIX: call cache handlers for every response from DataSource.Link.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.10.5-dev.1 #

  • FIX: add dispose method to TypedLinks (#272).
  • FEAT: add Reviews subscription to test graphql.
  • DOCS: remove stale code (#271).
  • CHORE: publish packages.
  • CHORE: publish packages.
  • CHORE: restructure repo (#269).

0.10.4-dev.8 #

  • DOCS: remove stale code (#271).

0.10.4-dev.7 #

  • FIX: add dispose method to TypedLinks (#272).

0.10.4-dev.6 #

  • FIX: add missing dependencies (#268).

0.10.4-dev.5 #

  • FIX: add missing dependencies (#267).

0.10.4-dev.4 #

  • FIX: add missing override annotations (#261).

0.10.4-dev.3 #

  • FEAT: add github action for validating formatting (#260).

0.10.4-dev.2 #

  • FEAT: add extensions to response (#259).

0.10.4-dev.1 #

Note: This release has breaking changes.

  • BREAKING FEAT: build generated files to generated subdirectory.

0.10.4-dev.0+1 #

  • FIX: move pedantic to dependency (#257).

0.10.4 #

  • FEAT: update dependences.
  • FEAT: update dependences.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.10.3 #

  • FEAT: update dependences.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.10.2+2 #

  • Update a dependency to the latest release.

0.10.2+1 #

  • FIX: resolve static analysis issues.
  • FIX: resolve static analysis issues.
  • CHORE: publish packages.
  • CHORE: publish packages.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.10.2 #

  • FIX: resolve static analysis issues.
  • FEAT: migrate to null safety.
  • FEAT: migrate to null safety.
  • CHORE: publish packages.
  • CHORE: publish packages.

0.10.1 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.10.1-0.1.nullsafety.1 #

  • FIX: update build_runner.

0.10.1-0.1.nullsafety.0 #

  • FEAT: migrate to null safety.
  • CHORE: bump versions to match melos style.
  • CHORE: publish packages.
  • CHORE: prepare changelogs for melos.

0.10.0-1.0.nullsafety.0 #

  • FEAT: migrate to null safety.
  • CHORE: prepare changelogs for melos.

[0.10.0-nullsafety.0] #

  • add initial null safety support

[0.9.4] #

  • catch Stream error events in ErrorTypedLink
  • include ErrorTypedLink in the default client TypedLink chain
  • update dependencies

[0.9.3] #

  • fix bug causing FetchPolicy.CacheFirst & FetchPolicy.CacheAndNetwork to only receive the first response from Link

[0.9.2] #

  • update dependencies

[0.9.1] - 2020-11-15 #

Added #

  • add eviction and garbage collection methods to CacheProxy
  • bump ferry_cache version

[0.9.0] - 2020-11-09 #

Changed #

  • bump ferry_cache version
  • OperationRequest.requestId no longer assigned uuid by default
  • CacheProxy.writeQuery and CacheProxy.writeFragment now use the entire optimistic request rather than just the requestId
  • update OfflineMutationTypedLink to not depend on requestId as it is no longer assigned by default
  • bump normalize version

[0.8.0] - 2020-10-10 #

Changed #

  • Client is now a TypedLink
  • All plugins reimplemented as TypedLinks
  • Client.responseStream is now Client.request
  • upgrade rxdart to latest version

Removed #

  • OperationRequest, OperationResponse, and FragmentRequest moved to ferry_exec

[0.7.6] - 2020-10-07 #

Changed #

  • Cache.watchQuery no longer depends on entire data object

[0.7.5] - 2020-09-29 #

Changed #

  • Bump normalize version

[0.7.4] - 2020-09-10 #

Changed #

  • Bump normalize version

[0.7.3] - 2020-09-09 #

Changed #

  • Bump normalize version
  • Export policies in ferry and cache

[0.7.2] - 2020-09-09 #

Added #

  • Add identify method
  • Add evict method
  • Add gc method
  • Add retain method
  • Add release method

Changed #

  • Use latest normalize version
  • Expose store from cache

[0.7.1] - 2020-09-07 #

Changed #

  • Use latest normalize version

[0.7.0] - 2020-09-04 #

Added #

  • Implement plugin system
  • Add [OfflineMutationPlugin]

Changed #

  • Convert addTypename into plugin
  • Convert updateResult into plugin
  • Convert updateCache into plugin

[0.6.0] - 2020-08-30 #

Added #

  • Add clear() method to Cache
  • Add dispose() method to Cache

Changed #

  • Merge ferry_cache into ferry package.
  • Use full types for cache methods
  • Update ferry_store dependencies
  • Export Cache from package:ferry/cache.dart.

[0.5.1+2] - 2020-08-29 #

Changed #

  • Fix pub.dev issues

[0.5.1+1] - 2020-08-29 #

Changed #

  • Update README and point to docs site

[0.5.1] - 2020-08-26 #

Changed #

  • fixes updateResult when more than two results are merged

[0.5.0] - 2020-08-24 #

Changed #

  • use typed data in CacheProxy methods
  • bump normalize version
  • bump ferry_cache version
  • rename QueryRequest and QueryResponse to OperationRequest and OperationResponse
  • rename queryId to requestId

[0.4.1] - 2020-06-16 #

Changed #

  • bump normalize version

[0.4.0] - 2020-04-22 #

Changed #

  • restructure package to use monorepo

[0.3.1] - 2020-04-22 #

Changed #

  • fixed which QueryResponses are caught by responseStream

[0.3.0] - 2020-04-22 #

Added #

  • LinkExceptions are now caught and included in the QueryResponse.linkException property
  • added QueryResponse.dataSource property
  • added basic tests for GraphQL and network errors
  • added Mutation widget
  • added executeOnListen flag on responseStream

Changed #

  • updated default subscription FetchPolicy to CacheAndNetwork
  • override equality for QueryResponse
  • update example

Removed #

  • BREAKING removed optimistic flag on QueryResponse in favor of source property
  • BREAKING removed client error from Query widget
  • remove broken FetchPolicy tests

[0.2.2] - 2020-02-29 #

Changed #

  • QueryRequest now extends Request
  • update req_builder to use new URI fragments
  • add QueryReqeust.copyWith
  • add clientError object to Query Widget
  • req_builder no longer assigns a unique queryId if none is provided

Removed #

  • Removed Options objects

[0.2.1] - 2020-02-22 #

Changed #

  • use latest versions of gql_build and gql_code_builder

[0.2.0] - 2020-02-22 #

Changed #

  • rename to "ferry"
  • move repo to gql-dart

[0.1.3] - 2020-02-21 #

Changed #

  • remove 'GQL' prefix
  • use latest version of gql_build
  • update example

[0.1.2] - 2020-02-14 #

Changed #

  • update dependencies
  • fix erroneous import

[0.1.1] - 2020-02-14 #

Changed #

  • export CacheProxy

[0.1.0] - 2020-02-12 #

Changed #

  • BREAKING convert options to use built_value

[0.0.3] - 2020-02-08 #

Changed #

  • update example

[0.0.2] - 2020-02-08 #

Removed #

  • Remove custom network error
  • Remove unnecessary readme code

[0.0.1] - 2020-02-05 #

Added #

  • Initial release