Skip to content

1.1.4

Choose a tag to compare

@bpmore bpmore released this 10 Sep 16:28
· 18 commits to main since this release

Fixed, where the addon was saying something untrue

docs:report --pdf explains why a snap-confined browser produces no file.
Ubuntu ships Chromium as a snap, which is what Laravel Forge installs, and a
snap gets a private /tmp and cannot write outside the user's home directory.
It exits cleanly and reports the bytes it wrote, to a path nothing else can see,
so the export failed with an error that read as though the browser had crashed.

Measured on a Forge server: --pdf=/tmp/report.pdf produced no file, and the
same run with a destination inside the site produced a valid 17728-byte tagged
PDF.

The error now says the browser exited cleanly but wrote nothing to that path,
and where the binary looks snap-confined and the destination is outside the home
directory it names one that works. Write to storage/report.pdf rather than
/tmp.

Upgrading re-checks nothing.