Releases: CloudCannon/bookshop
Releases · CloudCannon/bookshop
v3.13.1
v3.13.0
- Added support for Astro 5.
- Added support for
astro:env
and public environment variables in Astro components. - Added support for the
getImage
function in Astro components. - Added fallbacks for the
astro:actions
,astro:i18n
,astro middleware
, andastro:transitions
virtual modules.
- Added support for
v3.12.0
- Added a
--disable-bindings
flag to the@bookshop/generate
command.- This skips initializing the data panel overlays when live editing, which can significantly improve performance for complex sites.
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