temporalio / temporalio/sdk-typescript

[Feature Request] Add support for `URLPattern`

Open
#2,017 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.

URLPattern is a part of the WHAT WG URL API in node and has been since Node 23.8.0. URL and URLSearchParams are both already supported in the workflow sandbox; let's add support for URLPattern too!

Describe the solution you'd like
  • Include URLPattern in the workflow sandbox
Additional context
  1. URLPattern became available in Node 23+
  2. The Temporal SDK supports Node 20 (LTS)
  3. ∴ The support won't be as simple as adding URLPattern beside URL and URLSearchParam

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 inspecting the workflow sandbox support for URL and URLSearchParams referenced in pull request 1173, then trace how the sandbox handles APIs unavailable in the supported Node 20 runtime. Done means URLPattern is available in the workflow sandbox without requiring Node 23+, with the relevant compatibility behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.