Skip to content

Releases: CloudCannon/bookshop

2.6.0 — Live editing fixes & improvements

25 Feb 00:50
Compare
Choose a tag to compare

Bug Fixes

  • bookshop tags can now be broken up onto multiple lines in all ssgs (9ea3462)
  • bookshop tags can now be called without props in all ssgs (3e370e8)
  • browser: prevent compression of the bookshop browser javascript (ba132d9)
  • hugo: components passed params directly would not get a binding (77ec44b)
  • hugo: hugo partials passed only a string would error in live editor (8ae7e67)
  • hugo: improve complex templating support in the live editor (5706627)
  • hugo: iterating over a map now works correctly when live editing (408573f)
  • hugo: reduce errors when using assigned variables in components (e6a85c2)
  • live: downgrade data binding errors to console warnings (66e9dfe)

Features

  • generate: add flags to skip default steps (8660328)
  • live: opt-out of live rendering with the live_render flag in props (939be4c)

Performance Improvements

  • live: improve performance by throttling renders (c34e2d4)

2.5.0 — Component Browser Ergonomics

22 Feb 05:21
Compare
Choose a tag to compare

Bug Fixes

  • hugo: bundle hugo correctly when running local component browser (089dcf3)
  • match hugo's (bizzare) handling of short markdown strings (f14261f)

Features

v2.4.2

02 Feb 06:45
Compare
Choose a tag to compare

Features

  • hugo-engine: implement many transforms for hugo live editing (98024f8)
    • Now supported:
      • markdownify
      • plainify
      • emojify
      • htmlEscape
      • htmlUnescape
      • *highlight
    • markdownify uses a different implementation than hugo,
      so the output is not guaranteed to be identical.
    • *highlight is not supported, but will no longer error.
      It will now pass through the input unchanged.
  • jekyll-engine: implement markdownify for jekyll live editing
    (53af90d)
    • markdownify uses a different kramdown implementation than jekyll, so the output is not guaranteed to be identical.

v2.4.1

01 Feb 19:06
Compare
Choose a tag to compare

Features

  • attempt to load the hugo wasm from a cdn where possible (8423acb)

This loads the webassembly file required for Hugo live editing from a CDN url, which should be faster on-load than loading it inside the visual editor.

2.4.0 — Hugo Bookshop 🎉

31 Jan 02:09
Compare
Choose a tag to compare

Bug Fixes

  • fix complex assignments and loops that were breaking live editing in Jekyll and Eleventy
  • fix initial render of data bindings on Jekyll sites that load external data
  • improved resolution of complex data bindings

Features

  • Hugo Bookshop support 🎉
  • Hugo live editing beta 🎉
  • Hugo component browser beta 🎉
  • new method of updating the page when live editing — image flickering should be greatly reduced
  • new @bookshop/generate command for structures and live editing — Jekyll and Eleventy documentation to come

v2.2.3

14 Dec 01:02
Compare
Choose a tag to compare

2.2.3 (2021-12-14)

Bug Fixes

  • live: patch for complex layouts assigning html to variables (#76) (0a90a4d)

v2.2.2

08 Dec 21:34
Compare
Choose a tag to compare

2.2.2 (2021-12-08)

Features

  • support _editor_link and _editorLink as flags in component data
    (1fa8591)

v2.2.1

07 Dec 23:43
Compare
Choose a tag to compare

2.2.1 (2021-12-07)

Bug Fixes

  • handle some editor link corner cases (a45653a)

Features

  • editor links can be toggled on a per-component basis by setting the editor_links or editorLinks flag in a components props

v2.2.0 (Automatic CMS Editor Links)

05 Dec 21:20
Compare
Choose a tag to compare

2.2.0 (2021-12-05)

Features

  • live: automatically add cms editor links in the live renderer (08fa8b3)

This will take effect with the upcoming CloudCannon Editor Panels release.

v2.1.1

16 Nov 19:48
Compare
Choose a tag to compare

Bug Fixes

  • init: fix arguments to @bookshop/init command (c15282d)