Change8

release-1751382273464

📦 graphql-yogaView on GitHub →
3 features🐛 1 fixes🔧 4 symbols

Summary

graphql-yoga 5.14.0 introduces the `withState` utility for shared plugin state, improves error handling inheritance, and upgrades several dependencies, while the Apollo Usage Report plugin becomes production ready with new reporting features.

✨ New Features

  • Added new `withState` plugin utility for easy data sharing between hooks in graphql-yoga.
  • Implemented inheritance of GraphQL error extensions when wrapping an internal server error.
  • Apollo Usage Report plugin is now production ready with referenced field reporting, batched traces, gzip compression, nonexecutable operations handling, and schema ID generation matching Apollo's algorithm.

🐛 Bug Fixes

  • Fixed missing inheritance of GraphQL error extensions when wrapping internal server errors.

🔧 Affected Symbols

withStategetStategraphql-yoga@graphql-yoga/plugin-apollo-usage-report