Releases: Shopify/graphql-metrics
Releases · Shopify/graphql-metrics
v6.0.0
Breaking changes
Due to Instrumentation plugins being deprecated in the graphql
gem, graphql-metrics
has been refactored to use the new Tracing
API. This changes how graphql-metrics
is used in your application.
Before:
class MySchema < GraphQL::Schema
instrument :query, GraphQLMetrics::Instrumentation.new
query_analyzer MyMetricsAnalyzer
tracer GraphQL::Metrics::Tracer.new
end
After:
class MySchema < GraphQL::Schema
use GraphQL::Metrics, analyzer: MyMetricsAnalyzer
end
Other breaking changes:
graphql
>= 2.3 is now required.- Apollo tracing spec support has been removed (the spec has been deprecated for years). All
start_time_offset
metrics have been removed. - Support for the old tracing API has been removed.
- The
multiplex_start_time_monotonic
operation mettric has been removed.
What's Changed
- Support new parser by @Sam-Killgallon in #80
- Centralize Ruby Version to
.ruby-version
by @george-ma in #79 - Update activesupport requirement from ~> 7.1.3 to ~> 6.1.7 in the bundler group across 1 directory by @dependabot in #82
- Add Dependabot and Ruby 3.3.1 by @gmac in #83
- Remove Apollo tracing spec support by @swalkinshaw in #84
- Remove old tracing API support by @swalkinshaw in #85
- Refactor static metric mode by @swalkinshaw in #86
- Migrate Instrumentation to tracing by @swalkinshaw in #87
- Update
analyzer
option by @swalkinshaw in #88 - v6.0.0 by @swalkinshaw in #89
New Contributors
- @Sam-Killgallon made their first contribution in #80
- @george-ma made their first contribution in #79
- @dependabot made their first contribution in #82
- @gmac made their first contribution in #83
Full Changelog: v5.0.8...v6.0.0
v5.0.8
v5.0.7
What's Changed
- Trace: capture path before yielding by @swalkinshaw in #75
Full Changelog: v5.0.6...v5.0.7
v5.0.6
What's Changed
- Fix skip_tracing compatibility for new Tracing API by @swalkinshaw in #74
Full Changelog: v5.0.5...v5.0.6
v5.0.5
v5.0.4
What's Changed
- Support graphql-ruby's new tracing API (backwards compatible) by @rmosolgo in #66
- Addresses an error when inline fragments with directive were missing parent type by @arathunku in #71
New Contributors
- @arathunku made their first contribution in #71
Full Changelog: v5.0.3...v5.0.4
v5.0.3
What's Changed
- Loosen concurrent ruby dependency by @toneymathews in #69
New Contributors
- @toneymathews made their first contribution in #69
Full Changelog: v5.0.2...v5.0.3
v5.0.2
What's Changed
New Contributors
- @larry-reid-shopify made their first contribution in #65
- @felix-d made their first contribution in #67
Full Changelog: v5.0.1...v5.0.2
v5.0.1
What's Changed
- Update test_schema and CI for graphql 2.0+ compatibility by @thecodepixi in #61
- Reduce TimedResult objects by @swalkinshaw in #63
New Contributors
- @thecodepixi made their first contribution in #61
- @ravangen made their first contribution in #59
Full Changelog: v5.0.0...v5.0.1