Upgrading sqflite 0.10 to 0.11
Breaking0.10.0 → 0.11.2+4Breaking1New3Changed1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Opening the same database file twice now returns the same open database instead of a second one. To get the old behavior, set singleInstance to false when opening.
Must act 1 item needs code or config changes
Dart SDK requirement changed in 0.11.0+2: >=2.0.0-dev.35 <2.0.0 → >=2.0.0-dev.35 <3.0.0.
Adds path >=1.5.1 <3.0.0.
Moves synchronized >=1.5.0 → >=1.5.1 <3.0.0. Your build may pick other versions.
What you must change
Breaking1
Databases are now single instance by default based on path; pass singleInstance = false to keep the old behavior.
singleInstance