This commit is contained in:
Alexander Cerutti
2019-04-03 19:56:41 +02:00
parent f35c4cf5e4
commit 1c8cf666fb
3 changed files with 127 additions and 43 deletions

View File

@@ -3,68 +3,127 @@
Since every new minor, major or patch version is pushed in the repository with the npm autogenerated commit for version update, a history become needed. Since every new minor, major or patch version is pushed in the repository with the npm autogenerated commit for version update, a history become needed.
The lists won't include the npm autogenerated commit. The lists won't include the npm autogenerated commit.
___
## 1.5.8
[ [#654e2b5dc](/commit/654e2b5dce7b4297795d6ba93b8eb23fee8e5795) ]
Now checking both static list and remote list before raising the error for missing files
(thank you, Artsiom Aliakseyenka)
[ [#a62d8f35e](/commit/a62d8f35ea00021562ff4855dbb2e6a00001534a) ]
Renamed __barcodeAutogen to barcodesFromUncompleteData and moved it outside of Pass class;
Renamed __barcodeAutocomplete to Symbol/barcodesFillMissing;
Renamed __barcodeChooseBackward to Symbol/barcodesSetBackward;
Removed context binding when passing above methods with alises after using .barcode();
[ [#d5d4d9617](/commit/d5d4d9617f50bd5a709a260d4c1312fee69359d2) ]
Edited BRC_ATC_MISSING_DATA message
___
## 1.5.7 ## 1.5.7
[ [#c0994b80b](/commit/c0994b80be62023872de0251b45d19a66145f9ef) ] - Moved tests to spec folder with jasmine configuration [ [#c0994b80b](/commit/c0994b80be62023872de0251b45d19a66145f9ef) ]
[ [#33ca24d28](/commit/33ca24d28d09caad6c5eb0cde949b13a9053faf3) ] - Fixed barcodes validation problem Moved tests to spec folder with jasmine configuration
[ [#7c2540a93](/commit/7c2540a93d46e0ba71400b2eb5e0fceee9dd6445) ] - Re-engineered FieldContainer (now FieldsArray) to extend successfully array with its methods. [ [#33ca24d28](/commit/33ca24d28d09caad6c5eb0cde949b13a9053faf3) ]
Fixed barcodes validation problem
[ [#7c2540a93](/commit/7c2540a93d46e0ba71400b2eb5e0fceee9dd6445) ]
Re-engineered FieldContainer (now FieldsArray) to extend successfully array with its methods.
___ ___
## 1.5.6 ## 1.5.6
[ [#5e917d6db](/commit/5e917d6dbbf4445480bb4a5cd782745f7f391194) ] - Updated documentation [ [#5e917d6db](/commit/5e917d6dbbf4445480bb4a5cd782745f7f391194) ]
[ [#bf2b8f655](/commit/bf2b8f655e35e0d9d1a7d6e837c9a234fd663a41) ] - Added content-certificates support; Updated documentation
Fixed problem with supported options
[ [#a9f71f113](/commit/a9f71f113d1093532c6899e05abcdf540be3ac17) ] - Added description to be available for override (thank you, Artsiom Aliakseyenka); [ [#bf2b8f655](/commit/bf2b8f655e35e0d9d1a7d6e837c9a234fd663a41) ]
Added content-certificates support;
Fixed problem with supported options
[ [#a9f71f113](/commit/a9f71f113d1093532c6899e05abcdf540be3ac17) ]
Added description to be available for override (thank you, Artsiom Aliakseyenka);
___ ___
## 1.5.5 ## 1.5.5
[ [#14582ba9d](/commit/14582ba9d0fc15fcbdb350b96120b1f85846fa58) ] - Schema: changed webServiceURL Regex and authenticationToken binding to this one [ [#14582ba9d](/commit/14582ba9d0fc15fcbdb350b96120b1f85846fa58) ]
[ [#02a932ce7](/commit/02a932ce7a9eac0b444ba0367f861bdbb701c880) ] - Schema: removed filter function for getValidated to return empty object in case of error; Schema: changed webServiceURL Regex and authenticationToken binding to this one
Added OVV_KEYS_BADFORMAT message to throw in case of error;
[ [#02a932ce7](/commit/02a932ce7a9eac0b444ba0367f861bdbb701c880) ]
Schema: removed filter function for getValidated to return empty object in case of error;
Added OVV_KEYS_BADFORMAT message to throw in case of error;
___ ___
## 1.5.4 ## 1.5.4
[ [#71cb678cf](/commit/71cb678cfa7b9934f4f441acd013de0f2b40ca9f) ] - Added .npmignore to exclude examples upload [ [#71cb678cf](/commit/71cb678cfa7b9934f4f441acd013de0f2b40ca9f) ]
[ [#1d1f9f9c9](/commit/1d1f9f9c9082d49a5252c4fe8f98e8c8a0a61930) ] - Replaced findIndex for find to get directly the pass type. Added .npmignore to exclude examples upload
[ [#b32c2efcd](/commit/b32c2efcd096a29b374cc1c2ff0f8506023c7d5c) ] - Added function assignLength to wrap new objects with length property. [ [#1d1f9f9c9](/commit/1d1f9f9c9082d49a5252c4fe8f98e8c8a0a61930) ]
[ [#e4b3436b4](/commit/e4b3436b468b196649097e2f4c43b7f44ae1b073) ] - Converted schemas arrow functions to functions and added descriptive comments. Replaced findIndex for find to get directly the pass type.
[ [#5e4d3b8ca](/commit/5e4d3b8ca1366fd4b30eeb674665a5ee149be087) ] - Added noop function instead creating new empty functions. [ [#b32c2efcd](/commit/b32c2efcd096a29b374cc1c2ff0f8506023c7d5c) ]
Added function assignLength to wrap new objects with length property.
[ [#e4b3436b4](/commit/e4b3436b468b196649097e2f4c43b7f44ae1b073) ]
Converted schemas arrow functions to functions and added descriptive comments.
[ [#5e4d3b8ca](/commit/5e4d3b8ca1366fd4b30eeb674665a5ee149be087) ]
Added noop function instead creating new empty functions.
___ ___
## 1.5.3 ## 1.5.3
[ [#56da2a390](/commit/56da2a3908c0d54a73288ca13f223a909d997998) ] - Bugfix: when overrides is not passed as option, the pass does not get generated. [ [#56da2a390](/commit/56da2a3908c0d54a73288ca13f223a909d997998) ]
Bugfix: when overrides is not passed as option, the pass does not get generated.
___ ___
## 1.5.2 ## 1.5.2
[ [#47ff693b6](/commit/47ff693b662d495fa1012d8a7c90880fb50e056b) ] - Added schema support for sharingProhibited (not documented in ppfr) [ [#47ff693b6](/commit/47ff693b662d495fa1012d8a7c90880fb50e056b) ]
Added schema support for sharingProhibited (not documented in ppfr)
___ ___
## 1.5.1 ## 1.5.1
[ [#572605ef4](/commit/572605ef471c28c3e19e84f0a050af0949301f1a) ] - Updated declaration file [ [#572605ef4](/commit/572605ef471c28c3e19e84f0a050af0949301f1a) ]
Updated declaration file
[ [#9a9d883d3](/commit/9a9d883d3fb00716790ba785bbda1ffc5f7563ce) ] [ [#9a9d883d3](/commit/9a9d883d3fb00716790ba785bbda1ffc5f7563ce) ]
- Fixed problem in error message resolving on multiple %s;
- Added debug messages in messages.js; Fixed problem in error message resolving on multiple %s;
- Added more comments;
- Moved literal debug messages to messages.js; Added debug messages in messages.js;
- Edited formatMessage (was formatError) to check also among debugMessages
Added more comments;
Moved literal debug messages to messages.js;
Edited formatMessage (was formatError) to check also among debugMessages
[ [#27339bfda](/commit/27339bfdac3f973b10e111a9604fd32db5c074fc) ] - Minor improvements [ [#27339bfda](/commit/27339bfdac3f973b10e111a9604fd32db5c074fc) ] - Minor improvements
@@ -73,42 +132,67 @@ ___
[ [#cf5c99b16](/commit/cf5c99b16a62613e6225fbf0d5587aa8bb58616b) ] [ [#cf5c99b16](/commit/cf5c99b16a62613e6225fbf0d5587aa8bb58616b) ]
- Moved _parseCertificates outside of pass and renamed it in readCertificates; Moved _parseCertificates outside of pass and renamed it in readCertificates;
- Changed readCertificates to return object containing name:parsed-pem;
- Added readCertificates and this.Certificates merging before model reading; Changed readCertificates to return object containing name:parsed-pem;
Added readCertificates and this.Certificates merging before model reading;
___ ___
## 1.4.2 ## 1.4.2
[ [#92fc5f826](/commit/92fc5f8264e14f89bfff039dc7985493b74d5c7b) ] - Minor changes to READMEs and core. [ [#92fc5f826](/commit/92fc5f8264e14f89bfff039dc7985493b74d5c7b) ]
[ [#96e2b628f](/commit/96e2b628fe0204a188d7dbb32bf125a987100caf) ] - Updated documentation Minor changes to READMEs and core.
[ [#96e2b628f](/commit/96e2b628fe0204a188d7dbb32bf125a987100caf) ]
Updated documentation
___ ___
## 1.4.1 ## 1.4.1
[ [#4b65e76be](/commit/4b65e76be76c6e6a33a53f16c5447396fb307c2c), [ [#4b65e76be](/commit/4b65e76be76c6e6a33a53f16c5447396fb307c2c),
[#2a71d0778](/commit/2a71d07788e286da993b601791dba8778152fd6d) ] - [PR MERGE] Fix model initialization validation [#2a71d0778](/commit/2a71d07788e286da993b601791dba8778152fd6d) ]
[ [#96e2b628f](/commit/153108ad446ef4d8827207a3dcbb27108c0e4d7a) ] - Improved README [PR MERGE] Fix model initialization validation
[ [#96e2b628f](/commit/ab6dd4ff68309d5b678eef36182272576790e12b) ] - Added logo in assets and README [ [#96e2b628f](/commit/153108ad446ef4d8827207a3dcbb27108c0e4d7a) ]
[ [#96e2b628f](/commit/b305633ed382043567fef6ac4f771febf401d001) ] - Added updates for OpenSSL for Windows in termal steps for cers generation Improved README
[ [#9055390bb](/commit/9055390bb32bce571857d6e348e34696fa9c3738) ] - Updated dependencies minimum version [ [#96e2b628f](/commit/ab6dd4ff68309d5b678eef36182272576790e12b) ]
Added logo in assets and README
[ [#96e2b628f](/commit/b305633ed382043567fef6ac4f771febf401d001) ]
Added updates for OpenSSL for Windows in termal steps for cers generation
[ [#9055390bb](/commit/9055390bb32bce571857d6e348e34696fa9c3738) ]
Updated dependencies minimum version
___ ___
## 1.4.0 ## 1.4.0
[ [#1ca53adc4](/commit/1ca53adc4debeb67d9a65797ffabd90841de8c21) ] - Added working example for load [ [#1ca53adc4](/commit/1ca53adc4debeb67d9a65797ffabd90841de8c21) ]
[ [#4b2aa68ff](/commit/4b2aa68ffba1dec2a55126e4d2067f7150b8188c) ] - Added .load type definition Added working example for load
[ [#8398e077b](/commit/8398e077b1988512af57852e2c7a881a9f2abedf) ] - Fix typos for non-mac guide [ [#4b2aa68ff](/commit/4b2aa68ffba1dec2a55126e4d2067f7150b8188c) ]
Added .load type definition
[ [#8398e077b](/commit/8398e077b1988512af57852e2c7a881a9f2abedf) ]
Fix typos for non-mac guide
[ [#2e344e436](/commit/2e344e4367a395a66796a83e21657eec492373d1) ] [ [#2e344e436](/commit/2e344e4367a395a66796a83e21657eec492373d1) ]
- Added .load to documentation;
- removed express from dev dependencies
[ [#b68dfe0d8](/commit/b68dfe0d8025a68b137cfc37c8b9f34a404c05e7) ] - Added .load function to fetch pictures from the web and implemented fetching function inside logic flow Added .load to documentation;
Removed express from dev dependencies;
[ [#b68dfe0d8](/commit/b68dfe0d8025a68b137cfc37c8b9f34a404c05e7) ]
Added .load function to fetch pictures from the web and implemented fetching function inside logic flow

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "passkit-generator", "name": "passkit-generator",
"version": "1.5.7", "version": "1.5.8",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "passkit-generator", "name": "passkit-generator",
"version": "1.5.7", "version": "1.5.8",
"description": "The easiest way to generate custom Apple Wallet passes in Node.js", "description": "The easiest way to generate custom Apple Wallet passes in Node.js",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {