UNPKG

3 kBMarkdownView Raw
1# Changelog
2
3### 7.0.0 - 19/02/2023
4
5- BREAKING - Drop support for node 12 (Though nothing incompatible in this release yet)
6- Switch to a pngjs organisation
7
8### 6.0.0 - 24/10/2020
9
10- BREAKING - Sync version now throws if there is unexpected content at the end of the stream.
11- BREAKING - Drop support for node 10 (Though nothing incompatible in this release yet)
12- Reduce the number of files included in the package
13
14### 5.1.0 - 13/09/2020
15
16- Add option to skip rescaling
17
18### 5.0.0 - 15/04/2020
19
20- Drop support for Node 8
21- Browserified bundle may now contain ES20(15-20) code if the supported node version supports it. Please run the browserified version through babel if you need to support older browsers.
22
23### 4.0.1 - 15/04/2020
24
25- Fix to possible null reference in nextTick of async method
26
27### 4.0.0 - 09/04/2020
28
29- Fix issue in newer nodes with using Buffer
30- Fix async issue with some png files
31- Drop support for Node 4 & 6
32
33### 3.4.0 - 09/03/2019
34
35- Include whether the png has alpha in the meta data
36- emit an error if the image is truncated instead of hanging
37- Add a browserified version
38- speed up some mapping functions
39
40### 3.3.3 - 19/04/2018
41
42- Real fix for node 9
43
44### 3.3.2 - 16/02/2018
45
46- Fix for node 9
47
48### 3.3.1 - 15/11/2017
49
50- Bugfixes and removal of es6
51
52### 3.3.0
53
54- Add writing 16 bit channels and support for grayscale input
55
56### 3.2.0 - 30/04/2017
57
58- Support for encoding 8-bit grayscale images
59
60### 3.1.0 - 30/04/2017
61
62- Support for pngs with zlib chunks that are malformed after valid data
63
64### 3.0.1 - 16/02/2017
65
66- Fix single pixel pngs
67
68### 3.0.0 - 03/08/2016
69
70- Drop support for node below v4 and iojs. Pin to 2.3.0 to use with old, unsupported or patched node versions.
71
72### 2.3.0 - 22/04/2016
73
74- Support for sync in node 0.10
75
76### 2.2.0 - 04/12/2015
77
78- Add sync write api
79- Fix newfile example
80- Correct comparison table
81
82### 2.1.0 - 28/10/2015
83
84- rename package to pngjs
85- added 'bgColor' option
86
87### 2.0.0 - 08/10/2015
88
89- fixes to readme
90- _breaking change_ - bitblt on the png prototype now doesn't take a unused, unnecessary src first argument
91
92### 1.2.0 - 13/09/2015
93
94- support passing colorType to write PNG's and writing bitmaps without alpha information
95
96### 1.1.0 - 07/09/2015
97
98- support passing a deflate factory for controlled compression
99
100### 1.0.2 - 22/08/2015
101
102- Expose all PNG creation info
103
104### 1.0.1 - 21/08/2015
105
106- Fix non square interlaced files
107
108### 1.0.0 - 08/08/2015
109
110- More tests
111- source linted
112- maintainability refactorings
113- async API - exceptions in reading now emit warnings
114- documentation improvement - sync api now documented, adjustGamma documented
115- breaking change - gamma chunk is now written. previously a read then write would destroy gamma information, now it is persisted.
116
117### 0.0.3 - 03/08/2015
118
119- Error handling fixes
120- ignore files for smaller npm footprint
121
122### 0.0.2 - 02/08/2015
123
124- Bugfixes to interlacing, support for transparent colours
125
126### 0.0.1 - 02/08/2015
127
128- Initial release, see pngjs for older changelog.