@otalan/cli 1.5.1 → 1.5.3
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/CHANGELOG.md +16 -0
- package/README.md +8 -4
- package/dist/bin.js +40 -40
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@otalan/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.5.3 - 2026-05-28
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Highlight the full active bundle table row in green for interactive `bundles` and rollback output.
|
|
10
|
+
- Print the generated bundle folder after bundle generation.
|
|
11
|
+
|
|
12
|
+
## 1.5.2 - 2026-05-28
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Keep `otalan bundle` output compact by default with publish-style `Bundling` progress and `✅ Bundle created`; detailed bundle context, source-map counts, and JSON output now require `--verbose` or `-v`.
|
|
17
|
+
- Add `-v` as a short alias for verbose publish and bundle output.
|
|
18
|
+
- Print `Bundle selected:` before the rollback bundle summary and `✅ Rollback done` after it.
|
|
19
|
+
- Exit `otalan rollback` without prompting when no bundles are available for the selected tuple.
|
|
20
|
+
|
|
5
21
|
## 1.5.1 - 2026-05-26
|
|
6
22
|
|
|
7
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -350,10 +350,10 @@ Current behavior:
|
|
|
350
350
|
- Expo does not require a prebuilt `dist/` or `www/` folder
|
|
351
351
|
- Expo stores the generated Otalan satellite manifest in `.otalan/bundle/manifest.json`, including `launchAsset`, `assets`, `runtimeVersion`, `bundleId`, and `expoConfig`
|
|
352
352
|
- both outputs produce a ZIP plus `manifest.json`
|
|
353
|
-
-
|
|
354
|
-
-
|
|
353
|
+
- default output shows compact bundle progress with publish-style status icons, ends with `✅ Bundle created`, and prints the generated bundle folder
|
|
354
|
+
- `--verbose` or `-v` prints the linked project/app, Capacitor build reminder, source-map omitted count, bundle ID source, and JSON bundle result
|
|
355
|
+
- source map files (`*.map`) are omitted from bundle ZIPs by default
|
|
355
356
|
- native project/source files are rejected before bundle output is written; OTA bundles must only contain generated web/update assets
|
|
356
|
-
- when `otalan.config.json` is available, the CLI prints the linked project and app before packaging
|
|
357
357
|
- when `otalan login` and `otalan init` are configured, the CLI checks that the selected `bundleId` is not already published for the selected platform, runtimeVersion, and channel before writing bundle output
|
|
358
358
|
- `--platform` is required so the CLI exports the selected platform and resolves the correct runtime version
|
|
359
359
|
|
|
@@ -432,7 +432,7 @@ Current behavior:
|
|
|
432
432
|
- `--rollout-percent` accepts an integer from `0` to `100`
|
|
433
433
|
- `--optional` marks the update as non-mandatory
|
|
434
434
|
- `--release-notes` attaches release notes to the published bundle
|
|
435
|
-
- default output shows compact publish progress with animated terminal status icons; `--verbose` prints the full project, release, and ingest details
|
|
435
|
+
- default output shows compact publish progress with animated terminal status icons; `--verbose` or `-v` prints the full project, release, and ingest details
|
|
436
436
|
- Expo publish forwards the full generated Otalan satellite manifest when present
|
|
437
437
|
- Expo publish sends the generated manifest with `runtimeVersion`
|
|
438
438
|
- Expo manifests include the Expo config captured from `bunx expo config --json`; avoid placing secrets in Expo config fields that are not intended to be uploaded
|
|
@@ -502,6 +502,8 @@ Lists remote bundles for the current app so you can choose a bundle for rollback
|
|
|
502
502
|
|
|
503
503
|
Remote bundle tables display the API `publishedAt` timestamp, not the bundle row `createdAt` timestamp.
|
|
504
504
|
|
|
505
|
+
In interactive terminals, the active bundle row is highlighted in green.
|
|
506
|
+
|
|
505
507
|
Default resolution order:
|
|
506
508
|
|
|
507
509
|
1. `--runtime-version`
|
|
@@ -523,6 +525,8 @@ Reactivates an older bundle for the same tuple.
|
|
|
523
525
|
otalan rollback --bundle-id 1.0.0-web.1 --platform ios --channel production
|
|
524
526
|
```
|
|
525
527
|
|
|
528
|
+
When no bundles exist for the selected platform, channel, and runtimeVersion, `otalan rollback` exits without prompting for a target bundle. Successful rollbacks print `Bundle selected:`, the selected bundle summary, and then `✅ Rollback done`.
|
|
529
|
+
|
|
526
530
|
### `otalan pause`
|
|
527
531
|
|
|
528
532
|
Pauses delivery of the currently active bundle for the selected release tuple.
|