@vitejs/plugin-rsc breaking changes
@vitejs/plugin-rsc 0.5.37 (October 13, 2026) is its newest release with breaking changes, 7 of them. The first: Signature changed transforms:TransformHoistInlineDirectiveMeta. Every breaking API change we have recorded in @vitejs/plugin-rsc on npm: 29 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.5.41, released December 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@vitejs/plugin-rsc 0.5.37 breaking changes
- Signature changed
transforms:TransformHoistInlineDirectiveMeta
Was type TransformHoistInlineDirectiveMeta = {directiveMatch: RegExpMatchArray; valueNode: ArrowFunctionExpression | FunctionDeclaration | FunctionExpression;}; now type TransformHoistInlineDirectiveMeta = {directiveMatch... npmjs.com - Signature changed
transforms:TransformHoistInlineDirectiveOptions
Was type TransformHoistInlineDirectiveOptions = {runtime: (value: string, name: string, meta: TransformHoistInlineDirectiveMeta) => string; directive: string | RegExp; rejectNonAsyncFunction?: boolean; encode?: (value: string) => string... npmjs.com - Signature changed
transforms:TransformHoistInlineDirectiveOptions.decode
Was decode?: (value: string) => string; now decode?: (value: string, name: string) => string. npmjs.com - Signature changed
transforms:TransformHoistInlineDirectiveOptions.encode
Was encode?: (value: string) => string; now encode?: (value: string, name: string) => string. npmjs.com - Signature changed
transforms:TransformServerActionServerOptions
Was type TransformServerActionServerOptions = {runtime: (value: string, name: string) => string; rejectNonAsyncFunction?: boolean; encode?: (value: string) => string; decode?: (value: string) => string;}; now type... npmjs.com - Signature changed
transforms:TransformServerActionServerOptions.decode
Was decode?: (value: string) => string; now decode?: (value: string, name: string) => string. npmjs.com - Signature changed
transforms:TransformServerActionServerOptions.encode
Was encode?: (value: string) => string; now encode?: (value: string, name: string) => string. npmjs.com
@vitejs/plugin-rsc 0.5.35 breaking changes
- Behavior changed
The rsc utils package was replaced in an internal refactor; code importing it directly may need to change. github.com
@vitejs/plugin-rsc 0.5.33 breaking changes
- Behavior changed
Files marked with use server now reject static non-function exports, so such code will fail to build. Export only functions from these files. github.com - Behavior changed
Files marked with use server now reject uninitialized exports, so such code will fail to build. Initialize exports in these files. github.com - Behavior changed
String literals are now read as directives only when they appear at the top of a module. Directive strings placed elsewhere no longer take effect. github.com - Signature changed
transforms:findDirectives
Was function findDirectives(ast: Program, directive: string): Literal[]; now function findDirectives(viteAst: ESTree.Program, directive: string): Literal[]. npmjs.com - Signature changed
transforms:hasDirective
Was function hasDirective(body: Program["body"], directive: string): boolean; now function hasDirective(viteBody: ESTree.Program["body"], directive: string): boolean. npmjs.com - Signature changed
transforms:transformDirectiveProxyExport
Was function transformDirectiveProxyExport(ast: Program, options: {directive: string;} & TransformProxyExportOptions): {exportNames: string[]; output: MagicString;} | undefined; now function transformDirectiveProxyExport(ast... npmjs.com - Signature changed
transforms:TransformExpandExportAllContext.load
Was load: (id: string) => Promise<Program>; now load: (id: string) => Promise<ESTree.Program>. npmjs.com - Signature changed
transforms:TransformExpandExportAllOptions.ast
Was ast: Program; now ast: ESTree.Program. npmjs.com - Signature changed
transforms:TransformExpandExportAllOptions.load
Was load: (id: string) => Promise<Program>; now load: (id: string) => Promise<ESTree.Program>. npmjs.com - Signature changed
transforms:transformHoistInlineDirective
Was function transformHoistInlineDirective(input: string, ast: Program, {runtime, rejectNonAsyncFunction, ...options}: {runtime: (value: string, name: string, meta: {directiveMatch: RegExpMatchArray;}) => string; directive: string |... npmjs.com
And 7 more in this version. Sign up to see every change
@vitejs/plugin-rsc 0.5.31 breaking changes
- Configuration changed
keepUseClientProxy
The keepUseClientProxy option name was corrected from a misspelled version. Code that used the misspelled option name needs to use keepUseClientProxy. github.com - Signature changed
RscPluginOptions
Was type RscPluginOptions = {entries?: Partial<Record<"client" | "ssr" | "rsc", string>>; serverHandler?: {environmentName: string; entryName: string;} | false; loadModuleDevProxy?: boolean; rscCssTransform?: false | {filter?: (id: string)... npmjs.com - Signature changed
transforms:transformServerActionServer
Was function transformServerActionServer(input: string, ast: Program, options: {runtime: (value: string, name: string) => string; rejectNonAsyncFunction?: boolean; encode?: (value: string) => string; decode?: (value: string) => string;})... npmjs.com
@vitejs/plugin-rsc 0.5.27 breaking changes
- Removed
transforms:getExportNames
getExportNames was removed in @vitejs/plugin-rsc 0.5.27 npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.