Skip to content

Releases: makeswift/makeswift

@makeswift/next-plugin@0.3.0

27 Mar 00:46
Compare
Choose a tag to compare

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 using React.lazy.

Patch Changes

  • 2719416: Introduces draft mode for Next.js app router applications. Existing pages router applications are still supported via preview mode.
  • a220ecb: Add Next.js as a peer dependency of @makeswift/next-plugin.

@makeswift/runtime@0.14.5

11 Mar 20:34
Compare
Choose a tag to compare

Patch Changes

  • 9bf0537: Fix types export for @makeswift/runtime/slate

@makeswift/runtime@0.14.4

06 Mar 01:09
Compare
Choose a tag to compare

Patch Changes

  • cfd1039: Transpile dynamic imports when building CommonJS format.

@makeswift/runtime@0.14.3

01 Mar 03:05
Compare
Choose a tag to compare

Patch Changes

  • f146a6c: Fix exports for internal @makeswift/runtime/state/breakpoints.

@makeswift/runtime@0.14.2

01 Mar 02:45
Compare
Choose a tag to compare

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

27 Feb 20:34
Compare
Choose a tag to compare

Patch Changes

  • b19d110: Fix a bug in translating Text components containing detached typography.

makeswift@0.2.2

07 Feb 21:25
Compare
Choose a tag to compare

Patch Changes

  • e94272f: Fix issue with CLI where it wouldn't automatically start your app if used with Bun.

makeswift@0.2.1

07 Feb 21:19
Compare
Choose a tag to compare

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 use pnpm.
    For pnpm dlx makeswift init, the CLI will use pnpm.
    For yarn exec makeswift init, the CLI will use yarn.

makeswift@0.2.0

30 Jan 20:44
Compare
Choose a tag to compare

Minor Changes

  • 0c31138: Update the CLI for @makeswift/runtime v0.14.0.

@makeswift/runtime@0.14.0

30 Jan 20:28
Compare
Choose a tag to compare

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 an Error.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.

Patch Changes

  • 7e3fa8d: Reaaranged files inside the react runtime folder.
  • 662985c: Remove Vitest in-source tests.
  • 73fecda: Replace SVG files with React components and remove SVGR development dependency.