Repository navigation
Upgrade ObjectBox to 6.0.0-preview.6 - #757
Merged
Merged
Conversation
- Pin objectbox, objectbox_flutter_libs and objectbox_generator to 6.0.0-preview.6 - Regenerate objectbox.g.dart (openStore no longer calls loadObjectBoxLibraryAndroidCompat) - iOS/macOS: ObjectBox now comes via Swift Package Manager instead of CocoaPods; macOS no longer needs CocoaPods at all (pod deintegrate, Podfile removed) - Regenerated copy_with / flutter_gen output picked up current generator formatting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
objectbox,objectbox_flutter_libs,objectbox_generatorto6.0.0-preview.6(changelog).objectbox.g.dart:openStore()no longer callsloadObjectBoxLibraryAndroidCompat()(Android 6 support dropped).objectbox-model.jsonunchanged.pod deintegrate,Podfile/Podfile.lockremoved..g.dart/assets.gen.dartchanges are just current generator formatting picked up by the rebuild.Platform notes
objectbox-android-db:6.0.0-beta3; no Admin, so no Gradle changesNo API changes needed: no
Store.fromReference/attach/watch/entityChangesusage, and noToOne/ToManyrelations, so thePutModebehavior change doesn't apply.Risk
Android/Linux/Windows now open real user databases with the 6.0 beta native library. The changelog doesn't say whether a database opened by 6.0 can still be read by 5.x — verify the downgrade path before shipping to stable.
Test plan
dart analyze— no issuesflutter test— all 1129 pass🤖 Generated with Claude Code