Skip to content

Latest commit

 

History

History
306 lines (214 loc) · 28 KB

CHANGELOG.md

File metadata and controls

306 lines (214 loc) · 28 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.37.0 (2021-02-08)

Bug Fixes

  • check if cleanup is needed before cleaning up (bbdc166)
  • react-tinacms-inline: Fix ability to clear field selection, closes #1725 (3e8aab4)
  • radio group name attr (996c468)

Features

0.36.1 (2021-02-01)

Bug Fixes

  • react-tinacms-inline: dep constraint syntax (c9c3f05)

0.36.0 (2021-01-25)

Bug Fixes

  • @tinacms/react-sidebar: fixed site elements relative to SiteWrapper (2f5c75c)
  • @tinacms/react-sidebar: fixed site elements relative to SiteWrapper (de2e1f7)
  • react-tinacms-github: Fix reversed error messages for 404 errors (7e3ba86)

Features

  • react-tinacms-github: GithubFile: Support committing newly created files (d13eb76)
  • react-tinacms-inline: inline block duplicate action (0b79ecf)

0.35.1 (2021-01-19)

Bug Fixes

  • react-tinacms-github: Fix types for form hooks (b937ed1)

0.35.0 (2020-12-15)

Bug Fixes

  • react-tinacms-github: restore original functionality for github:branch:checkout (8060075)
  • react-tinacms-inline: #1640 support defaultItem as a function in add-block-menu.tsx (85acb9d)

Features

  • add inline block label (af24e52)
  • Use custom actions in BlocksControls (d01e14a)

Reverts

  • Revert "docs: update/fix demo run command" (d386ea4)

0.34.0 (2020-11-23)

Bug Fixes

  • @tinacms/fields: input doesn't unset all styles (8386e4f)
  • @tinacms/react-core: useForm refreshes data on github branch change (d16ef76)
  • react-tinacms-github: only send branchchange event when branch actually changes (6580c8a)

Features

  • @tinacms/react-core: useForm returns its loading state (f287275)
  • tinacms: media manager dropzone accepts multiple files (179eec6)

0.33.0 (2020-11-16)

Bug Fixes

  • @tinacms/core: unsubscribe from events when replacing api (5ad8dee)
  • @tinacms/fields: onClear function clears the input (73cd850)
  • react-tinacms-inline: better control InlineBlocks rerenders (611fc70)
  • react-tinacms-inline: stop focus event bubble before returning early (698e0b5)
  • tinacms: remove yarn.lock (d304dd5)

Features

  • @tinacms/fields/toggle: add optional true/false labels (850d875)
  • react-tinacms-editor: InlineWysiwyg only renders ProseMirror for focused editor (24a3372)
  • react-tinacms-inline: Export SettingsModal (ba5e03e)
  • react-tinacms-inline: FocusRing accepts render-child (e1cc04c)
  • react-tinacms-inline: InlineGroup field names are relative (57bcb3d)
  • tinacms: expose plugin handle for media pagination (4b4345b)

Performance Improvements

  • react-tinacms-inline: don't render block menu when block not active (2b26b8a)

0.32.1 (2020-10-29)

Bug Fixes

  • next-tinacms-github: correct typedef path (2ac9a52)
  • next-tinacms-github: fix build artifacts (771c03f)
  • react-tinacms-editor: correct typedef path (064e5fe)
  • react-tinacms-editor: fixes menu jumping to top on scroll (47fb08f)

0.32.0 (2020-10-20)

Bug Fixes

  • @tinacms/core: cms.media.open accepts the allowDelete prop (9364732)
  • @tinacms/fields: image field allows media to be deleted from media manager (7dfbb5e)
  • gatsby-tinacms-json: JsonCreator commits files after writing (a252c13)
  • gatsby-tinacms-remark: RemarkCreator commits files after writing (2b8780c)
  • react-tinacms-github: dispatch event on delete failurecloses #1493 (12d92dc)
  • react-tinacms-inline: empty inline img to click/drag (c879441)
  • react-tinacms-inline: field focus is not lost when editing settings (8a078b4)
  • react-tinacms-inline: inline image field allows media to be deleted from media manager (352284f)
  • react-tinacms-inline: some fields were mis-handling focus (5d7318c), closes #1516
  • react-tinacms-inline: uploadDir passes formValues (99de78a)
  • tinacms: media manager upload button is busy while uploading (3ab978c)

Features

  • @tinacms/react-core: useCMSEvent makes subscribing to events easier (2a276bf)
  • react-tinacms-editor: image directory prop --> uploadDir func (67fc8d9)
  • react-tinacms-editor: markdown & html fields accept image props (06d92e1)
  • react-tinacms-editor: media mgr opens from uploadDir (7e1b133)
  • react-tinacms-editor: parse accepts media object (f6cf123)
  • react-tinacms-editor: wysiwyg menu opens media mgr (026e633)
  • react-tinacms-inline: block components are given their name (8d42e9a), closes #1536

Reverts

  • Revert "chore(react-tinacms-editor): mediaDir not optional" (af20d84)

0.31.0 (2020-10-05)

Bug Fixes

  • @tinacms/forms: catch errors after submit (2550a81)
  • missing key names (798ed84)
  • svg attribute names (7e06179)
  • @tinacms/forms: the Form#fields array is now optional (e3d71bf)
  • @tinacms/media: deprecated since these interfaces were graduated to core (39f1a72)
  • @tinacms/react-alerts: increase z-index (94d67bb), closes #1503 #1055
  • @tinacms/react-screens: ModalBody is padded (3df3c55)

Features

  • @tinacms/alerts: events can be mapped to alerts automatically (b96e8b9)
  • @tinacms/api-git: GET /:relPath returns content list for directories (c613b20)
  • @tinacms/api-git: the GET /:relPath endpoint returns contents of directories (9fa7bf8)
  • @tinacms/core: add cms.media.open top make showing the media manager easier (eea3081)
  • @tinacms/core: cms.media async methods dispatch events (9196bdf)
  • @tinacms/core: MediaStore#previewSrc accepts fieldPath and formValues (e2bf27b)
  • @tinacms/core: promoted @tinacms/media classes to core (5288dc1)
  • @tinacms/core: the MediaStore interface has a delete method (4c1cf5a)
  • @tinacms/events: EventBus#subscribe can accept an array of event names (63ef4db)
  • @tinacms/fields: clicking on ImageField opens the media picker ui (7bb8fdb)
  • @tinacms/fields: ImageFieldPlugin matches new MediaStore#previewSrc api (76e5b04)
  • @tinacms/fields: ImageUpload parse returns the whole media object (94ee917), closes #1453
  • @tinacms/fields: the uploadDir function is now optional for image fields (6095caf)
  • @tinacms/git-client: GitMediaStore implements delete (6b6efdb)
  • @tinacms/git-client: the GitMediaStore implements list (26ceadd)
  • @tinacms/icons: adds media mgr folder & file icons (81f1191)
  • @tinacms/media: add optional previewSrc to Media interface (664701e)
  • @tinacms/media: added id property to Media interface (95ce72c)
  • @tinacms/media: cms.media has all of the MediaStore methods (97b080b), closes #1458
  • @tinacms/media: cms.media has all of the MediaStore methods (6109f74), closes #1458
  • @tinacms/media: The media in the store can be listed (8704c29), closes #1451
  • @tinacms/media: the Media interface now has a 'type' prop that can be 'file' or 'dir' (1a867cf)
  • next-tinacms-github: Add NextGithubMediaStore (357dcd8)
  • react-tinacms-github: add GithubClient#commit(branch, repo?) (d62bc3b)
  • react-tinacms-github: GithubMediaStore implements MediaStore#delete (1c5ded9)
  • react-tinacms-github: GithubMediaStore implements MediaStore#list (a963189)
  • react-tinacms-inline: adds inline image style extension (f4348e5)
  • react-tinacms-inline: image children only receive src (9b48aa6)
  • react-tinacms-inline: inline img accepts alt (e576838)
  • react-tinacms-inline: InlineField accepts parse and format functions (8d62b8e)
  • react-tinacms-inline: InlineImage parse accepts a Media rather then a string (3be3e16)
  • react-tinacms-inline: InlineImageField#previewSrc matches MediaStore API (aeb0cd5)
  • react-tinacms-inline: uploadDir on InlineImageField is now optional (4259804)
  • react-tinacms-strapi: the StrapiMediaStore implements MediaStore#delete (157d1fc)
  • react-tinacms-strapi: the StrapiMediaStore now implements MediaStore#list (d851296)
  • tinacms: add media manager UI (4f0cf96)
  • tinacms: added a default MediaManager screen (dc33594)
  • tinacms: an alerts map can be provided to TinaCMS constructor (fcee016)
  • tinacms: apis can define their own event-to-alerts map (24a9305)

0.30.0 (2020-09-10)

Bug Fixes

  • link modal keybaord shortcut (96de0de)
  • wysiwym image modal issues (4473310)
  • wysiwym table and link modal (5965e12)

Features

  • react-tinacms-github: introduce useGithubClient hook (2111d70), closes #1436
  • keyboard shortcut for toggle editor mode (03074ac)

0.29.0 (2020-08-25)

Bug Fixes

  • add parse function (4add855)
  • react-tinacms-inline: preview src passes form values (e376424)

Features

  • next-tinacms-json: remove deprecated apis (0a03345)
  • next-tinacms-markdown: sunset outdated APIs (8b6e90a)

0.28.0 (2020-08-17)

Bug Fixes

  • multiple instances of components not accepting multiple child elements (cbbb03d)
  • react-tinacms-editor: prosemirror image plugin is only added if imageProps was was defined (c29cc4c)
  • react-tinacms-editor: renamed previewUrl to previewSrc to make it consistent with InlineImage component and ImageFieldPlugin (db55a85)
  • react-tinacms-editor: seevral UX issues addressed for tables, headings, and the link modal (#1393) (28cfaec)
  • react-tinacms-editor: when InlineWysiwyg is not given imageProps then images are disabled (ebefdf1)
  • react-tinacms-github: an authorized user trying access a deleted branch will be prompted to switch back to the base branch (137b5ee)
  • react-tinacms-github: improved error modals on 404s (4a998fc)

Features

  • @tinacms/core: events from APIs are dispatched to the entire CMS (1a47d0b)
  • @tinacms/fields: ImageFieldPlugin will default to useing cms.media.store for previewSrc (a4f377c)
  • @tinacms/media: MediaStore's can have an optional previewSrc method (e4024d2)
  • react-tinacms-editor: by default InlineWysiwyg will use cms.media.store for the previewUrl (d7dbda7)
  • react-tinacms-editor: InlineWysiwyg expects imageProps.parse to modify the filename before inserting the img tag (1738671)
  • react-tinacms-github: GithubMediaStore implements previewSrc (325fdb4)
  • react-tinacms-inline: InlineImage defaults to using cms.media.store.previewSrc (d050e63)
  • react-tinacms-inline: InlineImage now works with an async previewSrc (91b8995)
  • react-tinacms-inline: InlineText and InlineTextarea will render children instead of input.value when cms.disabled (1ee29ab)
  • react-tinacms-inline: InlineTextarea now accepts placeholder (1be2566)
  • react-tinacms-strapi: StrapiMediaStore implements previewSrc (fe5df7d)

0.27.3 (2020-08-10)

Bug Fixes

  • react-tinacms-inline: BlocksControls always returns a JSX Element (36d84f6)

0.27.2 (2020-08-10)

Bug Fixes

  • react-tinacms-inline: BlocksControlsProps#children is not optional (9ca8bc9)

0.27.1 (2020-08-10)

Bug Fixes

  • switch from ReactNode to ReactChild for various props (a585ce9)

0.27.0 (2020-08-10)

Bug Fixes

  • @tinacms/react-sidebar: adds aria label to sidebar toggle button (fc2957a)
  • @tinacms/react-sidebar: sidebar doesn't render when cms is disabled (c24556d)
  • next-tinacms-github: auth handler sends 500 error when missing signing key (90b5916)
  • next-tinacms-github: preview handler responds with 500 if signing key is missing (31273f7)
  • next-tinacms-github: sends 500 with message if signing key is missing (002ce35)
  • tinacms: enabling cms with sidebar doesn't remount children (1188dbf)

Features

  • react-tinacms-editor: InlineWysiwyg imageProps.upload now defaults to using the cms.media.store to upload images (166f380)
  • react-tinacms-editor: InlineWysiwyg now accepts imageProps.directory (f75d130)
  • react-tinacms-inline: InlineText now accepts a placeholder prop (319d29f)
  • react-tinacms-inline: previewUrl is now optionally async (3aaead3)

0.26.0 (2020-08-03)

Bug Fixes

  • gatsby-tinacms-git: useGitForm#loadInitialValues does not run in production (a42d50c)
  • gatsby-tinacms-mdx: useMdxForm#loadInitialValues does not run in production (e0c2275)
  • next-tinacms-json: useJsonForm#loadInitialValues does not run when cms is disabled (9fbd8e8)
  • next-tinacms-markdown: useMarkdownForm#loadInitialValues does not run when cms is disabled (3292bf4)

Features

  • @tinacms/forms: useForm always runs loadInitialValues (a624087)
  • @tinacms/react-core: a new CMS is disabled by default (ef3ac08)
  • add focus ring to inline wysiwyg (2768afd)
  • tooltips for menubar options (bd06f11)

0.25.0 (2020-07-27)

Bug Fixes

  • react-tinacms-editor: table delete icon should be visible only if whole table is selected (dd3313b)
  • react-tinacms-editor: table row add delete icons overlapping (cfa9949)
  • react-tinacms-editor: UX improvements hide title input from link modal (6e5ab20)

Features

  • react-tinacms-github: added github delete action docs to readme (dc58e59)
  • next-tinacms-github: getGithubFile let's you fetch and parse a file without the entire preview props (17cb428)

New Packages