Skip to content

fix!: don't shim WeakRef#28493

Merged
aqrln merged 1 commit intonextfrom
aqrln-nuolopyusoqk
Nov 10, 2025
Merged

fix!: don't shim WeakRef#28493
aqrln merged 1 commit intonextfrom
aqrln-nuolopyusoqk

Conversation

@aqrln
Copy link
Copy Markdown
Member

@aqrln aqrln commented Nov 9, 2025

Stubbing WeakRef is no longer necessary because Workers support it since compatibility_date 2025-05-05. We can now remove the shim and avoid memory leaks.

Closes: https://linear.app/prisma-company/issue/TML-1548/remove-weakref-shim-for-cf-workers-and-bump-minimal-compatibility-date

Stubbing `WeakRef` is no longer necessary because Workers support it
since `compatibility_date` `2025-05-05`. We can now remove the shim and
avoid memory leaks.

Closes: https://linear.app/prisma-company/issue/TML-1548/remove-weakref-shim-for-cf-workers-and-bump-minimal-compatibility-date
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 9, 2025

size-limit report 📦

Path Size
packages/client/runtime/index-browser.js 2.23 KB (0%)
packages/client/runtime/index-browser.d.ts 3.28 KB (0%)
packages/cli/build/index.js 2.14 MB (0%)
packages/client/prisma-client-0.0.0.tgz 10.79 MB (-0.01% 🔽)
packages/cli/prisma-0.0.0.tgz 8.95 MB (0%)
packages/bundle-size/da-workers-libsql/output.tgz 846.46 KB (-0.01% 🔽)
packages/bundle-size/da-workers-neon/output.tgz 901.42 KB (-0.01% 🔽)
packages/bundle-size/da-workers-pg/output.tgz 894.26 KB (-0.01% 🔽)
packages/bundle-size/da-workers-planetscale/output.tgz 846.97 KB (-0.01% 🔽)
packages/bundle-size/da-workers-d1/output.tgz 829.34 KB (-0.01% 🔽)

@aqrln aqrln added this to the 7.0.0 milestone Nov 9, 2025
@aqrln aqrln marked this pull request as ready for review November 9, 2025 11:11
@aqrln aqrln merged commit ab83e99 into next Nov 10, 2025
175 of 180 checks passed
@aqrln aqrln deleted the aqrln-nuolopyusoqk branch November 10, 2025 08:44
aqrln added a commit that referenced this pull request Nov 17, 2025
Stubbing `WeakRef` is no longer necessary because Workers support it
since `compatibility_date` `2025-05-05`. We can now remove the shim and
avoid memory leaks.

Closes:
https://linear.app/prisma-company/issue/TML-1548/remove-weakref-shim-for-cf-workers-and-bump-minimal-compatibility-date
aqrln added a commit that referenced this pull request Nov 17, 2025
Stubbing `WeakRef` is no longer necessary because Workers support it
since `compatibility_date` `2025-05-05`. We can now remove the shim and
avoid memory leaks.

Closes:
https://linear.app/prisma-company/issue/TML-1548/remove-weakref-shim-for-cf-workers-and-bump-minimal-compatibility-date
aqrln added a commit that referenced this pull request Nov 17, 2025
Stubbing `WeakRef` is no longer necessary because Workers support it
since `compatibility_date` `2025-05-05`. We can now remove the shim and
avoid memory leaks.

Closes:
https://linear.app/prisma-company/issue/TML-1548/remove-weakref-shim-for-cf-workers-and-bump-minimal-compatibility-date
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.

2 participants