Apollo Angular: Enjoy a new SDK service that exposes all generated services, making it easier to manage your operations in Apollo Angular. This enhancement is based on the graphql-request plugin, providing a wrapper class for better organization.
TypeScript Resolvers: Implement custom field-level context types, allowing you to specify different context types for individual fields in your GraphQL schema. This feature enhances flexibility in your resolver implementations.
Improvements
Code Generation: The code generation process now respects existing enum values defined in your GraphQL schema, ensuring that your generated code aligns with your schema definitions.
CLI: The CLI now correctly reads the version from the project package.json when bootstrapping a new project, eliminating previous version assignment issues during initialization.
TypeScript: The TypeScript mappers now utilize generated import definitions, preventing duplicate identifiers in the generated TypeScript files and improving code quality.
Fixes
Fix issues with generating Apollo Angular operations in external mode, resolving exceptions that occurred during the generation process.
Fix for handling enum values and explicit numeric values in your GraphQL schema, ensuring that your generated code accurately reflects your schema's intent.
Fix named default imports in mappers, addressing issues that arose from incorrect import handling in generated code.
Others
Update various dependencies to improve overall performance and stability of the code generation tool, ensuring you have the latest features and fixes.