CHANGES.md.orig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <<<<<<< HEAD
  2. ### v2.2.1, 2014-04-23
  3. - fix unreadable generated file on Windows 8 (see [#112](https://github.com/Stuk/jszip/issues/112)).
  4. - replace zlibjs with pako.
  5. =======
  6. ---
  7. title: Changelog
  8. layout: default
  9. section: main
  10. ---
  11. >>>>>>> Rewrite the documentation
  12. ### v2.2.0, 2014-02-25
  13. - make the `new` operator optional before the `JSZip` constructor (see [#93](https://github.com/Stuk/jszip/pull/93)).
  14. - update zlibjs to v0.2.0.
  15. ### v2.1.1, 2014-02-13
  16. - use the npm package for zlib.js instead of the github url.
  17. ### v2.1.0, 2014-02-06
  18. - split the files and use Browserify to generate the final file (see [#74](https://github.com/Stuk/jszip/pull/74))
  19. - 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
  20. - add component/bower support
  21. - rename variable: 'byte' is a reserved word (see [#76](https://github.com/Stuk/jszip/pull/76))
  22. - add support for the unicode path extra field (see [#82](https://github.com/Stuk/jszip/pull/82))
  23. - ensure that the generated files have a header with the licenses (see [#80](https://github.com/Stuk/jszip/pull/80))
  24. # v2.0.0, 2013-10-20
  25. - `JSZipBase64` has been renamed to `JSZip.base64`.
  26. - The `data` attribute on the object returned by `zip.file(name)` has been removed. Use `asText()`, `asBinary()`, `asUint8Array()`, `asArrayBuffer()` or `asNodeBuffer()`.
  27. - [Fix issue with Android browser](https://github.com/Stuk/jszip/pull/60)
  28. - The compression/decompression methods now give their input type with the `compressInputType` and `uncompressInputType` attributes.
  29. - Lazily decompress data when needed and [improve performance in general](https://github.com/Stuk/jszip/pull/56)
  30. - [Add support for `Buffer` in Node.js](https://github.com/Stuk/jszip/pull/57).
  31. - Package for CommonJS/npm.
  32. ### v1.0.1, 2013-03-04
  33. - Fixed an issue when generating a compressed zip file with empty files or folders, see #33.
  34. - With bad data (null or undefined), asText/asBinary/asUint8Array/asArrayBuffer methods now return an empty string, see #36.
  35. # v1.0.0, 2013-02-14
  36. - First release after a long period without version.