Skip to content

Releases: prismicio/slice-machine

0.3.7

15 Apr 08:30
Compare
Choose a tag to compare

Bug Fix 🐛 :

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

0.3.6

12 Apr 17:13
Compare
Choose a tag to compare

Bug Fix 🐛 :

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

0.3.5

08 Apr 14:13
Compare
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

30 Mar 14:04
Compare
Choose a tag to compare

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

16 Mar 13:24
Compare
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

08 Mar 13:45
Compare
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

21 Feb 10:57
Compare
Choose a tag to compare

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.

0.2.0

25 Jan 14:25
Compare
Choose a tag to compare

Moving away from Storybook 🚅

As you know, Storybook has been causing a lot of installation issues for users that weren't familiar with it. Maintaining such a dependency has been hard, both for the Prismic team creating the integration and Slice Machine users.

This is why we decided to move away from Storybook and create the Slice Simulator.

  • It's an in-house solution with very minimal scope (whole solution weights less than 5kb gzipped).
  • Unlike Storybook it relies on your framework's bundler. So there are no issues with your CSS solution, tools you use, etc.
  • To make installing Slice Simulator as easy as possible we have created in-app installation steps to help you configure your project.

NOTE: Slice Machine will still continue to create Stories automatically for your components if you wish to continue using Storybook.

Full link field functionality

Now when adding a link field the content creators will have a choice of internal/external/media links.

We improved the way you install Slice Machine dependencies

Depending on your framework, when you use the @slicemachine/init script it now installs all the necessary dependencies to get a Prismic project up and running.

Feedback loop

We design Slice Machine features based on your experience. That's why we have decided to implement a feedback loop within the Slice Machine to learn more about your experience at the source.
This is only a small amount of information about whether you are using the onboarding and Slice Simulator.

Bug fixes

  • Custom types must now be created with an id

0.1.2

14 Feb 10:51
Compare
Choose a tag to compare

Learn Slice Machine in a few slides 🚀

We created a page at /onboarding that explains the core concepts of Slice Machine. This will show up once and remain accessible anytime via the URL.

It will explain the following concepts:

  • How to create a Slice
  • How to use your Slices to build a page
  • How to push your Slices to use them in the content editor

A new modal to rate your experience with Slice Machine 🔢

You can rate your experience using Slice Machine and give us feedback to help us improve the product.

You won't have to log in as much 🤘

To avoid having to log in every day to play with Slice Machine we implemented two things :

  • Your authentication tokens will now last 48 hours.
  • Your token will refresh automatically

Bug fixes

  • When creating a new variation based on an existing one, the scroll in the variation list has been fixed.

0.1.1

04 Nov 15:34
Compare
Choose a tag to compare

We simplified the way you install Slice Machine

You can now easily set up a Slice Machine project using a single command : npx @slicemachine/init

This command does the following :

  • Create or connect to a Prismic repo.
  • Detects the project framework.
  • Installs Slice Machine UI as a dev dependency.
  • Creates a sm.json file that includes the Prismic API endpoint and the Slices path.
  • Adds a slicemachine script in the package.json that's used to run the plugin.

You can now log in to your repository from the UI 🍾

To avoid going back and forth between your terminal and the UI. Now when you try to push your data model to Prismic and you are not connected or your connection expired, you will be asked to login with a direct link.

The prismic login command is not longer needed to connect to Prismic 🎉

The prismic sm develop is now deprecated, instead use npm run slicemachine in your project

Bug fixes

  • You now have proper error messaging if you don't have correct Prismic repository access.
  • The slice machine can be launched with node 12.
  • Minor improvements on the start script.