Skip to content

Releases: prismicio/slice-machine

0.4.1

Choose a tag to compare

Small fixes ⚙️ :

  • We fixed a bug to prevent the creation of empty fields API ID
  • When starting Slice Machine, we now run a validation on models to make sure they are compatible with the Prismic API, and show potential errors in your terminal.
  • Custom Types and Slices IDs will be created using "_" instead of "-" for GraphQL compatibility
  • New fields IDs will be created using "_" instead of "-" for GraphQL compatibility
  • Slice Machine will keep being retro compatible with models and fields using "-" in their IDs. These modifications will apply only on new models/fields.

0.4.0

Choose a tag to compare

Improvements 👋

Starters 🏍 :

You can now start a new repository using one of our Prismic Starters. Starters are fully fledged projects made with Slice Machine, that you can download, edit and start your new repository with.

We have revamped the 'init' command so that you can start a repository with a Starter from the Prismic Dashboard.
Starters are fully fledged projects made with Slice Machine, that you can download, edit and start your new repository with.

When starting with a starter you will be able to:

  • Download the project locally
  • Install Slicemachine by using the init command that will automatically push all Documents, Custom types and Slices to your repository

UX/UI improvements 💄 :

  • When creating a Custom Type, the id is now automatically inferred from the Custom Type name, and can still be edited.
  • Spacing and wording improvements on the Slices list and widget list

0.3.8

Choose a tag to compare

Bug Fix 🐛 :

  • We fixed a bug that let you create Slices with already taken names
  • We fixed a bug that let you create Custom Types with already taken names

0.3.7

Choose a tag to compare

Bug Fix 🐛 :

  • We fixed a bug that prevented you from editing link fields.

0.3.6

Choose a tag to compare

Bug Fix 🐛 :

  • We fixed a bug that prevented you from editing content relationship fields

0.3.5

Choose a tag to compare

Improvements 👋

Error Management 🐛 :

We want to improve your experiences with errors and Slice Machine. Our goal is for you to understand the errors and how to fix them everytime it happens.

  • Following that, we started revamping the errors happening at the start of Slice Machine when the sm.json is invalid / has invalid data

Bug Fix 🐛 :

  • We fixed a UI bug concerning the videos tutorial tooltip overlapping with modals

0.3.4

Choose a tag to compare

@Miniplop Miniplop released this 30 Mar 14:04

Improvements 👋

Bug 🐛 :

  • The embed field code snippets are now fixed
  • We fixed a visual bug with code snippets on multi-lines

Technical improvements 🦾:

  • We reworked technically the Custom Types list
  • We reduced the slice-machine-ui package size
  • We reworked internal types

0.3.3

Choose a tag to compare

Improvements 👋

Videos 🎥 :

  • We are launching a new video playlist to help you perform with Slice Machine.
  • These videos (1st one out) will be all available from the navigation bar on Slice Machine interface.

UX/UI improvements 💄:

  • Custom Types list has been redesigned.
  • All empty states have been redesigned for Slice Page, Custom Type Page and empty Slice Zone in a Custom Type.
  • Empty Slice zone in a Custom Type now lets you access quickly the Slice creation page

Set-up improvements ⚙️ :

  • You can now use npx @slicemachine/init --repository <repositoryname> to initialize Slice Machine
  • All new repositories starting with Nuxt or Next will now have Slice Machine as the default way to create Slices and Custom Types locally

0.3.0

Choose a tag to compare

Improvements 👋

SDK updates for nuxt and next:

  • When using nextjs, we added support for @prismicio/react sdk last version.
  • When using nuxt, we added support for @nuxtjs/prismic sdk last version.

Backwards compatibility for previous nuxt and nextjs SDKs

  • Older versions of the next sdks are supported by adding framework: "previousNext" to sm.json (automated).
  • Older versioni of nuxt sdks are supported by adding framework: "previousNuxt" to sm.json (automated).

Default slice renamed

  • default-slice has been renamed to default.

Field labels auto-generated.

  • Field labels are now auto-fllled

New feedback toasters

  • We have redesigned the feedback toasters to help you understand better all errors/successes/warnings

Bug Fixes 🚧

  • We fixed a bug causing Slices mocks regeneration on Custom Types "Push to Prismic".
  • We fixed a bug in the /init script causing wrong api endpoint into sm.json.
  • Storybook paths are now accessible with getStoriesPaths function (deprecated soon).
  • We fixed a bug caused by vue-slicezone introduced in the v0.2.1.

0.2.1

Choose a tag to compare

@Heyrows Heyrows released this 21 Feb 10:57

Easily learn about available updates 🆙

We have improved the version upgrade feature.

  • The update modal that was popping up too often was removed.
  • We now have a new section in the navigation to let you know when an update is available. Each time a new update is available, you’ll see a red dot in this section. 🔴
  • Our changelog page has been updated and dynamically displays the list of available updates, so you’ll never miss an update 😉

Bug Fixes 🚧

  • Uploading screenshots to Prismic is now working again 👍
  • Integration Fields in Slices and Custom Types models will not be rejected anymore.
  • Fixed an issue with Slice statuses where the wrong status was displayed.