Skip to content

Releases: prismicio/slice-machine

1.19.1

30 Oct 12:59
Compare
Choose a tag to compare

Hey! 🎉

We are excited to announce the release of Slice Machine v1.19.1 today, which includes the following patch built upon our v1.19.0 release, following the release of the new Next.js 14.

Slice Machine can now be successfully installed and run in a Next.js 14 project. We are thrilled to see these fantastic improvements on the Next.js side and are committed to making Prismic and Slice Machine the perfect fit for your Next.js project.

1.19.0

26 Oct 14:08
Compare
Choose a tag to compare

Heya! 🎉

We're delighted to release Slice Machine v1.19.0 today, featuring a lot of enhancements and enabling us to work on new and exciting features for the weeks to come.

🎨 Enhanced UI

  • We revamped the slice builder UI. Creating and managing slice variations will now be easier and we'll soon work on new features for them.

🚀 Smoother init command

  • The command's end message has been reworked to be clearer.
  • Repository name length limit is increased to 63 and now aligned with the one of the dashboard, allowing you to still initialize your project correctly when you have long repository names.
  • When failing to create a new repository because of an invalid authentication state, the process will prompt you to log in again instead of failing.

👁️ SvelteKit previews

  • @slicemachine/adapter-svelte will initialize your Slice Machine project with Prismic's latest standards, now supporting previews on Svelte website as well as Prettier 3.

⚙️ Bug fixes

  • Prettier 3 is now fully supported and ESM-only Prettier plugins shouldn't cause issues anymore.
  • Empty slice folders won't cause Slice Machine to fail anymore.
  • We reworked how slice screenshots are uploaded to Prismic to prevent issues on slower internet connection.
  • We fixed various issues with Slice Machine modals where some could stay opened after being validated and others had wrong focus states leading to unexpected exits.
  • Slice Machine UI will now reconcile its state with the filesystem when possible, allowing for a more intuitive experience when changes happen from the file system.
  • As a consequence, this fixes a bug that happened when saving a model from the Slice Machine UI was erasing rich text labels manually added.
  • @slicemachine/adapter-nuxt has been updated to be compatible with Nuxt 3.8 TypeScript changes.

1.18.0

17 Oct 16:21
Compare
Choose a tag to compare

Hello all ! 🎉

🌟 Satisfaction survey

  • Add a new satisfaction survey popup for advanced repositories in order to get feedbacks on your experience with Slice Machine.

🐛 Bug fixes

  • We fixed an issue when converting a custom type to page type that doesn't have a slice zone
  • We fixed an issue with modals after creating a page type when adding a slice

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.17.0

12 Oct 16:08
Compare
Choose a tag to compare

Hi all! 🎉

We're super happy to release again a new version of Slice Machine, including our first step toward an important product update : Slice Machine upgrade tool.

🌟 Slice Machine Upgrade tool [BETA] - Migrate seamlessly from legacy builder to Slice Machine

The Upgrade Tool is designed to help existing Prismic users effortlessly upgrade their projects to utilize our latest features, including Slice Machine and the new Page Builder, enhancing their development and marketing capabilities.

How does it work?

  • It pulls your existing Custom Types locally so you can iterate on them within Slice Machine
  • It allows you to convert your legacy slices to slices managed by Slice Machine incrementally
  • It makes your existing content compatible with the new format of your newly upgraded page types, and slices
  • All you still need to do is to reorganize your existing Next.js/Nuxt.js/Sveltekit components as one Slice component per file. We also recommend leveraging the component to render Slices if not in use already.

Lucie, from the DevTools team at Prismic shares a sneak peak of the tool in this video 👇

230929-meetup-upgrade.mp4

How can users gain early access to the Upgrade Tool?

🐛 Fixes

  • We fixed a bug that prevented the Slices menu component to appear as selected when a user entered a slice page from a page type
  • We fixed an issues that prevented to display some Slices templates with NextJS
  • We fixed an issue that prevented users to open Slice Machine pages in another tab

Thank you for being a part of our journey. We're always striving to make Slice Machine UI better for you. Please keep the feedback coming.

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.16.0

05 Oct 16:32
Compare
Choose a tag to compare

Hi all! 🎉

We're super happy to release again a new version of Slice Machine with the following improvements

🌟 Slices cards redesign

  • All slice cards have been ported to our new design system

👩🏽‍💻 Invite a user

  • We added a simple link in the menu to let you add users to the repository. The link redirects to the settings of the repository.

📃 Splash screen

  • We added a full screen page that will appear on new empty projects, and ask users to start by creating a new page type.
image

Thank you for being a part of our journey. We're always striving to make Slice Machine UI better for you. Please keep the feedback coming.

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.15.0

28 Sep 17:55
Compare
Choose a tag to compare

Hi all! 🎉

We're super happy to release again a new version of Slice Machine with a lot of improvements.

🌟 Slices templates for Nuxt and Sveltekit

  • All slice templates were ported to Sveltekit and Nuxt adapter. All users can now enjoy them.

👌 Page snippet for Sveltekit

  • We improved our first version of the Sveltekit adapter to support page code snippets.

🍕 Slice Zone

  • We improved the save behavior in the Slice zone. All "add" and "create" actions from the slice zone now trigger a save of the page type/custom type.

⚙️ Bug fixes

  • We fixed an issue with the default generated prismicio.ts file that was causing errors using the page snippet because of default conflicting values in the route resolver.

  • We fixed a TypeScript error happening with the Next.js v13.5.1 👇

    You may receive a TypeScript error in your /api/preview and /api/exit-preview routes when building your website. Next.js v13.5.1 changed the TypeScript types for Route Handlers and requires changes to your code to fix.

    If you website uses the App Router, follow these instructions to fix your /api/preview and /api/exit-preview routes:

    1. Update to at least @prismicio/next v1.3.5

    2. Use this command to update:

      npm install @prismicio/next@latest
    3. Add return to app/api/preview/route.ts (or wherever you are using redirectToPreviewURL()):

      // app/api/preview/route.ts
      
        export async function GET(request: NextRequest) {
          const client = createClient();
      
      -   await redirectToPreviewURL({ client, request });
      +   return await redirectToPreviewURL({ client, request });
        }

    For more details on the error and the fix, see prismicio/prismic-next#85.

Thank you for being a part of our journey. We're always striving to make Slice Machine UI better for you. Please keep the feedback coming.

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.14.1

25 Sep 08:51
Compare
Choose a tag to compare

Hello all ! 🎉

🐛 Bug fixes

  • We fixed an issue in the init command causing errors when creating repositories

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.14.0

18 Sep 17:10
Compare
Choose a tag to compare

Hello all ! 🎉

We're super happy to release again a new version of Slice Machine.

🧑🏻‍🎨 Design improvements

We revamped the page type and slice zone blank slate.

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.13.0

12 Sep 16:26
Compare
Choose a tag to compare

Hello all ! 🎉

We're super happy to release again a new version of Slice Machine.

We want our users to get the most out of slices and build them fast! We're improving our slice creation feature to let users use a series of pre-made templates to fit their needs.

🌟 Slices templates

Three new slice templates available on top of the existing one CallToAction:

  • Hero
  • AlternateGrid
  • CustomerLogos

👌 Improvements

  • Update the flow when creating a page type to make it clear that adding slices is the first action that need to be made.

Thank you for being a part of our journey. We're always striving to make Slice Machine UI better for you. Please keep the feedback coming.

🔗 Stay Connected: Don't forget to follow us on Twitter, X and follow our progress page for the latest updates

1.12.00

06 Sep 19:49
Compare
Choose a tag to compare

Hello all ! 🎉

New version today, introducing a new powerful tool to get started quickly with Prismic slices : Slices templates!

We want our users to get the most out of Slices and build them fast! We’re improving our Slice creation feature to let users use a series of pre-made templates to fit their needs.

🌟 Slices templates

  • Users can now create a new slice, choosing from a series of pre-made templates. Only one template will be available for our very first release. But more will come shortly.

🐛 Bug fixes

  • We fixed an issue with NODE_ENV variable causing problems with Slice Machine proxy (#1027)
  • We fixed an issue when creating a new Nuxt 3 project with the default app.vue file

Thank you for being a part of our journey. We're always striving to make Slice Machine UI better for you. Please keep the feedback coming

🔗 Stay Connected: Don't forget to follow us on Twitter, X or whatever it's called now and follow our progress page for the latest updates