Skip to content

hive-router/v0.0.35

Choose a tag to compare

@dotansimha dotansimha released this 27 Jan 16:02
· 571 commits to main since this release
076ed23

Features

  • support multiple Hive CDN endpoints (#718)

Fixes

  • Bump version to fix release and dependencies issues

Support multiple endpoints in Hive CDN Supergraph config

In order to support a Secondary CDN endpoint for better reliability, the Hive CDN Supergraph configuration has been updated to allow specifying either a single endpoint or multiple endpoints.
This change enables users to provide a list of CDN endpoints, enhancing the robustness of their supergraph setup.

Learn more about it in the relevant Hive Console documentation here.

supergraph:
    source: hive
-    endpoint: https://cdn-primary.example.com/supergraph
+    endpoint:
+       - https://cdn-primary.example.com/supergraph
+       - https://cdn-secondary.example.com/supergraph

Fix release issues and conflicts

  • Re-export graphql-tools from hive-console-sdk to make it easier to depend directly on the SDK instead of an external package.

Fixed: 4xx client errors are now properly treated as errors and trigger endpoint failover, instead of being returned as successful responses.

This ensures the CDN fallback mechanism works correctly when endpoints return client errors like 403 Forbidden or 404 Not Found.