console/packages/libraries/cli/CHANGELOG.md
TheGuildBot e27e761162
Upcoming Release Changes (#4330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-25 13:04:22 +01:00

21 KiB

@graphql-hive/cli

0.34.1

Patch Changes

0.34.0

Minor Changes

0.33.1

Patch Changes

0.33.0

Minor Changes

  • #3543 6895ee3 Thanks @kamilkisiela! - Support Apollo Client directives in operations:check command (pass --apolloClient flag)

0.32.1

Patch Changes

0.32.0

Minor Changes

  • 00520b9 Thanks @n1ru4l! - Print warning when pull request number can not be resolved.

0.31.0

Minor Changes

  • #3359 21d246d Thanks @n1ru4l! - Associate schema checks with context ID for remembering approved breaking schema changes for subsequent schema checks when running the schema:check command.

    If you are using the --github flag, all you need to do is to upgrade to this version. The context will be automatically be the pull request scope.

    On pull request branch GitHub Action:

    hive schema:check --github ./my-schema.graphql
    

    If you are not using GitHub Repositories and Actions, you can manually provide a context ID with the --contextId flag.

    hive schema:check --contextId "pull-request-69" ./my-schema.graphql
    

    Learn more in the product update.

0.30.4

Patch Changes

0.30.3

Patch Changes

  • #3240 6b7aef8b Thanks @dotansimha! - Remove Access to operation:publish information from CLI command "whoami" (unused)

0.30.2

Patch Changes

0.30.1

Patch Changes

0.30.0

Minor Changes

  • #2701 fdf71a1c Thanks @n1ru4l! - Support forwarding GitHub repository information for schema checks and schema publishes when using the --github flag.

    Please upgrade if you want to correctly forward the information for (federated) subgraphs to the Hive registry.

0.29.0

Minor Changes

0.28.0

Minor Changes

  • #2720 79227f8 Thanks @n1ru4l! - Fetch a specific schema sdl or supergraph from the API using the action id (commit sha) with the hive schema:fetch command.

    Example:

    hive schema:fetch 99dad865e1d710b359049f52be0b018 -T supergraph -W supergraph.graphql
    

0.27.1

Patch Changes

0.27.0

Minor Changes

0.26.0

Minor Changes

Patch Changes

0.25.1

Patch Changes

0.25.0

Minor Changes

0.24.0

Minor Changes

Patch Changes

0.23.0

Minor Changes

0.22.0

Minor Changes

0.21.0

Minor Changes

  • #2080 331a1116 Thanks @n1ru4l! - Introduce new config file format. Please move the accessToken property to a registry object.

    The old top-level property approach is now considered deprecated and will no longer be supported in the next major version of the CLI.

     {
    -  "accessToken": "xxxxxd4cxxx980xxxxf3099efxxxxx"
    +  "registry": {
    +      "accessToken": "xxxxxd4cxxx980xxxxf3099efxxxxx"
    +  }
     }
    
  • #2080 331a1116 Thanks @n1ru4l! - Support fetching artifacts from the CDN with hive artifact:fetch.

    See the readme for more information.

Patch Changes

0.20.2

Patch Changes

0.20.1

Patch Changes

0.20.0

Minor Changes

Patch Changes

0.19.12

Patch Changes

0.19.11

Patch Changes

0.19.10

Patch Changes

  • Updated dependencies [e116841]:
    • @graphql-hive/core@0.2.3

0.19.9

Patch Changes

0.19.8

Patch Changes

0.19.7

Patch Changes

0.19.6

Patch Changes

0.19.5

Patch Changes

0.19.4

Patch Changes

0.19.3

Patch Changes

0.19.2

Patch Changes

0.19.1

Patch Changes

0.19.0

Minor Changes

0.18.2

Patch Changes

0.18.1

Patch Changes

  • 41ec31b: Update GraphQL Inspector range to ~3.2.0

0.18.0

Minor Changes

  • 25d6b01: Migrate to Authorization header (previously X-API-Token)

Patch Changes

  • 8035861: Better error messages for SDL syntax errors.

0.17.0

Minor Changes

  • ae6ae2f: Print link to the website when publishing new schema
  • fa5045f: Use graphql@^16.0.0 as direct dependency

0.16.0

Minor Changes

  • 23eb4cc: Add message about empty schema registry in schema:check

0.15.0

Minor Changes

  • 5de7e38: Support SchemaPublishMissingUrlError type

0.14.6

Patch Changes

0.14.5

Patch Changes

  • ad66973: Bump
  • Updated dependencies [ad66973]
    • @graphql-hive/core@0.2.2

0.14.4

Patch Changes

  • 0a5dbeb: Point to graphql-hive.com
  • Updated dependencies [0a5dbeb]
    • @graphql-hive/core@0.2.1

0.14.3

Patch Changes

  • 9e487129: Bump

0.14.2

Patch Changes

  • c87df3ad: Bump

0.14.1

Patch Changes

  • 11958e9d: Add update command to self-update Hive CLI

0.14.0

Minor Changes

  • 6290ec23: Introduce operations:check to validate GraphQL Operations against latest schema
  • 6290ec23: Rename operation:publish command to operations:publish

0.13.0

Minor Changes

  • d5db6070: Support URLs

0.12.0

Minor Changes

  • d9fbd878: Add --github flag to schema:publish command

0.11.0

Minor Changes

  • ac9b868c: Support GraphQL v16
  • e03185a7: GitHub Application

Patch Changes

  • Updated dependencies [ac9b868c]
    • @graphql-hive/core@0.2.0

0.10.0

Minor Changes

  • c5bfa4c9: Add a new metadata flag for publishing schema metadata (JSON) to Hive.

    The --metadata can contain anything you wish to have attached to your GraphQL schema, and can support your runtime needs.

    You can either specify a path to a file: --metadata my-file.json, or an inline JSON object: --metadata '{"test": 1}'.

    Metadata published to Hive will be available as part of Hive CDN, under /metadata route.

0.9.6

Patch Changes

  • 903edf84: Bump

0.9.5

Patch Changes

  • ccb93298: Remove content-encoding header and improve error logs

0.9.4

Patch Changes

  • 28bc8af3: Fix version header

0.9.3

Patch Changes

  • 3a435baa: Show one value of x-request-id

0.9.2

Patch Changes

  • 79d4b4c2: fix(deps): update envelop monorepo

0.9.1

Patch Changes

  • 016dd92c: handle missing service name argument for federation and stitching projects

0.9.0

Minor Changes

  • 7eca7f0: Display access to commands

0.8.1

Patch Changes

  • 273f096: show registry url

0.8.0

Minor Changes

  • 91a6957: Allow to update url of a service

0.7.0

Minor Changes

  • 6f204be: Display token info

0.6.4

Patch Changes

  • 52ab1f2: Find .git directory when CLI is installed globally

0.6.3

Patch Changes

  • 73a840d: Warn about missing git and make git optional

0.6.2

Patch Changes

  • df6c501: Do not exit with 0 when forceSafe

0.6.1

Patch Changes

  • aff0857: Throw on empty schema and use x-request-id as reference

0.6.0

Minor Changes

  • 4647d25: Add --forceSafe flag to mark the check as non-breaking regardless of breaking changes

0.5.0

Minor Changes

  • 0e712c7: Update normalization logic

Patch Changes

  • 0e712c7: Support --url

0.4.9

Patch Changes

  • Updated dependencies [d7348a3]
  • Updated dependencies [d7348a3]
    • @graphql-hive/core@0.1.0

0.4.8

Patch Changes

  • 6214042: Fix auto-update error related to oclif

0.4.7

Patch Changes

  • bda322c: Add --require flag and normalize schema printing

0.4.6

Patch Changes

  • 5aa5e93: Bump

0.4.5

Patch Changes

  • 968614d: Fix persisting the same query twice
  • 968614d: Add auto-updates and new-version warnings

0.4.4

Patch Changes

  • 1a16360: Send GraphQL Client name and version

0.4.3

Patch Changes

  • 41a9117: Fix an issue when publishing a schema for the first time

0.4.2

Patch Changes

  • c6ef3d2: Bob update
  • 4224cb9: Support HIVE_* env variables
  • Updated dependencies [c6ef3d2]
    • @graphql-hive/core@0.0.5

0.4.1

Patch Changes

  • aa12cdc: Use process.cwd()
  • aa12cdc: Use HIVE_SPACE instead of REGISTRY_KEY env var

0.4.0

Minor Changes

  • e8dc8c6: Move file to be an argument, fix config

0.3.2

Patch Changes

  • 85b85d4: Dependencies update, cleanup, ui fixes

0.3.1

Patch Changes

  • Updated dependencies [4a7c569]
    • @graphql-hive/core@0.0.4

0.3.0

Minor Changes

  • 34cff78: Added support for specifying multiple configs in hive json file

0.2.1

Patch Changes

  • e257a0d: Support relay-like outputs of persisted operations
  • bb5b3c4: Preparations for persisted operations in Lance

0.2.0

Minor Changes

  • acab74b: Added support for persisted operations - Changes made in API, APP, CLI, Server, Storage

0.1.1

Patch Changes

  • 79fe734: Set default registry url

0.1.0

Minor Changes

  • 078e758: Token per Target
  • 1dd9cdb: --file flag is now replaced with a positional arg at the end, comments in graphql sdl files are now converted to descriptions, docs are updated to mention wildcard file uploads

Patch Changes

  • 60cd35d: Use default endpoint

0.0.5

Patch Changes

  • d433269: Fixes

0.0.4

Patch Changes

  • d64a3c5: Target 2017

0.0.3

Patch Changes

  • 7e88e71: bump

0.0.2

Patch Changes

  • b2d686e: bump