Skip to content

Improve SWC transform ID generation#69183

Merged
shuding merged 2 commits into
canaryfrom
shu/d9r7
Aug 22, 2024
Merged

Improve SWC transform ID generation#69183
shuding merged 2 commits into
canaryfrom
shu/d9r7

Conversation

@shuding

@shuding shuding commented Aug 22, 2024

Copy link
Copy Markdown
Member

This adds an extra hash_salt option to the Server Actions transform's generate_action_id method which defaults to empty for now (so no actual behavior changes). When set, the salt will be used to prefix the payload.

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. Turbopack Related to Turbopack with Next.js. type: next labels Aug 22, 2024
@ijjk

ijjk commented Aug 22, 2024

Copy link
Copy Markdown
Member

Tests Passed

@huozhi huozhi self-requested a review August 22, 2024 16:05
@shuding shuding merged commit 1face6e into canary Aug 22, 2024
@shuding shuding deleted the shu/d9r7 branch August 22, 2024 21:07
lubieowoce pushed a commit that referenced this pull request Sep 3, 2024
This adds an extra `hash_salt` option to the Server Actions transform's
`generate_action_id` method which defaults to empty for now (so no
actual behavior changes). When set, the salt will be used to prefix the
payload.
@github-actions github-actions Bot added the locked label Sep 6, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Next.js team PRs by the Next.js team. locked Turbopack Related to Turbopack with Next.js. type: next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants