console/packages/libraries/core/CHANGELOG.md
TheGuildBot 535283c136
Upcoming Release Changes (#6601)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-20 13:22:26 +01:00

8.2 KiB

@graphql-hive/core

0.10.1

Patch Changes

  • #6606 ee70018 Thanks @enisdenjo! - Client can be used only for experimental persisted documents

  • #6623 a003f78 Thanks @ardatan! - Use ranged versions in dependencies to prevent multiple versions of the same package

0.10.0

Minor Changes

  • #6574 494697e Thanks @n1ru4l! - Add support for providing a target for usage reporting with organization access tokens. This can either be a slug following the format $organizationSlug/$projectSlug/$targetSlug (e.g the-guild/graphql-hive/staging) or an UUID (e.g. a0f4c605-6541-4350-8cfe-b31f21a4bf80)

    import { createHive } from '@graphql-hive/core'
    
    const hive = createHive({
      enabled: true,
      token: 'ORGANIZATION_ACCESS_TOKEN',
      usage: {
        target: 'my-org/my-project/my-target'
      }
    })
    

0.9.1

Patch Changes

  • #6494 ae2d16d Thanks @n1ru4l! - Replace usage of crypto.randomUUID() with a custom UUID generation for better backwards compatability.

0.9.0

Minor Changes

  • #6488 f7d65fe Thanks @n1ru4l! - Include and log a x-request-id header for all requests sent to the Hive API. This helps users to share more context with Hive staff when encountering errors.

0.8.4

Patch Changes

0.8.3

Patch Changes

  • #6118 039c66b Thanks @ardatan! - Remove internal _testing_ option to replace the underlying fetch implementation, and add fetch option to do the same as part of the public API.

0.8.2

Patch Changes

0.8.1

Patch Changes

0.8.0

Minor Changes

  • #5401 3ffdb6e Thanks @n1ru4l! - Deduplicate persisted document lookups from the registry for reducing the amount of concurrent HTTP requests.

0.7.1

Patch Changes

0.7.0

Minor Changes

Patch Changes

  • #5361 3f03e7b Thanks @kamilkisiela! - Fixed issue where usage reports were sent only on app disposal or max batch size, now also sent at set intervals.

0.6.1

Patch Changes

  • #5304 f2fef08 Thanks @kamilkisiela! - Fixed a logging issue where both initiated requests and successful responses were being recorded. This was causing the logs to be filled with unnecessary information and affected hive artifact:fetch --artifact command.

0.6.0

Minor Changes

0.5.0

Minor Changes

0.4.0

Minor Changes

0.3.1

Patch Changes

  • #4932 cbc8364 Thanks @n1ru4l! - Prevent failing usage reporting when returning an object with additional properties aside from name and version from the client info object/factory function.

0.3.0

Minor Changes

0.2.4

Patch Changes

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

  • 0a5dbeb: Point to graphql-hive.com

0.2.0

Minor Changes

  • ac9b868c: Support GraphQL v16

0.1.0

Minor Changes

  • d7348a3: Hide literals and remove aliases

Patch Changes

  • d7348a3: Pick operation name from DocumentNode

0.0.5

Patch Changes

  • c6ef3d2: Bob update

0.0.4

Patch Changes

  • 4a7c569: Share operation hashing

0.0.3

Patch Changes

  • 6b74355: Fix sorting

0.0.2

Patch Changes

  • 094c861: Normalization of operations