Skip to content

Releases: graphql-hive/graphql-modules

May 26, 2026

Choose a tag to compare

@github-actions github-actions released this 26 May 10:00
bad44f7

graphql-modules@3.1.2

Patch Changes

  • #2607 3274c04 Thanks @renovate! - dependencies updates:

  • #2626 68c2cb4 Thanks @renovate! - dependencies updates:

  • #2642 dac3288 Thanks @renovate! - dependencies updates:

  • #2681 8ed0406 Thanks @dotansimha! - Fix memory leak: per-operation context was retained forever when any long-lived async resource (a global setTimeout/setInterval, a telemetry exporter, undici's module-scoped timer, …) snapshotted the current AsyncContextFrame during execution. Since nodejs/node#48528, every async resource scheduled inside an AsyncLocalStorage.run(...) captures a kAsyncContextFrame snapshot, and the value stored in our internal AsyncLocalStorage was a pair of closures that captured context — so the snapshot pinned the entire operation context (potentially multiple MBs).

    The fix routes every per-operation reference to context through a mutable holder (refs.context / refs.appContext). sharedContext (exposed as env.context) and the cached CONTEXT injector value are now getter-based views over refs.context instead of shallow spreads, so they hold no user data of their own. ɵdestroy only nulls the holder slots — public-facing identities (env.context, ɵinjector) stay intact and continue to work, but the heavy user payload becomes unreachable from the (still-pinned) closure scope.

  • #2681 8ed0406 Thanks @dotansimha! - Fix @ExecutionContext() leaking across concurrent controller-backed operations: in createExecution/createSubscription the controller branch called perform(options.controller) directly, skipping runWithContext, so reads after an await fell through to the shared appInjector getter and resolved to the most recently created operation's context.

    The controller now exposes its runWithContext as ɵrunWithContext and both execution paths wrap perform in it, giving controller-backed executions the same per-operation ALS isolation the non-controller path already had.

January 16, 2026

Choose a tag to compare

@github-actions github-actions released this 16 Jan 15:13
accd621

ℹ️ This is is a backport to v2 of the v3.3.1 release.

graphql-modules@2.4.1

Patch Changes

January 16, 2026

Choose a tag to compare

@github-actions github-actions released this 16 Jan 14:50
accd621

graphql-modules@3.1.1

Patch Changes

January 16, 2026

Choose a tag to compare

@github-actions github-actions released this 16 Jan 14:40
b2519b2

graphql-modules@3.1.0

Minor Changes

  • #2618 55518d0 Thanks @vlad-x! - Enabled support for resolver extensions for compatibility with such libraries as grafast or graphql-query-complexity

February 19, 2025

Choose a tag to compare

@github-actions github-actions released this 19 Feb 10:43
4477965

graphql-modules@3.0.0

Major Changes

  • #2563 f40de70 Thanks @kamilkisiela! - BREAKING Providers of each module are now resolved of upon application creation.

    This makes Dependency Injection less strict and not dependent on the order of module imports (hello circular imports).

    BREAKING Removed providers, operationProviders and singletonProviders from the Module interface (unlikely you were using them).

Patch Changes

October 23, 2024

Choose a tag to compare

@github-actions github-actions released this 23 Oct 10:07
425c0cc

graphql-modules@2.4.0

Minor Changes

  • #2503 cf6e51f Thanks @n1ru4l! - Support passing an abstract class to Injector.get call and Provider value.

November 03, 2023

Choose a tag to compare

@github-actions github-actions released this 03 Nov 08:01
d708976

graphql-modules@2.3.0

Minor Changes

November 02, 2023

Choose a tag to compare

@github-actions github-actions released this 02 Nov 14:20
243c0c7

graphql-modules@2.2.1

Patch Changes

July 25, 2023

Choose a tag to compare

@github-actions github-actions released this 25 Jul 09:30
dcd39ca

graphql-modules@2.2.0

Minor Changes

Patch Changes

March 22, 2023

Choose a tag to compare

@github-actions github-actions released this 22 Mar 12:36
e20fff4

graphql-modules@2.1.2

Patch Changes