Released Jun 13th 2019

v0.140.34

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • The global error handler introduced in v0.140.30 was a bit too eager - errors occuring after initial React render are now handled in a slightly more subtle manner
  • Specifying a basePath for studio will no longer cause studio to fail when deployed to sanity.studio
  • Errors inside of the prepare method for previews no longer crashes the studio in production
  • Modules that are linked using npm link/yarn link will no longer cause a hot module reloading resolve error
  • Some users were seeing errors after we introduced the v8 compile cache module in our CLI, so it is now removed

📓 Full changelog

AuthorMessageCommit
Espen Hovlandsdalcore Deploy to sanity.studio without basePath (#1356)fc6cc63b1
Kristoffer Sivertsencomponents Fix overflow on dividera8a17a6d3
Espen Hovlandsdalpreview Always run preview prepare in try/catch (#1364)260db28b1
Knut Melværbase Fix typo in comment01e8d81e5
Espen Hovlandsdalimage-url Move module out of monorepo (#1359)07093716b
Espen Hovlandsdalserver Prevent build error on symlinked modules (#1355)fdab5f329
Espen Hovlandsdalutil Replace jest with tap134480aa5
Espen Hovlandsdalcli Remove v8-compile-cache because of mixed results93e6db653
Espen Hovlandsdalbase Add less intrusive error handler (#1367)c59c62a68
Espen Hovlandsdalvalidation Upgrade jest to v246ddb900a0