Releases: datocms/vue-datocms
Releases · datocms/vue-datocms
v7.0.4
7.0.4
v7.0.2
v7.0.1
- NakedImage class/style is now imgClass/imgStyle. Introduce pictureClass/pictureStyle 802bd85
v7.0.0
- Old
pictureClass/pictureStyleprops now control the<picture>tag instead of the<img>tag. For the<img>tag, you can use the new propsimgClass/imgStyle. eeb412e
v6.0.4
- Fix types for structured text component 9078f52
v6.0.3
- Fix regression ba60c7d
v6.0.2
- Avoid complainings from Pagespeed
v6.0.0
Introducing <datocms-naked-image />
Now that both loading=lazy and aspect-ratio are broadly supported (> 93% of browsers) we can avoid complex JS to achieve lazy-loaded images with placeholders!
<datocms-naked-image /> generates minimum JS footprint, outputs a single <picture /> element and implements lazy-loading using the native loading="lazy" attribute. The placeholder is set as the background to the image itself.
Major changes to existing <datocms-image>:
- removed
lazy-load: lazy loading is automatically disabled for images usingpriority - removed
root-style: you can simply usestyleto style the root element - removed
explicit-width - added
loadevent - added
rootRefandimageRefas public properties
Other
All the examples have been consolidated into a single SPA React application to ensure a straightforward maintenance process.
v5.1.2
v5.1.0
<VideoPlayer > just landed.