Partners

Product Updates

DatoCMS changelog for new features and general improvements
New
You can schedule unpublish
March 18th, 2021

Now, together with scheduling a publication, you can schedule an unpublication.

Read all the details in our documentation page.

Content Management API
Site search reindex without triggering a build
March 15th, 2021

You can now trigger a new site search without launching an entire deploy. This is very useful for technologies permitting per-page deploys, like NextJS for example.

Read the Content Management API documentation page.

UI ImprovementContent Management API
Usability improvements
March 11th, 2021

A set of usability improvements, both on the editorial side and on the development side:

  • custom locales: you can now add whatever locale you want, just type it out and if it doesn't exist, it will be created for you! No more limits here

  • if you have more than 5 items in a dropdown, we'll let you search in there:

  • now also fields can be duplicated. This is particularly useful if you have complex fields with lots of validations (say modular blocks, links, etc) that you need to duplicate with some sligth variations

  • last but not least, we've add a new parameter when getting a record: nested=true. If you add that, you'll get the modular blocks inlined in the record response and not as IDs that then will need another call to retrieve the content. Read in the documentation all the details and see an example.

Content Management API
firstPublishedAt and createdAt are now editable
March 8th, 2021

You are now free to edit the firstPublishedAt and createdAt meta fields of the records.

This is going to be particularly helpful when batch importing records from existing CMS (say WordPress) where those dates need to be set in the past.

UI Improvement
More intuitive blocks with help text (and image preview)
March 4th, 2021

To help editors understand the purpose of each block, we just shipped a new field called Help text that you configure to shown some human-friendly description on the content editing side.

As a bonus, if the field starts with an image URL, it will be shown alongside the help text. Quite handy, isn't it? ๐Ÿ˜ƒ

UI Improvement
Blocks Library and schema editing improvements!
March 4th, 2021

Today we launched a series of UI changes to the schema editing area that we hope will make it clearer and quicker to make changes, especially regarding blocks.

First of all, models can now be filtered with a handy search bar:

The biggest changes, however, are related to blocks. A new Blocks Library section is now visible on the sidebar, giving you an overview of all the blocks your project has defined:

You can also quicky find which Modular Content/Structured Text fields are using a specific block, and move to the field in a single click:

The inverse operation โ€” that is, moving from a Modular Content/Structured Text field to one of its blocks โ€” is one click away too:

To specify which blocks can be used in a Modular Content/Structured Text field, head over to its settings, under the Validations tab:

UI Improvement
A long list of UI improvements
December 18th, 2020

A long overdue update on all the UI improvements we've recently released:

Now you can set alt and title in images within the multiline string with the HTML editor:

We've been receiving feedbacks around our SEO fields that were suggesting that we had validation rules that were too strict. So now we've added the option to pick whatever minimum or maximum length for the slug, SEO title and SEO description. You can customize those per field:

And also, you can now customize the validation rules for the slug field, so that you can set your custom regular expression, if our default one is too strict for your use case:

You can now specify in which locale the record filter applies:

We have removed the limit of 30 records that you could batch update. This was particularly annoying when doing batch action across pages, almost a bug fix :)

And finally... you can now close modals pressing the Escape key!

Plugins
Plugin capabilities extended for links and media
December 18th, 2020

With the latest v0.1.0 release of the Plugin SDK we've added a couple methods:

  • selectItem(itemTypeId, { multiple }) - Plugins can use this method to show a modal dialog to select one or multiple existing records

  • selectUpload({ multiple: boolean }) - Plugins can use this method to show a modal dialog to select one or multiple uploads

  • editUpload(uploadId) - Plugins can use this method to show the modal dialog to edit an upload

  • editUploadMetadata(uploadMetadata) - Plugins can use this method to show the modal dialog to edit an upload metadata.

These new methods will allow the creation of plugins for the link fields. You can read all the details in the SDK reference.

Then, related to the media fields, we've released v3.2.0 of our JS client which:

  • adds support for aborting createUploadPath, uploadFile and uploadImage through uploadPromise.cancel

  • adds additional option arguments to createUploadPath, uploadFile and uploadImage

  • adds options.onProgress for tracking the upload progress of createUploadPath, uploadFile and uploadImage

  • adds options.filename for renaming files uploaded with createUploadPath, uploadFile and uploadImage

These new methods will let you create plugins for the media fields and manage the uploads from your end.

You can see the client docs for more details and examples.

API ClientsPlugins
Ruby client and plugin SDK improvements
November 5th, 2020

On the Ruby gem, we've added the method #lqip_data_url, which lets you access the SVG blurred up version of your images, like so:

blog_post.cover_image.url(w: 800, h: 600, fm: :jpg)
# => "https://www.datocms-assets.com/123/12345-heart.png?w=800&h=600&fm=jpg"
blog_post.cover_image.lqip_data_url(w: 800, h: 600, fm: :jpg)
# => "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHBwgHBgoICAgXFQoLDhUSDhUXDh0eDRUVGRYZGBYTFhUaIi0jGh0oHRUWJDUlKC0vMjIyGSI4PTcwPCsxMi8BCgsLDg0OHBAQHDsoIig7Lzs7Ozs7Ozs7LzsvLy8vLy8vLzsvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL//AABEIAA0AGAMBIgACEQEDEQH/xAAYAAEAAwEAAAAAAAAAAAAAAAAAAwQFAv/EABwQAAAHAQEAAAAAAAAAAAAAAAABAgMEBRESQf/EABUBAQEAAAAAAAAAAAAAAAAAAAMB/8QAHREAAQMFAQAAAAAAAAAAAAAAAQAREgITITFCA//aAAwDAQACEQMRAD8AqPMJiF1o6jvlILkhlWU11aMMTU6j50UPHKcCmTJa1aXEnvoBdy3GmTNPgAwfTkpbNJ2F/9k="

For more details on what you can do, please have a look at this blog post.

On the Plugin SDK, we've added a new method plugin.disableField(...pathChunks, disable) that will let you disable a field so that the editors will be prevented to make changes.

Read all the details on the SDK reference.

UI Improvement
Improved support for time formats
September 22nd, 2020

We've recently launched a new feature that allows every user to customize the format in which the date and time are displayed.

Under User settings > Localization Settings you can find this screen:

In which you'll be able to pick your date and time format together with the options of showing times in the 24h format.

We hope to have covered all your date/time formatting needs with this.