Skip to content

Commit

Permalink
JSZip 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dduponchel committed Jun 18, 2014
1 parent f8deac4 commit af0bff4
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ layout: default
section: main
---

### v2.3.0 2014-06-18
- don't generate subfolders (see [#130](https://github.com/Stuk/jszip/issues/130)).
- add comment support (see [#134](https://github.com/Stuk/jszip/issues/134)).
- 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)).
- on `ZipObject#options`, the attributes `base64` and `binary` have been deprecated (see [the upgrade guide](http://stuk.github.io/jszip/documentation/upgrade_guide.html)).
- deprecate internal functions exposed in the public API (see [#123](https://github.com/Stuk/jszip/issues/123)).
- improve UTF-8 support (see [#142](https://github.com/Stuk/jszip/issues/142)).

### v2.2.2, 2014-05-01
- update pako to v0.2.1, fix an error when decompressing some files (see [#126](https://github.com/Stuk/jszip/issues/126)).

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jszip",
"version": "2.2.2",
"version": "2.3.0",
"homepage": "http://stuartk.com/jszip",
"authors": [
"Stuart Knightley <stuart@stuartk.com>"
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jszip",
"repo": "Stuk/jszip",
"description": "Create, read and edit .zip files with Javascript http://stuartk.com/jszip",
"version": "2.2.2",
"version": "2.3.0",
"keywords": [
"zip",
"deflate",
Expand Down
19 changes: 19 additions & 0 deletions documentation/upgrade_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ layout: default
section: main
---

### From 2.2.2 to 2.3.0

* On `ZipObject#options`, the attributes `date` and `dir` have been
deprecated and are now on `ZipObject`.
* On `ZipObject#options`, the attributes `base64` and `binary` have been
deprecated.
* `JSZip.base64`, `JSZip.prototype.crc32`, `JSZip.prototype.utf8decode`,
`JSZip.prototype.utf8encode` and `JSZip.utils` have been deprecated.

```js
// deprecated
zip.file("test.txt").options.date
zip.file("test.txt").options.dir
// new API
zip.file("test.txt").date
zip.file("test.txt").dir
```


### From 2.0.0 to 2.1.0

* The packaging changed : instead of loading jszip.js, jszip-load.js,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div class="col-md-7">
<p>
<strong>Current version</strong> : v2.2.2
<strong>Current version</strong> : v2.3.0
</p>
<p>
<strong>License</strong> : JSZip is dual-licensed. You may use it under the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jszip",
"version": "2.2.2",
"version": "2.3.0",
"author": "Stuart Knightley <stuart@stuartk.com>",
"description": "Create, read and edit .zip files with Javascript http://stuartk.com/jszip",
"scripts": {
Expand Down

0 comments on commit af0bff4

Please sign in to comment.