@otalan/cli 1.6.0 → 1.7.0

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 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.7.0 - 2026-05-31
6
+
7
+ ### Added
8
+
9
+ - Add paginated `otalan bundles` and interactive `otalan rollback` bundle lists with `--page` and `--page-size`.
10
+ - Show the first page of published bundles before the interactive `otalan bundle` bundle ID prompt.
11
+
12
+ ### Changed
13
+
14
+ - Keep `otalan status` scanning paginated bundle results until it finds the active bundle.
15
+
16
+ ### Fixed
17
+
18
+ - Keep `otalan bundles` compatible with release list API responses that do not include pagination metadata.
19
+ - Print empty and out-of-range bundle pages without inverted item ranges.
20
+
5
21
  ## 1.6.0 - 2026-05-30
6
22
 
7
23
  ### Added
package/README.md CHANGED
@@ -403,7 +403,7 @@ otalan bundle --target expo --platform ios --bundle-id 1.0.5
403
403
  If you omit `bundleId`:
404
404
 
405
405
  - in an interactive terminal, the CLI prompts for a bundle ID and shows the local bundle ID from `.otalan/bundle/manifest.json` when available
406
- - when `otalan login` and `otalan init` are configured, the prompt also shows the active published bundle ID for the selected platform/runtime version/channel
406
+ - when `otalan login` and `otalan init` are configured, the prompt prints the latest 20 published bundles for the selected platform/runtime version/channel and also shows the active or latest listed published bundle ID
407
407
  - published bundle hints use `--channel`, defaulting to `production`
408
408
  - duplicate published bundle ID checks use the same `--channel` value and default to `production`
409
409
  - pressing Enter without a bundle ID keeps the automatic bundle ID behavior
@@ -505,6 +505,8 @@ Remote bundle tables are colorized and display the API `publishedAt` timestamp,
505
505
 
506
506
  The active bundle row is highlighted in green.
507
507
 
508
+ Bundle lists are paginated by the API. When `--page` and `--page-size` are omitted, Otalan returns page 1 with 20 bundles. `--page-size` is capped at 100.
509
+
508
510
  Default resolution order:
509
511
 
510
512
  1. `--runtime-version`
@@ -514,6 +516,7 @@ Default resolution order:
514
516
 
515
517
  ```bash
516
518
  otalan bundles --platform ios --channel production
519
+ otalan bundles --platform ios --channel production --page 2 --page-size 50
517
520
  ```
518
521
 
519
522
  ### `otalan rollback`
@@ -521,10 +524,11 @@ otalan bundles --platform ios --channel production
521
524
  Reactivates an older bundle for the same tuple.
522
525
 
523
526
  `rollback` uses the same runtime-version default order as `bundles`. Pass `--runtime-version` if you want to override the detected default.
524
- If `--bundle-id` is omitted, interactive terminals show a selectable bundle list. The current live bundle is highlighted in green and disabled; deleted or unavailable archives are also disabled.
527
+ If `--bundle-id` is omitted, interactive terminals show a paginated selectable bundle list. The current live bundle is highlighted in green and disabled; deleted or unavailable archives are also disabled. Use `--page` and `--page-size` to choose which rollback candidates to display.
525
528
 
526
529
  ```bash
527
530
  otalan rollback --bundle-id 1.0.0-web.1 --platform ios --channel production
531
+ otalan rollback --platform ios --channel production --page 2 --page-size 50
528
532
  ```
529
533
 
530
534
  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`.