@otalan/cli 1.0.4 → 1.0.6

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,19 @@
2
2
 
3
3
  All notable changes to `@otalan/cli` will be documented in this file.
4
4
 
5
+ ## 1.0.6 - 2026-05-05
6
+
7
+ ### Changed
8
+
9
+ - Improve README CI setup examples, generated output guidance, publish rollout examples, and maintainer release checklist.
10
+ - Add release metadata test coverage to keep package version and changelog entries in sync.
11
+
12
+ ## 1.0.5 - 2026-05-04
13
+
14
+ ### Changed
15
+
16
+ - Update npm package homepage metadata.
17
+
5
18
  ## 1.0.4 - 2026-05-04
6
19
 
7
20
  ### Added
package/README.md CHANGED
@@ -116,6 +116,7 @@ Optional:
116
116
 
117
117
  ```bash
118
118
  bun install --frozen-lockfile
119
+ bun add -g @otalan/cli
119
120
  bun run build
120
121
  otalan login --api-key "$OTALAN_API_KEY" --api-url "${OTALAN_API_URL:-https://api.otalan.com}"
121
122
  otalan init --app-id "$OTALAN_APP_ID"
@@ -129,6 +130,7 @@ Use your normal app build command before `otalan bundle`. The CLI then packages
129
130
 
130
131
  ```bash
131
132
  bun install --frozen-lockfile
133
+ bun add -g @otalan/cli
132
134
  otalan login --api-key "$OTALAN_API_KEY" --api-url "${OTALAN_API_URL:-https://api.otalan.com}"
133
135
  otalan init --app-id "$OTALAN_APP_ID"
134
136
  otalan bundle --target expo --platform ios --bundle-from-package
@@ -225,6 +227,7 @@ Prints the installed CLI version.
225
227
  ```bash
226
228
  otalan version
227
229
  otalan --version
230
+ otalan -v
228
231
  ```
229
232
 
230
233
  ### `otalan login`
@@ -272,6 +275,8 @@ otalan init \
272
275
 
273
276
  Builds `.otalan/bundle/bundle.zip` and `.otalan/bundle/manifest.json`.
274
277
 
278
+ `.otalan/` is generated output. Add it to your app repo's `.gitignore`; `otalan publish` reads the bundle files from the current CI workspace after `otalan bundle` runs.
279
+
275
280
  Capacitor:
276
281
 
277
282
  ```bash
@@ -324,6 +329,7 @@ If you want to take the bundle ID from `package.json` instead:
324
329
 
325
330
  ```bash
326
331
  otalan bundle --target capacitor --platform ios --bundle-from-package
332
+ otalan bundle --target expo --platform ios --bundle-from-package
327
333
  ```
328
334
 
329
335
  ### `otalan publish`
@@ -335,8 +341,13 @@ Publishes the current bundle output with rollout metadata.
335
341
  Current behavior:
336
342
 
337
343
  - `channel` is chosen at publish time
344
+ - publishes are mandatory by default
345
+ - default rollout is `100`
338
346
  - `--platform` and `--native-version` can override the manifest, but only if they match it
339
347
  - `--output-dir` lets you publish a bundle from a non-default folder
348
+ - `--rollout-percent` accepts an integer from `0` to `100`
349
+ - `--optional` marks the update as non-mandatory
350
+ - `--release-notes` attaches release notes to the published bundle
340
351
  - Expo publish forwards the stored Expo app config when present
341
352
  - Otalan validates the release ZIP before the publish completes
342
353
 
@@ -346,6 +357,18 @@ Default flow:
346
357
  otalan publish --channel production
347
358
  ```
348
359
 
360
+ Staged rollout:
361
+
362
+ ```bash
363
+ otalan publish --channel production --rollout-percent 25 --release-notes "Fix startup crash"
364
+ ```
365
+
366
+ Optional update:
367
+
368
+ ```bash
369
+ otalan publish --channel production --optional
370
+ ```
371
+
349
372
  This uses `POST /v1/releases/create` and waits for `GET /v1/releases/ingests/:id` to reach `ready` before returning success.
350
373
 
351
374
  If validation fails, `otalan publish` exits non-zero and prints the ingest failure reason when the API provides one. This makes the command safe to use directly in CI/CD pipelines.
@@ -427,6 +450,10 @@ otalan status --platform ios --channel production
427
450
 
428
451
  Before publishing a public package release:
429
452
 
453
+ - update `package.json` to the new package version
454
+ - add the matching `CHANGELOG.md` entry
455
+ - run the release checks and inspect the package dry run
456
+
430
457
  ```bash
431
458
  bun install --frozen-lockfile
432
459
  bun test