Skip to content

Releases: verbb/vizy

2.0.3

02 Jul 03:58
Compare
Choose a tag to compare

Added

  • Add vite-plugin-compression to generate gzipped JS/CSS assets.
  • Add better handling for JS scripts on-load, to prevent against missing JS execution in some cases. (thanks @khalwat).

Changed

  • Update CP template content block.

Fixed

  • Fix a GQL deprecation notice.
  • Fix HMR not working when making changes to vizy.js.
  • Fix updating Block Type template not working correctly.
  • Fix en error when trying to limit “Available Volumes” or “Available Transforms”.
  • Fix an error when rendering an entry revision for nested Vizy fields.

1.0.16

02 Jul 03:49
Compare
Choose a tag to compare

Added

  • Add isRoot for Vue component top-level fields.

Changed

  • Update all tiptap dependancies to latest beta versions.
  • Exclude any falsey attributes for a node when rendering.
  • Lower debounce time for watched Vizy Block field changes.
  • Only clicking on the header of Vizy Blocks selects a block.

Fixed

  • Fix link nodes always including target and rel attributes.
  • Fix newly created Vizy blocks not having the correct namespace in some instances.
  • Fix JS not initializing correctly for complex Vizy fields and in combination with Neo/SuperTable/Matrix.
  • Fix an error where delta values for other fields was being stripped out when including a Vizy field.
  • Fix an error when saving nested Vizy fields with validation errors and blocks losing their content.
  • Fix unload warning when no content has been changed.
  • Fix Vizy Block field alignment of fields.
  • Fix selected state issues on nested Vizy fields and Vizy blocks, and add support for “Escape” key to remove selected Vizy Block.
  • Fix being unable to click properly between Vizy blocks to add a new node, and fix gap cursor alignment.
  • Fix an overlay issue for nested Vizy fields when picking Vizy blocks.
  • Fix multiple Redactor fields in a single Vizy block not working correctly.

2.0.2

03 Jun 21:48
Compare
Choose a tag to compare

Fixed

  • Fix an error with JS translations.
  • Fix return types for node.renderHtml().

1.0.15

03 Jun 21:46
Compare
Choose a tag to compare

Fixed

  • Fix incorrectly encoding quotes for Vizy field content.

2.0.1

28 May 03:54
Compare
Choose a tag to compare

Added

  • Add changes/improvements from 1.0.14.

Fixed

  • Fix renderHtml() not rendering HTML correctly.
  • Fix JS initialization for input and settings.
  • Fix field settings not initializing in some cases.

1.0.14

28 May 03:51
Compare
Choose a tag to compare

Added

  • Add VizyImageNodeInterface and the ability to query asset on image nodes.
  • Add Image::getAsset() for image nodes.
  • Add caching for block type definitions for each field, to speed up rendering of large Vizy fields.
  • Improve field performance when editing in the control panel.

Fixed

  • Fix being unable to remove the template path for a Vizy blocktype when editing the field settings.
  • Remove HTMLPurifier due to performance issues, as we can rely on proper HTML encoding via StringHelper::htmlEncode.
  • Fix double-encoding of HTML strings.
  • Fix volumes not working for selecting images.

2.0.0

05 May 06:24
Compare
Choose a tag to compare

Added

  • Add checks for registering events for performance.

Changed

  • Now requires PHP 8.0.2+.
  • Now requires Craft 4.0.0+.
  • Merge updates with version 1.0.13.
  • Migrate to Vite and Vue 3 for performance.
  • Rename base plugin methods.
  • Replace deprecated Craft.postActionRequest() for JS.
  • Improve field performance when editing in the control panel.

Fixed

  • Fix Craft 4.0.0 compatibilities.
  • Fix link sources having duplicate sources.
  • Fix a type error when trying to render empty HTML.
  • Fix Vizy field settings not picking up field layout changes when edited.

Removed

  • Remove cleanDeltas(), which is no longer needed in Craft 4.

2.0.0-beta.4

03 May 11:31
Compare
Choose a tag to compare

Added

  • Add checks for registering events for performance.

Changed

  • Migrate to Vite and Vue 3 for performance.
  • Rename base plugin methods.
  • Replace deprecated Craft.postActionRequest() for JS.
  • Improve field performance when editing in the control panel.

Fixed

  • Fix link sources having duplicate sources.
  • Fix a type error when trying to render empty HTML.
  • Fix Vizy field settings not picking up field layout changes when edited.

Removed

  • Remove cleanDeltas(), which is no longer needed in Craft 4.

2.0.0-beta.3

13 Apr 11:31
Compare
Choose a tag to compare

Changed

  • Merge updates with version 1.0.13.

1.0.13

13 Apr 11:18
Compare
Choose a tag to compare

Added

  • Add support for limit, orderBy and where arguments for GraphQL queries, when querying nodes.
  • Add descriptions for all attributes for GraphQL.
  • Add vizyBlock.getCollapsed().
  • Add vizyBlock.id.
  • Add Node::isEmpty().

Changed

  • Change field layout instruction text for Vizy field settings.
  • GraphQL queries using nodes now only return enabled nodes.

Fixed

  • Fix NodeCollection::isEmpty not working correctly.