github graphql-compose/graphql-compose v8.0.0

latest releases: v9.0.11, v9.0.10, v9.0.9...
3 years ago

8.0.0 (2021-04-30)

Codebase migration from Flowtype to Typescript. This major release doesn't change API and will not affect your runtime.

This migration:

  • makes the codebase more friendly for the community (Flowtype repositories have fewer contributors than TS)
  • makes typescript definition more stable and removes regular painful sync with Flowtype definitions (sometimes TS definitions were stale)
  • unlocks the ability to improve Generics and provide better type checks in the future (generics in Flowtype are weaker than in TypeScript)
  • also improves the Developer Experience for contributors of this package - now autocompletion and type checks work very fast. Due to the complex type definitions, Flowtype worked slowly for this package, and TypeScript below 4.1 fails with recursion. But starting from TypeScript 4.2 all static analysis works perfectly.

BREAKING CHANGES

  • remove mjs, ejs builds
  • Flowtype definitions do not available anymore (but feel free to open PR if you want to add them back)

Don't miss a new graphql-compose release

NewReleases is sending notifications on new releases.