Code Generation: You can now provide a custom fetch implementation, allowing for greater flexibility in how your GraphQL operations are executed.
React Apollo: The plugin now generates lazy query hooks, making it easier to work with asynchronous data fetching in your React applications.
Improvements
Code Generation: The watch mode is improved to debounce change events, ensuring that the code generation runs only once for multiple file changes, enhancing performance.
TypeScript/Flow Operations: The generation of correct union/interface type definitions is now fixed, ensuring that your generated types are accurate and reliable.
Fixes
Fix issues with the deduplication of React hook names, ensuring that your hooks are generated without unnecessary duplicates when the dedupeOperationSuffix option is enabled.
Fix the handling of enums in arguments, ensuring that they are correctly processed during code generation.
Others
Update documentation to include a hint on how to use generated resolvers directly, making it easier for users to understand how to implement them in their projects.