Releases: datocms/vue-datocms
Releases · datocms/vue-datocms
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 usestyle
to style the root element - removed
explicit-width
- added
load
event - added
rootRef
andimageRef
as 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.
v5.0.1
Drop Vue 2 support
Upgrade dependencies and start using Node 20 for local development
v4.0.6
Fix a Vue 2 compatibility issue
- Fix a StructuredText Vue 2 compatibility issue d8d56da
v4.0.4
- Fix rendering issue reported in issue datocms/structured-text#27 364d459
- docs: replace instance of 'react' in
useSiteSearch
README f862ebc - Add a test case that includes a mailto link e82e584
v4.0.2
- Update lock file bd1be44
- Target EcmaScript 6, for a wider compatibility range 6e47362
- Properly limit Vue versions 7d42332
- Explicitly recommend to install Vue before installing vue-datocms 169760d
- Make Typescript happy b9db196
- Improve the search widget example 96f9132
- Refine the option type and explain why 452c50d