Update JSON API
[src/app-framework-demo.git] / afm-client / bower_components / jszip / CHANGES.md
1 ---
2 title: Changelog
3 layout: default
4 section: main
5 ---
6
7 ### v2.5.0 2015-03-10
8 - add support for custom mime-types (see [#199](https://github.com/Stuk/jszip/issues/199)).
9 - add an option to set the DEFLATE level (see [#201](https://github.com/Stuk/jszip/issues/201)).
10 - improve the error message with corrupted zip (see [#202](https://github.com/Stuk/jszip/issues/202)).
11 - add support for UNIX / DOS permissions (see [#200](https://github.com/Stuk/jszip/issues/200) and [#205](https://github.com/Stuk/jszip/issues/205)).
12
13 ### v2.4.0 2014-07-24
14 - update pako to 0.2.5 (see [#156](https://github.com/Stuk/jszip/issues/156)).
15 - make JSZip work in a Firefox addon context (see [#151](https://github.com/Stuk/jszip/issues/151)).
16 - add an option (`createFolders`) to control the subfolder generation (see [#154](https://github.com/Stuk/jszip/issues/154)).
17 - allow `Buffer` polyfill in the browser (see [#139](https://github.com/Stuk/jszip/issues/139)).
18
19 ### v2.3.0 2014-06-18
20 - don't generate subfolders (see [#130](https://github.com/Stuk/jszip/issues/130)).
21 - add comment support (see [#134](https://github.com/Stuk/jszip/issues/134)).
22 - on `ZipObject#options`, the attributes `date` and `dir` have been deprecated and are now on `ZipObject` (see [the upgrade guide](http://stuk.github.io/jszip/documentation/upgrade_guide.html)).
23 - on `ZipObject#options`, the attributes `base64` and `binary` have been deprecated (see [the upgrade guide](http://stuk.github.io/jszip/documentation/upgrade_guide.html)).
24 - deprecate internal functions exposed in the public API (see [#123](https://github.com/Stuk/jszip/issues/123)).
25 - improve UTF-8 support (see [#142](https://github.com/Stuk/jszip/issues/142)).
26
27 ### v2.2.2, 2014-05-01
28  - update pako to v0.2.1, fix an error when decompressing some files (see [#126](https://github.com/Stuk/jszip/issues/126)).
29
30 ### v2.2.1, 2014-04-23
31  - fix unreadable generated file on Windows 8 (see [#112](https://github.com/Stuk/jszip/issues/112)).
32  - replace zlibjs with pako.
33
34 ### v2.2.0, 2014-02-25
35  - make the `new` operator optional before the `JSZip` constructor (see [#93](https://github.com/Stuk/jszip/pull/93)).
36  - update zlibjs to v0.2.0.
37
38 ### v2.1.1, 2014-02-13
39  - use the npm package for zlib.js instead of the github url.
40
41 ### v2.1.0, 2014-02-06
42  - split the files and use Browserify to generate the final file (see [#74](https://github.com/Stuk/jszip/pull/74))
43  - packaging change : instead of 4 files (jszip.js, jszip-load.js, jszip-inflate.js, jszip-deflate.js) we now have 2 files : dist/jszip.js and dist/jszip.min.js
44  - add component/bower support
45  - rename variable: 'byte' is a reserved word (see [#76](https://github.com/Stuk/jszip/pull/76))
46  - add support for the unicode path extra field (see [#82](https://github.com/Stuk/jszip/pull/82))
47  - ensure that the generated files have a header with the licenses (see [#80](https://github.com/Stuk/jszip/pull/80))
48
49 # v2.0.0, 2013-10-20
50
51  - `JSZipBase64` has been renamed to `JSZip.base64`.
52  - The `data` attribute on the object returned by `zip.file(name)` has been removed. Use `asText()`, `asBinary()`, `asUint8Array()`, `asArrayBuffer()` or `asNodeBuffer()`.
53
54  - [Fix issue with Android browser](https://github.com/Stuk/jszip/pull/60)
55
56  - The compression/decompression methods now give their input type with the `compressInputType` and `uncompressInputType` attributes.
57  - Lazily decompress data when needed and [improve performance in general](https://github.com/Stuk/jszip/pull/56)
58  - [Add support for `Buffer` in Node.js](https://github.com/Stuk/jszip/pull/57).
59  - Package for CommonJS/npm.
60
61 ### v1.0.1, 2013-03-04
62
63  - Fixed an issue when generating a compressed zip file with empty files or folders, see #33.
64  - With bad data (null or undefined), asText/asBinary/asUint8Array/asArrayBuffer methods now return an empty string, see #36.
65
66 # v1.0.0, 2013-02-14
67
68 - First release after a long period without version.
69