You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release Notes — v0.7.0
Breaking Changes
LogqlApolloPlugin.fromEnv() is now required to load config from environment variables. Previously the plugin would implicitly merge environment variables with options passed to LogqlApolloPlugin(). Now the two are explicit: pass an options object to LogqlApolloPlugin({ ... }), or call LogqlApolloPlugin.fromEnv() to load entirely from env vars. (#59)
New Features
User ID collection — The plugin now supports a userId option: a function that receives the request context and headers and returns a user identifier. This is sent alongside error reports to help correlate errors with specific users. (#72)
GraphQL client header support — The plugin now reads both graphql-client-name / graphql-client-version headers (in addition to the existing apollographql-client-* headers) to identify the calling client. (#67)
TypeScript type definitions — Type definitions are now included in the package. (#77)