112.md (12614B)
1 # PR #112 fix(deps): update dependency node-telegram-bot-api to ^0.30.0 2 3 - **Status:** merged 4 - **Author:** @renovate[bot] 5 - **Created:** 2018-03-25T16:04:09Z 6 - **Branch:** renovate/node-telegram-bot-api-0.x → master 7 - **Merged:** 2018-03-25T16:04:47Z 8 - **Labels:** enhancement 9 - **Diff:** [112.diff](./112.diff) 10 11 --- 12 13 This Pull Request updates dependency [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api) from `^0.29.0` to `^0.30.0` 14 15 16 17 <details> 18 <summary>Release Notes</summary> 19 20 ### [`v0.30.0`](https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md#​03000300---2017-12-21) 21 22 Added: 23 24 1. Support Bot API v3.5: (by @​GochoMugo) 25 * Allow `provider_data` parameter in *TelegramBot#sendInvoice* 26 * Add method *TelegramBot#sendMediaGroup()* 27 1. Support Bot API v3.4: (by @​kamikazechaser) 28 * Add methods *TelegramBot#editMessageLiveLocation*, *TelegramBot#stopMessageLiveLocation* (#​439) 29 * Add methods *TelegramBot#setChatStickerSet*, *TelegramBot#deleteChatStickerSet* (#​440) 30 1. Add methods: 31 * *TelegramBot#getFileStream* (#​442) (by @​GochoMugo, requested-by @​Xaqron) 32 1. Add options to *TelegramBot#stopPolling()* (by @​GochoMugo) 33 1. Add `metadata` argument in `message` event (and friends e.g. `text`, `audio`, etc.) (#​409) (by @​jlsjonas, @​GochoMugo) 34 1. Add forward-compatibility i.e. support future additional Telegram options (by @​GochoMugo) 35 1. Add support for Node.js v9 (by @​GochoMugo) 36 1. Document *TelegramBot.errors*, *TelegramBot.messageTypes* (by @​GochoMugo) 37 38 Changed: 39 40 1. Update *TelegramBot#answerCallbackQuery()* signature (by @​GochoMugo) 41 1. Improve default error logging of `polling_error` and `webhook_error` (#​377) 42 1. Update dependencies 43 44 Deprecated: 45 46 1. Sending files: *(See [usage guide][usage-sending-files])* (by @​hufan-akari, @​GochoMugo) 47 * Error will **not** be thrown if `Buffer` is used and file-type could **not** be detected. 48 * Filename will **not** be set to `data.${ext}` if `Buffer` is used 49 * Content type will **not** default to `null` or `undefined` 50 51 Fixed: 52 53 1. Fix the offset infinite loop bug (#​265, #​36) (by @​GochoMugo) 54 1. Fix game example (#​449, #​418) (by @​MCSH) 55 56 57 * * * 58 59 --- 60 61 </details> 62 63 64 <details> 65 <summary>Commits</summary> 66 67 #### v0.30.0 68 - [`b6349de`](https://github.com/yagop/node-telegram-bot-api/commit/b6349de67e64021138497c77015b81acc55ba163) doc: Document TelegramBot#on() 69 - [`6b21ca3`](https://github.com/yagop/node-telegram-bot-api/commit/6b21ca3570dc4831e31c4e0c6b227bc07311b6dd) doc: Update contributing guidelines 70 - [`9cf36a3`](https://github.com/yagop/node-telegram-bot-api/commit/9cf36a3b20ad1d5bdac8f881eec6051e42f90828) pkg: Add support for Node v9 71 - [`3722c71`](https://github.com/yagop/node-telegram-bot-api/commit/3722c7182cfd8f6480d74904fb83859cb9cc1b5f) src/telegram: Fix TelegramBot#answerCallbackQuery() signature 72 - [`49df0c6`](https://github.com/yagop/node-telegram-bot-api/commit/49df0c6e0233124a9a24bae23e4ca93773a4f69a) src/telegram: Add metadata argument in `message` event (and friends) 73 - [`bbac07a`](https://github.com/yagop/node-telegram-bot-api/commit/bbac07ad2c730a406fc4ff2a2648c78250cf3ed1) doc: Document TelegramBot.errors, TelegramBot.messageTypes 74 - [`dc897d9`](https://github.com/yagop/node-telegram-bot-api/commit/dc897d95e5be943877092117316012243b955bd8) chore: Update npm script `gen-doc` to `doc` 75 - [`e03ffe5`](https://github.com/yagop/node-telegram-bot-api/commit/e03ffe5d0412eb2d5314794286f4b94b130aa072) doc: Update README.md (#​457) 76 - [`6263dcb`](https://github.com/yagop/node-telegram-bot-api/commit/6263dcb007470afea7b07b23525531424c5821c2) examples: Fix game to answer callback query correctly 77 - [`8c965d3`](https://github.com/yagop/node-telegram-bot-api/commit/8c965d3a14a8941e35f4c60f00c4cd2e55d17038) src: Improve default error logging of `polling_error`, `webhook_error` 78 - [`ea420ed`](https://github.com/yagop/node-telegram-bot-api/commit/ea420edad95e1f5d1f29bc36d788a0c3e4f5b716) doc/help: Add link to bug '502 Bad Gateway' 79 - [`772609c`](https://github.com/yagop/node-telegram-bot-api/commit/772609c33497775bdcdde40cf9ac70cb37c72ad6) doc: Update ParseError message; error might not be from Telegram 80 - [`ba4d207`](https://github.com/yagop/node-telegram-bot-api/commit/ba4d207684c123f116efb102557fba9f5c203771) src: Improve performance when matching message types 81 - [`16045fd`](https://github.com/yagop/node-telegram-bot-api/commit/16045fda6e71cea131bcc90e8cb7d7c634b91d4c) Add tutorial link RUS 82 - [`757ba24`](https://github.com/yagop/node-telegram-bot-api/commit/757ba2476a5fbf06d337c7d23da91dfc57c21649) Persian Language added 83 - [`3fbc6c8`](https://github.com/yagop/node-telegram-bot-api/commit/3fbc6c85b085a15390eda8044de713c46da01619) Merge pull request #​462 from Archakov06/patch-2 84 - [`5510c07`](https://github.com/yagop/node-telegram-bot-api/commit/5510c078769aa15e7216aeca92364f41b07513eb) Merge branch 'master' into patch-1 85 - [`20c5ab6`](https://github.com/yagop/node-telegram-bot-api/commit/20c5ab67107756657af784e15707479543b51f84) Merge branch 'master' into patch-1 86 - [`fd337e9`](https://github.com/yagop/node-telegram-bot-api/commit/fd337e91f2ea355c5de6029e7d747338c04136be) Merge pull request #​463 from saeedhei/patch-1 87 - [`4586ebd`](https://github.com/yagop/node-telegram-bot-api/commit/4586ebd10bc367c0c1fd3a6448ddcb2e3baa638f) src/telegram: JSON-serialize shipping_options in answerShippingQuery (#​468) 88 - [`633bd83`](https://github.com/yagop/node-telegram-bot-api/commit/633bd83a0adbaeb72620d58044a642b3d498f2cc) src/telegram: JSON-serialize 'mask_position's 89 - [`1f61b82`](https://github.com/yagop/node-telegram-bot-api/commit/1f61b82aa8c44e3da060dc45b5d99c73b31a88e1) doc: Fix documented types for params `chatId`, `userId` 90 - [`65384a1`](https://github.com/yagop/node-telegram-bot-api/commit/65384a11d4a472e861bc677fb45790f4a12a4210) pr: Merge kamikazechaser/node-telegram-bot-api#feature/livelocations 91 - [`79118b9`](https://github.com/yagop/node-telegram-bot-api/commit/79118b9fae406ac8a9f7bd7d4797d80c31976aa3) doc: Minor fixes, Update changelog 92 - [`59378d3`](https://github.com/yagop/node-telegram-bot-api/commit/59378d381b53856efe4c26218627597a260409e3) test: Add tests 93 - [`1347289`](https://github.com/yagop/node-telegram-bot-api/commit/13472899e4aaa31e13cf9572b02e4e685d7f6019) pr: Merge edited PR (#​439) 94 - [`cfde217`](https://github.com/yagop/node-telegram-bot-api/commit/cfde217488c606f6a95f1ca90c374dbdf6cc16f3) test: Fix lint error 95 - [`816511b`](https://github.com/yagop/node-telegram-bot-api/commit/816511b19fefc98aa37bfe19f7928ea1384fc2e0) pr: Merge kamikazechaser/node-telegram-bot-api#feature/stickersets 96 - [`183b6bd`](https://github.com/yagop/node-telegram-bot-api/commit/183b6bdb28fa02a50b0988d6e4a47ec6d34a0d2b) doc: Generate API reference, Update changelog 97 - [`0008a39`](https://github.com/yagop/node-telegram-bot-api/commit/0008a39227a8764f9a6d4d60c5749e89fc46f2af) pr: Merge edited PR (#​440) 98 - [`fce9244`](https://github.com/yagop/node-telegram-bot-api/commit/fce9244dfd970c9959d2c6ab749bd8fc307fd280) doc: Update help information 99 - [`57dec19`](https://github.com/yagop/node-telegram-bot-api/commit/57dec19babe78e674edcbaca06e0609610eb2777) src: Support future additional Telegram parameters 100 - [`012e7df`](https://github.com/yagop/node-telegram-bot-api/commit/012e7df35ff44d07424ff87e60f0bd39e2df8dfc) src: Support API v3.5 `provider_data` parameter 101 - [`ce9ff57`](https://github.com/yagop/node-telegram-bot-api/commit/ce9ff57a63b09a87868524b35f6b55408924e864) src/telegram: Don't JSON-serialize parameter if already of String type 102 - [`b1f0eba`](https://github.com/yagop/node-telegram-bot-api/commit/b1f0ebaf173d619e76725ac459b95819eb53289e) src/polling: Add options to TelegramBot#stopPolling() 103 - [`fb1f434`](https://github.com/yagop/node-telegram-bot-api/commit/fb1f4344b38b94b7af3bbeb2b213783f1319e85f) test: Disable tests on Node.js v0.12 104 - [`d6083e4`](https://github.com/yagop/node-telegram-bot-api/commit/d6083e4327bcf43196a7305da7e7a93b4b006a0a) src: Support file options, defaults in sending files 105 - [`b774ff4`](https://github.com/yagop/node-telegram-bot-api/commit/b774ff436fb30fa2f51dd6780a641e91cdf5b728) src: Minor fixes 106 - [`3b603b1`](https://github.com/yagop/node-telegram-bot-api/commit/3b603b1dbdca5fbc59124041a15113c5e2366202) src: Minor fix, complete TODO 107 - [`8edb687`](https://github.com/yagop/node-telegram-bot-api/commit/8edb687283853202cfd1bd924bc6802e483e6658) src: Add fileOptions to remaining file-sending methods 108 - [`0870684`](https://github.com/yagop/node-telegram-bot-api/commit/0870684d831e02c54c4b86cbd9959c424d858148) src/polling: Fix the Offset Infinite Loop bug (#​265) 109 - [`d9692f4`](https://github.com/yagop/node-telegram-bot-api/commit/d9692f45a95e2bbc211b2297e4886084008b574a) src/telegram: Add TelegramBot#getFileStream() 110 - [`17f8394`](https://github.com/yagop/node-telegram-bot-api/commit/17f839498eaa51fc34e99665715384434933907e) chore: Re-organise examples 111 - [`455a93c`](https://github.com/yagop/node-telegram-bot-api/commit/455a93cacb0ca2c1ddd679e29d46a781f0d782e8) examples: Add notice of openshift 2 shutdown 112 - [`b91409a`](https://github.com/yagop/node-telegram-bot-api/commit/b91409a2b641a628393c634fc59179b7105ba501) test: Fix path to ssl key, cert 113 - [`b968e89`](https://github.com/yagop/node-telegram-bot-api/commit/b968e893d3966221dbbd12ef2a98218612c15267) src/telegram: Populate Stream#path from TelegramBot#getFileStream() 114 - [`04e8b89`](https://github.com/yagop/node-telegram-bot-api/commit/04e8b892aaccee2c64a19374e32f713dd4739dd1) src/telegram: Emit 'info' on stream from TelegramBot#getFileStream() 115 - [`f28416f`](https://github.com/yagop/node-telegram-bot-api/commit/f28416fbaf72b74bcf682e4b5486a3cd0bcef5fb) src/telegram: Implement downloadFile() in terms of getFileStream() 116 - [`4051117`](https://github.com/yagop/node-telegram-bot-api/commit/4051117ed023c4e59c073091679ffe684be99599) src: Minor reorganisation, fixes 117 - [`d719799`](https://github.com/yagop/node-telegram-bot-api/commit/d7197998ddda32f4a69562372487a1ceaf090987) doc: Add note on specifying additional Telegram query options 118 - [`1a08221`](https://github.com/yagop/node-telegram-bot-api/commit/1a08221174044fbdd09b142964c6d5dc4e9c9737) src/telegram: Improve sending files (#​471) 119 - [`584610b`](https://github.com/yagop/node-telegram-bot-api/commit/584610baaf33bf57dbf6124fe13bfe51955e991c) doc: Add tutorial [RUS] (#​477) 120 - [`0781ae6`](https://github.com/yagop/node-telegram-bot-api/commit/0781ae685d2dda6710fd9866e86c8181b8e04262) src/telegram: Add TelegramBot#sendMediaGroup() 121 - [`4358f20`](https://github.com/yagop/node-telegram-bot-api/commit/4358f20dbbd8ce8af6054461cb8363cfebb33369) doc: Minor fixes on documentation 122 - [`96c50ba`](https://github.com/yagop/node-telegram-bot-api/commit/96c50ba1bd23955cc40f5a4a4c27a993b19d79ed) doc: Improve deprecation messages 123 - [`55332c3`](https://github.com/yagop/node-telegram-bot-api/commit/55332c3c254a3333e200b35b4530f699b73c81de) doc: Update changelog, version badge 124 - [`8edf1fb`](https://github.com/yagop/node-telegram-bot-api/commit/8edf1fbc6de74fbd2f154d4b6417d10546dcd875) doc: Update changelog 125 - [`1f4c79e`](https://github.com/yagop/node-telegram-bot-api/commit/1f4c79ec8e86a95c931b49d7dd4b9677932525c7) chore: Ignore package lock file 126 - [`3096966`](https://github.com/yagop/node-telegram-bot-api/commit/309696622dd93e0a88177b2215ebc478511f5fab) doc: Showcase and update contributor list 127 - [`2bdd50f`](https://github.com/yagop/node-telegram-bot-api/commit/2bdd50fdc2dd96535fb72b0da4e26947236a5330) chore/deps: Update dependencies 128 - [`7e9e9b1`](https://github.com/yagop/node-telegram-bot-api/commit/7e9e9b11b3b55fc75fbc073f28a14c5d1910c491) test: Fix previously-uncaught lint errors 129 - [`5cecffc`](https://github.com/yagop/node-telegram-bot-api/commit/5cecffc34b0fd6c4352bd58d678caddc3b282525) chore/deps: Downgrade eslint for Node v4 compatibility 130 - [`1169f8e`](https://github.com/yagop/node-telegram-bot-api/commit/1169f8e43043745d3ba50725f93fd456e7c63838) chore: Use npm script prepublishOnly instead of deprecated prepublish 131 - [`119d892`](https://github.com/yagop/node-telegram-bot-api/commit/119d892c3490e79c45f0e1d314fb41d3ecfb81cd) release: v0.30.0 132 133 </details> 134 135 136 137 --- 138 139 This PR has been generated by [Renovate Bot](https://renovateapp.com). 140