Skip to content

Releases: prismicio/slice-machine

2.6.0

27 Aug 13:39
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.6.0!

🎨 Enhancements

  • We improved the way to add a field in Slice Machine by using the same modal as when editing.
  • We now display a message that leads you to editing your content after pushing changes.

2.5.0

19 Aug 18:15
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.5.0!

🎨 Enhancements

  • We have revamped the Static Zone, with more explanations and a stronger focus on Slices in Page Types.
  • We improved usability of field code snippets.

2.4.1

31 Jul 11:02
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.4.1!

🐛 Bug fixes

  • We fixed @prismicio/api-renderer Node version requirement to support >= 18.

2.4.0

30 Jul 11:20
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.4.0!

🎨 Onboarding Guide

  • We revamped our in-app onboarding guide to open in the navbar.

2.3.0

22 Jul 15:06
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.3.0!

🎨 Enhancements

  • We improved the way to add a field in Slice Machine by using a dropdown instead of a modal. We also added a preview on hover of each field to let you know how it would look like for the editors.
  • We improved the login message when doing a Slice Machine init (E.g.: npx @slicemachine/init@latest).

🐛 Bug fixes

  • We fixed an issue that prevented initializing Slice Machine with Yarn PnP.
  • We fixed a design issue with the color of the borders for page and custom type layout.

2.2.1

18 Jun 09:12
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v2.2.1!

🐛 Bug fixes

  • We fixed an error preventing the generation of types for groups in slices.
  • We adjusted the fields order in the "SEO & Metadata" default tab for page types.

2.2.0

05 Jun 17:15
Compare
Choose a tag to compare

Hey! 👋

Today we are happy to bring support for Next 15 Release Candidate and a few bug fixes.

✨ Support of Next 15 Release Candidate

Upgrading to Next 15 Release Candidate does not require any changes to your Prismic code. It does, however, require updating your packages.

  1. Update your Prismic packages:

    npm install --save-dev slice-machine-ui@latest @slicemachine/adapter-next@latest
    npm install @prismicio/next@latest @prismicio/react@latest
  2. Migrate your project to Next 15 Release Candidate using the official guide.

🐛 Bug fixes

  • We fixed an error when trying to initialize a project with recent versions of Node.js (thanks @andresmarpz).
  • We fixed a misleading warning message when removing the repeatable zone from a slice.

2.1.0

28 May 14:00
Compare
Choose a tag to compare

Hey! 👋

Today we are happy to bring support for Svelte 5 Release Candidate while using SvelteKit and a few UI improvements!

Support of Svelte 5 Release Candidate

Upgrading to Svelte 5 Release Candidate does not require any changes to your Prismic code. It does, however, require updating your packages.

  1. Update your Prismic packages:

    npm install --save-dev slice-machine-ui@latest @slicemachine/adapter-sveltekit@latest
    npm install @prismicio/svelte@latest
  2. Migrate your project to Svelte 5 Release Candidate using the official guide.

Small UI improvements

  • We have added a modal allowing you to try the upcoming Master Slice Library feature.
  • We have removed the "Invite team" button.

2.0.0

20 May 14:08
Compare
Choose a tag to compare

⚠️IMPORTANT⚠️: this new release contain an important update for GraphQL API users, please read carefully before upgrading.

Hey! 👋

Today's release is a bit special.

We are super excited and proud to announce the very first improvement of a large series of new modeling features: Groups in Slices.

Indeed, the team's current focus is to enhance Prismic's modelling capabilities, starting with Slices. See all plans here.

Why Groups in Slices?
We listened to our users and understood that in various cases, they needed to implement a design for Slices that contains multiple blocks of repeated content. Like this one 👇

image Screenshot from www.jasper.ai website.

The current implementation of the repeatable zone in Slices didn't allow to cover these use cases, so we decided to leverage a feature that our users know and use a lot: Group fields. And at the same time simplify the understanding of the structure of a Slice, by removing the repeatable and static zone.

🤙 Groups in Slices

  • All users can now use as many Group fields as they want in Prismic Slices, replacing the current repeatable zone for new Slices.
  • All Slices still using the repeatable zone are still supported and can add Group fields in their Static zone.
Demo.Groups.in.Slices.in.Slice.Machine.mp4

⚠️ IMPORTANT ⚠️: The team took the decision, that due to a really minor usage compared to our main REST API, this new version and the new modeling features will not support GraphQL queries. Existing setups will remain functional, and all website will not experience any disruptions. However, to leverage the new version of Slice Machine and create Slices using Group fields, we recommend to switch to REST API. Also note that you can still use Prismic GraphQuery API option that allows for nested and selective fetching with our REST API, following a similar GraphQL syntax. Learn more here.

🎨 Responsive

  • We improved the UI of Slices Variation list to fit on smaller screens

⭐️ We now build in public

You can now follow all roadmap updates and the teams plans updated everyweek on https://prismic.io/updates

Best,

Côme and the Prismic DevTools team

1.26.0

20 Mar 10:26
Compare
Choose a tag to compare

Hey! 👋

We're happy to announce the release of Slice Machine v1.26.0!

🎨 Enhancements

  • We improved the Slice Machine UI design to be responsive, starting with the update of the menu component - demo below 👇
responsive.menu.slicemachine.mp4