- Unlocked possibility to use URI other than http/s for
appLaunchURL(PR #263)
- Updated
node-forgeto v1.3.2 to address CVE-2025-12816 (PR #258)
- Fixed
venuePlaceIDtypescript signature, which was marked as mandatory while Joi schema was marking it as optional (PR #256) - Added support to iOS 18.1 semantics fields
EventDateInfo.unannouncedandEventDateInfo.undetermined; - Added support to iOS 18.1 top level key
eventLogoText;
- Fixed
UpcomingPassInformationEntry["backFields"]:backFieldswas lowercase by mistake, leading it to its stripping (it is required for the new Poster Event Ticket upcoming events view to appear);
- Fixed support for Cloudflare workers by disabling tls email validation checks (PR #255)
- Added support to iOS 26 Changes. Refer to #249 for all the details.
- Added support for preferredStyleSchemes method to boardingPass value and pass type, in order to add the support to the new ✨ Semantic Boarding Passes ✨
- Added new setter and getter upcomingPassInformation to add details with validation;
- Deprecated type and schema Schemas.Field for Schemas.PassFieldContent;
- Set setRelevantDates to set both relevantDate and date in order to support both iOS 18 and iOS 26 – the property got renamed, bringing a breaking change;
- Added support to undocumented feature
stripColor(PR #245)
- Added support to the missing iOS 18 changes (
useAutomaticColor,footerBackgroundColor,suppressHeaderDarkening,auxiliaryStoreIdentifiers,eventStartDateInfo,venueOpenDate); - Added support to
relevantDateproperty inrelevantDates, along withstartDateandendDate, inpass.json; - Added new method
setRelevantDates; - Improved details on
(root).relevantDatedeprecation since iOS 18; - Improved comments and markers on SemanticTags with iOS version;
- Added support to double compilation ESM + CJS: both are now shipped;
- Updated examples. This update brings also them to run on ESM;
- Made easier to run examples and install their dependency by converting repo to be a pnpm workspace;
- Added support to iOS 18 changes (refer to issue #205 for all the changes);
- Added support to hex colors for
foregroundColor,backgroundColor,labelColoras well as new iOS 18 color properties; - Added new example models for iOS 18 changes;
- Added inline source maps in files;
- Fixed
Field.timeStyletypescript type; - Changed all node imports to use
node:prefix; - Changes
do-not-zipusage make use of explictnode:bufferimport;
- Fixed beacons
majorvalidation to be more relaxed (PR #158);
- Fixed dates processing by converting them to UTC (PR #155);
- Fixed transitType which wasn't being imported when a boardingPass was getting read (PR #138)
- Improved types for property in Field type (PR #139)
- Fixed Typescript type for Semantics.WifiAccess (PR #136)
- Fixed generation of EventTicket with row fields (PR #118)
- Optimizations for localizationEntries, PKPass.pack, localize and regexes;
- Dependencies Update;
- Fixed FieldsArray order when pushing or unshifting fields in
headerFields,primaryFields,secondaryFields,auxiliaryFieldsandbackFields(PR #104)
-
Fixed Schema validation for browser-like contexts like Cloudflare Workers (PR #100);
-
Added examples for Cloudflare Workers;
- Updated dependencies to remove dependabot alerts (like, node-forge to v1.2.1);
- Updated tests;
- This release fixes some issues when running under Windows and adds new tests.
- Thanks to PR #99 by d34db4b3.
- This release fixes some issues with typescript strict mode (as much as we were able to fix without starting ho-ho-ho-ing due to madness 🤪).
- Made
PKPass.fromTemplatecertificatesto be optional; - Changed constructor buffers and certificates to be optional;
- Added constructor check on certificates to avoid error if pass is created through
PKPass.frombut without certificates; - Added constructor checks for buffers with a warning being fired if the passed parameter is not an object;
- Passkit-generator has been completely refactored and re-conceptualized. Follow Migration Guide v2 to v3 to see the differences between the two versions
- Added support for optional NFC key
requiresAuthentication; - Added support for semantics as a global overridable property;
- Renamed files to conform to Apple naming in documentation;
- Added documentation links in files;
- Fixed wrong Schemas keys (
ignoresTimeZoneanddataDetectorTypes); - Added more SemanticsTagTypes
- Refactored Error system;
- Refactored Schemas;
- Updated Dependencies;
- Removed unnecessary ways to perfom ways in refactoring;
- Improved building phase;
- Improved tests;
- Updated dependencies (like node-forge and node-fetch, which had critical vulnerability);
- Added prettier for formatting;
- Generic improvements to code;
- Removed moment.js for an internal generation of the date (without timezone support);
- Replaced deprecated dependencies
@hapi/joiwith Sideway's joi; - Generic dependencies update;
- Generic code improvements (vscode-autofixes included);
- Bumped minimum Node.JS supported version to 10 (moved from
util.promisifyapproach tofs.promises);
- Typescript strict configuration fixes;
- Improved specifications;
- Dependencies Updates;
- More improvements;
- Unlocked some other prohibited (until now) fields that were not editable due to design choice (
organizationName,passTypeIdentifier,teamIdentifier,appLaunchURL,associatedStoreIdentifiers); - Small improvements;
- Typescript version update;
- Update to webServiceURL schema regex and allowed all characters for authenticationToken;
This version brings lot of improvements and breaking changes. Please refer to the Migration Guide for the most important changes.
- Added optional
rowattribute forauxiliaryFields
- Fixed problem with fieldsArray: fields were being added even if the keys check was failing
- Added support for
logoTextinsupportedOptions(issues #21, #28) - Fixed nfc methods which was accepting and registering an array instead of an object
- Adding support for native Dates (#32)
- Fixing passes parallel generation (#31)
- Added windows path slash parsing
- Moved some utility functions to a separate file
- Removed rgbValues as a variable for a direct approact
- Renamed
_validateTypein_hasValidType - Fixed barcode legacy bug
- Added NO_PASS_TYPE as message
- Moved passExtractor function to class scope instead of generate()'s
- Moved to async/await approach for generate()
- Improved unique fields management;
- Changed debug message for discarded fields;
- Renamed uniqueKeys to fieldsKeys
- Added
BRC_BW_FORMAT_UNSUPPORTEDto not letPKBarcodeFormatCode128to be used as backward barcode format - Added support for row field in
auxiliaryFields - Added support to
semanticskeys to fields in schema
- Removed check for changeMessage as per issue topic #15
- Added pass.strings file concatenation with translations if it already exists in specific folder;
- Small changes to messages;
- Now checking both static list and remote list before raising the error for missing files
- (thank you, Artsiom Aliakseyenka);
- Renamed
__barcodeAutogento barcodesFromUncompleteData and moved it outside of Pass class; - Renamed
__barcodeAutocompletetoSymbol/barcodesFillMissing; - Renamed
__barcodeChooseBackwardtoSymbol/barcodesSetBackward; - Removed context binding when passing above methods with alises after using .barcode();
- Edited BRC_ATC_MISSING_DATA message
- Moved tests to spec folder with jasmine configuration
- Fixed barcodes validation problem
- Re-engineered FieldContainer (now FieldsArray) to extend successfully array with its methods.
- Updated documentation
- Added content-certificates support;
- Fixed problem with supported options
- Added description to be available for override (thank you, Artsiom Aliakseyenka);
- Schema: changed
webServiceURLRegex andauthenticationTokenbinding to this one - Schema: removed filter function for getValidated to return empty object in case of error;
- Added
OVV_KEYS_BADFORMATmessage to throw in case of error;
- Added .npmignore to exclude examples upload
- Replaced findIndex for find to get directly the pass type.
- Added function assignLength to wrap new objects with length property.
- Converted schemas arrow functions to functions and added descriptive comments.
- Added noop function instead creating new empty functions.
- Bugfix: when overrides is not passed as option, the pass does not get generated.
- Added schema support for sharingProhibited (not documented in ppfr)
- Updated declaration file
- Fixed problem in error message resolving on multiple %s;
- Added debug messages in messages.js;
- Added more comments;
- Moved literal debug messages to messages.js;
- Edited formatMessage (was formatError) to check also among debugMessages
- Moved
_parseCertificatesoutside of pass and renamed it in readCertificates; - Changed
readCertificatesto return object containing name:parsed-pem; - Added
readCertificatesandthis.Certificatesmerging before model reading;
- Minor changes to READMEs and core.
- Updated documentation
- Fix model initialization validation
- Improved README
- Added logo in assets and README
- Added updates for OpenSSL for Windows in termal steps for cers generation
- Updated dependencies minimum version
- Added working example for load
- Fix typos for non-mac guide
- Removed
expressfrom dev dependencies; - Added
.loadtype definition - Added
.loadto documentation; - Added
.loadfunction to fetch pictures from the web and implemented fetching function inside logic flow