Skip to content

LINE CLI v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:59
· 83 commits to main since this release
7c8941a

What's Changed

  • Fix sessions that stopped working a few days after login. Token refresh now reads LINE's wrapped {code, message, data} reply as well as a bare token; previously a wrapped reply was discarded after LINE may have rotated the tokens, and every later refresh failed with HTTP 400, gateway code 10201 (#29, #30). A session already stuck this way needs line login once after upgrading
  • Ask for line login when LINE rejects a token refresh, instead of "check your connection". JSON errors use authentication_failed instead of remote_failed, doctor reports the rejected refresh, and watch stops instead of retrying forever. Scripts that retried on remote_failed should run line login instead
  • Reuse the device certificate from an earlier email login, so login --email on a known device can sign in without a phone PIN (#31, #33). When LINE skips the PIN, saved Letter Sealing keys are used only if they match the account's current key; otherwise nothing is saved. Certificates from QR login or logged-out sessions are never sent, and a failed login is never repeated
  • Add login --email ADDRESS --require-pin to always verify on your phone
  • Require Go 1.27.4 for source and release builds to address GO-2026-6859 in net/http (#32)
  • Stop promising a seven-day refresh interval in the docs; LINE decides when a refresh is due
  • Running old and new versions at the same time is unsupported; stop commands and watchers before upgrading

Validation

Checked live with one account on macOS arm64:

  • A session from this build kept working for 168 hours, with read-only checks about every 6 hours. That is past the 3–4 day point where v0.6.0 failed.
  • A repeat email login signed in without a PIN, and messages decrypted afterwards.

What LINE returns for an expired certificate hasn't been observed. Other platforms were covered by synthetic tests and native CI only. Binaries are unsigned; use the checksums to verify downloads. Details are in the changelog and the session notes.

Full Changelog: v0.6.0...v0.7.0