Skip to content

v0.2.4

Compare
Choose a tag to compare
@LeaVerou LeaVerou released this 01 Jul 13:47

This is a relatively small release that fixes a few bugs and regressions. There are however a few new features and potentially breaking changes, detailed below.

Breaking changes

  • mv-edit and mv-edit-* attributes have been renamed to mv-editor and mv-editor-*. Mavo does try to rewrite existing markup to minimize breakage during the transition whenever possible. Going forwards, mv-edit and mv-edit-* will be used for attributes that control how editing works (starting with mv-edit-type below)
  • When an object is displayed on a simple property, instead of Mavo trying to find a suitable property to use, the value of the property is now the entire object (#692)
  • mv-like still works, but is deprecated and will be removed in the next release.

New features

  • You can now control whether a property is edited via a popup or inline with the mv-edit-type attribute! (#695)
  • The mv-editor property is now "live", i.e. expressions work in it.
  • mv-storage-query (and mv-source-query/mv-init-query) attribute now can be used to make a GraphQL query when using the Github backend