chore(release): 0.2.0-alpha.2 — challenges resource + doc fixes#2
Merged
Conversation
### Added - ChallengesResource (`client.challenges.list / retrieve`) wrapping `/v1/challenges` and `/v1/challenges/:id`. Partners can discover available coding challenges in the customer's library before assigning them to candidates. - Challenge, ChallengeListParams, ChallengeStatus types re-exported. - challengeFromWire transform + unit tests (71/71 passing). ### Documentation - README intro broadened — SDK is for any hiring workflow integration, not just ATS partners. - README Resources table now includes client.account and client.challenges. - README error handling adds LangosConflictError and LangosSignatureVerificationError. - CHANGELOG: moved security/correctness entries to [0.2.0-alpha.1] where they actually shipped. Removed misleading 'Challenge resource' line from alpha.1. Corrected the retry list (409 not retried) and error class list (added LangosConflictError + LangosSignatureVerificationError). - CLAUDE.md: fixed broken `for await` examples (need `await` since list() returns Promise<AsyncIterablePage>), corrected default baseUrl, dropped stale monorepo path references, documented the release.yml pipeline. - Genericized greenhouse-themed example identifiers in README.
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
Adds the
client.challengesresource (wraps/v1/challenges+/v1/challenges/:idfrom PR #345 server-side) and consolidates doc fixes surfaced by the post-publish review.Added
client.challengesresource —list({ status, language, limit, cursor })+retrieve(id). Partners need this to discover available challenges in the customer's library before assigning them.Challenge,ChallengeListParams,ChallengeStatustypes re-exported.challengeFromWiretransform with unit-test coverage.Documentation fixes
client.accountandclient.challengesrows.LangosConflictErrorandLangosSignatureVerificationError.[0.2.0-alpha.1]where they actually shipped. Removed misleading 'Challenge resource' line from alpha.1. Corrected the retry list (409 not retried) and error class list.for awaitexamples (needawaitsincelist()returnsPromise<AsyncIterablePage>). Corrected default baseUrl. Dropped stale monorepo path references. Documented the release.yml pipeline.greenhouse-app-12345/GreenhouseConnector/2.1.0placeholders.Validation
pnpm run lintcleanpnpm run buildproduces ESM + CJS + d.ts (21.56 KB d.ts now)pnpm test— 71/71 passing (was 69; +2 challenge transform tests)npm pack --dry-run— same 10-file tarball shape (no source/test/config leakage)Release
After merge, tag
v0.2.0-alpha.2and push it —release.ymlwill publish to npm automatically. This will be the first real test of the release pipeline (alpha.1 was published manually before Actions was enabled at org level).Follow-up
A separate monorepo PR will add an
sdk-contractscenario exercisingclient.challenges.list/retrieveper paid tier, once0.2.0-alpha.2is live on npm.