@apollo/client@4.1.0-alpha.5
π¦ apollo-client
π 3 fixesπ§ 3 symbols
Summary
Patch release fixing incremental chunk error handling in `ErrorLink` and improving `@stream` processing with `Defer20220824Handler` to prevent runtime errors.
π Bug Fixes
- Fixed an issue where errors parsed from incremental chunks in `ErrorLink` could throw when using the `GraphQL17Alpha9Handler`.
- Added handling for `@stream` payloads that send multiple items in the same chunk when using the `Defer20220824Handler`.
- Fixed an edge case in `Defer20220824Handler` where an error for a `@stream` item that bubbles to the `@stream` boundary (e.g., a `null` for a nonβnull array item) would write items from future chunks to the wrong array index; now the `@stream` field is ignored and future updates are dropped to prevent runtime errors.
π§ Affected Symbols
ErrorLinkGraphQL17Alpha9HandlerDefer20220824Handler