#1463 fixed DB migration from v13; upgraded Flutter to stable v3.29.1
This commit is contained in:
parent
4e10d882c9
commit
32bda0d9a7
6 changed files with 44 additions and 44 deletions
2
.flutter
2
.flutter
|
@ -1 +1 @@
|
|||
Subproject commit 35c388afb57ef061d06a39b537336c87e0e3d1b1
|
||||
Subproject commit 09de023485e95e6d1225c2baa44b8feb85e0d45f
|
|
@ -4,8 +4,6 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
## <a id="unreleased"></a>[Unreleased]
|
||||
|
||||
## <a id="v1.12.4"></a>[v1.12.4] - 2025-03-05
|
||||
|
||||
### Added
|
||||
|
||||
- support for Samsung HEIC motion photos embedding video in sefd box
|
||||
|
@ -17,7 +15,7 @@ All notable changes to this project will be documented in this file.
|
|||
### Changed
|
||||
|
||||
- increased precision of file modified date to milliseconds
|
||||
- upgraded Flutter to stable v3.29.0
|
||||
- upgraded Flutter to stable v3.29.1
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -26,6 +24,8 @@ All notable changes to this project will be documented in this file.
|
|||
- decoding of SVG containing references to namespaces in !ATTLIST
|
||||
- fallback decoding of images packed in RGBA_1010102 config
|
||||
|
||||
## <a id="v1.12.4"></a>[v1.12.4] - 2025-03-05 [YANKED]
|
||||
|
||||
## <a id="v1.12.3"></a>[v1.12.3] - 2025-02-06
|
||||
|
||||
### Added
|
||||
|
|
|
@ -21,6 +21,7 @@ class LocalMediaDbUpgrader {
|
|||
// warning: "ALTER TABLE ... RENAME COLUMN ..." is not supported
|
||||
// on SQLite <3.25.0, bundled on older Android devices
|
||||
static Future<void> upgradeDb(Database db, int oldVersion, int newVersion) async {
|
||||
debugPrint('DB will be upgraded from v$oldVersion to v$newVersion');
|
||||
while (oldVersion < newVersion) {
|
||||
switch (oldVersion) {
|
||||
case 1:
|
||||
|
@ -471,12 +472,11 @@ class LocalMediaDbUpgrader {
|
|||
', trashed INTEGER DEFAULT 0'
|
||||
', origin INTEGER DEFAULT 0'
|
||||
')');
|
||||
await db.rawInsert('INSERT INTO $newEntryTable(contentId,uri,path,sourceMimeType,width,height,sourceRotationDegrees,sizeBytes,title,dateAddedSecs,dateModifiedMillis,sourceDateTakenMillis,durationMillis,trashed,origin)'
|
||||
' SELECT contentId,uri,path,sourceMimeType,width,height,sourceRotationDegrees,sizeBytes,title,dateAddedSecs,dateModifiedSecs*1000,sourceDateTakenMillis,durationMillis,trashed,origin'
|
||||
await db.rawInsert('INSERT INTO $newEntryTable(id,contentId,uri,path,sourceMimeType,width,height,sourceRotationDegrees,sizeBytes,title,dateAddedSecs,dateModifiedMillis,sourceDateTakenMillis,durationMillis,trashed,origin)'
|
||||
' SELECT id,contentId,uri,path,sourceMimeType,width,height,sourceRotationDegrees,sizeBytes,title,dateAddedSecs,dateModifiedSecs*1000,sourceDateTakenMillis,durationMillis,trashed,origin'
|
||||
' FROM $entryTable;');
|
||||
await db.execute('DROP TABLE $entryTable;');
|
||||
await db.execute('ALTER TABLE $newEntryTable RENAME TO $entryTable;');
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
|
26
pubspec.lock
26
pubspec.lock
|
@ -543,10 +543,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: google_maps_flutter_android
|
||||
sha256: "721ffae2240e957c04b0de19ffd4b68580adb57a8224496b7fb55fad23aec98a"
|
||||
sha256: "3b3f55d6b4f2bde6bbe80dca0bf8d228313005c9ce8a97a1d24257600d8c92e5"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.14.13"
|
||||
version: "2.14.14"
|
||||
google_maps_flutter_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -711,10 +711,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: local_auth_android
|
||||
sha256: "8bba79f4f0f7bc812fce2ca20915d15618c37721246ba6c3ef2aa7a763a90cf2"
|
||||
sha256: "0abe4e72f55c785b28900de52a2522c86baba0988838b5dc22241b072ecccd74"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.47"
|
||||
version: "1.0.48"
|
||||
local_auth_darwin:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -963,10 +963,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_android
|
||||
sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2"
|
||||
sha256: "0ca7359dad67fd7063cb2892ab0c0737b2daafd807cf1acecd62374c8fae6c12"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.2.15"
|
||||
version: "2.2.16"
|
||||
path_provider_foundation:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1179,10 +1179,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: pub_semver
|
||||
sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd"
|
||||
sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.1.5"
|
||||
version: "2.2.0"
|
||||
qr:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1275,10 +1275,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_android
|
||||
sha256: "9f9f3d372d4304723e6136663bb291c0b93f5e4c8a4a6314347f481a33bda2b1"
|
||||
sha256: "3ec7210872c4ba945e3244982918e502fa2bfb5230dff6832459ca0e1879b7ad"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.4.7"
|
||||
version: "2.4.8"
|
||||
shared_preferences_foundation:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1569,10 +1569,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_android
|
||||
sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193"
|
||||
sha256: "1d0eae19bd7606ef60fe69ef3b312a437a16549476c42321d5dc1506c9ca3bf4"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "6.3.14"
|
||||
version: "6.3.15"
|
||||
url_launcher_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1791,4 +1791,4 @@ packages:
|
|||
version: "3.1.3"
|
||||
sdks:
|
||||
dart: ">=3.7.0 <4.0.0"
|
||||
flutter: ">=3.29.0"
|
||||
flutter: ">=3.29.1"
|
||||
|
|
|
@ -13,7 +13,7 @@ publish_to: none
|
|||
environment:
|
||||
# this project bundles Flutter SDK via `flutter_wrapper`
|
||||
# cf https://github.com/passsy/flutter_wrapper
|
||||
flutter: 3.29.0
|
||||
flutter: 3.29.1
|
||||
sdk: ">=3.6.0 <4.0.0" # incoherent dartfmt from 3.7.0
|
||||
workspace:
|
||||
- plugins/aves_magnifier
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue