TinaCMS V0.69.7

September 14, 2022

By James O'Halloran

TinaCMS Version 0.69.7 brings some fixes, improved error handling, and overall DX improvements.

Simpler "router" API

Route-mapping can now be configured within a collection's definition.

// ...
  name: 'post',
  path: 'posts',
  ui: {
    router: ({ document }) => {
      // eg. post items can be previewed at posts/hello-world
      return `/posts/${document._sys.filename}`;
    },
  },
// ...

See docs

Simpler "Global Forms" API

A collection can be marked as "global", from within a collection's definition.

// ...
name: 'post',
path: 'posts',
ui: {
  global: true
},
// ...

Global forms can be edited from any page. They are accessed through the sidebar

Event Log UI

The sidebar now links to an "Event Log" UI, which makes it easier to debug things like the GitHub to Tina connection being broken.

S3 & "Digital Ocean Spaces" media stores

Docs are still in progress for this, but in the meantime you can check out the S3 PR & Digital Ocean Spaces PR.

Other Improvements & Fixes

  • Fix for when collection paths overlap see issue
  • Improved error outputs from the CLI builds
  • Fix "create-tina-app" on Windows
  • Fix large image previews being too large for the screen

Last Edited: September 14, 2022