temporalio / temporalio/sdk-typescript
[Feature Request] Export SDK version
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 917
- Forks
- 224
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 43
Description
Is your feature request related to a problem? Please describe.
Need version at runtime like other SDKs
Describe the solution you'd like
Currently can get at a worker level via import pkg from '@temporalio/worker/lib/pkg'; and pkg.version or by using the package.json directly, but should be in a more blessed/official place. Unsure whether this is in the meta package or common package or what.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current worker-level import from @temporalio/worker/lib/pkg and the package.json approach. Compare whether the official runtime version belongs in the meta package or common package, as the issue leaves this open. Done means users have a documented, blessed way to retrieve the SDK version at runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100