Releases: makeswift/makeswift
@makeswift/next-plugin@0.3.0
Minor Changes
-
39e160a: BREAKING: Drop support for Next.js versions lower than 13.4.0.
We're moving our Preview Mode implementation to Draft Mode, which was added on Next.js v13.4.0.
-
9cb2f76: BREAKING: Stop transpiling
@makeswift/runtime
.This was needed because of
next/dynamic
which we're now usingReact.lazy
.
Patch Changes
@makeswift/runtime@0.14.5
Patch Changes
- 9bf0537: Fix types export for
@makeswift/runtime/slate
@makeswift/runtime@0.14.4
Patch Changes
- cfd1039: Transpile dynamic imports when building CommonJS format.
@makeswift/runtime@0.14.3
Patch Changes
- f146a6c: Fix exports for internal
@makeswift/runtime/state/breakpoints
.
@makeswift/runtime@0.14.2
Patch Changes
- 665f6e1: Avoid throwing an error in
SocialLinks
builtin component if an option is not found. - 3587117: Update Facebook logo for
SocialLinks
builtin component. - 88fb167: Add X and Slack icons to legacy
SocialLinks
prop controller. - 8717b5a: Add deprecation JSDoc to undocumented, legacy prop controllers.
@makeswift/runtime@0.14.1
Patch Changes
- b19d110: Fix a bug in translating
Text
components containing detached typography.
makeswift@0.2.2
Patch Changes
- e94272f: Fix issue with CLI where it wouldn't automatically start your app if used with Bun.
makeswift@0.2.1
Patch Changes
-
e30675e: Update the CLI to support Bun.
Opening the CLI with
bunx makeswift init
now uses Bun for all commands.
The--use-bun
flag was also added to force the CLI to use Bun regardless of which package manager it was opened with. -
461698e: Update the CLI to support the
--use-yarn
flag. This flag makes the CLI use yarn regardless of which package manager it was opened with. -
0edd60e: Update the CLI to use the package manager it was opened with.
For
npx makeswift init
, the CLI will usepnpm
.
Forpnpm dlx makeswift init
, the CLI will usepnpm
.
Foryarn exec makeswift init
, the CLI will useyarn
.
makeswift@0.2.0
Minor Changes
- 0c31138: Update the CLI for @makeswift/runtime v0.14.0.
@makeswift/runtime@0.14.0
Minor Changes
-
1d58edb: BREAKING: Replace Vite with tsup. The build script now transpiles source files instead of bundling them to preserve
'use client'
directives for Next.js App Router support. -
32f9a1f: BREAKING: Move
MakeswiftApiHandler
from@makeswift/runtime/next
to@makeswift/runtime/next/server
.This change was necessary because there are server-only dependencies for the API handler and if these dependencies are bundled and run in the browser it can cause various issues. In our case, a transitive dependency of
http-proxy
(follow-redirects
) was being included in browser bundles resulting in client-side exceptions in Safari and Firefox due to anError.captureStackTrace
call that was intended to run only on Node.js.To migrate change your
pages/api/makeswift/[...makeswift].ts
file:-import { MakeswiftApiHandler } from '@makeswift/runtime/next' +import { MakeswiftApiHandler } from '@makeswift/runtime/next/server' export default MakeswiftApiHandler(process.env.MAKESWIFT_SITE_API_KEY)
-
9021859: Fix circular dependency with
nextDynamicForwardRef
. -
f7968da: BREAKING: Remove deprecated functions from v0.2.0.
See more info on the GitHub release.