Skip to content

chore: version packages - #3

Merged
CXPhoenix merged 1 commit into
mainfrom
changeset-release/main
Jul 27, 2026
Merged

chore: version packages#3
CXPhoenix merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cxphoenix/vp-wasm-coding@0.2.0

Minor Changes

  • cb86054: generate_challenge params 支援兩個新的參數規格頂層欄位(預設皆為 false,未宣告時行為完全不變):

    • distinct: true — 同一行抽出的值兩兩相異。intenum(values 先去重)支援;字串型別與 faker 宣告即於建構期報錯。值域不足 count.max 時建構期報錯;值域恰好等於 count.max 時輸出為隨機排列。
    • prefix_count: true — 行首以 count.separator join 語意輸出實際個數 n(APCS 慣例的 n x1 … xn 格式);適用所有型別;n = 0 時該行輸出恰為 0

    行為收緊(請注意):params 內的未知欄位名(含 count 巢狀內)從「靜默忽略」改為建構期報錯——拼錯的欄位(如 "distnct""prefix-count")過去會被無聲丟棄並停用其保證,現在會使 generate_challenge 回傳錯誤。若你的 params 夾帶額外鍵(如註解用途的 "description"),升級後需移除。完整 schema 見 crates/random-input-generator/README.md

@cxphoenix/vp-wasm-coding-example-basic@0.0.2

Patch Changes

  • Updated dependencies [cb86054]
    • @cxphoenix/vp-wasm-coding@0.2.0

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 57c385b to f9a5d1d Compare July 27, 2026 09:18
@CXPhoenix
CXPhoenix merged commit 9a2afdc into main Jul 27, 2026
1 check passed
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.

1 participant