Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Latest commit

 

History

History
103 lines (53 loc) · 2.37 KB

CHANGELOG.md

File metadata and controls

103 lines (53 loc) · 2.37 KB

2.3.0 September 9, 2019

Fixed SHA signature #68/#70 (vodaben)

2.2.0 November 25, 2015

Requires Node 6.x or later, due to changes to the Buffer class.

Unzip Remote Images If Content-Encoding is "gzip" #37 (philipheinser)

Support iBeacons #43 (fabianfett)

Add extra fields for companion app info #55 (thedumbterminal)

Listen for finish event on fs #56 (arturojain)

Follow redirects for HTTPS and HTTP requests #57 (augustorsouza)

Properly parse output of openssl on Windows #64 (akadko)

Use the target of the pipe method also as its return value #67 (atd-schubert)

2.1.1 April 16, 2015

Update package.json with async dependency (tomasdev)

Emit error if it failed to sign the zip with manifest file (tomasdev)

2.1.0 March 2, 2015

Add support for Node.js 0.12 and io.js 1.4

Fix failing image tests on Node.js 0.12 and io.js 1.4

Fix failing signature check on Node.js 0.12 and io.js 1.4

Remove unused async dependency

2.0.1 November 14, 2012

Fix addImage not working with buffers.

2.0.0 November 1, 2012

New API for updating structure fields:

passbook.headerFields.add("time", "The Time", "10:00AM"); passbook.backFields.add({ key: "url", label: "Web site", value: "http://example.com" }); console.log(passbook.backFields.get("url")); passbook.backFields.remove("url"); console.log(passbook.backFields.all());

The pipe method no longer accepts a callback, instead, register listener on the end and error events.

For HTTP servers, you can use the render method.

New optimization to send completes resources first (useful when downloading images from URLs).

Renamed createPassbook to createPass.

1.1.1 October 24, 2012

Fix piping support for files/HTTP resources.

1.1.0 October 24, 2012

API change: instead of generating passbook into a buffer, we pipe it into an output stream. Like so:

fs = File.createWriteStream("demo.pkpass"); passbook.pipe(fs, function(error) { . . . });

You can now add images by specifing an HTTP/S URL.

You can now add images directly to the template, every passbook created from that template will include these images.

New streaming zip implementation. Passbook is now able to acquire resources (images) in paralle.

1.0.2 October 15, 2012

Should not fail on boardingPass.

Should be able to inspect pass.json: call getPassbookJSON().

1.0.1 October 9, 2012

First release. Yay!