-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Browsershot v4 #107
Conversation
Co-authored-by: Julius Kiekbusch <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @freekmurze for the PR.
Will actually tag a new major version for this, as I've prepared some breaking changes in #106 and #103.
GitHub Actions fail as PRs from contributors don't have access to the AWS secrets. Will test the PR locally, after I've fixed my local setup. |
👍 I'll also mention sidecar-browsershot in the docs of laravel-pdf: https://spatie.be/docs/laravel-pdf/v1/advanced-usage/generating-pdfs-on-aws-lambda |
We've released Browsershot v4. It's a maintenance release where we did some cleanups of the internals, but the API remained the same. The dependency on spatie/image is now optional, and at least v3 is required. PHP 8.2 is required.
This PR makes sidecar-browsershot compatible with Browsershot v4. I only made the minimal changes. Optionally, you could also upgrade the codebase of your package to use PHP 8.2 features.