Skip to content

Releases: elgentos/magento2-prismicio

3.1.0

01 Jul 12:52
a1205d0
Compare
Choose a tag to compare

What's Changed

  • Add Boolean class to use with Prismic boolean type by @rjnicolai in #118

New Contributors

Full Changelog: 3.0.3...3.1.0

3.0.3

01 Jul 09:01
123b909
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

3.0.2

01 Jul 08:29
f88d944
Compare
Choose a tag to compare

Created a config value to store the check if exceptions should be thrown.

  • config value prismicio/content/throw_exceptions added
  • If prismicio/content/throw_exceptions is enabled, exceptions are thrown when debug mode is enabled.

What's Changed

  • Implement config value to allow disabling of exceptions by @wahidnory in #116

New Contributors

Full Changelog: 3.0.1...3.0.2

Allow store codes in the console commands

07 Jun 07:41
b7fbfe4
Compare
Choose a tag to compare

Allow to use store codes in the store commands on the command line

bin/magento elgentos:prismicio::slice-machine:init -s default -s nl -s de
# and
bin/magento elgentos:prismicio::slice-machine:start -s default

Exceptions in developermode and debugging enabled

06 Jun 19:35
3b4f6bb
Compare
Choose a tag to compare

We had a cool demo Thursday and the next question popped up #115 "Implement better errors"

So we did exactly that, because we needed to remove some in the past introduced try/catch blocks I did a major version bump because it can break some blocks locally (production still silently ignore error prone blocks to not break the frontend, but now it's a fully thought of choice if you jump into this version.

Thanks @wahidnory for sharing this idea!

As an example:

  • you are working with slice machine
  • implement a new slice type
  • add new content in Prismic for this new slice
  • publish
  • you get an exception if the slice type isn't defined in xml

on production it will only create a debug log record and will not break the site

cheerio

StaticBlock can now be set via template=

31 May 13:39
812fb50
Compare
Choose a tag to compare

You can add xml for a static block as follows

            <block class="Elgentos\PrismicIO\Block\StaticBlock" template="content_type.uid">

2.0.0

28 May 13:17
Compare
Choose a tag to compare

What's Changed

It has landed, you can now setup multiple Prismic repo's link them in your backend, choose Multirepo enable and a unique field to bind documents over multiple repositories.

We introduced 2 new commands:

  • elgentos:prismic:slice-machine:init [...-s|--store-id=] whereby you can initialize a prismicio slicemachine.
  • elgentos:prismic:slice-machine:start -s|--store-id= whereby you can get the command to start PrismicIO slicemachine.

We keep track if you have enabled multirepo for the main store id and then symlink slices/types for all other repositories whereby it becomes easy to keep repo and types in sync.

Also started working on documentation which can be found on https://elgentos.github.io/magento2-prismicio/


It's backwards compatible thought we moved the source to the src/ directory to have a clean structure at the root and make room for docs/ and tests/

Summary:

Full Changelog: 1.17.0...2.0.0

1.17.0

08 May 18:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.16.6...1.17.0

1.16.6

11 Jan 10:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.16.5...1.16.6

Add iterator to block

20 Nov 12:44
0827e46
Compare
Choose a tag to compare
Merge pull request #108 from IvoElgentos/add-iterator-to-prismic-block

add array key to prismic block