- make the
newoperator optional before theJSZipconstructor (see #93). - update zlibjs to v0.2.0.
- use the npm package for zlib.js instead of the github url.
- split the files and use Browserify to generate the final file (see #74)
- 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
- add component/bower support
- rename variable: 'byte' is a reserved word (see #76)
- add support for the unicode path extra field (see #82)
- ensure that the generated files have a header with the licenses (see #80)
-
JSZipBase64has been renamed toJSZip.base64. -
The
dataattribute on the object returned byzip.file(name)has been removed. UseasText(),asBinary(),asUint8Array(),asArrayBuffer()orasNodeBuffer(). -
The compression/decompression methods now give their input type with the
compressInputTypeanduncompressInputTypeattributes. -
Lazily decompress data when needed and improve performance in general
-
Package for CommonJS/npm.
- Fixed an issue when generating a compressed zip file with empty files or folders, see #33.
- With bad data (null or undefined), asText/asBinary/asUint8Array/asArrayBuffer methods now return an empty string, see #36.
- First release after a long period without version.