Version 10.9 of Directus has just landed with a slew of new improvements. You can always see the full unabridged release notes on GitHub, but here’s some of the highlights…
Focal Point Support
Directus Files provides some powerful image transformations available via URL query parameters. When cropping images, Directus would always do so from the center of the image, but from Directus 10.9, you can set a focal point coordinate via API or the Data Studio.
This means you can always ensure the important parts of your images are visible. Learn more about focal points in our documentation.
New Hash Display
Displays are a super important part of Directus - they let you show and format raw data in different ways. Directus 10.9 ships with a new built-in display - Hash.
This display is provides an aesthetic effect, displaying *** instead of data, and is more user-friendly than a cryptic hash inside of Directus Explore.
🪲 Bug Squashing: Extension Auto Reloading
Less a new feature, but an acknowledgement and fix of an annoying bug for extension developers. The EXTENSIONS_AUTO_RELOAD
variable has been broken for a few releases, and it is broken no-more. If you’ve recently build extensions, consider this an improvement on your productivity. Yeah, that sounds good.
Breaking Changes
Refer to the release notes for details, but there are some small potential breaking changes for users in this release:
- In updating exif-reader to version 2, which extracts metadata from files, some tag names have changed. If you’re relying on them to stay the same, you’ll need to update your code. Reference the exif-reader issue for details.
- Dropped the ability to import parts of the SDK through scoped entrypoints. Everything now only comes from the root export.
- Async code in JavaScript config files is not supported as of this release with the introduction of
@directus/env
.
Try it out
There have been dozens of small enhancements, bug fixes, and optimizations across the core Directus project, docs, and the SDK. You can now download Directus 10.9 on Docker Hub or via npm, and it'll be available on Directus Cloud next week.