1.0.2
givanz/Vvveb1.0.2Jun 30, 2024by givanz
AI Summary
This release introduces enhanced media embedding via Oembed, adds XML/JSON conversion utilities, and refines global site property handling. It also includes various fixes for UI components and editor functionality.
Key Highlights
- Enhanced Oembed support with iframe click prevention, Twitter/X domain updates, and silent mode
- Added XML to JSON conversion and Vtpl JSON support for structured data
- Renamed 'clearFeaturedMedia' to 'clearMedia' for broader media management
- Updated global site properties format from hyphens to dot notation
- Fixed UI bugs including accordion selector and ListInput methods
Breaking Changes
- Global site property format changed from hyphenated to dot notation (e.g., data-v-global-site-title to data-v-global-site.title)
- Renamed 'clearFeaturedMedia' function to 'clearMedia'
New Features
- Oembed component for iframe click prevention
- XML to JSON conversion and processing functions
- Vtpl JSON support for structured data generation
- URL pasting in editor now checks for oembed embedding capability
Full Release Notes
* Added oembed component for iframe click prevention list for VvvebJs helpers.(https://github.com/givanz/Vvveb/commit/f74d6b7c159689d5b4a209c70140c45f6ef2bf7c) * Use echo() format for direct output that doesn't use htmlentities to also allow using content filters (data-filter) in html templates. (https://github.com/givanz/Vvveb/commit/3198de811a6cfcd58b42c9f42519207245de07aa) * XML to JSON conversion and processing functions. (https://github.com/givanz/Vvveb/commit/7f19fadebcd2ee68abf85fd61c59a55508a137d3) * Added Vtpl JSON support for structured data generation. (https://github.com/givanz/Vvveb/commit/67d8c8bb8129eb7a29b37b16ebd281220346f2f2) * Changed data-v-global-site property format replacing - with . to allow distinguising from namepasce, changed data-v-global-site-favicon to data-v-global-site.favicon and data-v-global-site-title tto data-v-global-site.title. (https://github.com/givanz/Vvveb/commit/94c9d9375c843ea4a7a3393023b4f91b957cdf7d) * Renamed clearFeaturedMedia to more generic clearMedia to add clear button for all media select buttons (https://github.com/givanz/Vvveb/commit/a03802103e1972ac4162b9ac94055af44b1fe198) * If a url is pasted in editor (tinymce) check if it's possible to use oembed to embed widget (https://github.com/givanz/Vvveb/commit/6c943eca0dd750d145858700f10c2e53b37b8755) * Oembed load provider javascript to fully render widget (https://github.com/givanz/Vvveb/commit/17f5fc34a144ffcd5875dbf65f7034456bb07845) * Oembed change twitter domain to x, added silent parameter to hide warnings if url is not in the oembed providers list (https://github.com/givanz/Vvveb/commit/e24a2eb430b33ef4f9f5b3c2fdc30f8ee68deb0a) * Fixed selectBoxPosition error on window resize if no element is selected (https://github.com/givanz/Vvveb/commit/c66a4e9cbb5734be4b83a9907247151b7a7fbaf6) * Fixed accordion component missing :scope from selector (https://github.com/givanz/Vvveb/commit/77aa8d53b67cfbeeafd99e6bc073b4bb2163b1e3) * Fixed ListInput section index and remove method (https://github.com/givanz/Vvveb/commit/36646e8dc8d94a71f41d733738b5ba925d183b03) * Page save check if backup (revisions) folder is writable, check if start template exists. (https://github.com/givanz/Vvveb/commit/eea5684e9f51fc98035825188302be87ec390edd) * Display site logo in sidebar instead of branding (https://github.com/givanz/Vvveb/commit/f9a9d97b4a9c48eb9b29da78e259b8f052e003a1) * Changed appendXML with createElement for text translation to avoid html entity parsing errors (https://github.com/givanz/Vvveb/commit/7c83b9ee9fb7a826be2fee7e3eb54e298df59fb2)