chore(environments-client): release 0.4.0 with the List and Link value types - #512
Merged
Merged
Conversation
…e types The generated spec and types already carry `List`, `Link` and `item_type` — they match the live prod definition byte for byte, confirmed by re-running `openapi` and `typegen` against https://docs.api.epilot.io/environments.yaml. Only the published package was behind: 0.3.1 predates them, so consumers still see `EnvironmentValueType` as 'String' | 'SecretString' and have to declare the types locally. Bumps to 0.4.0 and consumes the pending changeset, which already called this a minor. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JtZjbi6NieSBt1z5gAwv8M
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JtZjbi6NieSBt1z5gAwv8M
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Version bump only — no generated output changes.
The committed spec and types already carry
List,Linkanditem_type. I verified that rather than assuming it: re-runningpnpm run openapiagainsthttps://docs.api.epilot.io/environments.yamland thenpnpm run typegenproduces zero diff, sosrc/openapi.json,src/openapi-runtime.jsonandsrc/openapi.d.tsalready match the live prod definition byte for byte.What was behind is only the published package.
0.3.1is from June and predates all of it, so consumers still resolveEnvironmentValueTypeas'String' | 'SecretString'and have to declareList/Linklocally — whichepilot360-ecp-settingsandcustomer-portal-apicurrently do, with a note to drop them once this ships.Changes
clients/environments-client/package.json:0.3.1→0.4.0.changeset/environments-client-link-type.md, consumed by this bump — it already called this aminorNo CHANGELOG entry, as requested.
Verification
pnpm run openapi+pnpm run typegen→ no diff against the live prod specpnpm run build→ clean (tsc, patch, webpack)npm pack→ 13 files; packeddist/openapi.d.tscarries the full enum:"String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"🤖 Generated with Claude Code
https://claude.ai/code/session_01JtZjbi6NieSBt1z5gAwv8M
Generated by Claude Code