Releases: CloudCannon/bookshop
Releases · CloudCannon/bookshop
v3.12.0
v3.11.0
- Updated Bookshop's internal Hugo version from
v0.111.3
tov0.136.1
. - Updated all Bookshop dependencies to clear all
npm audit
warnings. - Bookshop now forwards Hugo logs to the browser console if an error occurs when rendering in the Visual Editor.
- Added support for ENV_BOOKSHOP_LIVE in Typescript files for Bookshop Astro
v3.10.1
- Bookshop Astro Features & Fixes
- Add support for GIF, TIFF and AVIF image imports (PR #197 — thanks @oliverlynch !)
v3.10.0
- Bookshop Astro Features & Fixes
- Adds component error boundaries to the Astro engine.
- Adds support for client rendered components inside Bookshop components.
- Astro Bookshop will now attempt to load build plugins from your integrations.
- Fixes an issue where the asset URLs generated by Astro Bookshop during live editing were wrong.
- Fixes an issue where Astro Dynamic tags would break live editing.
- Fixes some inconsistencies in content collections between Bookshop and Astro.
- Fixes some inconsistencies in the
Image
component between Bookshop and Astro. - Fixes an issue where component names containing dashes would break MDX auto-imports.
- Fixes an issue where React TSX components would fail to parse.
- Fixes an issue where scripts in Astro components would be run multiple times when live editing.
- Fixes an issue where the Astro engine was too lenient when checking bookshop names.
v3.9.0
- Adds support for the
astro:content
andastro:assets
modules inside Bookshop components. - Adds support for the
<slot/>
component and theAstro.slots
global inside Bookshop components. - Astro Bookshop will now use your configured Vite plugins when building components.
v3.8.2
- Fixes an error in Astro Bookshop, when spreading a prop that is possibly undefined.
- Fixes the Bookshop browser failing to load for Astro sites.
- Astro Bookshop will now detect component folders within subfolders of the Astro
src
folders.
v3.8.1
- Fixes an error when loading Bookshop's dependencies through CloudCannon's client editing interface
v3.8.0
- Added support for extraFiles that can be passed to Bookshop's Hugo engine, allowing custom shortcodes and partials to be used
- See the Hugo extra files guide for interim documentation
v3.7.0
- Added support for Sass and CSS imports in Astro components
- Fixed an error when bundling an Astro component with no props
- Fixed support for React components when using Astro 3
- Fixed support for scoped CSS when using Astro 3
- Fixed an inconsistency in CSS class name generation
- Fixed an issue with live rendering a component with multiple Front Matter props in Astro
- Fixed Astro databindings for components with multiple Front Matter props with no common prefix
v3.6.5
- Fixed an edge case generating structures for component names that end with the word
components