Skip to content

Latest commit

 

History

History
360 lines (175 loc) · 18.8 KB

CHANGELOG.md

File metadata and controls

360 lines (175 loc) · 18.8 KB

CHANGELOG

0.12.0 (2023-11-23)

Features

  • support React server components via @measured/puck/rsc bundle (90ac161)
  • add remix recipe (f882878)
  • add explicit rsc and css exports (0b6a527)
  • improve responsive behaviour (889b4c7)
  • add visibility toggle for right-hand sidebar (3d6c5d4)
  • allow custom fields to set UI state during onChange (388793c)
  • expose field "id" to custom fields (849161e)
  • improve IconButton accessibility (4c71d39)
  • add new monospaced font stack (c484ea6)
  • tweak Field input focus state (8012afd)

Bug Fixes

  • don't enable style pollution of input background color (bb1a76b)
  • don't reset array item labels when changing order (57563e1)
  • ensure field icon and label are vertically aligned (caa40e0)
  • ensure root render receives props from latest data API (abb6ff1)
  • export missing PuckAction type (f22f32d)
  • fix rootResolver behaviour when using recommended root data API (5c13de5)
  • migrate to @hello-pangea/dnd to fix defaultProps warning (2c97362)
  • prevent inconsistent default input font-size (99f90b3)
  • show a default value when no placeholder set on external fields (e30b5b6)
  • stop zones getting wiped out if data prop updated (0c4514f)
  • stop style pollution into array field items (03b89d5)
  • stretch external field table to width of modal (f6d89f6)
  • use correct root data API in next recipe example database (b598144)
  • use Inter font in button type Buttons (1973847)

0.11.3 (2023-11-12)

Bug Fixes

  • ensure field debounce doesn't sporadically lock preview update (487ab83)
  • stop generator crashing on Windows due to commits with single quotes (ab9d43f)

0.11.2 (2023-11-11)

Bug Fixes

  • add missing database.json back to generated next recipe (3c15255)

0.11.1 (2023-11-11)

Bug Fixes

  • include next recipe in generator (5b833ef)

0.11.0 (2023-11-03)

Bug Fixes

  • don't flicker root DropZone when dragging (358435c)
  • ensure array fields can render if value is undefined (47ab3c9)
  • isolate external field modal from high z-indexes (fdf97c7)
  • make Field types required based on type (daf36ac)
  • prevent global style pollution in external fields (429731d)
  • prevent long header titles from rendering over actions (4613df4)
  • use correct heading component for external inputs (462266d)

Features

  • add categories API for grouping components in side bar (594cc76)
  • add read-only states to all field types (746d896)
  • add icon to external fields (a3a018b)
  • add loading state to external field modal (5b4fc92)
  • add lock icon when field is read-only (a051000)
  • add mapProp API to external fields (86c4979)
  • add renderComponentList API (ec985e3)
  • add resolveData API for modifying props dynamically (c1181ad)
  • deprecate adaptors in favour of new external field APIs (7f13efc)
  • deprecate magic adaptor _data behaviour in favour of resolveData API (4ee31e7)
  • deprecate props under root in favour of root.props (7593584)
  • make external field more consistent with other fields (5bfbc5b)
  • update next recipe to render to static (a333857)

Performance Improvements

  • cache data between fetchList calls in external fields (04b7322)
  • improve render performance of fields (d92de7f)

0.10.0 (2023-10-18)

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)

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)

0.9.0 (2023-10-06)

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)

Features

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

0.8.0 (2023-10-03)

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)

0.7.0 (2023-09-14)

Features

  • add support for custom fields (b46b721)

0.6.2 (2023-09-07)

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)

0.6.1 (2023-09-06)

Bug Fixes

  • add missing glob dependency for create-puck-app (7dbe190)
  • return component to original position when drag cancelled (cae760f)
  • use correct peer dependencies for react (39f4e7f)

0.6.0 (2023-08-15)

Bug Fixes

  • ensure component label doesn't inherit user styles (5c0d65b)
  • make default props on root optional (dc5b1ae)

Features

  • export Button and IconButton to make extending header seamless (d98eb29)

0.5.0 (2023-08-14)

Features

  • add headerTitle and headerPath APIs (ae5c7c2)
  • gracefully fallback if component definition doesn't exist (d7e3190)
  • refine editor styles (9e57649)
  • support booleans in radios and selects (acb7a96)

0.4.1 (2023-08-09)

Bug Fixes

  • move incorrect dependency to devDependencies (6ffd86c)

0.4.0 (2023-07-07)

Bug Fixes

  • avoid hardcoding localhost in strapi adaptor (f8d920c)
  • stretch ExternalInput button to fill container (69ee221)

Features

  • add adaptor-fetch package (eaf7875)
  • rename page to root in API (8519675)

0.3.2 (2023-07-06)

Bug Fixes

  • export correct files for Strapi adaptor (577a849)
  • set correct font family for empty outlines (3d45841)

0.3.1 (2023-07-05)

Bug Fixes

  • include .gitignore in recipes (e18bf67)

0.3.0 (2023-07-05)

Features

  • release create-puck-app (0722a65)

0.2.2 (2023-07-05)

Bug Fixes

  • ensure margin collapse fix works with coloured backgrounds (fdec4fa)

0.2.1 (2023-07-05)

Bug Fixes

  • remove border on draggable components (726a27c)

0.2.0 (2023-07-04)

Bug Fixes

  • inject react into libraries (7e10d91)
  • render drag and drop correctly when using margins (f88025b)

Features

  • add icons to inputs (f47482e)
  • improve UI for fields (aa0d2fe)
  • rename "group" field type to "array" (4f99c7d)

0.1.6 (2023-07-04)

Bug Fixes

  • inject react into libraries (7e10d91)

0.1.5 (2023-07-03)

  • Publish all packages