console/packages/libraries/router/CHANGELOG.md
2026-03-24 10:08:15 -07:00

13 KiB

16.10.2024

3.0.3

Patch Changes

  • #7815 078e661 Thanks @ardatan! - Bump hive-console-sdk to 0.3.7 to pin graphql-tools to a compatible version. The previous hive-console-sdk@0.3.5 allowed graphql-tools@^0.5 which resolves to 0.5.2, a version that removes public API traits (SchemaDocumentExtension, FieldByNameExtension, etc.) that hive-console-sdk depends on.

3.0.2

Patch Changes

  • #7585 9a6e8a9 Thanks @dotansimha! - Upgrade to latest hive-console-sdk and drop direct dependency on graphql-tools

3.0.1

Patch Changes

  • #7476 f4d5f7e Thanks @kamilkisiela! - Updated hive-apollo-router-plugin to use hive-console-sdk from crates.io instead of a local dependency. The plugin now uses graphql-tools::parser instead of graphql-parser to leverage the parser we now ship in graphql-tools crate.

3.0.0

Major Changes

  • #7379 b134461 Thanks @ardatan! - - Multiple endpoints support for HiveRegistry and PersistedOperationsPlugin

    Breaking Changes:

    • Now there is no endpoint field in the configuration, it has been replaced with endpoints, which is an array of strings. You are not affected if you use environment variables to set the endpoint.
    HiveRegistry::new(
        Some(
            HiveRegistryConfig {
    -            endpoint: String::from("CDN_ENDPOINT"),
    +            endpoints: vec![String::from("CDN_ENDPOINT1"), String::from("CDN_ENDPOINT2")],
        )
    )
    

Patch Changes

2.3.6

Patch Changes

2.3.5

Patch Changes

  • Updated dependencies [24c0998]:
    • hive-console-sdk-rs@0.2.2

2.3.4

Patch Changes

  • Updated dependencies [69e2f74]:
    • hive-console-sdk-rs@0.2.1

2.3.3

Patch Changes

  • Updated dependencies [cc6cd28]:
    • hive-console-sdk-rs@0.2.0

2.3.2

Patch Changes

  • Updated dependencies [d8f6e25]:
    • hive-console-sdk-rs@0.1.1

2.3.1

Patch Changes

  • #7196 7878736 Thanks @ardatan! - Breaking;

    • UsageAgent now accepts Duration for connect_timeout and request_timeout instead of u64.
    • SupergraphFetcher now accepts Duration for connect_timeout and request_timeout instead of u64.
    • PersistedDocumentsManager now accepts Duration for connect_timeout and request_timeout instead of u64.
    • Use original graphql-parser and graphql-tools crates instead of forked versions.
  • Updated dependencies [7878736]:

    • hive-console-sdk-rs@0.1.0

2.3.0

Minor Changes

  • #7143 b80e896 Thanks @ardatan! - Extract Hive Console integration implementation into a new package hive-console-sdk which can be used by any Rust library for Hive Console integration

    It also includes a refactor to use less Mutexes like replacing lru + Mutex with the thread-safe moka package. Only one place that handles queueing uses Mutex now.

Patch Changes

  • #7143 b80e896 Thanks @ardatan! - Fixes a bug when Persisted Operations are enabled by default which should be explicitly enabled

  • Updated dependencies [b80e896]:

    • hive-console-sdk-rs@0.0.1

2.2.0

Minor Changes

Patch Changes

2.1.3

Patch Changes

2.1.2

Patch Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #6577 c5d7822 Thanks @dotansimha! - 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).

    # ... other apollo-router configuration
    plugins:
      hive.usage:
        enabled: true
        registry_token: 'ORGANIZATION_ACCESS_TOKEN'
        target: 'my-org/my-project/my-target'
    

2.0.0

Major Changes

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

1.0.1

Patch Changes

1.0.0

Major Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.1

Patch Changes

  • #5898 1a92d7d Thanks @dotansimha! - Initial release of hive-apollo-router-plugin crate

  • Report enum values when an enum is used as an output type and align with JS implementation

19.07.2024

  • Writes supergraph-schema.graphql file to a temporary directory (the path depends on OS), and this is now the default of HIVE_CDN_SCHEMA_FILE_PATH.

10.04.2024

  • HIVE_CDN_ENDPOINT and endpoint accept an URL with and without the /supergraph part

09.01.2024

  • Introduce HIVE_CDN_SCHEMA_FILE_PATH environment variable to specify where to download the supergraph schema (default is ./supergraph-schema.graphql)

11.07.2023

  • Use debug level when logging dropped operations

07.06.2023

  • Introduce enabled flag (Usage Plugin)

23.08.2022

  • Don't panic on scalars used as variable types
  • Introduce buffer_size
  • Ignore operations including __schema or __type