v11 - agnostic #2

Merged
rockett merged 41 commits from agnostic into main 2026-04-25 09:36:05 +00:00
Owner

v11 makes the package framework-agnostic.

Core functionality moves to WeasyPrintFactory, Laravel integration (facade, service provider, PDF class) moves under Integration\Laravel. Removes Service::instance() and Output::putFile().

Adds attachment relationships, XMP metadata, BinaryNotFoundException with path validation, FakeWeasyPrint test double, and Stringable output.

Tests split into standalone Core and Laravel suites.

Drops PHP < 8.3, Laravel 11, and WeasyPrint < 67.

v11 makes the package framework-agnostic. Core functionality moves to `WeasyPrintFactory`, Laravel integration (facade, service provider, PDF class) moves under `Integration\Laravel`. Removes `Service::instance()` and `Output::putFile()`. Adds attachment relationships, XMP metadata, `BinaryNotFoundException` with path validation, `FakeWeasyPrint` test double, and `Stringable` output. Tests split into standalone Core and Laravel suites. Drops PHP < 8.3, Laravel 11, and WeasyPrint < 67.
update upgrading, changelog; wrap new pipeline builder
All checks were successful
Run Tests / test (8.4, 66.0) (pull_request) Successful in 57s
Run Tests / test (8.5, 66.0) (pull_request) Successful in 57s
Run Tests / test (8.3, 66.0) (pull_request) Successful in 1m1s
ff601781b9
cleanup changelog; mark v9 unsupported
Some checks failed
Run Tests / test (8.5, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 66.0) (pull_request) Has been cancelled
af24c499fe
fix readme badge
Some checks failed
Run Tests / test (8.5, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 66.0) (pull_request) Has been cancelled
9ff13cc511
fix readme badge
Some checks failed
Run Tests / test (8.4, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.5, 66.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 66.0) (pull_request) Has been cancelled
902374b440
update changelog, upgrading
All checks were successful
Run Tests / test (8.4, 66.0) (pull_request) Successful in 53s
Run Tests / test (8.5, 66.0) (pull_request) Successful in 53s
Run Tests / test (8.3, 66.0) (pull_request) Successful in 58s
21759d5223
remove output::putfile; update docs
All checks were successful
Run Tests / test (8.5, 66.0) (pull_request) Successful in 1m7s
Run Tests / test (8.3, 66.0) (pull_request) Successful in 1m13s
Run Tests / test (8.4, 66.0) (pull_request) Successful in 1m11s
4738bd111d
rename contract and concrete
All checks were successful
Run Tests / test (8.5, 66.0) (pull_request) Successful in 58s
Run Tests / test (8.4, 66.0) (pull_request) Successful in 1m0s
Run Tests / test (8.3, 66.0) (pull_request) Successful in 1m3s
f4b3c812e8
allow config object or array on instantiation
All checks were successful
Run Tests / test (8.3, 66.0) (pull_request) Successful in 1m2s
Run Tests / test (8.5, 66.0) (pull_request) Successful in 59s
Run Tests / test (8.4, 66.0) (pull_request) Successful in 1m4s
89fba9944c
weasyprint 67: add new pdf variants, drop wp66
All checks were successful
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m3s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m7s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m5s
c890665710
merge upstream; resolve conflicts
All checks were successful
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m9s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m6s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m9s
4056c7653e
port v10 changes: add wp68 support, laravel 13
Some checks are pending
Run Tests / test (8.3, 67.0) (pull_request) Waiting to run
Run Tests / test (8.3, 68.0) (pull_request) Waiting to run
Run Tests / test (8.4, 67.0) (pull_request) Waiting to run
Run Tests / test (8.4, 68.0) (pull_request) Waiting to run
Run Tests / test (8.5, 67.0) (pull_request) Waiting to run
Run Tests / test (8.5, 68.0) (pull_request) Waiting to run
6d332612dd
add docker-based dev environment with dockerfile, compose, and justfile; document usage in contributing; drop nodejs from ci deps
Some checks failed
Run Tests / test (8.4, 67.0) (pull_request) Failing after 32s
Run Tests / test (8.4, 68.0) (pull_request) Failing after 32s
Run Tests / test (8.3, 67.0) (pull_request) Failing after 50s
Run Tests / test (8.5, 68.0) (pull_request) Failing after 27s
Run Tests / test (8.5, 67.0) (pull_request) Failing after 27s
Run Tests / test (8.3, 68.0) (pull_request) Failing after 1m7s
678d117c72
remove pdf/a-4b variant from pdfvariant enum
Some checks failed
Run Tests / test (8.5, 67.0) (pull_request) Has been cancelled
Run Tests / test (8.5, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 67.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 67.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 68.0) (pull_request) Has been cancelled
8186d16fff
add attachment relationships via attachment value object; add xmp-metadata, no-http-redirects, fail-on-http-errors options; make output readonly with public data
All checks were successful
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m52s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m54s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 2m0s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m0s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m14s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m28s
3a5e9d341d
use git archive for release packaging with gitattributes export-ignore rules; rename docker-compose.yaml to docker-compose.yml
Some checks failed
Run Tests / test (8.3, 67.0) (pull_request) Failing after 1m26s
Run Tests / test (8.3, 68.0) (pull_request) Failing after 1m31s
Run Tests / test (8.4, 68.0) (pull_request) Failing after 1m33s
Run Tests / test (8.4, 67.0) (pull_request) Failing after 1m37s
Run Tests / test (8.5, 67.0) (pull_request) Failing after 1m13s
Run Tests / test (8.5, 68.0) (pull_request) Failing after 1m11s
3b238a16d9
include tests and phpunit.xml in dist archive; expand pdf/x variants list in changelog
All checks were successful
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m44s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m47s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m55s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m23s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m25s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m45s
64cee52212
add laravel pdf tests for toresponse stream mode and config callback; add core tests for exceptions, output streaming, stringable output, and version
All checks were successful
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m20s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m51s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m2s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 2m3s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 3m48s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 3m22s
e187e0629b
add fake() helper on laravel facade; introduce FakeWeasyPrint test double with call recording and assertion helpers; add fake coverage tests
All checks were successful
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m40s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m46s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m1s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 2m14s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m29s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m35s
a32b03f178
rewrite commit message guidance with concrete examples; update issue tracker link from gitlab to github
Some checks failed
Run Tests / test (8.5, 67.0) (pull_request) Has been cancelled
Run Tests / test (8.5, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 67.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.4, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.3, 67.0) (pull_request) Has been cancelled
b295f940f4
validate configured binary path and search common locations; add binary-not-found-exception; cleanup temp paths on build failure via rescue; throw source-not-set on fake addAttachment without source
All checks were successful
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m32s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m42s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 2m1s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m14s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m33s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m25s
3d8cd96476
switch pest tests from test() to it() and rephrase descriptions to read as behavioural specs
All checks were successful
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m30s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m34s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 1m41s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 2m10s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m19s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m29s
abbe2024ee
drop laravel 11 support; require illuminate/support ^12 and orchestra/testbench ^10 minimum
All checks were successful
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m27s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m30s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m40s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 2m46s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m39s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 2m28s
234d2c7911
defer which-binary lookup until needed via closure; move xmp-metadata property to top of class with other properties
All checks were successful
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m20s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m31s
Run Tests / test (8.3, 68.0) (pull_request) Successful in 1m47s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m49s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m13s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m57s
4f75c83fad
rockett changed target branch from 10.x to main 2026-04-25 09:13:14 +00:00
merge main into agnostic; resolve conflicts keeping agnostic changes
All checks were successful
Run Tests / test (8.3, 68.0) (pull_request) Successful in 1m29s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m33s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 1m41s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 1m43s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m17s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 1m21s
840edbb15e
rockett changed title from WIP: Agnostic to Agnostic 2026-04-25 09:18:08 +00:00
rockett changed title from Agnostic to v11 - agnostic 2026-04-25 09:18:20 +00:00
correct upgrade guide class names and version requirements; add [skip tests] support to ci workflow [skip tests]
Some checks failed
Run Tests / test (8.3, 67.0) (pull_request) Failing after 4s
Run Tests / test (8.4, 68.0) (pull_request) Failing after 6s
Run Tests / test (8.3, 68.0) (pull_request) Failing after 8s
Run Tests / test (8.4, 67.0) (pull_request) Failing after 10s
Run Tests / test (8.5, 67.0) (pull_request) Failing after 5s
Run Tests / test (8.5, 68.0) (pull_request) Failing after 5s
9191be94ec
move system dependencies install before checkout so git is available for skip tests check [skip tests]
Some checks failed
Run Tests / test (8.4, 67.0) (pull_request) Failing after 35s
Run Tests / test (8.4, 68.0) (pull_request) Failing after 44s
Run Tests / test (8.3, 68.0) (pull_request) Failing after 1m5s
Run Tests / test (8.3, 67.0) (pull_request) Failing after 1m13s
Run Tests / test (8.5, 68.0) (pull_request) Has been cancelled
Run Tests / test (8.5, 67.0) (pull_request) Has been cancelled
c9752b5036
install git in test workflow so commit message lookup works [skip tests]
All checks were successful
Run Tests / test (8.3, 68.0) (pull_request) Successful in 36s
Run Tests / test (8.4, 68.0) (pull_request) Successful in 41s
Run Tests / test (8.4, 67.0) (pull_request) Successful in 57s
Run Tests / test (8.3, 67.0) (pull_request) Successful in 1m14s
Run Tests / test (8.5, 67.0) (pull_request) Successful in 38s
Run Tests / test (8.5, 68.0) (pull_request) Successful in 1m38s
Publish Package / publish (push) Successful in 8s
1201994729
rockett deleted branch agnostic 2026-04-25 09:36:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rockett/weasyprint!2
No description provided.