Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Freeze app dependencies and enforce lockfiles

Neeraj Gupta3b73c190936f
diff --git a/.github/workflows/auth-internal-release.yml b/.github/workflows/auth-internal-release.yml
index f5ebeaff9d..963f04a108 100644
--- a/.github/workflows/auth-internal-release.yml
+++ b/.github/workflows/auth-internal-release.yml
@@ -39,6 +39,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.yml
index 4e3b0abb6e..6cd8b7b420 100644
--- a/.github/workflows/auth-lint.yml
+++ b/.github/workflows/auth-lint.yml
@@ -25,6 +25,9 @@ jobs:
with:
submodules: recursive
+ - name: Verify frozen mobile pubspecs
+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/auth
+
- name: Verify custom icons are lowercase including optional understores, and end with .svg
run: |
find assets/custom-icons -type f -name "*.svg" | while read -r file; do
@@ -72,6 +75,6 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
- - run: flutter pub get
+ - run: flutter pub get --enforce-lockfile
- run: flutter analyze --no-fatal-infos
diff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.yml
index e200b314c4..4a63b4f7a5 100644
--- a/.github/workflows/auth-release.yml
+++ b/.github/workflows/auth-release.yml
@@ -96,6 +96,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Update Linux AppData metadata
run: |
APPDATA_FILE="linux/packaging/enteauth.appdata.xml"
@@ -224,6 +227,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Create artifacts directory
run: mkdir artifacts
@@ -298,6 +304,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Install code signing dependencies
run: |
pip3 install codemagic-cli-tools --break-system-packages
diff --git a/.github/workflows/locker-internal-release.yml b/.github/workflows/locker-internal-release.yml
index 440c38beb0..de092a65e4 100644
--- a/.github/workflows/locker-internal-release.yml
+++ b/.github/workflows/locker-internal-release.yml
@@ -39,6 +39,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Increment version code for build
run: |
CURRENT_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
diff --git a/.github/workflows/locker-lint.yml b/.github/workflows/locker-lint.yml
index 1a97cbe2f7..ec87cf532f 100644
--- a/.github/workflows/locker-lint.yml
+++ b/.github/workflows/locker-lint.yml
@@ -25,6 +25,9 @@ jobs:
with:
submodules: recursive
+ - name: Verify frozen mobile pubspecs
+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/locker
+
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
@@ -36,6 +39,6 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
- - run: flutter pub get
+ - run: flutter pub get --enforce-lockfile
- run: flutter analyze --no-fatal-infos
diff --git a/.github/workflows/locker-release.yml b/.github/workflows/locker-release.yml
index 7907df8026..f3af2718a1 100644
--- a/.github/workflows/locker-release.yml
+++ b/.github/workflows/locker-release.yml
@@ -76,6 +76,9 @@ jobs:
run: flutter gen-l10n
working-directory: mobile/packages/strings
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
diff --git a/.github/workflows/mobile-daily-internal.yml b/.github/workflows/mobile-daily-internal.yml
index e952c88314..4bd811887b 100644
--- a/.github/workflows/mobile-daily-internal.yml
+++ b/.github/workflows/mobile-daily-internal.yml
@@ -55,6 +55,9 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index 6d0241aba8..b19284d25f 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -30,6 +30,9 @@ jobs:
with:
submodules: recursive
+ - name: Verify frozen mobile pubspecs
+ run: ruby mobile/scripts/check_frozen_pubspecs.rb mobile/apps/photos
+
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
@@ -53,7 +56,7 @@ jobs:
mobile/apps/photos/rust/target
key: ${{ runner.os }}-cargo-mobile-${{ hashFiles('mobile/**/Cargo.lock') }}
- - run: flutter pub get
+ - run: flutter pub get --enforce-lockfile
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml
index ca7fa09d51..8f6bb6d499 100644
--- a/.github/workflows/mobile-release.yml
+++ b/.github/workflows/mobile-release.yml
@@ -78,6 +78,9 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
diff --git a/.github/workflows/photos-internal-release.yml b/.github/workflows/photos-internal-release.yml
index 4806983051..ece7ca2498 100644
--- a/.github/workflows/photos-internal-release.yml
+++ b/.github/workflows/photos-internal-release.yml
@@ -42,6 +42,9 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
+ - name: Resolve dependencies with lockfile enforcement
+ run: flutter pub get --enforce-lockfile
+
# Android Build
- name: Setup Android signing key
uses: timheuer/base64-to-file@v1
diff --git a/.github/workflows/security-check-workflows.yml b/.github/workflows/security-check-workflows.yml
index 4f163e337a..b8af96914a 100644
--- a/.github/workflows/security-check-workflows.yml
+++ b/.github/workflows/security-check-workflows.yml
@@ -20,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- - name: Check for new privileged workflow triggers
+ - name: Check workflow security guardrails
shell: bash
run: |
extract_sensitive_triggers() {
@@ -63,6 +63,27 @@ jobs:
'
}
+ extract_unpinned_third_party_actions() {
+ local revision=$1
+ local file=$2
+
+ if ! git cat-file -e "${revision}:${file}" 2>/dev/null; then
+ return 0
+ fi
+
+ git show "${revision}:${file}" | ruby -e '
+ FULL_SHA = /\A[0-9a-f]{40}\z/
+
+ refs = STDIN.read.scan(/^\s*uses:\s*([A-Za-z0-9._-]+\/[A-Za-z0-9._-]+)@([^\s#]+)/)
+ refs.each do |action, ref|
+ next if action.start_with?("actions/")
+ next if ref.match?(FULL_SHA)
+
+ puts "#{action}@#{ref}"
+ end
+ ' | sort -u
+ }
+
mapfile -t modified_workflows < <(
git diff --name-only --diff-filter=AMR "origin/${{ github.base_ref }}...HEAD" |
grep -E '^\.github/workflows/.*\.ya?ml$' || true
@@ -84,6 +105,7 @@ jobs:
"workflow_run"
)
violations=()
+ unpinned_violations=()
for file in "${modified_workflows[@]}"; do
if ! current_triggers=$(extract_sensitive_triggers HEAD "$file"); then
@@ -106,6 +128,27 @@ jobs:
fi
fi
done
+
+ if ! current_unpinned=$(extract_unpinned_third_party_actions HEAD "$file"); then
+ echo "❌ ERROR: Failed to parse action refs in HEAD:$file"
+ exit 1
+ fi
+
+ if ! base_unpinned=$(extract_unpinned_third_party_actions "origin/${{ github.base_ref }}" "$file"); then
+ echo "❌ ERROR: Failed to parse action refs in origin/${{ github.base_ref }}:$file"
+ exit 1
+ fi
+
+ while IFS= read -r action_ref; do
+ [ -z "$action_ref" ] && continue
+
+ if grep -Fxq "$action_ref" <<< "$base_unpinned"; then
+ echo "βœ“ $file: ${action_ref} already existed unpinned (allowed for now)"
+ else
+ echo "βœ— $file: NEW unpinned third-party action ${action_ref} detected!"
+ unpinned_violations+=("$file:${action_ref}")
+ fi
+ done <<< "$current_unpinned"
done
if [ "${#violations[@]}" -gt 0 ]; then
@@ -123,4 +166,13 @@ jobs:
exit 1
fi
- echo "βœ“ No new privileged workflow triggers detected"
+ if [ "${#unpinned_violations[@]}" -gt 0 ]; then
+ echo ""
+ echo "❌ ERROR: New unpinned third-party workflow actions detected:"
+ printf ' - %s\n' "${unpinned_violations[@]}"
+ echo ""
+ echo "Pin third-party actions to a full commit SHA before merging."
+ exit 1
+ fi
+
+ echo "βœ“ No new privileged triggers or unpinned third-party actions detected"
diff --git a/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh b/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh
index 55d687fde6..a8881f9862 100755
--- a/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh
+++ b/mobile/apps/auth/ios/ci_scripts/ci_post_clone.sh
@@ -13,7 +13,7 @@ echo "🟩 Flutter Precache"
time flutter precache --ios
echo "🟩 Install Flutter Dependencies"
-time flutter pub get
+time flutter pub get --enforce-lockfile
echo "🟩 Install CocoaPods via Homebrew"
time HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods
diff --git a/mobile/apps/auth/plugins/qr/pubspec.yaml b/mobile/apps/auth/plugins/qr/pubspec.yaml
index df3470e018..d80ddcf471 100644
--- a/mobile/apps/auth/plugins/qr/pubspec.yaml
+++ b/mobile/apps/auth/plugins/qr/pubspec.yaml
@@ -10,10 +10,10 @@ environment:
dependencies:
flutter:
sdk: flutter
- plugin_platform_interface: ^2.0.2
+ plugin_platform_interface: 2.1.8
dev_dependencies:
- flutter_lints: ^3.0.0
+ flutter_lints: 3.0.2
flutter_test:
sdk: flutter
diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lock
index bd101c5fb5..0544a7a438 100644
--- a/mobile/apps/auth/pubspec.lock
+++ b/mobile/apps/auth/pubspec.lock
@@ -1189,7 +1189,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: v2-only
+ ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"
resolved-ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"
url: "https://github.com/ente-io/move_to_background.git"
source: git
diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yaml
index 1e87d95bd5..f3ffdef81b 100644
--- a/mobile/apps/auth/pubspec.yaml
+++ b/mobile/apps/auth/pubspec.yaml
@@ -7,25 +7,25 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- adaptive_theme: ^3.1.0
- app_links: ^6.3.3
- archive: ^4.0.7
- auto_size_text: ^3.0.0
+ adaptive_theme: 3.7.0
+ app_links: 6.4.0
+ archive: 4.0.7
+ auto_size_text: 3.0.0
backup_exclusion:
path: ../../packages/backup_exclusion
- base32: ^2.1.3
- bip39: ^1.0.6
- clipboard: ^0.1.3
- collection: ^1.18.0
- confetti: ^0.8.0
- connectivity_plus: ^6.0.5
- convert: ^3.1.1
- device_info_plus: ^11.5.0
- dio: ^5.8.0+1
- dots_indicator: ^3.0.0
- dotted_border: ^3.1.0
- dropdown_button2: ^2.3.9
- email_validator: ^3.0.0
+ base32: 2.1.3
+ bip39: 1.0.6
+ clipboard: 0.1.3
+ collection: 1.19.1
+ confetti: 0.8.0
+ connectivity_plus: 6.1.4
+ convert: 3.1.2
+ device_info_plus: 11.5.0
+ dio: 5.8.0+1
+ dots_indicator: 3.1.0
+ dotted_border: 3.1.0
+ dropdown_button2: 2.3.9
+ email_validator: 3.0.0
ente_accounts:
path: ../../packages/accounts
ente_base:
@@ -54,36 +54,36 @@ dependencies:
path: ../../packages/ui
ente_utils:
path: ../../packages/utils
- event_bus: ^2.0.0
- expandable: ^5.0.1
- expansion_tile_card: ^3.0.0
- ffi: ^2.1.0
- figma_squircle: ^0.6.3
- file_picker: ^10.3.2
- file_saver: ^0.3.1
- fixnum: ^1.1.0
+ event_bus: 2.0.1
+ expandable: 5.0.1
+ expansion_tile_card: 3.0.0
+ ffi: 2.1.4
+ figma_squircle: 0.6.3
+ file_picker: 10.3.2
+ file_saver: 0.3.1
+ fixnum: 1.1.1
fk_user_agent: # no package updates on pub.dev
git:
url: https://github.com/flutter-fast-kit/fk_user_agent
ref: 458046cd9a88924e5074d96ba45397219d53b230
flutter:
sdk: flutter
- flutter_animate: ^4.1.0
- flutter_context_menu: ^0.2.0
- flutter_displaymode: ^0.6.0
- flutter_email_sender: ^7.0.0
+ flutter_animate: 4.5.2
+ flutter_context_menu: 0.2.4
+ flutter_displaymode: 0.6.0
+ flutter_email_sender: 7.0.0
# revert to pub.dev when merged
# https://github.com/pichillilorenzo/flutter_inappwebview/pull/2548
- flutter_inappwebview: ^6.1.4
- flutter_launcher_icons: ^0.14.1
+ flutter_inappwebview: 6.1.5
+ flutter_launcher_icons: 0.14.4
flutter_local_authentication: # linux fprintd fix is not published on pub.dev
git:
url: https://github.com/eaceto/flutter_local_authentication
ref: 1ac346a04592a05fd75acccf2e01fa3c7e955d96
- flutter_local_notifications: ^18.0.1
+ flutter_local_notifications: 18.0.1
flutter_localizations:
sdk: flutter
- flutter_native_splash: ^2.2.13
+ flutter_native_splash: 2.4.6
# Do not upgrade this package unless this issue is resolved:
# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870
# On v9.2.4, keys related to lockscreen persist even after reintsall. For context see:
@@ -91,74 +91,74 @@ dependencies:
# Let's wait till the issue is resolved by the package maintainer.
# If not resolved and we need to upgrade, write a migration script.
flutter_secure_storage: 9.0.0
- flutter_speed_dial: ^7.0.0
- flutter_staggered_grid_view: ^0.7.0
- flutter_svg: ^2.0.16
- fluttertoast: ^8.1.1
- google_nav_bar: ^5.0.5 #supported
- gradient_borders: ^1.0.0
- http: ^1.1.0
- hugeicons: ^1.1.0
- image: ^4.5.4
- intl: ^0.20.2
- io: ^1.0.4
- json_annotation: ^4.5.0
- launcher_icon_switcher: ^0.0.2
- local_auth: ^2.3.0
- local_auth_android: ^1.0.37
- local_auth_darwin: ^1.2.2
- logging: ^1.0.1
- modal_bottom_sheet: ^3.0.0
+ flutter_speed_dial: 7.0.0
+ flutter_staggered_grid_view: 0.7.0
+ flutter_svg: 2.2.0
+ fluttertoast: 8.2.12
+ google_nav_bar: 5.0.7 #supported
+ gradient_borders: 1.0.1
+ http: 1.4.0
+ hugeicons: 1.1.1
+ image: 4.5.4
+ intl: 0.20.2
+ io: 1.0.5
+ json_annotation: 4.9.0
+ launcher_icon_switcher: 0.0.2
+ local_auth: 2.3.0
+ local_auth_android: 1.0.49
+ local_auth_darwin: 1.5.0
+ logging: 1.3.0
+ modal_bottom_sheet: 3.0.0
move_to_background: # no updates in git, replace package
git:
url: https://github.com/ente-io/move_to_background.git
- ref: v2-only
- native_dio_adapter: ^1.4.0
- otp: ^3.1.1
- package_info_plus: ^8.0.2
- password_strength: ^0.2.0
- path: ^1.8.3
- path_provider: ^2.0.11
- pinput: ^5.0.0
- pointycastle: ^3.7.3
- privacy_screen: ^0.0.6
- protobuf: ^4.1.0
+ ref: 0cdfeed654d79636eff0c57110f3f6ad5801ba2f
+ native_dio_adapter: 1.4.0
+ otp: 3.1.4
+ package_info_plus: 8.3.0
+ password_strength: 0.2.0
+ path: 1.9.1
+ path_provider: 2.1.5
+ pinput: 5.0.1
+ pointycastle: 3.9.1
+ privacy_screen: 0.0.8
+ protobuf: 4.1.0
qr_code_scanner: # no package updates on pub.dev
git:
url: https://github.com/juliuscanute/qr_code_scanner
ref: a2d31633d4744f72ada87cfa85d221358ab082af
- qr_flutter: ^4.1.0
- saf_stream: any
- saf_util: any
+ qr_flutter: 4.1.0
+ saf_stream: 0.12.3
+ saf_util: 0.11.0
scoped_dir_access:
path: ../../packages/scoped_dir_access
- sentry: ^8.14.2
- sentry_flutter: ^8.14.2
- share_plus: ^11.0.0
- shared_preferences: ^2.0.5
- sqflite: ^2.4.2
- sqflite_common_ffi: ^2.3.0+4
- sqlite3: ^2.4.3
- sqlite3_flutter_libs: ^0.5.24
- steam_totp: ^0.0.1
- step_progress_indicator: ^1.0.2
- styled_text: ^8.1.0
- tray_manager: ^0.5.0
- tuple: ^2.0.0
- url_launcher: ^6.3.1
- url_launcher_ios: ^6.3.1
- uuid: ^4.2.2
- win32: ^5.1.1
- window_manager: ^0.5.0
- xdg_directories: ^1.0.4
+ sentry: 8.14.2
+ sentry_flutter: 8.14.2
+ share_plus: 11.0.0
+ shared_preferences: 2.5.3
+ sqflite: 2.4.2
+ sqflite_common_ffi: 2.3.6
+ sqlite3: 2.7.6
+ sqlite3_flutter_libs: 0.5.34
+ steam_totp: 0.0.2
+ step_progress_indicator: 1.0.2
+ styled_text: 8.1.0
+ tray_manager: 0.5.0
+ tuple: 2.0.2
+ url_launcher: 6.3.2
+ url_launcher_ios: 6.3.3
+ uuid: 4.5.1
+ win32: 5.13.0
+ window_manager: 0.5.0
+ xdg_directories: 1.1.0
dev_dependencies:
- build_runner: ^2.1.11
+ build_runner: 2.5.4
flutter_test:
sdk: flutter
- json_serializable: ^6.2.0
- lints: ^5.1.1
- mocktail: ^1.0.3
+ json_serializable: 6.9.5
+ lints: 5.1.1
+ mocktail: 1.0.4
# The following section is specific to Flutter.
flutter:
diff --git a/mobile/apps/locker/pubspec.yaml b/mobile/apps/locker/pubspec.yaml
index e5336ab6c4..dadbdf9739 100644
--- a/mobile/apps/locker/pubspec.yaml
+++ b/mobile/apps/locker/pubspec.yaml
@@ -6,16 +6,16 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
- adaptive_theme: ^3.6.0
- app_links: ^6.3.3
- bip39: ^1.0.6
- collection: ^1.18.0
- convert: ^3.1.1
- crypto: ^3.0.6
- dio: ^5.8.0+1
- dots_indicator: ^3.0.0
- dotted_border: ^3.1.0
- email_validator: ^3.0.0
+ adaptive_theme: 3.7.2
+ app_links: 6.4.1
+ bip39: 1.0.6
+ collection: 1.19.1
+ convert: 3.1.2
+ crypto: 3.0.7
+ dio: 5.9.0
+ dots_indicator: 3.1.0
+ dotted_border: 3.1.0
+ email_validator: 3.0.0
ente_accounts:
path: ../../packages/accounts
ente_base:
@@ -48,43 +48,43 @@ dependencies:
path: ../../packages/ui
ente_utils:
path: ../../packages/utils
- event_bus: ^2.0.1
- expandable: ^5.0.1
- fast_base58: ^0.2.1
- file_picker: ^10.2.0
- file_saver: ^0.3.1
+ event_bus: 2.0.1
+ expandable: 5.0.1
+ fast_base58: 0.2.1
+ file_picker: 10.3.8
+ file_saver: 0.3.1
flutter:
sdk: flutter
- flutter_displaymode: ^0.6.0
+ flutter_displaymode: 0.6.0
flutter_local_authentication:
git:
url: https://github.com/eaceto/flutter_local_authentication
ref: 1ac346a04592a05fd75acccf2e01fa3c7e955d96
flutter_localizations:
- sdk: flutter
- flutter_svg: ^2.2.1
- hugeicons: ^1.1.1
- intl: ^0.20.2
- io: ^1.0.5
- listen_sharing_intent: ^1.9.2
- logging: ^1.3.0
- open_file: ^3.5.10
- package_info_plus: ^8.3.0
- path: ^1.9.0
- path_provider: ^2.1.5
- share_plus: ^11.0.0
- shared_preferences: ^2.5.3
- sqflite: ^2.4.1
- tray_manager: ^0.5.0
- tuple: ^2.0.2
- url_launcher: ^6.3.2
- uuid: ^4.5.1
- window_manager: ^0.5.1
+ sdk: flutter
+ flutter_svg: 2.2.3
+ hugeicons: 1.1.5
+ intl: 0.20.2
+ io: 1.0.5
+ listen_sharing_intent: 1.9.2
+ logging: 1.3.0
+ open_file: 3.5.11
+ package_info_plus: 8.3.1
+ path: 1.9.1
+ path_provider: 2.1.5
+ share_plus: 11.1.0
+ shared_preferences: 2.5.3
+ sqflite: 2.4.2
+ tray_manager: 0.5.2
+ tuple: 2.0.2
+ url_launcher: 6.3.2
+ uuid: 4.5.2
+ window_manager: 0.5.1
dev_dependencies:
- flutter_launcher_icons: ^0.14.3
- flutter_lints: ^4.0.0
- flutter_native_splash: ^2.2.13
+ flutter_launcher_icons: 0.14.4
+ flutter_lints: 4.0.0
+ flutter_native_splash: 2.4.7
flutter_test:
sdk: flutter
diff --git a/mobile/apps/photos/build-apk.sh b/mobile/apps/photos/build-apk.sh
index 2961ed6487..d679adcdae 100755
--- a/mobile/apps/photos/build-apk.sh
+++ b/mobile/apps/photos/build-apk.sh
@@ -2,6 +2,6 @@ cd thirdparty/transistor-background-fetch/android
gradle :tsbackgroundfetch:publishRelease
cd ../../../
flutter config --no-analytics
-flutter packages pub get
+flutter pub get --enforce-lockfile
flutter packages pub run flutter_launcher_icons:main
flutter build apk
diff --git a/mobile/apps/photos/plugins/ente_cast/pubspec.lock b/mobile/apps/photos/plugins/ente_cast/pubspec.lock
index c44871342f..15b99a8e37 100644
--- a/mobile/apps/photos/plugins/ente_cast/pubspec.lock
+++ b/mobile/apps/photos/plugins/ente_cast/pubspec.lock
@@ -159,18 +159,18 @@ packages:
dependency: "direct main"
description:
name: shared_preferences
- sha256: c272f9cabca5a81adc9b0894381e9c1def363e980f960fa903c604c471b22f68
+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.5.3"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
- sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974
+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.4.13"
shared_preferences_foundation:
dependency: transitive
description:
@@ -228,10 +228,10 @@ packages:
dependency: "direct main"
description:
name: stack_trace
- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
- version: "1.11.1"
+ version: "1.12.1"
string_scanner:
dependency: transitive
description:
@@ -281,5 +281,5 @@ packages:
source: hosted
version: "1.0.4"
sdks:
- dart: ">=3.7.0-0 <4.0.0"
- flutter: ">=3.22.0"
+ dart: ">=3.7.0 <4.0.0"
+ flutter: ">=3.29.0"
diff --git a/mobile/apps/photos/plugins/ente_cast/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast/pubspec.yaml
index 6cc08a0849..7a76691950 100644
--- a/mobile/apps/photos/plugins/ente_cast/pubspec.yaml
+++ b/mobile/apps/photos/plugins/ente_cast/pubspec.yaml
@@ -6,14 +6,14 @@ environment:
sdk: '>=3.3.0 <4.0.0'
dependencies:
- collection:
- dio: ^5.8.0+1
+ collection: 1.19.1
+ dio: 5.8.0+1
flutter:
sdk: flutter
- shared_preferences: ^2.0.5
- stack_trace:
+ shared_preferences: 2.5.3
+ stack_trace: 1.12.1
dev_dependencies:
- flutter_lints:
+ flutter_lints: 4.0.0
flutter:
diff --git a/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock b/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock
index ce154f1aa3..1b16460d5a 100644
--- a/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock
+++ b/mobile/apps/photos/plugins/ente_cast_none/pubspec.lock
@@ -166,18 +166,18 @@ packages:
dependency: transitive
description:
name: shared_preferences
- sha256: c272f9cabca5a81adc9b0894381e9c1def363e980f960fa903c604c471b22f68
+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.5.3"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
- sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974
+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
url: "https://pub.dev"
source: hosted
- version: "2.3.1"
+ version: "2.4.13"
shared_preferences_foundation:
dependency: transitive
description:
@@ -235,10 +235,10 @@ packages:
dependency: "direct main"
description:
name: stack_trace
- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
- version: "1.11.1"
+ version: "1.12.1"
string_scanner:
dependency: transitive
description:
@@ -288,5 +288,5 @@ packages:
source: hosted
version: "1.0.4"
sdks:
- dart: ">=3.7.0-0 <4.0.0"
- flutter: ">=3.22.0"
+ dart: ">=3.7.0 <4.0.0"
+ flutter: ">=3.29.0"
diff --git a/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml
index a4559fac53..5f2c781906 100644
--- a/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml
+++ b/mobile/apps/photos/plugins/ente_cast_none/pubspec.yaml
@@ -10,9 +10,9 @@ dependencies:
path: ../ente_cast
flutter:
sdk: flutter
- stack_trace:
+ stack_trace: 1.12.1
dev_dependencies:
- flutter_lints:
+ flutter_lints: 4.0.0
flutter:
diff --git a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock
index 10560d569a..9d49496a92 100644
--- a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock
+++ b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.lock
@@ -13,7 +13,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: multicast_version
+ ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"
resolved-ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"
url: "https://github.com/guyluz11/flutter_cast.git"
source: git
@@ -207,58 +207,58 @@ packages:
dependency: transitive
description:
name: shared_preferences
- sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180
+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
url: "https://pub.dev"
source: hosted
- version: "2.2.3"
+ version: "2.5.3"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
- sha256: "1ee8bf911094a1b592de7ab29add6f826a7331fb854273d55918693d5364a1f2"
+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
url: "https://pub.dev"
source: hosted
- version: "2.2.2"
+ version: "2.4.13"
shared_preferences_foundation:
dependency: transitive
description:
name: shared_preferences_foundation
- sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c"
+ sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03"
url: "https://pub.dev"
source: hosted
- version: "2.3.5"
+ version: "2.5.4"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
- sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"
+ sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
shared_preferences_platform_interface:
dependency: transitive
description:
name: shared_preferences_platform_interface
- sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b"
+ sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
shared_preferences_web:
dependency: transitive
description:
name: shared_preferences_web
- sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a"
+ sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019
url: "https://pub.dev"
source: hosted
- version: "2.3.0"
+ version: "2.4.3"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
- sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"
+ sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
sky_engine:
dependency: transitive
description: flutter
@@ -276,10 +276,10 @@ packages:
dependency: "direct main"
description:
name: stack_trace
- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
- version: "1.11.1"
+ version: "1.12.1"
string_scanner:
dependency: transitive
description:
@@ -337,5 +337,5 @@ packages:
source: hosted
version: "1.0.4"
sdks:
- dart: ">=3.7.0-0 <4.0.0"
- flutter: ">=3.19.0"
+ dart: ">=3.7.0 <4.0.0"
+ flutter: ">=3.29.0"
diff --git a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml
index 141c2e9e7b..778abd649c 100644
--- a/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml
+++ b/mobile/apps/photos/plugins/ente_cast_normal/pubspec.yaml
@@ -9,15 +9,14 @@ dependencies:
cast:
git:
url: https://github.com/guyluz11/flutter_cast.git
- ref: multicast_version
- commit: 1f39cd4
+ ref: 1f39cd4d6efa9363e77b2439f0317bae0c92dda1
ente_cast:
path: ../ente_cast
flutter:
sdk: flutter
- stack_trace:
+ stack_trace: 1.12.1
dev_dependencies:
- flutter_lints:
+ flutter_lints: 3.0.2
flutter:
diff --git a/mobile/apps/photos/plugins/ente_crypto/pubspec.lock b/mobile/apps/photos/plugins/ente_crypto/pubspec.lock
index cad7a5c8d3..8f443c9a11 100644
--- a/mobile/apps/photos/plugins/ente_crypto/pubspec.lock
+++ b/mobile/apps/photos/plugins/ente_crypto/pubspec.lock
@@ -21,7 +21,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: HEAD
+ ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"
resolved-ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"
url: "https://github.com/ente-io/computer.git"
source: git
diff --git a/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml b/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml
index 18b6605536..ca1996207c 100644
--- a/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml
+++ b/mobile/apps/photos/plugins/ente_crypto/pubspec.yaml
@@ -6,17 +6,19 @@ environment:
sdk: '>=3.3.0 <4.0.0'
dependencies:
- collection:
+ collection: 1.19.1
computer:
- git: "https://github.com/ente-io/computer.git"
- convert: ^3.1.1
- crypto: ^3.0.3
+ git:
+ url: https://github.com/ente-io/computer.git
+ ref: 82e365fed8a1a76f6eea0220de98389eed7b0445
+ convert: 3.1.2
+ crypto: 3.0.6
flutter:
sdk: flutter
- flutter_sodium: ^0.2.0
- logging: ^1.3.0
+ flutter_sodium: 0.2.0
+ logging: 1.3.0
dev_dependencies:
- flutter_lints:
+ flutter_lints: 5.0.0
-flutter:
\ No newline at end of file
+flutter:
diff --git a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock
index 62370da795..49a6dd97c1 100644
--- a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock
+++ b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.lock
@@ -159,58 +159,58 @@ packages:
dependency: "direct main"
description:
name: shared_preferences
- sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180
+ sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
url: "https://pub.dev"
source: hosted
- version: "2.2.3"
+ version: "2.5.3"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
- sha256: "1ee8bf911094a1b592de7ab29add6f826a7331fb854273d55918693d5364a1f2"
+ sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
url: "https://pub.dev"
source: hosted
- version: "2.2.2"
+ version: "2.4.13"
shared_preferences_foundation:
dependency: transitive
description:
name: shared_preferences_foundation
- sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c"
+ sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03"
url: "https://pub.dev"
source: hosted
- version: "2.3.5"
+ version: "2.5.4"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
- sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"
+ sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
shared_preferences_platform_interface:
dependency: transitive
description:
name: shared_preferences_platform_interface
- sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b"
+ sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
shared_preferences_web:
dependency: transitive
description:
name: shared_preferences_web
- sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a"
+ sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019
url: "https://pub.dev"
source: hosted
- version: "2.3.0"
+ version: "2.4.3"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
- sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"
+ sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"
url: "https://pub.dev"
source: hosted
- version: "2.3.2"
+ version: "2.4.1"
sky_engine:
dependency: transitive
description: flutter
@@ -228,10 +228,10 @@ packages:
dependency: "direct main"
description:
name: stack_trace
- sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
- version: "1.11.1"
+ version: "1.12.1"
string_scanner:
dependency: transitive
description:
@@ -289,5 +289,5 @@ packages:
source: hosted
version: "1.0.4"
sdks:
- dart: ">=3.7.0-0 <4.0.0"
- flutter: ">=3.19.0"
+ dart: ">=3.7.0 <4.0.0"
+ flutter: ">=3.29.0"
diff --git a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml
index 6ad2c7626d..07d474dab0 100644
--- a/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml
+++ b/mobile/apps/photos/plugins/ente_feature_flag/pubspec.yaml
@@ -6,14 +6,14 @@ environment:
sdk: '>=3.3.0 <4.0.0'
dependencies:
- collection:
- dio: ^5.8.0+1
+ collection: 1.19.1
+ dio: 5.8.0+1
flutter:
sdk: flutter
- shared_preferences: ^2.0.5
- stack_trace:
+ shared_preferences: 2.5.3
+ stack_trace: 1.12.1
dev_dependencies:
- flutter_lints:
+ flutter_lints: 3.0.2
-flutter:
\ No newline at end of file
+flutter:
diff --git a/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml b/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml
index 93ef856df1..71cd28beb2 100644
--- a/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml
+++ b/mobile/apps/photos/plugins/onnx_dart/pubspec.yaml
@@ -10,10 +10,10 @@ environment:
dependencies:
flutter:
sdk: flutter
- plugin_platform_interface: ^2.0.2
+ plugin_platform_interface: 2.1.8
dev_dependencies:
- flutter_lints: ^3.0.0
+ flutter_lints: 3.0.2
flutter_test:
sdk: flutter
diff --git a/mobile/apps/photos/pubspec.lock b/mobile/apps/photos/pubspec.lock
index 322d3d7658..f2fef0d6d4 100644
--- a/mobile/apps/photos/pubspec.lock
+++ b/mobile/apps/photos/pubspec.lock
@@ -148,7 +148,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: "95c7a9f"
+ ref: "95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2"
resolved-ref: "95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2"
url: "https://github.com/ente-io/battery_info"
source: git
@@ -317,8 +317,8 @@ packages:
dependency: transitive
description:
path: "."
- ref: multicast_version
- resolved-ref: af6378574352884beab6cddec462c7fdfc9a8c35
+ ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"
+ resolved-ref: "1f39cd4d6efa9363e77b2439f0317bae0c92dda1"
url: "https://github.com/guyluz11/flutter_cast.git"
source: git
version: "2.0.9"
@@ -390,7 +390,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: HEAD
+ ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"
resolved-ref: "82e365fed8a1a76f6eea0220de98389eed7b0445"
url: "https://github.com/ente-io/computer.git"
source: git
@@ -750,7 +750,7 @@ packages:
dependency: "direct main"
description:
path: "flutter/flutter"
- ref: "2bbef7d"
+ ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"
resolved-ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"
url: "https://github.com/ente-io/ffmpeg-kit"
source: git
@@ -759,7 +759,7 @@ packages:
dependency: transitive
description:
path: "flutter/flutter_platform_interface"
- ref: "2bbef7d"
+ ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"
resolved-ref: "2bbef7d03361d104e26fbe648de31f1f6a4d7e44"
url: "https://github.com/ente-io/ffmpeg-kit"
source: git
@@ -1683,7 +1683,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: HEAD
+ ref: "324f8fbdbc7ae6d326a6d541751b7a895a249089"
resolved-ref: "324f8fbdbc7ae6d326a6d541751b7a895a249089"
url: "https://github.com/ente-io/media_extension.git"
source: git
@@ -1834,7 +1834,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: HEAD
+ ref: "64e47a446bf3b64f012f2076481cebea51ca27cf"
resolved-ref: "64e47a446bf3b64f012f2076481cebea51ca27cf"
url: "https://github.com/ente-io/motionphoto.git"
source: git
@@ -1843,7 +1843,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: v2-only
+ ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"
resolved-ref: "0cdfeed654d79636eff0c57110f3f6ad5801ba2f"
url: "https://github.com/ente-io/move_to_background.git"
source: git
@@ -1946,7 +1946,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: ios_only
+ ref: "212b2cab85647c6d2ffee213dc3b875ef2bf6504"
resolved-ref: "212b2cab85647c6d2ffee213dc3b875ef2bf6504"
url: "https://github.com/ente-io/onnxruntime.git"
source: git
@@ -1955,7 +1955,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: v2-only
+ ref: "13c0244db82b386ad1a53b2451bdfda8d2687cb6"
resolved-ref: "13c0244db82b386ad1a53b2451bdfda8d2687cb6"
url: "https://github.com/ente-io/open-mail-app-flutter.git"
source: git
@@ -1988,7 +1988,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: blur
+ ref: d7bf958d045ce5c06080aaa39074546f46f064d1
resolved-ref: d7bf958d045ce5c06080aaa39074546f46f064d1
url: "https://github.com/ente-io/panorama_blur.git"
source: git
@@ -2222,7 +2222,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: v2-only
+ ref: "2389eaa88f07724a38b9dcab49fef8e96c723921"
resolved-ref: "2389eaa88f07724a38b9dcab49fef8e96c723921"
url: "https://github.com/ente-io/privacy_screen.git"
source: git
@@ -2311,7 +2311,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: "2cea396"
+ ref: "2cea396843cd3ab1b5ec4334be4233864637874e"
resolved-ref: "2cea396843cd3ab1b5ec4334be4233864637874e"
url: "https://github.com/KasemJaffer/receive_sharing_intent.git"
source: git
@@ -2949,7 +2949,7 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: master
+ ref: "1eeb18e2b1ce36bd8ca70178c0d4b485e9982257"
resolved-ref: "1eeb18e2b1ce36bd8ca70178c0d4b485e9982257"
url: "https://github.com/ente-io/video_editor_fork.git"
source: git
diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yaml
index d1ae57cb9c..cd24e3c542 100644
--- a/mobile/apps/photos/pubspec.yaml
+++ b/mobile/apps/photos/pubspec.yaml
@@ -19,39 +19,41 @@ environment:
sdk: ">=3.3.0 <4.0.0"
dependencies:
- adaptive_theme: ^3.1.0
- android_intent_plus: ^5.3.0
- animated_list_plus: ^0.5.2
- app_links: ^6.4.0
- archive: ^4.0.7
- async: ^2.11.0
- audio_session: ^0.2.2
+ adaptive_theme: 3.7.0
+ android_intent_plus: 5.3.0
+ animated_list_plus: 0.5.2
+ app_links: 6.4.0
+ archive: 4.0.7
+ async: 2.13.0
+ audio_session: 0.2.2
backup_exclusion:
path: ../../packages/backup_exclusion
battery_info: # replace with battery_plus
git:
url: https://github.com/ente-io/battery_info
- ref: 95c7a9f
- bip39: ^1.0.6
- cached_network_image: ^3.0.0
- camera: ^0.11.0+2
+ ref: 95c7a9f0400b968b3bfdc98c8c10a07fb4a62ea2
+ bip39: 1.0.6
+ cached_network_image: 3.4.1
+ camera: 0.11.2+1
chewie: 1.13.0
- collection: #dart
+ collection: 1.19.1 #dart
computer: # logged task name in verbose in fork
- git: "https://github.com/ente-io/computer.git"
- connectivity_plus: ^6.0.2
- convert: ^3.1.1
- crypto: ^3.0.2
- cupertino_icons: ^1.0.0
- dart_ui_isolate: ^1.1.1
- defer_pointer: ^0.0.2
+ git:
+ url: https://github.com/ente-io/computer.git
+ ref: 82e365fed8a1a76f6eea0220de98389eed7b0445
+ connectivity_plus: 6.1.4
+ convert: 3.1.2
+ crypto: 3.0.6
+ cupertino_icons: 1.0.8
+ dart_ui_isolate: 1.1.1
+ defer_pointer: 0.0.2
device_info_plus: 11.3.0
- dio: ^5.8.0+1
- dots_indicator: ^4.0.1
- dotted_border: ^2.1.0
- dropdown_button2: ^2.0.0
- email_validator: ^3.0.0
- encrypt: ^5.0.3
+ dio: 5.8.0+1
+ dots_indicator: 4.0.1
+ dotted_border: 2.1.0
+ dropdown_button2: 2.3.9
+ email_validator: 3.0.0
+ encrypt: 5.0.3
ente_cast:
path: plugins/ente_cast
ente_cast_normal:
@@ -72,42 +74,42 @@ dependencies:
path: ../../packages/qr
ente_rust:
path: ../../packages/rust
- equatable: ^2.0.5
- event_bus: ^2.0.0
+ equatable: 2.0.7
+ event_bus: 2.0.1
exif_reader:
git:
url: https://github.com/mgenware/exif_reader.git
ref: 476f701c084861a8e9de5f4f4e5e067fc85fda96
- expandable: ^5.0.1
- expansion_tile_card: ^3.0.0
- extended_image: ^9.1.0
- fade_indexed_stack: ^0.2.2
- fast_base58: ^0.2.1
+ expandable: 5.0.1
+ expansion_tile_card: 3.0.0
+ extended_image: 9.1.0
+ fade_indexed_stack: 0.2.2
+ fast_base58: 0.2.1
ffmpeg_kit_flutter:
git:
url: https://github.com/ente-io/ffmpeg-kit
path: flutter/flutter
- ref: 2bbef7d
- figma_squircle: ^0.6.3
- file_saver: ^0.2.14
- firebase_core: ^3.6.0
- firebase_messaging: ^15.1.3
- fixnum: ^1.1.1
+ ref: 2bbef7d03361d104e26fbe648de31f1f6a4d7e44
+ figma_squircle: 0.6.3
+ file_saver: 0.2.14
+ firebase_core: 3.15.1
+ firebase_messaging: 15.2.9
+ fixnum: 1.1.1
flutter:
sdk: flutter
- flutter_animate: ^4.1.0
- flutter_cache_manager: ^3.3.0
- flutter_displaymode: ^0.6.0
- flutter_easyloading: ^3.0.0
- flutter_email_sender: ^7.0.0
- flutter_image_compress: ^2.4.0
- flutter_inappwebview: ^6.1.4
- flutter_local_notifications: ^19.2.1
+ flutter_animate: 4.5.2
+ flutter_cache_manager: 3.4.1
+ flutter_displaymode: 0.6.0
+ flutter_easyloading: 3.0.5
+ flutter_email_sender: 7.0.0
+ flutter_image_compress: 2.4.0
+ flutter_inappwebview: 6.1.5
+ flutter_local_notifications: 19.3.0
flutter_localizations:
sdk: flutter
- flutter_map: ^7.0.2
- flutter_map_marker_cluster: ^1.3.6
- flutter_password_strength: ^0.1.6
+ flutter_map: 7.0.2
+ flutter_map_marker_cluster: 1.4.0
+ flutter_password_strength: 0.1.6
flutter_rust_bridge: 2.11.1
# Do not upgrade this package unless this issue is resolved:
# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870
@@ -117,125 +119,147 @@ dependencies:
# If not resolved and we need to upgrade, write a migration script.
flutter_secure_storage: 9.0.0
flutter_sodium:
- flutter_spinkit: ^5.2.1
- flutter_staggered_grid_view: ^0.7.0
- flutter_svg: ^2.0.10+1
- flutter_timezone: ^4.1.0
- fluttertoast: ^8.0.6
- fraction: ^5.0.2
- freezed_annotation: ^3.0.0
- home_widget: ^0.8.0
- html_unescape: ^2.0.0
- http: ^1.1.0
- hugeicons: ^1.1.2
- image: ^4.0.17
+ git:
+ url: https://github.com/ente-io/flutter_sodium
+ ref: 342ed3a42febd2dcc8b532c0ff07bd327a472d82
+ flutter_spinkit: 5.2.1
+ flutter_staggered_grid_view: 0.7.0
+ flutter_svg: 2.2.0
+ flutter_timezone: 4.1.1
+ fluttertoast: 8.2.12
+ fraction: 5.0.5
+ freezed_annotation: 3.1.0
+ home_widget: 0.8.0
+ html_unescape: 2.0.0
+ http: 1.4.0
+ hugeicons: 1.1.2
+ image: 4.5.4
in_app_purchase: 3.2.1
- intl: ^0.19.0
- just_audio: ^0.10.5
- latlong2: ^0.9.0
- launcher_icon_switcher: ^0.0.2
- like_button: ^2.0.5
- local_auth: ^2.1.5
- local_auth_android:
- local_auth_ios:
+ intl: 0.20.2
+ just_audio: 0.10.5
+ latlong2: 0.9.1
+ launcher_icon_switcher: 0.0.2
+ like_button: 2.1.0
+ local_auth: 2.3.0
+ local_auth_android: 1.0.49
+ local_auth_ios: 1.1.7
log_viewer:
path: ../../packages/log_viewer
- logging: ^1.3.0
- lottie: ^3.3.1
- maps_launcher: ^3.0.0+1
+ logging: 1.3.0
+ lottie: 3.3.1
+ maps_launcher: 3.0.0+1
media_extension:
git:
url: "https://github.com/ente-io/media_extension.git"
+ ref: 324f8fbdbc7ae6d326a6d541751b7a895a249089
media_kit:
+ git:
+ url: https://github.com/media-kit/media-kit
+ path: media_kit
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_libs_ios_video:
+ git:
+ url: https://github.com/media-kit/media-kit
+ path: libs/ios/media_kit_libs_ios_video
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_libs_video:
+ git:
+ url: https://github.com/media-kit/media-kit
+ path: libs/universal/media_kit_libs_video
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_video:
- mesh_gradient: ^1.3.8
- ml_linalg: ^13.11.31
+ git:
+ url: https://github.com/media-kit/media-kit
+ path: media_kit_video
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
+ mesh_gradient: 1.3.8
+ ml_linalg: 13.12.6
mobile_ocr:
git:
url: https://github.com/ente-io/mobile_ocr
ref: f5ff2124c8424196ea3dc5cf493d98107a5276d4
- modal_bottom_sheet: ^3.0.0
+ modal_bottom_sheet: 3.0.0
motionphoto:
- git: "https://github.com/ente-io/motionphoto.git"
+ git:
+ url: https://github.com/ente-io/motionphoto.git
+ ref: 64e47a446bf3b64f012f2076481cebea51ca27cf
move_to_background: # no updates in git, replace package
git:
url: https://github.com/ente-io/move_to_background.git
- ref: v2-only
- nanoid: ^1.0.0
- native_dio_adapter: ^1.4.0
+ ref: 0cdfeed654d79636eff0c57110f3f6ad5801ba2f
+ nanoid: 1.0.0
+ native_dio_adapter: 1.4.0
native_video_editor:
path: ../../packages/native_video_editor
- native_video_player: ^4.0.0
+ native_video_player: 4.0.0
onnx_dart:
path: plugins/onnx_dart
onnxruntime:
git:
url: https://github.com/ente-io/onnxruntime.git
- ref: ios_only
+ ref: 212b2cab85647c6d2ffee213dc3b875ef2bf6504
open_mail_app: # replace plugin, git is archived
git:
url: https://github.com/ente-io/open-mail-app-flutter.git
- ref: v2-only
- package_info_plus: ^8.2.1
+ ref: 13c0244db82b386ad1a53b2451bdfda8d2687cb6
+ package_info_plus: 8.3.0
panorama:
git:
url: https://github.com/ente-io/panorama_blur.git
- ref: blur
- password_strength: ^0.2.0
- path: #dart
- path_provider: ^2.1.1
- path_provider_foundation: ^2.4.1
- permission_handler: ^12.0.0+1
- photo_manager: ^3.5.3
- photo_view: ^0.15.0
- pinput: ^5.0.0
- pointycastle: ^3.7.3
+ ref: d7bf958d045ce5c06080aaa39074546f46f064d1
+ password_strength: 0.2.0
+ path: 1.9.1 #dart
+ path_provider: 2.1.5
+ path_provider_foundation: 2.4.1
+ permission_handler: 12.0.1
+ photo_manager: 3.7.1
+ photo_view: 0.15.0
+ pinput: 5.0.1
+ pointycastle: 3.9.1
privacy_screen: # pub.dev is behind
git:
url: https://github.com/ente-io/privacy_screen.git
- ref: v2-only
- pro_image_editor: ^11.3.0
+ ref: 2389eaa88f07724a38b9dcab49fef8e96c723921
+ pro_image_editor: 11.3.0
receive_sharing_intent: # pub.dev is behind
git:
url: https://github.com/KasemJaffer/receive_sharing_intent.git
- ref: 2cea396
+ ref: 2cea396843cd3ab1b5ec4334be4233864637874e
rive: 0.14.0-dev.13
- screenshot: ^3.0.0
- scrollable_positioned_list: ^0.3.5
- sentry: ^8.14.1
- sentry_flutter: ^8.14.1
- share_plus: ^11.0.0
- shared_preferences: ^2.0.5
- sqflite: ^2.4.2
- sqflite_migration: ^0.3.0
- sqlite3_flutter_libs: ^0.5.20
- sqlite_async: ^0.11.7
- step_progress_indicator: ^1.0.2
- styled_text: ^8.1.0
- syncfusion_flutter_core: ^29.1.38
- syncfusion_flutter_sliders: ^29.1.38
- synchronized: ^3.3.0+3
- system_info_plus: ^0.0.6
- thermal: ^1.1.11
- timezone: ^0.10.0
- tuple: ^2.0.0
- ua_client_hints: ^1.4.0
- url_launcher: ^6.3.0
- uuid: ^4.5.0
+ screenshot: 3.0.0
+ scrollable_positioned_list: 0.3.8
+ sentry: 8.14.2
+ sentry_flutter: 8.14.2
+ share_plus: 11.0.0
+ shared_preferences: 2.5.3
+ sqflite: 2.4.2
+ sqflite_migration: 0.3.0
+ sqlite3_flutter_libs: 0.5.34
+ sqlite_async: 0.11.7
+ step_progress_indicator: 1.0.2
+ styled_text: 8.1.0
+ syncfusion_flutter_core: 29.2.11
+ syncfusion_flutter_sliders: 29.2.11
+ synchronized: 3.3.1
+ system_info_plus: 0.0.6
+ thermal: 1.1.11
+ timezone: 0.10.1
+ tuple: 2.0.2
+ ua_client_hints: 1.4.1
+ url_launcher: 6.3.1
+ uuid: 4.5.1
video_editor: # edge cases handled in fork
git:
url: https://github.com/ente-io/video_editor_fork.git
- ref: master
- video_player: ^2.10.0
- video_thumbnail: ^0.5.6
- visibility_detector: ^0.4.0+2
- wakelock_plus: ^1.1.1
- wechat_assets_picker: ^9.5.1
- widgets_to_image: ^1.0.0
+ ref: 1eeb18e2b1ce36bd8ca70178c0d4b485e9982257
+ video_player: 2.10.0
+ video_thumbnail: 0.5.6
+ visibility_detector: 0.4.0+2
+ wakelock_plus: 1.3.2
+ wechat_assets_picker: 9.5.1
+ widgets_to_image: 1.0.0
workmanager: 0.9.0+3
- xml: ^6.3.0
+ xml: 6.5.0
dependency_overrides:
# Remove this after removing dependency from flutter_sodium.
@@ -244,46 +268,50 @@ dependency_overrides:
flutter_sodium: # update source if there is any update
git:
url: https://github.com/ente-io/flutter_sodium
- ref: v2-embeddings-only
- intl: ^0.20.2
- js: ^0.6.7
+ ref: 342ed3a42febd2dcc8b532c0ff07bd327a472d82
+ intl: 0.20.2
+ js: 0.6.7
media_kit: # update media_kit* if there is any update
git:
url: https://github.com/media-kit/media-kit
path: media_kit
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_libs_ios_video:
git:
url: https://github.com/media-kit/media-kit
path: libs/ios/media_kit_libs_ios_video
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_libs_video:
git:
url: https://github.com/media-kit/media-kit
path: libs/universal/media_kit_libs_video
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
media_kit_video:
git:
url: https://github.com/media-kit/media-kit
path: media_kit_video
- protobuf: ^3.1.0
- watcher: ^1.1.0
+ ref: c9617f570b8c0ba02857e721997f78c053a856c1
+ protobuf: 3.1.0
+ watcher: 1.1.2
win32: "5.10.1"
dev_dependencies:
- build_runner: ^2.4.7
+ build_runner: 2.6.0
flutter_driver:
sdk: flutter
- flutter_launcher_icons: ^0.14.3
- flutter_lints: ^5.0.0
- flutter_native_splash: ^2.4.4
+ flutter_launcher_icons: 0.14.4
+ flutter_lints: 5.0.0
+ flutter_native_splash: 2.4.6
flutter_test:
sdk: flutter
- freezed: ^3.0.6
+ freezed: 3.2.0
integration_test:
sdk: flutter
- intl_utils: ^2.8.7
- json_annotation: ^4.8.0
- json_serializable: ^6.6.1
- mockito: ^5.5.0
- test: ^1.22.0
+ intl_utils: 2.8.10
+ json_annotation: 4.9.0
+ json_serializable: 6.10.0
+ mockito: 5.5.0
+ test: 1.25.15
# ------------------------------
# ICONs
diff --git a/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml b/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml
index 18c61e3386..e63f4e571c 100644
--- a/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml
+++ b/mobile/apps/photos/rust_builder/cargokit/build_tool/pubspec.yaml
@@ -29,5 +29,5 @@ dependencies:
toml: 0.14.0
dev_dependencies:
- lints: ^2.1.0
- test: ^1.24.0
+ lints: 2.1.1
+ test: 1.24.6
diff --git a/mobile/scripts/check_frozen_pubspecs.rb b/mobile/scripts/check_frozen_pubspecs.rb
new file mode 100644
index 0000000000..b94f3c750e
--- /dev/null
+++ b/mobile/scripts/check_frozen_pubspecs.rb
@@ -0,0 +1,153 @@
+#!/usr/bin/env ruby
+
+require "yaml"
+
+SECTIONS = %w[dependencies dev_dependencies dependency_overrides].freeze
+FULL_SHA = /\A[0-9a-f]{40}\z/.freeze
+SPECIAL_VERSION_TOKENS = %w[any].freeze
+
+def lockfiles_for(paths)
+ return Dir["mobile/apps/**/pubspec.lock"].sort if paths.empty?
+
+ paths.flat_map do |path|
+ if File.file?(path)
+ if File.basename(path) == "pubspec.lock"
+ path
+ elsif File.basename(path) == "pubspec.yaml" && File.exist?(path.sub(/\.yaml\z/, ".lock"))
+ path.sub(/\.yaml\z/, ".lock")
+ else
+ []
+ end
+ elsif File.directory?(path)
+ Dir[File.join(path, "**", "pubspec.lock")]
+ else
+ []
+ end
+ end.uniq.sort
+end
+
+def lock_package(lock_data, name)
+ (lock_data["packages"] || {})[name]
+end
+
+def floating_version?(value)
+ SPECIAL_VERSION_TOKENS.include?(value) || value.match?(/[<>=^*]/)
+end
+
+def validate_string_spec(errors, pubspec, section, name, spec, locked)
+ if spec.empty? || floating_version?(spec)
+ errors << "#{pubspec}: #{section}.#{name} must be an exact version, found #{spec.inspect}"
+ return
+ end
+
+ if locked.nil?
+ errors << "#{pubspec}: #{section}.#{name} has no matching lockfile entry"
+ return
+ end
+
+ if locked["source"] != "hosted"
+ errors << "#{pubspec}: #{section}.#{name} must match #{locked['source']} lockfile source"
+ return
+ end
+
+ if spec != locked["version"]
+ errors << "#{pubspec}: #{section}.#{name} is #{spec.inspect}, lockfile resolves #{locked['version'].inspect}"
+ end
+end
+
+def validate_git_spec(errors, pubspec, section, name, spec, locked)
+ git = spec["git"]
+ unless git.is_a?(Hash)
+ errors << "#{pubspec}: #{section}.#{name} must use structured git syntax with url/ref"
+ return
+ end
+
+ ref = git["ref"]
+ unless ref.is_a?(String) && ref.match?(FULL_SHA)
+ errors << "#{pubspec}: #{section}.#{name} git ref must be a full 40-char SHA"
+ return
+ end
+
+ if locked.nil?
+ errors << "#{pubspec}: #{section}.#{name} has no matching lockfile entry"
+ return
+ end
+
+ if locked["source"] != "git"
+ errors << "#{pubspec}: #{section}.#{name} must match git lockfile source"
+ return
+ end
+
+ desc = locked["description"] || {}
+ resolved_ref = desc["resolved-ref"] || desc["ref"]
+ lock_path = desc["path"] || "."
+ spec_path = git["path"] || "."
+
+ if git["url"] != desc["url"]
+ errors << "#{pubspec}: #{section}.#{name} git url does not match lockfile"
+ end
+
+ if spec_path != lock_path
+ errors << "#{pubspec}: #{section}.#{name} git path #{spec_path.inspect} does not match lockfile #{lock_path.inspect}"
+ end
+
+ if ref != resolved_ref
+ errors << "#{pubspec}: #{section}.#{name} git ref does not match resolved lockfile SHA"
+ end
+end
+
+def validate_spec(errors, pubspec, section, name, spec, locked)
+ case spec
+ when String
+ validate_string_spec(errors, pubspec, section, name, spec, locked)
+ when NilClass
+ errors << "#{pubspec}: #{section}.#{name} must be pinned explicitly, found a blank dependency entry"
+ when Hash
+ return if spec.key?("path") || spec.key?("sdk")
+
+ if spec.key?("git")
+ validate_git_spec(errors, pubspec, section, name, spec, locked)
+ else
+ errors << "#{pubspec}: #{section}.#{name} uses unsupported dependency syntax"
+ end
+ else
+ errors << "#{pubspec}: #{section}.#{name} uses unsupported dependency syntax"
+ end
+end
+
+lockfiles = lockfiles_for(ARGV)
+if lockfiles.empty?
+ warn "No pubspec.lock files found to validate."
+ exit 1
+end
+
+errors = []
+
+lockfiles.each do |lockfile|
+ pubspec = lockfile.sub(/\.lock\z/, ".yaml")
+ unless File.exist?(pubspec)
+ errors << "#{lockfile}: matching pubspec.yaml not found"
+ next
+ end
+
+ lock_data = YAML.load_file(lockfile)
+ pubspec_data = YAML.load_file(pubspec)
+
+ SECTIONS.each do |section|
+ next unless pubspec_data[section].is_a?(Hash)
+
+ pubspec_data[section].each do |name, spec|
+ locked = lock_package(lock_data, name)
+ validate_spec(errors, pubspec, section, name, spec, locked)
+ end
+ end
+end
+
+if errors.empty?
+ puts "Verified frozen pubspecs for #{lockfiles.length} package(s)."
+ exit 0
+end
+
+warn "Frozen pubspec policy violations:"
+errors.each { |error| warn " - #{error}" }
+exit 1