Skip to content

Add manifest_version validation to fastly.toml parsing.#590

Merged
dgohman-fastly merged 4 commits into
mainfrom
dgohman-fastly/manifest-version
Mar 26, 2026
Merged

Add manifest_version validation to fastly.toml parsing.#590
dgohman-fastly merged 4 commits into
mainfrom
dgohman-fastly/manifest-version

Conversation

@dgohman-fastly
Copy link
Copy Markdown
Contributor

To support using the manifest_version field of fast.toml for future-proofing, issue an error if this field contains a version greater than the greatest version we recognize.

Also, remove the semver dependency, as the version field as documented is an integer.

@dgohman-fastly dgohman-fastly force-pushed the dgohman-fastly/manifest-version branch from 02c5bc9 to 2e73e7e Compare March 2, 2026 22:15
@dgohman-fastly dgohman-fastly force-pushed the dgohman-fastly/manifest-version branch from 9365518 to c85574c Compare March 13, 2026 16:52
chenyan2002
chenyan2002 previously approved these changes Mar 25, 2026
To support using the `manifest_version` field of fast.toml for
future-proofing, issue an error if this field contains a version greater
than the greatest version we recognize.

Also, remove the `semver` dependency, as the version field as [documented]
is an integer.

[documented]: https://www.fastly.com/documentation/reference/compute/fastly-toml/
@dgohman-fastly dgohman-fastly force-pushed the dgohman-fastly/manifest-version branch from a7c4ce2 to 676bf7f Compare March 26, 2026 16:55
@dgohman-fastly dgohman-fastly merged commit 4417907 into main Mar 26, 2026
14 checks passed
@dgohman-fastly dgohman-fastly deleted the dgohman-fastly/manifest-version branch March 26, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants