UNPKG

rest-api-handler

Version:
341 lines (253 loc) 16.2 kB
# Change Log All notable changes to this project will be documented in this file. ## v2.22.18 (2022-03-28) ### Fixed - [c507fd8](https://github.com/fabulator/rest-api-handler/commit/c507fd84f153610b7c5abff3bf3d4e0b003d4c09) Update lock to make security bots happy. ## v2.22.17 (2022-03-27) ### Fixed - [de7af40](https://github.com/fabulator/rest-api-handler/commit/de7af40db993fa45a9dd20a8e11d9b7cbcb9422e) Update lock to make security bots happy. ## v2.22.16 (2022-03-21) ### Fixed - [10e03ef](https://github.com/fabulator/rest-api-handler/commit/10e03ef703303c5d40a70b947de2df2536575b5d) Update lock to make security bots happy. ## v2.22.15 (2022-03-21) ### Fixed - [607478e](https://github.com/fabulator/rest-api-handler/commit/607478e78ca5019f21449e7a7b5c6321347a2615) Update lock to make security bots happy. ## v2.22.14 (2022-03-14) ### Fixed - [975f926](https://github.com/fabulator/rest-api-handler/commit/975f9260b3966e9353d882bad073725e98ec450d) Update lock to make security bots happy. ## v2.22.13 (2022-03-13) ### Fixed - [fde9596](https://github.com/fabulator/rest-api-handler/commit/fde95967811939e65d1286c3bc574cd6ac2db0f7) Update lock to make security bots happy. ## v2.22.12 (2022-03-07) ### Fixed - [796f96e](https://github.com/fabulator/rest-api-handler/commit/796f96ec1bb9c1f72a671732c9d5aeeaa9ea726c) Update lock to make security bots happy. ## v2.22.11 (2022-03-07) ### Fixed - [4aa51cf](https://github.com/fabulator/rest-api-handler/commit/4aa51cf0ba045611e34ab1e88506ff7193e0e3e4) Update lock to make security bots happy. ## v2.22.10 (2022-03-06) ### Fixed - [32cf840](https://github.com/fabulator/rest-api-handler/commit/32cf8408332aa88069d9d56f0d860c1696e5098f) Update lock to make security bots happy. ## v2.22.9 (2022-02-28) ### Fixed - [38bd802](https://github.com/fabulator/rest-api-handler/commit/38bd80250c643fc4d936961dc61e4444a4623fc0) Update lock to make security bots happy. ## v2.22.8 (2022-02-27) ### Fixed - [aae2f72](https://github.com/fabulator/rest-api-handler/commit/aae2f7225b701e96f29426c81dabacfe388edb42) Update lock to make security bots happy. ## v2.22.7 (2022-02-21) ### Fixed - [a617269](https://github.com/fabulator/rest-api-handler/commit/a61726997ee366e871379b2d944ba926c6a7954f) Update lock to make security bots happy. ## v2.22.6 (2022-02-21) ### Fixed - [1f690f9](https://github.com/fabulator/rest-api-handler/commit/1f690f9ce9f6f05c832246ca3ef9854d73deaad2) Update lock to make security bots happy. ## v2.22.5 (2022-02-20) ### Fixed - [2585a67](https://github.com/fabulator/rest-api-handler/commit/2585a6787af11bed998d56161f381bde30ccf992) Update lock to make security bots happy. ## v2.22.4 (2022-02-14) ### Fixed - [a681e16](https://github.com/fabulator/rest-api-handler/commit/a681e1616074c122bab89edd745ea0433434eb83) Update lock to make security bots happy. ## v2.22.3 (2022-02-14) ### Fixed - [8a9ef11](https://github.com/fabulator/rest-api-handler/commit/8a9ef1142ac179b46f18fb7c71c5314463ea6d90) Update lock to make security bots happy. ## v2.22.2 (2022-02-13) ### Fixed - [5374f7e](https://github.com/fabulator/rest-api-handler/commit/5374f7e0800fef49c39653ee8467d906ff838c74) Update lock to make security bots happy. ## v2.22.1 (2022-02-07) ### Fixed - [682d208](https://github.com/fabulator/rest-api-handler/commit/682d20829670a2d2ad8482b7055ff1c812c66b40) Update lock to make security bots happy. ## v2.22.0 (2022-02-06) ### Changed - [5e9b0e0](https://github.com/fabulator/rest-api-handler/commit/5e9b0e08283ff84ff3c877a0243aef12dd8e3e0d) Update dependencies. - [7472fd2](https://github.com/fabulator/rest-api-handler/commit/7472fd2c2db8c0475b358f76b0a03c951de3143c) Update dependency json-schema to 0.4.0 [SECURITY] - [d16f4ed](https://github.com/fabulator/rest-api-handler/commit/d16f4ed4f6c1cfb01b7d727b50f2c1045142c756) Update dependency ansi-regex to 5.0.1 [SECURITY] ### Fixed - [bfeb33a](https://github.com/fabulator/rest-api-handler/commit/bfeb33a350ec753e2379eeaed9ba43694f42ac57) Update lock for security updated - [37d7dfe](https://github.com/fabulator/rest-api-handler/commit/37d7dfe7bc7b26962b38966eb2e409d0a63e935d) Update lock for security updated - [04c3ad3](https://github.com/fabulator/rest-api-handler/commit/04c3ad310649b5d247d3083326795cd31d00ee1d) Update lock for security updated - [320d036](https://github.com/fabulator/rest-api-handler/commit/320d0368df7b08e7eb747d08574f1b88930c6248) Update lock for security updated - [f98af7f](https://github.com/fabulator/rest-api-handler/commit/f98af7fd166d25eb6b208f97afe92d0e87d6d38e) Update lock for security updated - [22c55ae](https://github.com/fabulator/rest-api-handler/commit/22c55aee0ae2044b962664b32a148c12f0e5ef77) Update lock for security updated - [911982d](https://github.com/fabulator/rest-api-handler/commit/911982d61c119a6a3a1908644c7075d56189d560) Update lock for security updated - [1e7374f](https://github.com/fabulator/rest-api-handler/commit/1e7374f21737b131ac17341fbb4b086ef81f5138) Update lock for security updated - [a16837d](https://github.com/fabulator/rest-api-handler/commit/a16837d1d991f73556eef1a3dd122b31c9efdb71) Update lock for security updated - [c6726da](https://github.com/fabulator/rest-api-handler/commit/c6726dac7fe8d015bb5834301c61b0e78d392b3f) Update lock for security updated - [e9bfe51](https://github.com/fabulator/rest-api-handler/commit/e9bfe51026b7e549f58ad5e5a7459cf19749402c) Update lock for security updated - [f6c55e0](https://github.com/fabulator/rest-api-handler/commit/f6c55e071c1fae72bbea61df6d22b07cd5f8ace9) Update lock for security updated - [ec0b311](https://github.com/fabulator/rest-api-handler/commit/ec0b3113baa129d4c40c65317d01dae92a96e42e) Update lock for security updated - [cbaa599](https://github.com/fabulator/rest-api-handler/commit/cbaa599e533913055efca7b92fb42e2996d588d5) Update lock for security updated - [959317b](https://github.com/fabulator/rest-api-handler/commit/959317b55b45f2ff3664bee07df646181dcf5517) Update lock for security updated - [031a29d](https://github.com/fabulator/rest-api-handler/commit/031a29d7ea0858b564dc300d6ee6210fc485260f) Update lock for security updated - [a7fecd1](https://github.com/fabulator/rest-api-handler/commit/a7fecd1a047076a9f1165b5b321395a6a1dac670) Update lock for security updated - [e953228](https://github.com/fabulator/rest-api-handler/commit/e95322809a5d4c607e50297cfa2dc059bf86a21e) Update lock for security updated - [9a06c3c](https://github.com/fabulator/rest-api-handler/commit/9a06c3c7cd97c6312d82b703d4d1a93fea92f8e0) Update lock for security updated ## v2.21.9 (2021-08-23) ### Fixed - [4a3aa64](https://github.com/fabulator/rest-api-handler/commit/4a3aa648138066b542e669fe53ec390cc95a0377) Update lock for security updated ## v2.21.8 (2021-08-16) ### Fixed - [0a56321](https://github.com/fabulator/rest-api-handler/commit/0a56321f224df1ca522364981cd702a84f4c31c8) Update lock for security updated ## v2.21.7 (2021-08-09) ### Fixed - [786c2b5](https://github.com/fabulator/rest-api-handler/commit/786c2b51a87544ca58087dd048d88543d3d1ab1e) Update lock for security updated ## v2.21.6 (2021-08-02) ### Fixed - [6262561](https://github.com/fabulator/rest-api-handler/commit/6262561070901fe717fac7b07dd03cc8c3ff6394) Update lock for security updated ## v2.21.5 (2021-08-02) ### Fixed - [5e37232](https://github.com/fabulator/rest-api-handler/commit/5e372320aa19e0862b48bf6b24745820dd6b6803) Update lock for security updated ## v2.21.4 (2021-07-26) ### Fixed - [b354511](https://github.com/fabulator/rest-api-handler/commit/b354511e3512ded1fac834d51ef4a4769dc12d84) Update lock for security updated ## v2.21.3 (2021-07-26) ### Fixed - [0c3bb19](https://github.com/fabulator/rest-api-handler/commit/0c3bb19e90cb7ad884384f28e1ec623e856aa359) Update lock for security updated ## v2.21.2 (2021-07-19) ### Fixed - [850655d](https://github.com/fabulator/rest-api-handler/commit/850655d640e47baacf5d1d30a62fccc25d83e1f7) Update lock for security updated ## v2.21.1 (2021-07-19) ### Fixed - [262d306](https://github.com/fabulator/rest-api-handler/commit/262d3065ac22aef0b50470dd4c1b311ee79a378d) Update lock for security updated ## v2.21.0 (2021-07-18) ### Changed - [dd68bb9](https://github.com/fabulator/rest-api-handler/commit/dd68bb9a250c0cc85b87f51a75f9fd6d60ff510b) Update dependencies - [71e9c33](https://github.com/fabulator/rest-api-handler/commit/71e9c33fd45779c42499e61fab7666808e6c01f5) Update dev dependency semantic-release-config-fabulator to v2 ### Fixed - [4e4aa62](https://github.com/fabulator/rest-api-handler/commit/4e4aa627b682c95e779dab0e984779a9155159b1) Update lock for security updated - [84e1260](https://github.com/fabulator/rest-api-handler/commit/84e1260c9a7bf6b99933f6ef421f0614037db00d) Update lock for security updated - [b4b685c](https://github.com/fabulator/rest-api-handler/commit/b4b685c82b3c244c37b0f76db2faf91e5dc90f49) Update lock for security updated - [0ce5a2d](https://github.com/fabulator/rest-api-handler/commit/0ce5a2dcdcd5055584e3f6081f3670b17cd168c3) Update lock for security updated - [34a41cb](https://github.com/fabulator/rest-api-handler/commit/34a41cb2d956d12af1ccc72c20179051a72c5630) Update lock for security updated - [e27c682](https://github.com/fabulator/rest-api-handler/commit/e27c6822fd4900ad7791f4fb766fe409cd2c00a6) Update lock for security updated - [589ca0b](https://github.com/fabulator/rest-api-handler/commit/589ca0ba44aaaad5085ff83ae395ab453aa32e99) Update lock for security updated - [88553be](https://github.com/fabulator/rest-api-handler/commit/88553be778bcd6fba1f350168f899223bd06df16) Update lock for security updated - [c949543](https://github.com/fabulator/rest-api-handler/commit/c949543f0a1b85ba43e66908f92fdc1dbcdb2c9a) Update lock for security updated - [e929ef6](https://github.com/fabulator/rest-api-handler/commit/e929ef6492cf970070b1438eb672bce954fb9f2d) Update lock for security updated - [da5890a](https://github.com/fabulator/rest-api-handler/commit/da5890a283cd48f196d942dd76f2851cd2ef3d13) Update lock for security updated - [d22e9c0](https://github.com/fabulator/rest-api-handler/commit/d22e9c0e255867b6bdde71901ed6bebf9d82461a) Security lock update ## [2.20.0] 2020-07-15 ### Changed - [c3ec54f](https://github.com/fabulator/rest-api-handler/commit/c3ec54f558aa52d5d0d150fbb6f3d4a79fb1c45d) Update dependency @babel/runtime to v7.10.5 ## [2.19.0] 2020-07-01 ### Changed - [2efab1f](https://github.com/fabulator/rest-api-handler/commit/2efab1f945885f054720c394bf4f5388895381cb) Update dependency @babel/runtime to v7.10.4 ## [2.18.0] 2020-06-21 ### Changed - [6a4e900](https://github.com/fabulator/rest-api-handler/commit/6a4e9000d079c5af4a5aaaa07414bbde30bfdebc) Update dependency @babel/runtime to v7.10.3 - [dc0ff32](https://github.com/fabulator/rest-api-handler/commit/dc0ff32c40700834c6cdece712bb9368241ab80c) Update dev dependency cross-fetch to v3.0.5 ## [2.17.0] 2020-06-01 ### Changed - [5292ade](https://github.com/fabulator/rest-api-handler/commit/5292adec8dbf3f033d2a220ec484d5ff116ebd8e) Update dependency @babel/runtime to v7.10.2 ## [2.16.0] 2020-05-29 ### Changed - [8fbe720](https://github.com/fabulator/rest-api-handler/commit/8fbe72052a6965d589e3ca1fff09c0d40fc80d77) Update dependency @babel/runtime to v7.10.1 ## [2.15.0] 2020-04-30 ### Changed - [d1e0dbc](https://github.com/fabulator/rest-api-handler/commit/d1e0dbc855f9629c3845436dd93226ff87000b8d) Update dependency @babel/runtime to v7.9.6 ## [2.14.0] 2020-03-22 ### Changed - [83f647f](https://github.com/fabulator/rest-api-handler/commit/83f647f178d3f036c6aba5452d217580b32c8b06) Update dependency @babel/runtime to v7.9.2 ## [2.13.0] 2020-03-06 ### Changed - [bb56e3c](https://github.com/fabulator/rest-api-handler/commit/bb56e3c9ff8117f0a97202ae745de04d787c2c8a) Update dependency @babel/runtime to v7.8.7 - [2b49a97](https://github.com/fabulator/rest-api-handler/commit/2b49a97b3721f02f70e5bb1040f332933fc97564) Update dev dependency @socifi/eslint-config to v2.10.2 ## [2.12.0] 2020-01-31 ### Changed - [3184428](https://github.com/fabulator/rest-api-handler/commit/31844285c35d6c8f5b8dcbe89cf3d745c0ab191f) Update dependency @babel/runtime to v7.8.4 ## [2.11.0] 2020-01-14 ### Changed - [7ba1c88](https://github.com/fabulator/rest-api-handler/commit/7ba1c8892c177ae7c30a2f060d67f77647c0adf9) Update dependency @babel/runtime to v7.8.3 ## [2.10.0] 2020-01-13 ### Changed - [7e31da8](https://github.com/fabulator/rest-api-handler/commit/7e31da802a8c29834e3839bdf3a4376e5b98b5b3) Update dependency @babel/runtime to v7.8.0 ## [2.9.0] 2019-12-20 ### Changed - [1465eb7](https://github.com/fabulator/rest-api-handler/commit/1465eb70c7e90a7c44f0a6a6e1d211b0cef794c5) Update dependency @babel/runtime to v7.7.7 ## [2.8.0] 2019-12-09 ### Changed - [652358e](https://github.com/fabulator/rest-api-handler/commit/652358e6b34584a76eeeb068496ae24eb5a263b5) Update dependency @babel/runtime to v7.7.6 ## [2.7.0] 2019-12-07 ### Changed - [fad00a7](https://github.com/fabulator/rest-api-handler/commit/fad00a731cd961049905f528ce5bff4216103fe5) Update dependency @babel/runtime to v7.7.5 ## [2.6.0] 2019-11-24 ### Changed - [131b6ea](https://github.com/fabulator/rest-api-handler/commit/131b6ea6ddc41274baafccf68bdb7289e28d96a3) Update dependency @babel/runtime to v7.7.4 ## [2.5.0] 2019-11-09 ### Changed - [a3393ff](https://github.com/fabulator/rest-api-handler/commit/a3393ff9663e3e893b55d4acbc2b38efc7025ea9) Update dependency @babel/runtime to v7.7.2 ## [2.4.1] 2019-10-26 ### Fixed - [6f3d709](https://github.com/fabulator/rest-api-handler/commit/6f3d70963c80255d7f55316367ba074d67ca1027) Add missing dependenci babel runtime ## [2.4.0] 2019-10-24 ### Changed - [d4b99bf](https://github.com/fabulator/rest-api-handler/commit/d4b99bf46bf68d013e833d24968e05939b0164a3) Update dev dependency @socifi/rollup-config to ^2.2.2 ## [2.3.0] 2019-10-21 ### Changed - [ec42ec9](https://github.com/fabulator/rest-api-handler/commit/ec42ec9504c8fa024165613f0f4f9b6c929d2aed) Update dependencies and activate automatic releases. ### Other - [fc51917](https://github.com/fabulator/rest-api-handler/commit/fc51917344088980193ca6d5e8cd9a96671780c0) Update dependency @types/node to ^12.7.12 ## [2.2.0] 2019-10-07 ### Changed - Update babel dependency - Remove proto from DefaultException - not need from babel 7 ## [2.1.0] 2018-12-01 ### Added - Request info to Default response ## [2.0.0] 2018-11-16 ### Changed - Formats name are changed and no longer exported from library by them self. They are accessible from Api.FORMATS - Converted from flow to typescript ### Remove - defaultResponseProcessor method - docs config ## [1.8.1] 2018-06-27 ### Fixed - Encoding of get parameters ## [1.8.0] 2018-05-31 ### Added - Add option to define custom body decoder for DefaultResponseProcessor - Add option to get, post, put and delete request to define custom headers ## [1.7.0] 2018-05-31 ### Added - Add urldecode format for requests body ## [1.6.1] 2018-04-20 ### Fixed - Decode response without content type as text. ## [1.6.0] 2018-04-13 ### Added - Add docs generator ### Changed - Update packages ## [1.5.0] 2018-04-09 ### Added - Add new method fetchRequest that handles fetch API. It can be easily overrrided by its children. ## [1.4.1] 2018-03-28 ### Changed - Add name to exported function responseProcessor ## [1.4.0] 2018-03-28 ### Changed - Use better node polyfill for documentation - Add option to request full url ## [1.3.1] 2018-03-21 ### Fixed - Fix flow definitions - Change building strategy and improve compatibility with fetch definitions. ## [1.3.0] 2018-03-19 ### Changed - Update flow version to 68 - Add request info to exceptions ## [1.2.0] 2018-03-15 ### Changed - Better response decoding. If content type is not json or text, blob will be returned. ## [1.1.1] 2018-02-08 ### Fixed - Fixed flow validation. ## [1.1.0] 2018-02-07 ### Added - Add API exception handling. ## [1.0.2] 2018-01-26 ### Changed - Add module property to package.json that is linked to builded package with ES6 modules. ## [1.0.1] 2018-01-26 ### Changed - Name of package was changed from api-handler to rest-api-handler because the first one was denied by npm. ## [1.0.0] 2018-01-26 - First commit