Skip to content

Releases: puckeditor/puck

v0.10.0

18 Oct 16:09
Compare
Choose a tag to compare

This release introduces powerful new plugin APIs and draggable array items.

The new plugin APIs enable plugin developers to fully control the Puck application UI and current data object by exposing Puck's internal state and dispatcher. Documentation available in the README.

Draggable array items allows users to reorder items when using the array field type. We also introduces a refreshed UI for array items.

Breaking changes

  • The data prop on plugin render methods has been deprecated. Use state.data instead.

Features

  • align component list UI with refreshed array fields (74cd3a7)
  • enable drag-and-drop of array items (12800f8)
  • expose state dispatcher to plugins (e94accb)
  • expose state to plugins, removing data (89f9f2e)
  • expose state to renderHeader, removing data (29ddaaf)
  • record application state in undo/redo history (0f2d7c5)
  • refresh UI for array fields (5ef8a96)

Bug Fixes

  • ensure layer tree consistently shows selected item (6a9145c)
  • only render strings or numbers in external adaptors (3c337be)
  • prevent style pollution for select fields (fa7af7d)

New Contributors

Full Changelog: v0.9.0...v0.10.0

v0.9.0

06 Oct 15:31
Compare
Choose a tag to compare

This release introduces undo/redo history with hotkey support, thanks to the amazing @Yuddomack!

It also fixes some bugs introduced in 0.8.0.

Features

  • add undo/redo history (222697e)
  • make actions sticky to component scroll (f3e5b50)

Bug Fixes

  • fill empty space under puck-root (d42cfb6)
  • prevent global pollution of Heading color (327721c)
  • render icon if provided to FieldLabel (ae01891)
  • reset stacking context for each item (a826492)

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.0

04 Oct 07:57
Compare
Choose a tag to compare

Features

  • introduce DropZone API for nesting components and advanced layouts (5053a84)
  • introduce new outline UI (e32c4ff)
  • redesign action overlay and move outside of component (5145cba)
  • cast number field types to Number (d5df959)

Bug Fixes

  • add missing id type to render props (18753cf)
  • add missing optional chaining operator to next recipe (a368319)
  • don't show margin underneath placeholder when dragging in (2620455)
  • don't switch between controlled/uncontrolled inputs (b20e298)
  • ensure form styles override global styles (104091a)
  • ensure hooks can always be used within render functions (cbf8e8e)
  • ensure types allow for nested arrays (06b145b)
  • fix unpredictable rendering of drop placeholder (bf5f16b)
  • only show sidebar scroll bars if necessary (87c8736)
  • prevent global styles from overwriting fieldset styles (550bd0e)
  • respect labels for array item fields (f2e7843)
  • prevent global styles from overwriting outline styles (1dc222c)
  • prevent styles from clashing with dark mode root element (8506e8e)
  • upgrade next version in recipe to ensure vercel builds pass (c2d7fae)

Performance Improvements

  • reduce bundle size by 61% by removing unused react-feather icons (f4b0563)

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

14 Sep 14:00
Compare
Choose a tag to compare

Features

  • add support for custom fields (b46b721)

New Contributors

  • @eltociear made their first contribution in #54
  • @abhishek276533 made their first contribution in #59

Full Changelog: v0.6.2...v0.7.0

v0.6.2

07 Sep 17:51
Compare
Choose a tag to compare

Bug Fixes

  • bust cache in generated app on publish (6e1c8ed)
  • don't 404 on homepage in generated app (8fd7b3b)
  • don't call API when building generated app (8041fc1)
  • fix type issues in generated app (b16e98e)