Update of the JS/Ruby DatoCMS clients required!

Starting from March 31th, images and files uploaded to DatoCMS will no longer be served from the domain dato-images.imgix.net, but from a new domain: www.datocms-assets.com.

If your website is using an outdated version of our JS or Ruby clients, and still links to the old domain, you need to to upgrade your project dependencies or images on your website will stop being served.

We're very sorry for the inconvenience, but this change will allow us to be in total control of the domain from now on, and will make it easier and smoother to introduce changes regarding the way DatoCMS serves your assets in the future.

How to update the JS datocms-client package

If your project is using our datocms-client NPM package, please open your package.json and edit the version of the datocms-client package:

Json
...
  "datocms-client": "^0.3.17",
...

If your project uses npm as package manager, open the terminal and type this command:

npm update datocms-client

If you're using yarn instead of npm, open the terminal and type this command:

yarn upgrade datocms-client

Once the update process completes, commit the changes to your Git repository:

git add package.json yarn.lock
git commit -m "Upgrade DatoCMS client"
git push

How to update the Ruby dato gem

If you're using any Ruby-based static website generator (Jekyll, Middleman, Nanoc), you're probably using our Ruby gems (dato and middleman-dato if you're running a Middleman website) to integrate your website with DatoCMS.

To upgrade to the latest gem versions, please open your Gemfile and edit the version of dato (and middleman-dato, if you're on a Middleman project):

Ruby
...
gem "dato", ">=0.3.11"
# add the line below only if you're on a Middleman project!
gem "middleman-dato", ">=0.7.2"
...

Then open the terminal and update the gems with bundle update:

Ruby
bundle update dato
bundle update middleman-dato

Once the update process completes, commit the changes to your Git repository:

git add Gemfile Gemfile.lock
git commit -m "Upgrade DatoCMS client"
git push