github netlify/netlify-cms 0.6.0
0.6.0 (2017-10-26)

latest releases: netlify-cms@2.10.60, netlify-cms-widget-object@2.5.6, netlify-cms-widget-markdown@2.12.6...
6 years ago

Overview

This release brings improvments, bugfixes, and lots of dependency updates! Here are a couple of highlights, followed by a complete changelog:

React 16 🔥🔥🔥

Netlify CMS is now on React 16! Major thanks to the amazing @tech4him1 for making this happen! Here's why this is a big deal:

  • React 16 is a complete rewrite of the library from the ground up, and is expected to bring real perf improvements
  • Developers will no longer see cryptic errors when troubleshooting component issues!
  • React 16 uses the MIT license! Projects that couldn't use Netlify CMS due to React's old license, which carried a controversial patents clause, are now free to hop onboard!

Better field validation errors in the editor!

Thanks to @aquibm, when a required field is empty, it's made much more clear, both in the message over the field, and with a pop up notification at the top of the screen! Please note that nested fields, such as those inside of an object or list, are still not validated - if you'd like to help with that, please check out #467!

Breaking Changes

Removed IE11 support (@talves in #704)

IE11 support required a fetch polyfill, and potentially more CSS transforms than necessary, and has been removed in favor of modern browsers like Chrome and Edge. Our browser support list can now be found under browserslist in package.json.

Moved storybook and react-hot-loader to dev deps (@tech4him1 in #739)

Projects installing the CMS through NPM may experience broken builds after upgrading.

An outdated development dependency, storybook, included all of it's own dev dependencies when installed - your project may have been depending on these packages without ever directly installing them.

The following dependencies were previously loaded in this way, and are removed in 0.6.0:

    "@kadira/storybook-ui": "^2.6.0",
    "airbnb-js-shims": "^1.0.0",
    "babel-core": "^6.11.4",
    "babel-loader": "^6.2.4",
    "babel-polyfill": "^6.9.1",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.11.1",
    "babel-preset-stage-0": "^6.5.0",
    "babel-runtime": "^6.9.2",
    "cjson": "^0.4.0",
    "commander": "^2.9.0",
    "es6-shim": "^0.35.1",
    "express": "^4.13.3",
    "json-stringify-safe": "^5.0.1",
    "page-bus": "^3.0.1",
    "qs": "^6.1.0",
    "redbox-react": "^1.2.2",
    "shelljs": "^0.6.0",
    "stack-source-map": "^1.0.5",
    "uuid": "^2.0.1",
    "webpack": "^1.12.11",
    "webpack-dev-middleware": "^1.6.0",
    "webpack-hot-middleware": "^2.10.0"

If you find new errors in your build related to one of these, you probably just need to install it directly to your project.

Improvements

Deps: Upgrade to React 16 (@tech4him1 in #724)
Editor: Migrate ListControl from react-sortable to react-sortable-hoc (@Benaiah in #708)
Editor: Improve field validation error visibility (@aquibm in #722)
Files: Add support for TOML files (@tech4him1 in #740)
Arch: Migrate to plain CSS (remove CSS modules) (@Benaiah in #659)

Bug Fixes

Auth: Check user permissions and metadata every CMS load (@tech4him1 in #559)
Backend: Ensure fresh data in Git Gateway API calls (@Benaiah in #672)
Editor: Stop navigation on failed entry save in editorial workflow (@erquhart in #742)

Docs

Docs: Rewrite Quick Start with Identity/Git Gateway (@verythorough in #639)
Docs: Add yourself as a contributor (@DirtyF in #677)

Dev

Deps: Use babel-preset-env instead of the yearly presets (@tech4him1 in #694)
Deps: Upgrade to React Router v4 (@tech4him1 in #667)

Chores

Deps: Upgrade test dependencies (@Benaiah in #668)
Deps: Upgrade CSS Deps (@tech4him1 in #681)
Deps: Upgrade UUID module (@tech4him1 in #682)
Deps: Switch from react-simple-dnd to react-dnd (@tech4him1 in #705)

Don't miss a new netlify-cms release

NewReleases is sending notifications on new releases.