Skip to content

0.7.0

Latest

Choose a tag to compare

@garlab garlab released this 15 Mar 19:17
· 7 commits to main since this release
863b26e

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)

Internal

  • Added CONTRIBUTING.md (#75)
  • Switched to provenance-based publishing with OIDC for improved supply chain security (#74)
  • Migrated to ESLint 9 (#60)
  • Added test coverage for LRU cache behaviour (#68)
  • Various dependency security bumps (qs, form-data, sha.js, formidable, cross-spawn, micromatch, express, braces)