Skip to content

Upgrading to Hyvä Commerce 0.3.0

Hyvä Commerce is an 'Early Access' product currently under development.

Early Access means that not all features of Hyvä Commerce are fully completed or released, and many areas are still under heavy development and may change. However, it means you can get your hands on everything currently available and being worked on, with a license. Find out more on our Early Access page.

This is a feature release for Hyvä CMS that introduces new components, enhanced validation capabilities, and CSP support, along with several bug fixes.

Notable news

Hyvä CMS

Backward incompatible changes

Only affects custom field types

This change only impacts projects that have added custom field type templates. If you haven't created any custom field types, you can skip this section.

Field types now require wrapping in a #field-container-[uid]_[field name] div for frontend validation. This affects any custom field type templates that may have been added to your project.

To update your custom field type templates, wrap the field content in a div with the required ID format. For example:

<div id="field-container-<?= $uid ?>_<?= $fieldName ?>">
    <!-- Your existing field template content -->
</div>

For proper display of validation messages, it's recommended to also include a container div with the following ID format:

<div id="validation-messages-<?= $escaper->escapeHtmlAttr("{$uid}_{$fieldName}") ?>"></div>

See the documentation for more information on how to create a custom field type template.

Changelogs

The changelog is available here.

Known Issues

Please refer to our Early Access Known Issues section.