@_nazmiforreal/flutter-ota 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/flutter-ota-linux-x64 +0 -0
- package/dart-src/packages/cli-tools/.dart_tool/package_config.json +460 -0
- package/dart-src/packages/cli-tools/.dart_tool/package_graph.json +707 -0
- package/dart-src/packages/cli-tools/lib/flutter_ota_kit_cli.dart +7 -4
- package/dart-src/packages/cli-tools/lib/src/commands/bundle.dart +95 -32
- package/dart-src/packages/cli-tools/lib/src/commands/channel.dart +28 -12
- package/dart-src/packages/cli-tools/lib/src/commands/config_command.dart +9 -4
- package/dart-src/packages/cli-tools/lib/src/commands/deploy.dart +29 -6
- package/dart-src/packages/cli-tools/lib/src/commands/doctor.dart +20 -32
- package/dart-src/packages/cli-tools/lib/src/commands/init.dart +40 -19
- package/dart-src/packages/cli-tools/lib/src/commands/keys.dart +7 -5
- package/dart-src/packages/cli-tools/lib/src/commands/migrate.dart +33 -22
- package/dart-src/packages/cli-tools/lib/src/commands/pocketbase.dart +256 -68
- package/dart-src/packages/cli-tools/lib/src/commands/rollback.dart +17 -11
- package/dart-src/packages/cli-tools/lib/src/commands/storage.dart +28 -12
- package/dart-src/packages/cli-tools/lib/src/config.dart +5 -6
- package/dart-src/packages/cli-tools/lib/src/operations.dart +1 -3
- package/dart-src/packages/cli-tools/lib/src/pocketbase/process_manager.dart +17 -16
- package/dart-src/packages/cli-tools/lib/src/runner.dart +3 -1
- package/dart-src/packages/cli-tools/lib/src/ui/ui.dart +8 -14
- package/dart-src/packages/cli-tools/pubspec.lock +590 -0
- package/dart-src/packages/cli-tools/test/mocks/mock_pocketbase_client.dart +7 -3
- package/dart-src/packages/cli-tools/test/pocketbase_schema_test.dart +13 -16
- package/dart-src/packages/core/CHANGELOG.md +15 -0
- package/dart-src/packages/core/lib/src/bundle.dart +3 -6
- package/dart-src/packages/core/pubspec.yaml +1 -1
- package/dart-src/plugins/aws/CHANGELOG.md +18 -0
- package/dart-src/plugins/aws/lib/src/aws_cloudfront_client.dart +1 -2
- package/dart-src/plugins/aws/pubspec.yaml +3 -3
- package/dart-src/plugins/cloudflare/CHANGELOG.md +18 -0
- package/dart-src/plugins/cloudflare/pubspec.yaml +3 -3
- package/dart-src/plugins/plugin-core/CHANGELOG.md +15 -0
- package/dart-src/plugins/plugin-core/pubspec.yaml +2 -2
- package/dart-src/plugins/pocketbase/CHANGELOG.md +18 -0
- package/dart-src/plugins/pocketbase/pubspec.yaml +3 -3
- package/dart-src/plugins/postgres/CHANGELOG.md +18 -0
- package/dart-src/plugins/postgres/pubspec.yaml +3 -3
- package/dart-src/plugins/supabase/CHANGELOG.md +18 -0
- package/dart-src/plugins/supabase/pubspec.yaml +3 -3
- package/package.json +2 -2
- package/scripts/postinstall.js +5 -1
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.1.10
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.1.9
|
|
6
|
+
|
|
7
|
+
- Release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.1.9
|
|
10
|
+
|
|
11
|
+
- Automated release 2026-09-10
|
|
12
|
+
|
|
13
|
+
## 0.1.8
|
|
14
|
+
|
|
15
|
+
- Added comprehensive documentation for all public APIs.
|
|
16
|
+
- Documented S3 client, CloudFront signer, SSM client, and storage profiles.
|
|
17
|
+
- General maintenance.
|
|
18
|
+
|
|
1
19
|
## 0.1.7
|
|
2
20
|
|
|
3
21
|
- General maintenance.
|
|
@@ -2,7 +2,6 @@ import 'dart:convert' show utf8;
|
|
|
2
2
|
import 'dart:typed_data' show Uint8List;
|
|
3
3
|
|
|
4
4
|
import 'package:crypto/crypto.dart' show Hmac, sha256;
|
|
5
|
-
import 'package:flutter/foundation.dart' show debugPrint;
|
|
6
5
|
import 'package:http/http.dart' show Client, Request, Response;
|
|
7
6
|
|
|
8
7
|
const String _cloudfrontService = 'cloudfront';
|
|
@@ -92,7 +91,7 @@ class AwsCloudFrontClient implements AwsCloudFrontClientLike {
|
|
|
92
91
|
if (shouldWait) rethrow;
|
|
93
92
|
// When not waiting, surface invalidation failures as warnings and
|
|
94
93
|
// continue (mirrors hot-updater's s3Database behaviour).
|
|
95
|
-
|
|
94
|
+
print(
|
|
96
95
|
'[flutter_ota_kit/aws] CloudFront invalidation failed for '
|
|
97
96
|
'$distributionId; continuing without cache invalidation: $error',
|
|
98
97
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_aws
|
|
2
2
|
description: AWS S3 storage + S3/DynamoDB database plugins for flutter_ota_kit (faithful port of hot-updater plugins/aws).
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.10
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,8 +11,8 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
15
|
-
flutter_ota_kit_plugin_core: ^0.0.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
|
+
flutter_ota_kit_plugin_core: ^0.0.10
|
|
16
16
|
crypto: ^3.0.0
|
|
17
17
|
http: ^1.2.0
|
|
18
18
|
path: ^1.9.0
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.1.10
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.1.9
|
|
6
|
+
|
|
7
|
+
- Release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.1.9
|
|
10
|
+
|
|
11
|
+
- Automated release 2026-09-10
|
|
12
|
+
|
|
13
|
+
## 0.1.8
|
|
14
|
+
|
|
15
|
+
- Added comprehensive documentation for all public APIs.
|
|
16
|
+
- Documented D1 database, R2 storage, and worker database plugins.
|
|
17
|
+
- General maintenance.
|
|
18
|
+
|
|
1
19
|
## 0.1.7
|
|
2
20
|
|
|
3
21
|
- General maintenance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_cloudflare
|
|
2
2
|
description: Cloudflare D1 + R2 storage plugins for flutter_ota_kit (faithful port of hot-updater plugins/cloudflare).
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.10
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,8 +11,8 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
15
|
-
flutter_ota_kit_plugin_core: ^0.0.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
|
+
flutter_ota_kit_plugin_core: ^0.0.10
|
|
16
16
|
crypto: ^3.0.0
|
|
17
17
|
http: ^1.2.0
|
|
18
18
|
path: ^1.9.0
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 0.0.10
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.0.10
|
|
6
|
+
|
|
7
|
+
- Automated release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.0.9
|
|
10
|
+
|
|
11
|
+
- Added comprehensive documentation for all public APIs.
|
|
12
|
+
- Documented `DatabasePlugin`, `StoragePlugin`, `BuildPlugin` interfaces.
|
|
13
|
+
- Documented `HotUpdaterContext` and `StorageResolveContext` schemas.
|
|
14
|
+
- Documented storage URI protocol schemes.
|
|
15
|
+
|
|
1
16
|
## 0.0.8
|
|
2
17
|
|
|
3
18
|
- General maintenance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_plugin_core
|
|
2
2
|
description: Plugin core abstractions for flutter_ota_kit — database, storage, and build interfaces.
|
|
3
|
-
version: 0.0.
|
|
3
|
+
version: 0.0.10
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,7 +11,7 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
15
|
mime: ^2.0.0
|
|
16
16
|
|
|
17
17
|
dev_dependencies:
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.1.7
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.1.6
|
|
6
|
+
|
|
7
|
+
- Release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.1.6
|
|
10
|
+
|
|
11
|
+
- Automated release 2026-09-10
|
|
12
|
+
|
|
13
|
+
## 0.1.5
|
|
14
|
+
|
|
15
|
+
- Added comprehensive documentation for all public APIs.
|
|
16
|
+
- Documented PocketBase client, database, storage, and bundle mapper.
|
|
17
|
+
- General maintenance.
|
|
18
|
+
|
|
1
19
|
## 0.1.4
|
|
2
20
|
|
|
3
21
|
- General maintenance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_pocketbase
|
|
2
2
|
description: PocketBase plugin for flutter_ota_kit — local-first self-hostable backend with admin UI, auth, file storage, and realtime.
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.7
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,8 +11,8 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
15
|
-
flutter_ota_kit_plugin_core: ^0.0.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
|
+
flutter_ota_kit_plugin_core: ^0.0.10
|
|
16
16
|
http: ^1.2.0
|
|
17
17
|
|
|
18
18
|
dev_dependencies:
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.1.10
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.1.9
|
|
6
|
+
|
|
7
|
+
- Release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.1.9
|
|
10
|
+
|
|
11
|
+
- Automated release 2026-09-10
|
|
12
|
+
|
|
13
|
+
## 0.1.8
|
|
14
|
+
|
|
15
|
+
- Added comprehensive documentation for all public APIs.
|
|
16
|
+
- Improved bundle mapper and database plugin documentation.
|
|
17
|
+
- General maintenance.
|
|
18
|
+
|
|
1
19
|
## 0.1.7
|
|
2
20
|
|
|
3
21
|
- General maintenance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_postgres
|
|
2
2
|
description: Postgres plugin for flutter_ota_kit — database backend.
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.10
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,8 +11,8 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
15
|
-
flutter_ota_kit_plugin_core: ^0.0.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
|
+
flutter_ota_kit_plugin_core: ^0.0.10
|
|
16
16
|
postgres: ^3.4.0
|
|
17
17
|
|
|
18
18
|
dev_dependencies:
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.1.11
|
|
2
|
+
|
|
3
|
+
- Release 2026-09-10
|
|
4
|
+
|
|
5
|
+
## 0.1.10
|
|
6
|
+
|
|
7
|
+
- Release 2026-09-10
|
|
8
|
+
|
|
9
|
+
## 0.1.10
|
|
10
|
+
|
|
11
|
+
- Automated release 2026-09-10
|
|
12
|
+
|
|
13
|
+
## 0.1.9
|
|
14
|
+
|
|
15
|
+
- Added comprehensive documentation for all public APIs.
|
|
16
|
+
- Improved error message handling with `errorMessage` utility.
|
|
17
|
+
- General maintenance.
|
|
18
|
+
|
|
1
19
|
## 0.1.8
|
|
2
20
|
|
|
3
21
|
- Updated `mapUpdateInfoRow` to pass `gitCommitHash` from bundle data.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: flutter_ota_kit_supabase
|
|
2
2
|
description: Supabase plugin for flutter_ota_kit — database + storage backends.
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.11
|
|
4
4
|
homepage: https://github.com/HYPER12755/flutter-ota-kit
|
|
5
5
|
repository: https://github.com/HYPER12755/flutter-ota-kit
|
|
6
6
|
issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues
|
|
@@ -11,8 +11,8 @@ environment:
|
|
|
11
11
|
sdk: ">=3.13.2 <4.0.0"
|
|
12
12
|
|
|
13
13
|
dependencies:
|
|
14
|
-
flutter_ota_kit_core: ^0.1.
|
|
15
|
-
flutter_ota_kit_plugin_core: ^0.0.
|
|
14
|
+
flutter_ota_kit_core: ^0.1.8
|
|
15
|
+
flutter_ota_kit_plugin_core: ^0.0.10
|
|
16
16
|
http: ^1.2.0
|
|
17
17
|
supabase: ^2.14.0
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_nazmiforreal/flutter-ota",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Command-line interface for flutter_ota_kit — an OTA code-push tool for Flutter, hot-updater compatible.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"flutter-ota": "./bin/flutter-ota.js"
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
"type": "git",
|
|
24
24
|
"url": "https://github.com/HYPER12755/flutter-ota-kit"
|
|
25
25
|
}
|
|
26
|
-
}
|
|
26
|
+
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -76,7 +76,11 @@ if (getRes.status !== 0) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
console.log(`flutter-ota: building native binary (${platformName}-${archName})...`);
|
|
79
|
-
|
|
79
|
+
// Ensure bin directory exists
|
|
80
|
+
if (!fs.existsSync(binDir)) {
|
|
81
|
+
fs.mkdirSync(binDir, { recursive: true });
|
|
82
|
+
}
|
|
83
|
+
const res = spawnSync(
|
|
80
84
|
'dart',
|
|
81
85
|
['compile', 'exe', 'bin/flutter_ota_kit.dart', '-o', target],
|
|
82
86
|
{ stdio: 'inherit', cwd: cliDir },
|