Skip to content

Releases: makeswift/makeswift

@makeswift/runtime@0.1.0

20 Jul 18:40
Compare
Choose a tag to compare

⚠️ BREAKING CHANGE ⚠️

Our new Next.js plugin is available at @makeswift/runtime/next/plugin. It enables code-splitting
via next/dynamic and also removes the need to manually configure next/image domains.

All builtin components now use next/dynamic so make sure to configure the Makeswift Next.js plugin
when upgrading to 0.1.0. You can read more about code-splitting on our
docs.

How to upgrade

Make the following changes to your Next.js config file:

+ const withMakeswift = require('@makeswift/runtime/next/plugin')()

  /** @type {import('next').NextConfig} */
  const nextConfig = {
    reactStrictMode: true,
-   images: {
-     domains: ['s.mkswft.com'],
-   },
  }

- module.exports = nextConfig
+ module.exports = withMakeswift(nextConfig)

Minor Changes

  • b6fecc0: Add code-splitting to all builtin components.

  • 32129c0: Add @makeswift/next-plugin to @makeswift/runtime.

    Our new Next.js plugin is available at @makeswift/runtime/next/plugin. It enables code-splitting
    via next/dynamic and also removes the need to manually configure next/image domains.

    const withMakeswift = require("@makeswift/runtime/next/plugin")();
    
    /**
     * @type {import('next').NextConfig}
     */
    const nextConfig = {
      /* config options here */
    };
    
    module.exports = withMakeswift(nextConfig);

Patch Changes

  • 28eb919: Fix text selection is preserved even after we change the focus to other text.
  • Updated dependencies [0e26971]
    • @makeswift/next-plugin@0.1.0

@makeswift/next-plugin@0.1.0

20 Jul 18:40
Compare
Choose a tag to compare

Minor Changes

  • 0e26971: Release @makeswift/next-plugin.

    This plugin automatically configures the Makeswift domain for next/image and also enables code-splitting via next/dynamic.

@makeswift/runtime@0.0.22

27 Jun 22:44
Compare
Choose a tag to compare

Patch Changes

  • 9914800: Check for potentially missing typography values when prefetching page data using introspection.

@makeswift/runtime@0.0.21

22 Jun 15:36
Compare
Choose a tag to compare

Patch Changes

  • f2f90a8: Add new format for Image Control: WithDimensions. Now you can pass WithDimensions format to Image Control's config. This will make the prop of the Image control have dimensions of the image. See the documentation for further details.

@makeswift/runtime@0.0.20

17 Jun 15:16
Compare
Choose a tag to compare

Patch Changes

  • 44afd95: Fix error on introspection function when there's a null on Typography value.
  • a8f037e: Add Discord icon to Social Links component.

@makeswift/runtime@0.0.19

14 Jun 15:50
Compare
Choose a tag to compare

Patch Changes

  • d4f61e6: Fix regression introduced in 0.0.18 where link wasn't working on Image component.

@makeswift/runtime@0.0.18

13 Jun 14:35
Compare
Choose a tag to compare

Patch Changes

  • b9dc1ee: Add batching to ApolloClient.
  • c57fb67: Use introspection for SSR. This would solve the issues that were happening when using next/image or useRouter.
  • 6aca0b1: Filter props out of HTML attributes
  • 1683722: Fix useLayoutEffect SSR warning.

@makeswift/runtime@0.0.17

01 Jun 02:50
Compare
Choose a tag to compare

Patch Changes

  • c85b202: Recursively serialize Shape control.
  • 60d22a3: Add Combobox control.

@makeswift/runtime@0.0.16

31 May 18:31
Compare
Choose a tag to compare

Patch Changes

  • 7611533: Revert "fix: fix Document component"

    This reverts commit 2c2e7e2.

  • 6201155: Revert "fix: revert Document fix"

    This reverts commit 41a70cd.

  • 3afd933: Revert "fix: SSR for next/image and Next.js router"

    This reverts commit 394afc1.

@makeswift/runtime@0.0.15

29 May 12:54
Compare
Choose a tag to compare

Patch Changes

  • 0135bd1: Fix font family isn’t being applied to dropdown links in nav component
  • 41a70cd: Revert Document SSR fix.