@otalan/cli 1.5.0 → 1.5.2
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 +19 -0
- package/README.md +8 -2
- package/dist/bin.js +51 -50
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@otalan/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.5.2 - 2026-05-28
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- 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`.
|
|
10
|
+
- Add `-v` as a short alias for verbose publish and bundle output.
|
|
11
|
+
- Print `Bundle selected:` before the rollback bundle summary and `✅ Rollback done` after it.
|
|
12
|
+
- Exit `otalan rollback` without prompting when no bundles are available for the selected tuple.
|
|
13
|
+
|
|
14
|
+
## 1.5.1 - 2026-05-26
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Make `otalan publish` show compact animated progress by default, with green success and red failure states in interactive terminals.
|
|
19
|
+
- Add spacing around compact publish progress and highlight `Live` in green in interactive terminals.
|
|
20
|
+
- Keep CI-friendly static publish progress output in non-TTY environments.
|
|
21
|
+
- Move the previous detailed publish output behind `otalan publish --verbose`.
|
|
22
|
+
- Print `✅ Bundle generated` after `otalan bundle` writes the bundle output.
|
|
23
|
+
|
|
5
24
|
## 1.5.0 - 2026-05-23
|
|
6
25
|
|
|
7
26
|
### Added
|
package/README.md
CHANGED
|
@@ -282,6 +282,8 @@ Saves the project OTA Publish Key and API base URL locally.
|
|
|
282
282
|
|
|
283
283
|
If auth is already saved, `otalan login` shows the current API URL as the prompt default and shows the current OTA Publish Key in masked form. Press Enter to keep either value.
|
|
284
284
|
|
|
285
|
+
During interactive login, typed OTA Publish Key characters are echoed as `*` so the terminal shows input progress without exposing the key.
|
|
286
|
+
|
|
285
287
|
```bash
|
|
286
288
|
otalan login --api-key otalan_ci_xxx --api-url https://api.otalan.com
|
|
287
289
|
```
|
|
@@ -348,9 +350,10 @@ Current behavior:
|
|
|
348
350
|
- Expo does not require a prebuilt `dist/` or `www/` folder
|
|
349
351
|
- Expo stores the generated Otalan satellite manifest in `.otalan/bundle/manifest.json`, including `launchAsset`, `assets`, `runtimeVersion`, `bundleId`, and `expoConfig`
|
|
350
352
|
- both outputs produce a ZIP plus `manifest.json`
|
|
351
|
-
-
|
|
353
|
+
- default output shows compact bundle progress with publish-style status icons and ends with `✅ Bundle created`
|
|
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
|
|
352
356
|
- native project/source files are rejected before bundle output is written; OTA bundles must only contain generated web/update assets
|
|
353
|
-
- when `otalan.config.json` is available, the CLI prints the linked project and app before packaging
|
|
354
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
|
|
355
358
|
- `--platform` is required so the CLI exports the selected platform and resolves the correct runtime version
|
|
356
359
|
|
|
@@ -429,6 +432,7 @@ Current behavior:
|
|
|
429
432
|
- `--rollout-percent` accepts an integer from `0` to `100`
|
|
430
433
|
- `--optional` marks the update as non-mandatory
|
|
431
434
|
- `--release-notes` attaches release notes to the published bundle
|
|
435
|
+
- default output shows compact publish progress with animated terminal status icons; `--verbose` or `-v` prints the full project, release, and ingest details
|
|
432
436
|
- Expo publish forwards the full generated Otalan satellite manifest when present
|
|
433
437
|
- Expo publish sends the generated manifest with `runtimeVersion`
|
|
434
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
|
|
@@ -519,6 +523,8 @@ Reactivates an older bundle for the same tuple.
|
|
|
519
523
|
otalan rollback --bundle-id 1.0.0-web.1 --platform ios --channel production
|
|
520
524
|
```
|
|
521
525
|
|
|
526
|
+
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`.
|
|
527
|
+
|
|
522
528
|
### `otalan pause`
|
|
523
529
|
|
|
524
530
|
Pauses delivery of the currently active bundle for the selected release tuple.
|