This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
forked from pepite/play--pdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCHANGES
88 lines (56 loc) · 2.62 KB
/
CHANGES
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
## Changelog
### 2.7
* Don't hold ITextRenderer in ThreadLocal - it seems to cause memory leaks
* and this object is anyway reset when play-pdf starts generating next PDF in the same thread
* Don't hold CShaniDomParser in ThreadLocal - I don't believe it brings any benefit
### 2.6.1
* add support for <script> tag without attributes
### 2.6
* fix major performance issue in method org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.removeScript()
(it performed `String.substring()` and `String.replace()` billion times when trying to remove <script> tags from html)
### 2.5.1
* fix entity support
### 2.5
* fix random font error (play-pdf could not find some fonts or styles): properly remove original class NaiveUserAgent from jar
* upgrade to Java 8
### 2.4.2
* fix PDF generation in job (when current http request is missing)
### 2.2
* fix bug that added the same title to all PDFs
### 2.1
* flying saucer replaced with patched version that fixes rendering of '&', '<' etc. symbols.
### 2.0
* Add method pdfRenderer.with(...).generate("some.html") that RETURNS pdf
* Now PDF generation works even without current http request (e.g. in jobs)
* Mark as @deprecated all methods that work only with play enhancers
### 1.9
* fix methods PDFRenderer.renderPDF(Map<String, Object> arguments) to work without play enhancers
* add methods to PDFRenderer: pageSize(), inline(), fileName()
### 1.8.1
* add methods PDFRenderer.renderPDF(Map<String, Object> arguments)
### 1.8
* add class PDFRenderer with non-static methods - useful for mocking in tests
* add method RenderPDFTemplate.getArguments() - now we can catch it in tests and verify
### 1.7
* add method PDF.renderAsAttachment() that DOWNLOADS pdf instead of opening it in browser (Content-Disposition=attachment)
### 1.6
* do not normalize HTML
..it removed whitespaces in the beginning on element content
### 1.5
* remove JTidy dependency
* remove re-formatting HTML code by JTidy
.. it broke PDF layout sometimes (because it inserted extra line breaks)
### 1.4
* ignore url params when resolving local file (like /public/stylesheets/main.css?13564353)
### 1.3
* fix bug with removing original of hacked classes from core-renderer.jar and yahp-internal.jar
* upgrade to shaniparser 1.4.22
* add normal slf4j logging
### 1.2
* do not store dependencies local; fetch all jars from maven central.
### 1.1
* store dependencies in "jars" folder instead of "lib". It fixes "play deps --sync" work.
### 1.0
* code cleanup
* update dependencies: xml-apis.jar, shaniparser.jar
* fork & release the old play--pdf 0.x (created by Nicolas Leroux)