ObjectBox 5.0 delivers the most requested updates across the board. If you are building an offline-first application and need a seamless Data Sync solution, we believe, this is the upgrade you have been waiting for:
- New Sync Filters for true user-specific data sync (GA)
- A new MongoDB Sync Connector (GA)
- 5.0 database/client releases for Dart, Java/Kotlin, Swift, C, and C++
- Better examples, stability improvements, and quality-of-life fixes
Smarter Sync: user-specific and with MongoDB
The big news is all around ObjectBox Sync and the two major new features: user-specific sync filters and connecting to MongoDB. After working closely with select customers for the last months, we are happy to announce the general availability for both features.
With 5.0, you can now define Sync Filters to control exactly which data each Sync user receives.
- Define filter expressions on the server that run per user
- Use auth/JWT and client-provided variables inside those filters
- Enable “each user only sees their own data” without duplicating data or maintaining separate partitions
Check the Sync Filters docs for all details.
For the new MongoDB Sync Connector, we’ve partnered with MongoDB to create a tight integration:
- Sync your data from and to MongoDB in “real time”
- Edge setup for multiple locations: deploy one ObjectBox Sync Server per location, all syncing to one central MongoDB
- Integrate ObjectBox-powered apps with an existing MongoDB database or analytics pipeline
This brings the best of both worlds: a fast, embedded offline-first database for your mobile, IoT, or embedded apps, and a central MongoDB store for backend integration, reporting, and other services. Best of all, you don’t need a custom application backend – the ObjectBox Sync Server handles the heavy lifting, keeping your app data in sync with MongoDB automatically.For more information, check our MongoDB page or the MongoDB Sync Connector documentation.
Migrating from Realm Device Sync?
If you are looking for an alternative to the deprecated MongoDB Realm Device Sync, ObjectBox is the natural choice. Like Realm, ObjectBox is object-oriented, making migrating from Realm to ObjectBox straightforward and fast. You get the same offline-first capabilities and out-of-the-box Data Sync you know plus: industry-leading speed and efficiency.
5.0 “Client” Database Releases
The ObjectBox database is known for its extremely high CRUD performance and vector search for AI use cases. It can be used as a standalone embedded database or in combination with ObjectBox Sync. As it is closely integrated into programming languages to offer native object persistence, the 5.0 release spans multiple releases:
- ObjectBox for Dart/Flutter 5.0.0 with further improvements in 5.0.1 and 5.0.2
- ObjectBox for Java/Kotlin 5.0
- ObjectBox for Swift 5.0
- ObjectBox 5.0 for C and C++ together with ObjectBox Generator 5.0
- ObjectBox Sync examples (all upgraded to 5.0 clients)
All 5.0 Sync clients are compatible with the new Sync Filters and MongoDB Sync Connector. Check the release links above for language-specific improvements.
Further reading and links
There has never been a better time to build with ObjectBox. Here is how to get started:
- Docs: Sync, Database (Dart, Java, Kotlin), Database (Swift), Database (C and C++)
- High-level info: homepage, Sync, MongoDB
- Sync examples: includes a tasks application with clients for all platforms and a preconfigured Sync Server. Also includes a Docker Compose that boots up a MongoDB to sync with; it’s set up in a minute, give it a try!