Skip to content

Releases: logqlio/logql-apollo-plugin

0.7.0

Choose a tag to compare

@garlab garlab released this 15 Mar 19:17
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)

0.6.0

Choose a tag to compare

@garlab garlab released this 27 Apr 23:10
e07f471
  • chore: bump to node20
  • feat: stop sending metrics report
  • feat: support passing custom agent

0.5.0

Choose a tag to compare

@garlab garlab released this 25 Feb 12:03
4075c15

Main changes:

  • Use fetch timeout instead of abort controller (allow support for earlier versions of nodes)
  • Handle persisted query not found
  • Do not send query source when already synced
  • Stop logging when verbose mode is off

Other:

  • Update dependencies
  • Improve test performances

0.4.0

Choose a tag to compare

@garlab garlab released this 04 Oct 22:13
9a80fb3

Set report interval to 5sec (#43)
Send metrics with client name (#42)

0.3.1

Choose a tag to compare

@garlab garlab released this 27 Sep 11:55
2477c37
  • Fix bug sending field with undefined profile resolver end time
  • Send the plugin name and version to ingest

0.3.0

Choose a tag to compare

@garlab garlab released this 25 Sep 23:23
5224477

Send all requests.
Add option sampling to sample requests (0 = no request sent, 1 = all requests sent).
Add verbose option (default false) to log more messages when failures occur in the plugin.

0.2.2

Choose a tag to compare

@garlab garlab released this 22 Sep 12:43
810cf3c

fix: Automatically disable plugin in tests (checking NODE_ENV === 'test' unless option runInTests is set to true.
fix: More resilience of the plugin when invalid envs are passed, they are simply ignored and a warning is emitted
feat: Log errors on launch when invalid config is passed instead of throwing

0.2.1

Choose a tag to compare

@garlab garlab released this 02 Aug 22:07
451a426

fix: Only send unique paths with operations

0.2.0

Choose a tag to compare

@garlab garlab released this 27 Jul 23:39
68849ab

Remove projectid from config.
Use lru-cache to prevent memory leaks.
Bump dependencies.
Add new value requestEnd to profile.

0.1.1

Choose a tag to compare

@garlab garlab released this 20 Jul 23:29
fbe96bc

Add JSDoc type definitions.
Add support for config using environment variables.
Delete disable option.