Skip to content

chore: 💥 remove legacy lib entrypoint forwarding - #2698

Open
chris-olszewski wants to merge 1 commit into
mainfrom
remove-legacy-lib-exports
Open

chris-olszewski wants to merge 1 commit into
mainfrom
remove-legacy-lib-exports

Conversation

@chris-olszewski

@chris-olszewski chris-olszewski commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What was changed

  • Remove the blanket ./lib/* package entrypoints
  • Update a bunch of internal packages to use @temporalio/common/time instead of lib/time. Not strictly necessary since we will be keeping lib/time as a compatibility path.

Why?

These have been deprecated for 2 minors now. It is reasonable to remove them.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@chris-olszewski
chris-olszewski force-pushed the remove-legacy-lib-exports branch from 92d98bb to ec2bf94 Compare November 16, 2026 15:17
@chris-olszewski
chris-olszewski force-pushed the remove-legacy-lib-exports branch 3 times, most recently from ffdc750 to 91ed8e3 Compare November 16, 2026 16:31
*
* @module
*/
/** @lintignore These exports replace the stub's exports at bundle time; Knip cannot follow the webpack alias. */

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal of the wildcard reexport started flagging these.

Comment on lines +108 to 115
"./lib/encoding": {
"types": "./lib/encoding.d.ts",
"default": "./lib/encoding.js"
},
"./lib/time": {
"types": "./lib/time.d.ts",
"default": "./lib/time.js"
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 paths were used in docs/samples/integrations. Keeping them to avoid unnecessary disruption for end users.

@chris-olszewski
chris-olszewski force-pushed the remove-legacy-lib-exports branch from 91ed8e3 to fe3f3ea Compare November 16, 2026 17:13
@chris-olszewski chris-olszewski changed the title chore: remove legacy lib entrypoint forwarding chore: 💥 remove legacy lib entrypoint forwarding Nov 18, 2026
@chris-olszewski
chris-olszewski marked this pull request as ready for review November 18, 2026 20:59
@chris-olszewski
chris-olszewski requested review from a team as code owners November 18, 2026 20:59
@chris-olszewski
chris-olszewski force-pushed the remove-legacy-lib-exports branch from fe3f3ea to 38f78a6 Compare November 23, 2026 18:10
Base automatically changed from drop-bun-pre-1-4 to main November 23, 2026 18:59
@chris-olszewski
chris-olszewski force-pushed the remove-legacy-lib-exports branch from 38f78a6 to 071820c Compare November 23, 2026 18:59

This branch has not been deployed

No deployments
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