static-cms/BREAKING_CHANGES.md
2023-04-04 15:12:32 -04:00

781 B

BREAKING_CHANGES

  • Card preview only is used for card view (viewStyle prop removed, theme prop added). Field preview can be used in table view.
  • Deprecated stuff removed (getAsset, createReactClass, isFieldDuplicate, isFieldHidden)
  • widget prop isDisabled renamed to disabled
  • widget prop isDuplicate renamed to duplicate
  • widget prop isHidden renamed to hidden
  • useMediaInsert now requires collection to be passed
  • media path changed from string | string[] to { path: string | string[], alt?: string }
  • Nested collections, meta config moved into nested config.

ADDED

  • forSingleList - Allows for changing styles for single list items

TODO

  • Docs on table columns
  • Docs on field previews
  • Re-add collection description OR document as breaking change