Our Dashboard now provides comprehensive access to how much data your projects are using. We've made two significant changes to improve your experience.
Easily forecast monthly usage
We've added a new section to the "Plan and billing" page, which clearly displays your usage of bandwidth, API calls, and video streaming.
A green light indicates that everything is within normal usage limits.
An orange light warns that, given the current usage trends, some metrics may exceed your monthly limits.
A red light means that usage has already surpassed the monthly limits provided in your plan and you will incur in additional fees.
As a result of this addition, we renamed the "Resources consumption" section to "Plan limits and usage", and removed bandwidth, API calls, and video streaming metrics, since they now have a dedicated section.
Introducing the Data Usage Page
We've created a new Data Usage page that offers a comprehensive overview of your usage metrics.
Three graphs display the current month's bandwidth, API calls, and video streaming usage, aggregated across all projects within your scope (personal projects for personal accounts or organization-wide).
Similar to the CMS, you can now track usage and easily compare it to the previous month.
If you select "Distribution", a pie-chart view will show usage distribution across all projects. By clicking on a slice, you can drill down to view data for a specific project.
The Data Usage page also provides:
Warning messages on each graph when usage levels are high, providing access to a detailed forecast for the month.
Ability to download usage information in CSV format for further analysis.
Access to historical data from previous months.
We've just shipped an update that will save unnecessary clicks (and frustration!) for those who primarily operate within Organizations. You can now set an Organization as the default destination upon logging into the DatoCMS Dashboard, instead of always being directed to your personal account.
To activate this option, simply click on the "bookmark" icon next to an Organization to make it your default account.
And don't worry, you can also switch back to your personal account or select a different Organization whenever you need to.
It is now possible to change the name of existing environments, including the primary environment:
Renaming the environments does not cause work interruptions for the connected editors, and it is possible to perform this operation even using the latest version of the CLI:
npx datocms environments:rename old-name new-name
Now that both loading=lazy
and aspect-ratio
are broadly supported (> 93% of browsers), we are thrilled to enhance our React, Vue and Svelte SDKs by introducing a new image component that takes advantage of the browser's native capabilities!
The new image component:
Generates a single <picture />
element — much easier to style, no need for a layout
prop!;
Implements lazy-loading using the native loading="lazy"
attribute;
Sets the blur-up thumb placeholder as the background to the image itself;
Creates the smallest possible JS footprint — in the case of React, it's implemented as a server component, therefore it doesn't generate any JS and can be rendered and optionally cached on the server.
On React, this new image component is called <SRCImage />
to emphasize that it's a server component.
Its Vue and Svelte equivalents are both called <NakedImage />
, to distinguish them from the existing <Image />
component that generates a more complex HTML output composed of multiple elements around the main <picture />
element.
The "old" component <Image />
continues to be supported and remains relevant. Since it runs on the browser, it has the ability to set a cross-fade effect between the placeholder and the original image. It also implements lazy-loading through IntersectionObserver
, which allows customization of the thresholds at which lazy loading occurs.
So in short, if you need more advanced configuration options, or need to support older browsers, the existing <Image />
continues to be the preferable solution.
For all the details, you can refer to the release page of individual npm packages:
We've just released a small yet nifty enhancement to the Content section. As you dive into editing a record, you'll now see the record's title displayed prominently at the top of the editing area, along with the collection's emoji if there is one. This tweak provides a clearer context as you make updates.
For those times when you need to switch from editing a record to viewing its associated model, and provided your account has the necessary permissions, just click on the menu located right next to the record title for quick access.
We've just rolled out an enhancement to our Vercel Content Link experience - when you click a visual editing spot on your site preview, you'll now be taken straight to the corresponding field on the record page. Exactly like this👇
It's a small update, but a big win for editors dealing with complex models, as they can skip the hassle of hunting for the right field, and get straight to work, saving time and avoiding potential errors.
Please note that Vercel Content Link is in beta for Pro and Enterprise Vercel customers, while it's currently available for Enterprise DatoCMS customers.
We're introducing a new "Asset CDN settings" section to the "Project settings" area, where administrators have precise control over the optimization of media assets in a project.
You can now set a configuration that automatically applies imgix's powerful transformations to all image assets delivered through our CDN, without any code change.
To simplify the developer experience, all images will be automatically fine-tuned with a curated preset of imgix parameters.
This preset handles the trade-off between image quality and compression, for an optimal user experience and reduced bandwidth usage and costs - all without touching your frontend.
This setting is the default for new DatoCMS projects.
If you need more control, you can customize your image delivery by applying different parameters available through imgix for compression, improvements, format, and more
We strongly recommend you read the documentation carefully before applying custom parameters, and stick with the DatoCMS presets if you have doubts.
No parameter will be attached automatically - but you can still implement any of imgix's optimizations and transformations in your frontend code.
Administrators now have the option within the CDN settings to prevent raw video files from being served, thereby safeguarding your project against severe slowdowns and excessive bandwidth consumption. This feature is enabled by default for new projects.
Enabling this feature means that accessing a video's imgix URL will result in a Cloudflare Worker returning a 422 error. This policy supports our standard best practice of utilizing Mux for video delivery, optimizing video streaming and ensuring consistency across the platform.
We've released new <VideoPlayer />
components for React, Vue and Svelte. The component makes it straightforward to display a video from data retrieved from the GraphQL API, and acts as a wrapper around Mux's video player web component.
Given a query like this:
query {blogPost {titlecover {video {muxPlaybackIdtitlewidthheightblurUpThumb}}}}
It's possible to display the video with:
import React from 'react';import { VideoPlayer } from 'react-datocms';<VideoPlayer data={data.blogPost.cover.video} />
import Vue from 'vue';import { DatocmsVideoPlayerPlugin } from 'vue-datocms';Vue.use(DatocmsVideoPlayerPlugin);<datocms-video-player :data="data.blogPost.video" />
import { VideoPlayer } from '@datocms/svelte';<VideoPlayer data={data.blogPost.cover.video} />
Starting March 4, 2024, we are introducing a size limit for new and updated records in the CMS. The standard limit is set to 300KB per record to ensure optimal service performance for all our customers, while allowing a smooth usage of DatoCMS across any scenario. Record size calculation includes content in nested blocks, but does not count assets and linked records.
Please note that the maximum record size allowed by your plan may exceed the default 300KB limit. To confirm whether your plan supports a larger maximum record size, check the 'Plan and Billing' section in your Account dashboard.
It is extremely unlikely to hit the record size limit. In any case, for maximum trasparency, here's what's changing:
New Records: If a new record does not comply your size limit, you will be notified on save by an error message, and you'll need to go back and trim the record to save it.
Existing Records: All existing records that are over your limit will continue to function normally. You can still access and use these records without any disruption.
If you wish to edit and save any of these oversized records, you will need to reduce the record size under your plan's limit.
This size restriction also applies when duplicating a record or attempting to revert to a previous version that surpasses your plan's maximum allowed record size.
After seeing in action the new Schema Interface that we launched last week, we've decided to step 🆙 our emoji game a little more. Hence why, we've just rolled out a handy emoji picker that's available throughout DatoCMS.
You can use it to spruce up the following with some visual flair:
Models, Blocks, and Groups in the Schema section
Menu Items and Saved Filters under the Content tab
Saved Filters in the Media library
Any Fieldset within a model