temporalio / temporalio/sdk-typescript

[Feature Request] Export SDK version

Open
#417 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.