Expect active development and potentially significant breaking changes in the 0.x
track. We'll try to be diligent about releasing a 1.0
version in a timely fashion (ideally within 3 to 6 months), to signal the start of a more stable API.
- Added basic guards to our Redux Store
subscribe
to preventbroadcastQueries
from being called unnecessarily
- Fix query transformation for queries called with
forceFetch
. PR #240
- Add support for basic query transformation before submitting to the server by passing an option to
ApolloClient
constructor. (e.g. adding__typename
to each SelectionSet) Issue #230 PR #233
- Resolve a race condition between
QueryManager
stopQuery()
andbroadcastQueries()
, which would result in an errorlistener is not a function
. Issue #231 PR #232
- Namespace Apollo action types to prevent collision with user's own Redux action types. Issue #210 PR #222
- Queries on refetch return promises. PR #178
- Add support for GraphQLJSON scalar type by changing the way we identify scalar types when writing to the store. Issue #217 PR #219
- Add
dataIdFromObject
option toApolloClient
constructor, to allow data normalization. This function should take a GraphQL result object, and return an ID if one can be found. Issue #204 PR #214
- Use
console.error
to log unhandled network errors. Issue #189 PR #203 - Suggest using variables instead of inline arguments for non-scalar types. Issue #202 PR #211
- Improve error message when a dev forgets
gql
to link to docs. PR #181 - Memoize results from
gql
, so that we save time on parsing, and we can use===
to compare queries for performance. Issue #199 PR #200 - Fix error when using
returnPartialData
. Issue #193 PR #201 - Add basic interoperability with other Observable implementations like RxJS. Issue #149 PR #196
- Fix improperly published package that broke submodule paths. Issue #186
- Fix regression from 0.3.2 that broke root query diffing
- Enhance query printer so that it can print multiple root queries Issue #184 react-apollo issue #45 PR #185
- Added support for inline fragments. Issue #147 PR #175
- Removed vestigial code that partially implemented refetching via the Relay Node interface, but was not possible to use through the public API.
- Made client more robust in the case where the server returns an empty error array, even though that's not in the GraphQL spec. Issue #156 PR #173
- Breaking change: Require all queries to be wrapped with a
gql
template literal tag, and throw an error when they aren't. Issue #155 PR #168 - Remove all dependencies on the
graphql
parser module at runtime, except for thegql
template literal tag, so that queries can be pre-parsed in production to save on parsing overhead. - Add everything that isn't a compiled file to
npmignore
. PR #165 - Move importable modules to root. PR #169
- Add polling functionality to
watchQuery
. Issue #145 PR #153
Initial release. We didn't track changes before this version.