From ccd6bcd7949ec1ef82df05b43655fa788f92af40 Mon Sep 17 00:00:00 2001 From: rgdevment Date: Fri, 1 May 2026 16:53:04 -0400 Subject: [PATCH 1/2] chore: update dependencies and remove sqlite3_flutter_libs plugin references --- .github/workflows/ci.yml | 30 +++++++++---------- .../flutter/generated_plugin_registrant.cc | 4 --- app/linux/flutter/generated_plugins.cmake | 1 - .../Flutter/GeneratedPluginRegistrant.swift | 2 -- .../flutter/generated_plugin_registrant.cc | 3 -- app/windows/flutter/generated_plugins.cmake | 1 - core/pubspec.yaml | 2 +- pubspec.lock | 8 ----- 8 files changed, 16 insertions(+), 35 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78f90308..dec3142e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: name: Markdown Lint steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Lint Markdown files uses: DavidAnson/markdownlint-cli2-action@v19 @@ -35,7 +35,7 @@ jobs: name: Lint, Format & Test steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: subosito/flutter-action@v2 with: @@ -43,7 +43,7 @@ jobs: cache: true - name: Cache pub dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.pub-cache key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} @@ -85,7 +85,7 @@ jobs: run: melos run test:coverage - name: Upload coverage artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() with: name: coverage-reports @@ -96,7 +96,7 @@ jobs: retention-days: 1 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 if: always() with: token: ${{ secrets.CODECOV_TOKEN }} @@ -109,7 +109,7 @@ jobs: name: Release Readiness steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Validate pubspec structure run: | @@ -193,7 +193,7 @@ jobs: name: Build Verification (Windows) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: subosito/flutter-action@v2 with: @@ -201,7 +201,7 @@ jobs: cache: true - name: Cache pub dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.pub-cache key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} @@ -222,7 +222,7 @@ jobs: name: Build Verification (Linux) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: subosito/flutter-action@v2 with: @@ -230,7 +230,7 @@ jobs: cache: true - name: Cache pub dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.pub-cache key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} @@ -280,7 +280,7 @@ jobs: name: Build Verification (macOS) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: subosito/flutter-action@v2 with: @@ -288,7 +288,7 @@ jobs: cache: true - name: Cache pub dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.pub-cache key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} @@ -310,18 +310,18 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Download coverage reports - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: coverage-reports path: . - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@v5 + uses: SonarSource/sonarqube-scan-action@v5 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: diff --git a/app/linux/flutter/generated_plugin_registrant.cc b/app/linux/flutter/generated_plugin_registrant.cc index d67aef01..b626f359 100644 --- a/app/linux/flutter/generated_plugin_registrant.cc +++ b/app/linux/flutter/generated_plugin_registrant.cc @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -27,9 +26,6 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin"); screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar); - g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin"); - sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar); g_autoptr(FlPluginRegistrar) tray_manager_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "TrayManagerPlugin"); tray_manager_plugin_register_with_registrar(tray_manager_registrar); diff --git a/app/linux/flutter/generated_plugins.cmake b/app/linux/flutter/generated_plugins.cmake index 96baa507..3ae67ed1 100644 --- a/app/linux/flutter/generated_plugins.cmake +++ b/app/linux/flutter/generated_plugins.cmake @@ -7,7 +7,6 @@ list(APPEND FLUTTER_PLUGIN_LIST hotkey_manager_linux listener screen_retriever_linux - sqlite3_flutter_libs tray_manager window_manager ) diff --git a/app/macos/Flutter/GeneratedPluginRegistrant.swift b/app/macos/Flutter/GeneratedPluginRegistrant.swift index 83bd334e..413c0807 100644 --- a/app/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/app/macos/Flutter/GeneratedPluginRegistrant.swift @@ -10,7 +10,6 @@ import hotkey_manager_macos import listener import macos_window_utils import screen_retriever_macos -import sqlite3_flutter_libs import tray_manager import window_manager @@ -20,7 +19,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { ListenerPlugin.register(with: registry.registrar(forPlugin: "ListenerPlugin")) MacOSWindowUtilsPlugin.register(with: registry.registrar(forPlugin: "MacOSWindowUtilsPlugin")) ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin")) - Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin")) TrayManagerPlugin.register(with: registry.registrar(forPlugin: "TrayManagerPlugin")) WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin")) } diff --git a/app/windows/flutter/generated_plugin_registrant.cc b/app/windows/flutter/generated_plugin_registrant.cc index f2a7c3b7..02846a29 100644 --- a/app/windows/flutter/generated_plugin_registrant.cc +++ b/app/windows/flutter/generated_plugin_registrant.cc @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -23,8 +22,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("ListenerPluginCApi")); ScreenRetrieverWindowsPluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("ScreenRetrieverWindowsPluginCApi")); - Sqlite3FlutterLibsPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin")); TrayManagerPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("TrayManagerPlugin")); WindowManagerPluginRegisterWithRegistrar( diff --git a/app/windows/flutter/generated_plugins.cmake b/app/windows/flutter/generated_plugins.cmake index bb2a6056..5241f1ba 100644 --- a/app/windows/flutter/generated_plugins.cmake +++ b/app/windows/flutter/generated_plugins.cmake @@ -7,7 +7,6 @@ list(APPEND FLUTTER_PLUGIN_LIST hotkey_manager_windows listener screen_retriever_windows - sqlite3_flutter_libs tray_manager window_manager ) diff --git a/core/pubspec.yaml b/core/pubspec.yaml index 7bcb0867..4c753e72 100644 --- a/core/pubspec.yaml +++ b/core/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: flutter: sdk: flutter drift: ^2.0.0 - sqlite3_flutter_libs: ^0.5.0 + sqlite3: ^3.0.0 path_provider: ^2.0.0 path: ^1.9.0 uuid: ^4.0.0 diff --git a/pubspec.lock b/pubspec.lock index 8c12f5a8..757b4caa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -914,14 +914,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.3.1" - sqlite3_flutter_libs: - dependency: transitive - description: - name: sqlite3_flutter_libs - sha256: eeb9e3a45207649076b808f8a5a74d68770d0b7f26ccef6d5f43106eee5375ad - url: "https://pub.dev" - source: hosted - version: "0.5.42" sqlparser: dependency: transitive description: From 5328215c4a5f81178f432a0bc96c4bfb7ca76b40 Mon Sep 17 00:00:00 2001 From: rgdevment Date: Fri, 1 May 2026 19:54:46 -0400 Subject: [PATCH 2/2] chore: update dependencies to latest versions and add record_use package --- pubspec.lock | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 757b4caa..f872cce5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: build - sha256: aadd943f4f8cc946882c954c187e6115a84c98c81ad1d9c6cbf0895a8c85da9c + sha256: a156715e7cd728130c592f30552575908aae5b100005fbc1f0fb16b3c03a3d10 url: "https://pub.dev" source: hosted - version: "4.0.5" + version: "4.0.6" build_config: dependency: transitive description: @@ -101,10 +101,10 @@ packages: dependency: transitive description: name: built_value - sha256: "0730c18c770d05636a8f945c32a4d7d81cb6e0f0148c8db4ad12e7748f7e49af" + sha256: "34e4067d30ce212937df995f03b69992eea683539ceeac7f679a1f1eba055b56" url: "https://pub.dev" source: hosted - version: "8.12.5" + version: "8.12.6" characters: dependency: transitive description: @@ -385,10 +385,10 @@ packages: dependency: transitive description: name: hooks - sha256: e79ed1e8e1929bc6ecb6ec85f0cb519c887aa5b423705ded0d0f2d9226def388 + sha256: "025f060e86d2d4c3c47b56e33caf7f93bf9283340f26d23424ebcfccf34f621e" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "1.0.3" hotkey_manager: dependency: transitive description: @@ -789,6 +789,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.1.0" + record_use: + dependency: transitive + description: + name: record_use + sha256: "2551bd8eecfe95d14ae75f6021ad0248be5c27f138c2ec12fcb52b500b3ba1ed" + url: "https://pub.dev" + source: hosted + version: "0.6.0" screen_retriever: dependency: transitive description: @@ -878,10 +886,10 @@ packages: dependency: transitive description: name: source_gen - sha256: "732792cfd197d2161a65bb029606a46e0a18ff30ef9e141a7a82172b05ea8ecd" + sha256: ec37cc0e6694374cbef59ed79685572c870a54ede6fa30a3e420feb3adffea02 url: "https://pub.dev" source: hosted - version: "4.2.2" + version: "4.2.3" source_map_stack_trace: dependency: transitive description: @@ -1030,10 +1038,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "046d3928e16fa4dc46e8350415661755ab759d9fc97fc21b5ab295f71e4f0499" + sha256: "0016aef94fc66495ac78af5859181e3f3bf2026bd8eecc72b9565601e19ab360" url: "https://pub.dev" source: hosted - version: "15.1.0" + version: "15.2.0" watcher: dependency: transitive description: