Skip to content

Commit 2a59de0

Browse files
authored
Update CHANGELOG.md
1 parent 8d698b4 commit 2a59de0

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

CHANGELOG.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,26 @@ The most notable change in laravel-dompdf are the changed defaults, to be more s
1111
- `allowedRemoteHosts` and `artifactPathValidation` are added the the config.
1212
Also, support for Laravel < 9 and PHP < 8.1 is dropped.
1313

14-
[2.2.0]
15-
## What's Changed
14+
## [3.1]
15+
This release updates the config for [dompdf/dompdf v3.1.0](https://github.com/dompdf/dompdf/releases/tag/v3.1.0) which contains the. following breaking URL:
16+
17+
> **Breaking Change**
18+
> This release adds the "data://" scheme to the protocol validation rules. Installations that explicitly define the allowed protocols but do not include the "data://" protocol will no longer render data-URIs. This is a change from previous versions, where data-URIs were not processed through the validated rules. Installations that use the default validation rules included with Dompdf should see no impact.
19+
20+
The update for laravel-dompdf adds this to the default config, but if you have published the config, you need to add the `data://` scheme.
21+
22+
## [3.0]
23+
24+
Version 3.x supports DomPDF version 3.x. See the changelog in https://github.com/dompdf/dompdf/releases/tag/v3.0.0
25+
26+
The most notable change in laravel-dompdf are the changed defaults, to be more secure;
27+
28+
enable_remote is now false by default. Change with caution.
29+
allowedRemoteHosts and artifactPathValidation are added the the config.
30+
Also, support for Laravel < 9 and PHP < 8.1 is dropped.
31+
32+
## [2.2.0]
33+
### What's Changed
1634
* Fix setOptions by @cesarreyes3 in https://github.com/barryvdh/laravel-dompdf/pull/1040
1735
* Bump dompdf minimum to 2.0.7 by @barryvdh
1836

0 commit comments

Comments
 (0)