Upgrading
Upgrading to 0.24.0
If you haven’t upgraded to 0.23.0
please read the upgrading
guide.
v0.24.0
of the runtime rethinks the way we handle draft/preview mode. Refer to
the official release
notes
for more details.
Breaking Changes
Removed <DraftModeScript />
and <PreviewModeScript />
The <DraftModeScript />
and <PreviewModeScript />
components are no longer
necessary to edit your pages within the Makeswift Visual Builder and have been
removed from the runtime. You can safely remove any imports and usages of these
components from your code.
App Router
src/app/layout.tsx
Pages Router
src/pages/_document.tsx
Removed MAKESWIFT_DRAFT_MODE_PROXY_FORCE_HTTP
environment variable
If your Makeswift site is deployed with Docker, the
MAKESWIFT_DRAFT_MODE_PROXY_FORCE_HTTP
environment variable is no longer
used or necessary. You can safely remove it from your Docker build.
Was this page helpful?