@makeswift/runtime breaking changes
Updated December 4, 2026
On this page
Latest version 0.29.3. Source repository
Its 0.25.0 release requires Node.js 20 or later. Node.js end of life dates.
@makeswift/runtime 0.29.0 breaking changes
- Removed
The runtime now requires React 19 because its new CSS engine depends on React 19 stylesheet hoisting. Upgrade React to 19 before updating. github.com - Removed
Earlier Next.js versions are incompatible with React 19, so Next.js hosts must upgrade to Next.js 15 or later. github.com - Removed
RootStyleRegistry.cacheKey
The runtime no longer uses an Emotion cache, so remove the cacheKey prop. Use the new optional classNamePrefix prop to customize class names. github.com - Removed
unstable_enforceSuccess
The experimental unstable_enforceSuccess option has been removed because the new endpoint always returns a success response for well-formed requests. Stop passing this option. github.com - Removed
unstable-framework-support:createRootStyleCache
createRootStyleCache was removed in @makeswift/runtime 0.29.0 npmjs.com - Removed
unstable-framework-support:RootStyleProps.cacheKey
RootStyleProps.cacheKey was removed in @makeswift/runtime 0.29.0 npmjs.com - Removed
unstable-framework-support:StyleTagSSR
StyleTagSSR was removed in @makeswift/runtime 0.29.0 npmjs.com - Behavior changed
RootStyleRegistry
A RootStyleRegistry must always be present as a child of ReactRuntimeProvider, or Makeswift content will not render. github.com - Signature changed
client:MakeswiftClient.getComponentSnapshot
Was getComponentSnapshot(id: string, {siteVersion: siteVersionPromise, locale, allowLocaleFallback, unstable_enforceSuccess}: {siteVersion: SiteVersion | null | Promise<SiteVersion | null>; locale?: string; allowLocaleFallback?: boolean... npmjs.com - Signature changed
ComponentMeta
Was type ComponentMeta = {label: string; icon: ComponentIcon; hidden: boolean; description?: string; builtinSuspense?: boolean; unstable_migration?: {replacementType: string;};}; now type ComponentMeta = {label: string; icon... npmjs.com - Signature changed
controls:RichTextV2Definition.fullSchema
Was static fullSchema<S extends SchemaTypeAny>({pluginDef}: {pluginDef: S;}): {config: z.ZodObject<{mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"makeswift::controls::rich-text-v2::mode::inline">... npmjs.com - Signature changed
controls:RichTextV2Definition.resolveValue
Was resolveValue(data: DataType | undefined, _resolver: ResourceResolver, _stylesheet: Stylesheet, control?: InstanceType): Resolvable<ReactNode | undefined>; now resolveValue(data: DataType | undefined, _resolver: ResourceResolver... npmjs.com - Signature changed
getOptions
Calls to getOptions must now pass a context argument. Update existing calls to supply it. github.com - Signature changed
next:Makeswift.getComponentSnapshot
Was getComponentSnapshot(id: string, {siteVersion: siteVersionPromise, locale, allowLocaleFallback, unstable_enforceSuccess}: {siteVersion: SiteVersion | null | Promise<SiteVersion | null>; locale?: string; allowLocaleFallback?: boolean... npmjs.com - Signature changed
next:ReactRuntime.registerComponent
Was registerComponent<ControlDef extends UnifiedControlDefinition, P extends Record<string, LegacyDescriptor | ControlDef>, C extends ComponentType<{[K in keyof P]: DescriptorValueType<P[K]>;}>>(component: C, {type, label, icon, hidden... npmjs.com - Signature changed
next:RootStyleRegistry
Was function NextRootStyleRegistry({children, cacheKey, enableCssReset}: PropsWithChildren<RootStyleProps>): import("react/jsx-runtime").JSX.Element; now function NextRootStyleRegistry({children, classNamePrefix, enableCssReset... npmjs.com - Signature changed
react/core:ReactRuntimeCore.registerComponent
Was registerComponent<ControlDef extends UnifiedControlDefinition, P extends Record<string, LegacyDescriptor | ControlDef>, C extends ComponentType<{[K in keyof P]: DescriptorValueType<P[K]>;}>>(component: C, {type, label, icon, hidden... npmjs.com - Signature changed
unstable-framework-support:DefaultRootStyleRegistry
Was function DefaultRootStyleRegistry({children, cacheKey, enableCssReset}: PropsWithChildren<RootStyleProps>): import("react/jsx-runtime").JSX.Element; now function DefaultRootStyleRegistry({children, classNamePrefix, enableCssReset... npmjs.com - Signature changed
unstable-framework-support:FrameworkContext
Was type FrameworkContext = {Head: HeadComponent; HeadSnippet: HeadSnippet; Image: ImageComponent; Link: LinkComponent;}; now type FrameworkContext = {Head: HeadComponent; HeadSnippet: HeadSnippet; Image: ImageComponent; Link... npmjs.com - Signature changed
unstable-framework-support:RootStyleProps
Was type RootStyleProps = {cacheKey?: string; enableCssReset?: boolean;}; now type RootStyleProps = {classNamePrefix?: string; enableCssReset?: boolean; forceImportant?: boolean;}. npmjs.com - Signature changed
unstable-framework-support:RootStyleRegistry
Was function RootStyleRegistry({children, cache, enableCssReset}: PropsWithChildren<{cache: StyleCache; enableCssReset?: boolean;}>): import("react/jsx-runtime").JSX.Element; now function RootStyleRegistry({children, stylesRegistry... npmjs.com - Signature changed
unstable-framework-support:styleTagHtml
Was const styleTagHtml: ({cacheKey, classNames, css}: StyleTagProps) => string; now function styleTagHtml({href, precedence, css}: ComponentProps<typeof MakeswiftStyle>): string. npmjs.com
@makeswift/runtime 0.28.0 breaking changes
- Behavior changed
GoogleFontLink
GoogleFontLink no longer transforms the siteId prop. The siteId passed in must already be in the format the host API provides. github.com
@makeswift/runtime 0.27.0 breaking changes
- Removed
react:ReactRuntime
ReactRuntime was removed in @makeswift/runtime 0.27.0 npmjs.com - Removed
react/core:ReactRuntimeCore.constructor
new ReactRuntimeCore() was removed in @makeswift/runtime 0.27.0 npmjs.com - Removed
ReactRuntime
ReactRuntime is no longer exported from @makeswift/runtime/react; import it from @makeswift/runtime/next instead. github.com - Removed
unstable-framework-support:ApiHandlerUserConfig.apiOrigin
ApiHandlerUserConfig.apiOrigin was removed in @makeswift/runtime 0.27.0 npmjs.com - Removed
unstable-framework-support:ApiHandlerUserConfig.appOrigin
ApiHandlerUserConfig.appOrigin was removed in @makeswift/runtime 0.27.0 npmjs.com - Removed
unstable-framework-support:FrameworkContext.versionedFetch
The versionedFetch option is renamed to fetch; update code that passes versionedFetch. npmjs.com - Removed
unstable-framework-support:versionedFetch
versionedFetch was removed in @makeswift/runtime 0.27.0 npmjs.com - Signature changed
builder:HostToBuilderActionTypes
Was const HostToBuilderActionTypes: {readonly REGISTER_COMPONENT: "REGISTER_COMPONENT"; readonly UNREGISTER_COMPONENT: "UNREGISTER_COMPONENT"; readonly MAKESWIFT_CONNECTION_CHECK: "MAKESWIFT_CONNECTION_CHECK"; readonly... npmjs.com - Signature changed
builder:Operation
Was export {type Operation} from "../state/modules/read-write-documents"; now export {type Operation} from "../state/modules/read-write/read-write-documents". npmjs.com - Signature changed
builder:Props.Data
Was export {type Data} from "../state/react-page"; now export {type Data} from "../state/read-only-state". npmjs.com
And 14 more in this version. Sign up to see every change
@makeswift/runtime 0.26.0 breaking changes
- Removed
@makeswift.runtime.box-model
The box-model entry point was removed; the BoxModel type is now exported via the internal core entrypoint. github.com - Removed
@makeswift.runtime.components
The components entry point was removed, along with exposed internal hooks and constants. github.com - Removed
@makeswift.runtime.prop-controllers
The prop-controllers entry point, containing internal only functionality and types, was removed. github.com - Removed
@makeswift.runtime.slate
The slate entry point, which only contained internal functions, was removed. github.com - Removed
Action
Action was removed in @makeswift/runtime 0.26.0 npmjs.com - Removed
ActionTypes
ActionTypes was removed in @makeswift/runtime 0.26.0 npmjs.com - Removed
box-model:BoxModel
BoxModel was removed in @makeswift/runtime 0.26.0 npmjs.com - Removed
box-model:BoxModelHandle
BoxModelHandle was removed in @makeswift/runtime 0.26.0 npmjs.com - Removed
box-model:createBox
createBox was removed in @makeswift/runtime 0.26.0 npmjs.com - Removed
box-model:getBox
getBox was removed in @makeswift/runtime 0.26.0 npmjs.com
And 171 more in this version. Sign up to see every change
@makeswift/runtime 0.25.0 breaking changes
- Removed
client:MakeswiftClient.getSitemap
MakeswiftClient.getSitemap was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
components:Page
Page was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
getSitemap
The getSitemap client method is removed. Build the sitemap with client.getPages instead. github.com - Removed
next:Makeswift.getSitemap
Makeswift.getSitemap was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
next:MakeswiftPreviewData
MakeswiftPreviewData was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
next:PageProps.metadata
PageProps.metadata was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
next:PageProps.snapshot
PageProps.snapshot was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
next/server:Manifest.previewMode
Manifest.previewMode was removed in @makeswift/runtime 0.25.0 npmjs.com - Removed
PageProvider
The obsolete PageProvider component is removed. Remove its usage from your code. github.com - Removed
react:PageProvider
PageProvider was removed in @makeswift/runtime 0.25.0 npmjs.com
And 50 more in this version. Sign up to see every change
@makeswift/runtime 0.24.0 breaking changes
- Removed
Experimental APIs for middleware request patching are removed. Code that imports them must stop using them. github.com - Removed
Draft cookies are now set directly on the client instead of being proxied. Previous proxying rewrites and endpoints are removed, so code relying on them must change. github.com - Removed
DraftModeScript
DraftModeScript is no longer needed and is removed. Delete its import and use from your layouts. github.com - Removed
next:PreviewModeScript
PreviewModeScript was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
next/middleware:unstable_createMakeswiftDraftRequest
unstable_createMakeswiftDraftRequest was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
next/middleware:unstable_fetchMakeswiftDraftProxyResponse
unstable_fetchMakeswiftDraftProxyResponse was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
next/middleware:unstable_getMakeswiftDraftSecret
unstable_getMakeswiftDraftSecret was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
next/middleware:unstable_isPreviewModeRequest
unstable_isPreviewModeRequest was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
next/server:DraftModeScript
DraftModeScript was removed in @makeswift/runtime 0.24.0 npmjs.com - Removed
PreviewModeScript
PreviewModeScript is no longer needed and is removed. Delete its import and use from your documents. github.com
And 7 more in this version. Sign up to see every change
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
@makeswift/runtime 0.23.0 breaking changes
- Removed
createDocument
createDocument was removed in @makeswift/runtime 0.23.0 npmjs.com - Removed
next:MakeswiftPageSnapshot.apiOrigin
MakeswiftPageSnapshot.apiOrigin was removed in @makeswift/runtime 0.23.0 npmjs.com
And 35 more in this version.
@makeswift/runtime 0.22.0 breaking changes
- Removed
state/breakpoints:Breakpoint.id
Breakpoint.id was removed in @makeswift/runtime 0.22.0 npmjs.com - Removed
state/breakpoints:Breakpoint.label
Breakpoint.label was removed in @makeswift/runtime 0.22.0 npmjs.com
And 79 more in this version.
@makeswift/runtime 0.21.0 breaking changes
- Removed
@makeswift.runtime.next
The Makeswift custom Document export moved from @makeswift/runtime/next to @makeswift/runtime/next/document. Update the import in src/pages/_document.ts. github.com - Renamed
next:Document
Use Document instead. npmjs.com
And 3 more in this version.
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.