Skip to content

v2.22.1

Choose a tag to compare

@jszobody jszobody released this 07 Jul 17:39
· 30 commits to master since this release
fc88479

Fix: non-interactive install / verify crashed on no-TTY platforms

v2.22.0 gated interactivity on $input->isInteractive(), which reports true on platforms without a TTY (Laravel Cloud). Laravel Prompts additionally requires a real TTY, so postmaster:verify (and install) took the interactive branch and then hit In Interactivity.php line 32: Required. with a failed exit code.

Both commands now detect interactivity the way Laravel configures Prompts — an interactive input and a real TTY — so a no-TTY run correctly routes to the non-interactive path. Omitting --to now gives a clean Pass --to=you@example.com … error instead of a crash.

php artisan postmaster:verify --to=you@example.com --provider=postmark

Upgrade from v2.22.0 if you run these commands in Laravel Cloud or CI. See #27.