Skip to content
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

Merged
merged 6 commits into from
Dec 29, 2023
Merged

Support Browsershot v4 #107

merged 6 commits into from
Dec 29, 2023

Conversation

freekmurze
Copy link
Contributor

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.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Julius Kiekbusch <[email protected]>
Copy link
Owner

@stefanzweifel stefanzweifel left a 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.

@stefanzweifel
Copy link
Owner

stefanzweifel commented Dec 29, 2023

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.

@freekmurze
Copy link
Contributor Author

👍 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

@stefanzweifel stefanzweifel merged commit b26536f into stefanzweifel:main Dec 29, 2023
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants