grafbase

The GraphQL Federation platform

APACHE-2.0 License

Downloads
47.3K
Stars
1.1K
Committers
22

Bot releases are hidden (Show)

grafbase -

Published by obmarg about 1 year ago

Bug Fixes

  • console.log in resolvers no longer results in failed invocation errors.
grafbase - Grafbase CLI 0.14.1

Published by Finistere almost 2 years ago

Breaking

  • Supports atomic numerical operations
    • Int and Float types in update mutations now accept a @oneof object with either set, increment or decrement

Features

  • Supports live queries
  • Adds support for field level auth
  • The ID field is no longer required to be specified in a @model type
  • Pagination cursors are now base64

Fixes

  • Fixes pagination ordering (now always oldest to newest)
  • Fixes a case where errors in the CLI bridge server may not be reported

Tooling

  • Updates Rust to version 1.66.0

Dependencies

  • Updates axum and sysinfo
grafbase - Grafbase CLI 0.11.0

Published by yoav-lavi almost 2 years ago

Breaking

  • Supports mutating by unique fields
    • This changes mutations by id from entityMutation(id: "...") to entityMutation(by: { id: "..." })

Features

  • Supports nested group claims for OIDC

Fixes

  • Fixes an issue causing relations not to be updated after an initial mutation
  • Prints the CLI header when running the reset command
grafbase - Grafbase CLI 0.10.0

Published by yoav-lavi about 2 years ago

Breaking

  • Supports querying by unique fields
    • This changes queries by id from entity(id: "...") to entity(by: { id: "..." })

Dependencies

  • Updates clap to version 4
grafbase - Grafbase CLI 0.9.1

Published by yoav-lavi about 2 years ago

0.9.1

Fixes

  • Reverts clap to version 3 temporarily

0.9.0

Features

  • Adds support for the @default directive
  • Adds createdAt and updatedAt fields to @model types

Dependencies

  • Updates clap to version 4

Tooling

  • Updates Rust to version 1.64.0
grafbase - Grafbase CLI 0.8.0

Published by yoav-lavi about 2 years ago

Breaking

  • Adds support for paginated relations

Features

  • Adds support for OpenID Connect authorization

Fixes

  • Fixes a typo in the output of the init command (thank you @ajcwebdev!)

Tooling

  • Adds a nextest configuration limiting tests to run one at a time
  • Updates miniflare to version 2.9.0
grafbase - Grafbase CLI 0.7.0

Published by yoav-lavi about 2 years ago

Features

  • Adds support for environment variables
    • Supports grafbase/.env and process environment variables, with grafbase/.env being higher priority
  • Adds support for the PhoneNumber scalar

Dependencies

  • Updates Miniflare to 2.8.2

Tooling

  • Changes the minimal supported Node.js version to 16.13.0 to match Miniflare 2.8.2
grafbase - Grafbase CLI 0.6.0

Published by yoav-lavi about 2 years ago

Features

  • Adds support for new scalars:
    • JSON
    • URL
    • Email
    • Timestamp
    • IPAddress

Fixes

  • Fixes cursor support in paginated queries
  • Fixes result ordering in paginated queries using last

Refactoring

  • (internal) Changes queries to use named SQL params in the Gateway worker
grafbase - Grafbase CLI 0.5.1

Published by yoav-lavi about 2 years ago

Fixes

  • Fixes support for GraphQL enums
grafbase - Grafbase CLI 0.5.0

Published by yoav-lavi about 2 years ago

Features

  • Adds support for the DateTime scalar
  • Adds a reset command (removes local data for a project)

Tooling

  • Updates Rust to 1.63.0
  • Bundles and minifies some of the embedded assets
    • Slightly reduces overall size and solves an incompatibility issue in wasm-pack when targeting Node.js
grafbase - Grafbase CLI 0.4.1

Published by yoav-lavi about 2 years ago

Misc.

  • Adds styling for the GraphQL playground
grafbase - Grafbase CLI 0.4.0

Published by yoav-lavi about 2 years ago

Breaking

  • Supports new ID format (e.g. author_01GA1B6QD2189C2GNQC7KNJRP2)
  • Supports @unique directive

Features

  • Differentiates and correctly reports user and logic errors (bugs) in SQL operations

Testing

  • Adds new tests

Notes

  • As this is a breaking change, if you have an existing database in a project (under project/.grafbase), please remove the .grafbase folder before running the CLI
grafbase - Grafbase CLI 0.3.0

Published by yoav-lavi about 2 years ago

Features

  • Adds live reloading (dev -w --watch), reloads the development server when schema changes are detected
  • Updates the default schema
  • Adds polling support for the playground
  • Adds gb as an alias for grafbase (on npm)

Fixes

  • Detects creation events when watching the schema
  • Opts out of watching rather than opt in

Refactoring

  • Allows passing a function returning any type to the file watcher
  • Allows to skip file extraction in CI
  • Removes chrono temporarily as it is optional

Testing

  • Adds cross platform integration tests

Tooling

  • Consolidates the CLI CI
  • Allows skipping asset export using an env variable (for CI)
  • Improves caching
  • Exports assets to home folder in CI to reduce wait time
  • Updates Rust to 1.62.1