-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathCHANGELOG.md
146 lines (90 loc) · 4.66 KB
/
CHANGELOG.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.3.0] - 2024-02-23
- Make it possible to set [WeasyPrint options][2] via `WeasyTemplateResponse` (#79)
- Add support for non-hashed path when `ManifestStaticFilesStorage` is used with `DEBUG=True`
[2]: https://doc.courtbouillon.org/weasyprint/stable/api_reference.html#weasyprint.DEFAULT_OPTIONS
## [2.2.2] - 2023-12-06
- Improve URL Fetcher to return `redirected_url` with 'file://' prefix for
image cache using [LazyLocalImage][2] with WeasyPrint v59.0 (#74)
- Add Python 3.12 and Django 5.0 to test matrix, remove Django 4.0 and 4.1
[1]: https://github.com/Kozea/WeasyPrint/pull/1853
## [2.2.1] - 2023-08-17
- Support WeasyPrint v59.0 (#71)
- Add Python 3.11 and Django 4.2 to test matrix, remove Python 3.6 and 3.7
## [2.2.0] - 2022-08-07
- Attempt to load static files from disk when using `ManifestStaticFilesStorage` (#48)
- Add debug logging to django_url_fetcher
- Add Python 3.10 and Django 4.1 to test matrix, remove Django 2.2
## [1.1.0.post2] - 2022-02-24
Another post-release backporting fixes from 2.x for those still using WeasyPrint/Cairo.
- Add `font_config` argument to `WeasyTemplateResponse.get_css()` to properly
set up the `weasyprint.CSS` instance for `weasyprint.HTML.render()` (20f701b, #54)
- Add Django 3.2 & 4.0 to test matrix, remove 3.0 & 3.1
## [2.1.0] - 2021-10-28
- Add `font_config` argument to `WeasyTemplateResponse.get_css()` to properly
set up the `weasyprint.CSS` instance for `weasyprint.HTML.render()` (f944d45, #54)
## [2.0.0] - 2021-10-26
- [WeasyPrint >= 53.0](https://github.com/Kozea/WeasyPrint/releases/tag/v53.0)
is required ("PDF is the only output format supported!")
- Remove `PNGView` and `CONTENT_TYPE_*` constants
- Add Django 3.2 to test matrix, remove 3.0
## [1.1.0.post1] - 2021-08-10
- Pin WeasyPrint<53 due to module path change (thanks @hnb2, @n1ngu, @ThomSawyer)
## [1.1.0] - 2021-02-19
- Add `pathlib` support to `django_url_fetcher` (ba77f41, #42, by @niccolomineo)
- Fix missing import in README example (2f33713, by @ScottBarkman)
- Fix typo in CHANGELOG (293e6e7, by @GitRon)
## [1.0.2.post1] - 2021-08-10
- Pin WeasyPrint<53 due to module path change
## [1.0.2] - 2020-10-07
- Handle `SCRIPT_NAME` being added to `MEDIA_URL` in Django 3.1
(https://code.djangoproject.com/ticket/25598)
## [1.0.1] - 2020-05-02
- Fix classifiers and changelog
## [1.0.0] - 2020-05-02
- Drop Python 2 support: WeasyPrint >= 43 and Django >= 2.2 are required
## [0.6.0] - 2020-04-27
- Update README to demonstrate override of URL fetcher (65ced6f)
- Fix URL fetcher when used with empty `MEDIA_URL` (fd3fb30, #34)
- Add tests for views and `django_url_fetcher` & tox configuration
## [0.5.5] - 2019-12-20
- Update signature of `weasyprint.default_url_fetcher` by Vlastimil Zíma (c9abfe8)
- Add `font_config` to handle `@font-config` rules
An additional argument called font_config must be provided to handle
`@font-config` rules. The same `fonts.FontConfiguration` object must be
used for different CSS objects applied to the same document.
https://weasyprint.readthedocs.io/en/latest/api.html#weasyprint.CSS
## [0.5.4] - 2018-07-16
- Fix for usage of `urlparse` by Jay Ennis (244b89b)
## [0.5.3] - 2018-07-09
- Use Python 3 compatible import of `urlparse` by Christian Karrié (4eb72cf)
## [0.5.2] - 2018-03-08
- Fix for `content_type` with WeasyTemplateResponse
## [0.5.1] - 2018-03-08
- Add `custom_url_fetcher` reading `file://` urls directly from disk or storage
- Add `content_type` to WeasyTemplateResponse
- Fixed example in README (46fc62e)
## [0.5.0] - 2018-02-02
- Packaging improvements by Thomas Grainger (8baf780)
- Require Django>=1.8
## [0.4] - 2017-09-26
- Add override for URL fetcher by Thomas Jost (d946d6b)
Overriding the default URL fetcher from Weasyprint is often useful.
For instance, this makes it easy to open local files that are exposed on other
subdomains (CDN…) without having to do a single network request, which makes
the PDF rendering *much* faster.
- Fix for Content-Disposition
## [0.3] - 2017-04-05
- Add switch for 'attachment' Content-Disposition
## [0.2] - 2017-04-05
- Transfer of GitHub repo to Florian Demmer
- Merge improvements by Tim Bell (6f10a0a), Thomas Desveaux (249ad56) and
Bruno Alla (ce1e2dc, ddc0343)
- Add generating PNG
## [0.1] - 2017-01-13
- Initial release by Jeroen Dekkers
- Some credits for API design and actual source for documentation go to
Filip Wasilewski and other authors and contributors of django-easy-pdf.