Skip to content

Releases: productdevbook/nitro-graphql

v2.0.0-beta.73

18 Mar 12:23

Choose a tag to compare

v2.0.0-beta.73 Pre-release
Pre-release

What's Changed

Bug Fixes

  • define: Preserve __schema property on directive objects (was always undefined)
  • codegen: Correct defu merge order so user config takes priority over defaults
  • routes/yoga: Read endpoint from moduleConfig instead of hardcoded /api/graphql
  • routes/apollo: Cache h3Handler to avoid recreation per request
  • routes/health: Use direct GraphQL execution instead of self-fetch (fixes serverless)
  • routes/debug: Add runtime production guard
  • rollup: Remove dead return that disabled chunking; add Rolldown codeSplitting compat
  • extend: Warn and skip instead of crashing when package config not found
  • dev: Fix rescan race condition with extend packages

Refactoring

  • Immutable scan state: Replace 6 mutable arrays with frozen GraphQLScanState snapshots — atomic updates, no race conditions
  • Type unification: GenImportScannedResolver as single source of truth; core types now extend actual @graphql-codegen plugin types
  • Codegen cleanup: Remove custom plugin wrappers (pluginContent, typedDocumentStringPlugin), use string prepend instead. Remove documentMode: 'string' default and TypedDocumentString workaround
  • Setup orchestration: Monolithic setupNitroGraphQL → resolver chain pattern (each step is an independent function)
  • Module splitting: Split 4 large files (codegen 311 LOC, virtual 291 LOC, types 536 LOC, client 665 LOC) into focused modules
  • Security: Unified resolveSecurityDefaults() shared by Yoga and Apollo factories
  • Virtual modules: Eager snapshots instead of lazy closures (eliminates race condition root cause)
  • Path resolution: 7 separate regexes → single /{(\w+)}/g pattern with lookup table
  • Dead code removal: 30+ unused constants, duplicate types, dead barrels, deprecated functions deleted (252 → 248 files, 423 → 404 kB)
  • File renames: config.tscreate-config.ts, plugin.tsfile-header.ts, common.tsfile-scanner.ts, etc.
  • DirectiveParser: Class → pure functions with typed OxcNode interfaces (eliminates 15+ any types)

Playgrounds

  • Remove apollo playground (federation already tests both frameworks)
  • Remove webhook playground (empty)
  • Simplify vite playground (deduplicate User CRUD)

Infrastructure

  • Upgrade Vite to 8.0.0 stable
  • Fix CI lint errors
  • Update coverage badge to 71%

Full Changelog: v2.0.0-beta.72...v2.0.0-beta.73

v2.0.0-beta.72

15 Mar 20:11

Choose a tag to compare

v2.0.0-beta.72 Pre-release
Pre-release

   🐞 Bug Fixes

  • Disable strict-store-pkg-content-check for pkg.pr.new tarball compatibility  -  by @productdevbook and Claude Opus 4.6 (1M context) (1c1e2)
  • Add vue-router override for nuxt nightly compatibility  -  by @productdevbook and Claude Opus 4.6 (1M context) (dc59f)
  • Sort yaml keys in pnpm-workspace.yaml overrides  -  by @productdevbook and Claude Opus 4.6 (1M context) (fc7d4)
    View changes on GitHub

v2.0.0-beta.70

29 Jan 07:38

Choose a tag to compare

v2.0.0-beta.70 Pre-release
Pre-release

   🐞 Bug Fixes

    View changes on GitHub

v2.0.0-beta.69

29 Jan 07:28

Choose a tag to compare

v2.0.0-beta.69 Pre-release
Pre-release

   🐞 Bug Fixes

    View changes on GitHub

v2.0.0-beta.68

28 Jan 13:12

Choose a tag to compare

v2.0.0-beta.68 Pre-release
Pre-release

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v2.0.0-beta.67

17 Jan 19:25

Choose a tag to compare

v2.0.0-beta.67 Pre-release
Pre-release

   🐞 Bug Fixes

    View changes on GitHub

v2.0.0-beta.66

14 Jan 16:45

Choose a tag to compare

v2.0.0-beta.66 Pre-release
Pre-release

   🚀 Features

  • Add cross-runtime utilities for file system and process management  -  by @productdevbook (9ddc5)
  • Enhance CI workflow with separate unit and E2E test stages, add fixture isolation utilities, and update test configurations  -  by @productdevbook (0f17a)
  • Add validation tests for external services configuration  -  by @productdevbook (53dd5)
    View changes on GitHub

v2.0.0-beta.65

12 Jan 16:41

Choose a tag to compare

v2.0.0-beta.65 Pre-release
Pre-release

   🚀 Features

  • Add support for clientDir in package extends and enhance E2E tests for file watching  -  by @productdevbook (1f8f6)
    View changes on GitHub

v2.0.0-beta.64

11 Jan 21:13

Choose a tag to compare

v2.0.0-beta.64 Pre-release
Pre-release

No significant changes

    View changes on GitHub

v2.0.0-beta.63

11 Jan 16:53

Choose a tag to compare

v2.0.0-beta.63 Pre-release
Pre-release

No significant changes

    View changes on GitHub