Skip to content

Commit 447c994

Browse files
authored
Revert "Revert "feat(cdn): add versioned artifact endpoints" (#7399)"
This reverts commit 1cd44f6.
1 parent 1cd44f6 commit 447c994

File tree

10 files changed

+1063
-15
lines changed

10 files changed

+1063
-15
lines changed

.changeset/two-baboons-tie.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'hive': minor
3+
---
4+
5+
Add support for retrieving CDN artifacts by version ID.
6+
7+
New CDN endpoints allow fetching schema artifacts for a specific version:
8+
- `/artifacts/v1/:targetId/version/:versionId/:artifactType`
9+
- `/artifacts/v1/:targetId/version/:versionId/contracts/:contractName/:artifactType`
10+
11+
Artifacts are now written to both the latest path and a versioned path during schema publish, enabling retrieval of historical versions.
12+
13+
CDN artifact responses now include the `x-hive-schema-version-id` header, providing the version ID of the schema being served.

0 commit comments

Comments
 (0)