3.8 KiB
3.8 KiB
title | layout | section |
---|---|---|
Changelog | default | main |
v2.5.0 2015-03-10
- add support for custom mime-types (see #199).
- add an option to set the DEFLATE level (see #201).
- improve the error message with corrupted zip (see #202).
- add support for UNIX / DOS permissions (see #200 and #205).
v2.4.0 2014-07-24
- update pako to 0.2.5 (see #156).
- make JSZip work in a Firefox addon context (see #151).
- add an option (
createFolders
) to control the subfolder generation (see #154). - allow
Buffer
polyfill in the browser (see #139).
v2.3.0 2014-06-18
- don't generate subfolders (see #130).
- add comment support (see #134).
- on
ZipObject#options
, the attributesdate
anddir
have been deprecated and are now onZipObject
(see the upgrade guide). - on
ZipObject#options
, the attributesbase64
andbinary
have been deprecated (see the upgrade guide). - deprecate internal functions exposed in the public API (see #123).
- improve UTF-8 support (see #142).
v2.2.2, 2014-05-01
- update pako to v0.2.1, fix an error when decompressing some files (see #126).
v2.2.1, 2014-04-23
- fix unreadable generated file on Windows 8 (see #112).
- replace zlibjs with pako.
v2.2.0, 2014-02-25
- make the
new
operator optional before theJSZip
constructor (see #93). - update zlibjs to v0.2.0.
v2.1.1, 2014-02-13
- use the npm package for zlib.js instead of the github url.
v2.1.0, 2014-02-06
- 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)
v2.0.0, 2013-10-20
-
JSZipBase64
has been renamed toJSZip.base64
. -
The
data
attribute 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
compressInputType
anduncompressInputType
attributes. -
Lazily decompress data when needed and improve performance in general
-
Package for CommonJS/npm.
v1.0.1, 2013-03-04
- 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.
v1.0.0, 2013-02-14
- First release after a long period without version.