Skip to content

Releases: CloudCannon/bookshop

v3.12.0

28 Oct 23:09
Compare
Choose a tag to compare
  • 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

17 Oct 21:21
Compare
Choose a tag to compare
  • Updated Bookshop's internal Hugo version from v0.111.3 to v0.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

28 Aug 21:43
Compare
Choose a tag to compare
  • Bookshop Astro Features & Fixes
    • Add support for GIF, TIFF and AVIF image imports (PR #197 — thanks @oliverlynch !)

v3.10.0

20 May 23:46
Compare
Choose a tag to compare
  • 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

22 Dec 05:27
Compare
Choose a tag to compare
  • Adds support for the astro:content and astro:assets modules inside Bookshop components.
  • Adds support for the <slot/> component and the Astro.slots global inside Bookshop components.
  • Astro Bookshop will now use your configured Vite plugins when building components.

v3.8.2

05 Dec 23:35
86fb812
Compare
Choose a tag to compare
  • 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

05 Oct 04:50
Compare
Choose a tag to compare
  • Fixes an error when loading Bookshop's dependencies through CloudCannon's client editing interface

v3.8.0

27 Sep 01:48
ad8ea76
Compare
Choose a tag to compare
  • Added support for extraFiles that can be passed to Bookshop's Hugo engine, allowing custom shortcodes and partials to be used

v3.7.0

21 Sep 23:21
Compare
Choose a tag to compare
  • 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

19 Jul 23:58
Compare
Choose a tag to compare
  • Fixed an edge case generating structures for component names that end with the word components