It's time for Directus 10.4, our latest release with lots of small improvements, optimizations, and bug fixes, along with something new that many of your have contributed insights and time to - our new SDK.
A Sneak Peek At Our New SDK
We've been hard at work building a brand new JavaScript SDK for Directus, which we're releasing in beta today. Our new SDK is written in TypeScript and provides full proper type-safety, which many of you have been asking for. We've also split up the SDK into various functions that you can import separately, so you can create a custom client with just the bits you need. Additionally, the new SDK supports Directus Realtime, which takes away the work needed to send and receive real-time data in your applications. Check out the documentation for a getting started guide for our new SDK..
Improved Documentation
We've put a lot of energy into improving our docs to make learning Directus both easier and more comprehensive. You'll find a whole host of guides on using our features like Live Preview and Realtime, guides on building projects with your favorite frameworks like Next JS and Nuxt, and improved guides for self-hosting Directus.
If you build a project with Directus and need to hand it off, we've moved a bunch of our docs to a new zone called User Guides. These are less developer-focused and should mean both you and your end-users can find what you need. There's lots more to come - especially around extensions - but this represents a great milestone in our journey and we hope you learn lots.
Breaking Changes
This release has a few small but important breaking changes that may require your attention.
- Extensions must use our new
@directus/errors
package for throwing errors. - We are dropping support for memcached.
- We can consolidated and simplified environment variables for Redis.
See the GitHub changelog for more details on these changes and ation you may need to take.
Wrapping Up
Directus 10.4 is a smaller release but we are really excited to get our new SDK into your hands for feedback. If you haven't tried Directus yet, now is the perfect time to get started.