apollo-client v2.4.10 Release Notes
-
📦 The
apollo-client
package no longer exports aprintAST
function fromgraphql/language/printer
. If you need this functionality, import it directly:import { print } from "graphql/language/printer"
⏱ Query polling now uses a simpler scheduling strategy based on a single
setTimeout
interval rather than multiplesetInterval
timers. The new timer fires at the rate of the fastest polling interval, and queries with longer polling intervals fire whenever the time elapsed since they last fired exceeds their desired interval. PR #4243