Fixed SHA signature #68/#70 (vodaben)
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)
Update package.json with async dependency (tomasdev)
Emit error if it failed to sign the zip with manifest file (tomasdev)
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
Fix addImage not working with buffers.
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
.
Fix piping support for files/HTTP resources.
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.
Should not fail on boardingPass.
Should be able to inspect pass.json: call getPassbookJSON().
First release. Yay!