iobroker.telegram 5.0.2 → 6.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +17 -14
  2. package/admin/blockly.js +904 -703
  3. package/admin/custom/assets/Components-RFUcDWVw.js +1 -0
  4. package/admin/custom/assets/{TelegramComponent-B2NWSbGI.js → TelegramComponent-BlbzWnGf.js} +1 -1
  5. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomTelegramSet__mf_owner__1-CYGgKKbw.js +1 -0
  6. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-DISCS45R.js +1 -0
  7. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-vHx8blec.js +1 -0
  8. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DjTnAwP3.js +1217 -0
  9. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-BN6j8j6d.js +1494 -0
  10. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-B1a-3_fw.js +9 -0
  11. package/admin/custom/assets/hostInit-BNe6sh6V.js +1 -0
  12. package/admin/custom/assets/{index-mc307YJJ.js → index-LrXX-mmr.js} +1 -1
  13. package/admin/custom/assets/{lib-DrMMUYBG.js → lib-RwYXypgP.js} +2 -2
  14. package/admin/custom/assets/{mf-entry-bootstrap-0-7aced7b2.js → mf-entry-bootstrap-0-6511586c.js} +7 -2
  15. package/admin/custom/assets/virtualExposes-D9ldD81W.js +1 -0
  16. package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomTelegramSet__customComponents_js-DrQPTDkD.js +1 -0
  17. package/admin/custom/assets/virtual_mf-exposes___mfe_internal__ConfigCustomTelegramSet__customComponents_js-CVExw4BU.js +2 -0
  18. package/admin/custom/customComponents.js +12 -1
  19. package/admin/i18n/de.json +10 -1
  20. package/admin/i18n/en.json +10 -1
  21. package/admin/i18n/es.json +10 -1
  22. package/admin/i18n/fr.json +10 -1
  23. package/admin/i18n/it.json +10 -1
  24. package/admin/i18n/nl.json +10 -1
  25. package/admin/i18n/pl.json +10 -1
  26. package/admin/i18n/pt.json +10 -1
  27. package/admin/i18n/ru.json +10 -1
  28. package/admin/i18n/uk.json +10 -1
  29. package/admin/i18n/zh-cn.json +10 -1
  30. package/admin/jsonConfig.json +76 -10
  31. package/admin/rules/@mf-types.zip +0 -0
  32. package/admin/rules/assets/{ActionTelegram-DT4ZdmnH.js → ActionTelegram-DeJ5nvxQ.js} +1 -1
  33. package/admin/rules/assets/_virtual_mf-localSharedImportMap___mfe_internal__ActionTelegram__mf_owner__1-5RXQO0YV.js +1 -0
  34. package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-N4zW9PCa.js +1187 -0
  35. package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-DP0XECBz.js +9 -0
  36. package/admin/rules/assets/{bootstrap-DkRK1rmm.js → bootstrap-Dmf2iLIl.js} +1 -1
  37. package/admin/rules/assets/dist-DPGjdSM2.js +4 -0
  38. package/admin/rules/assets/hostInit-DwUKqg5g.js +1 -0
  39. package/admin/rules/assets/{index-CSUxJu3H.js → index-C1RI8GmH.js} +2 -2
  40. package/admin/rules/assets/{mf-entry-bootstrap-0-e99f43b5.js → mf-entry-bootstrap-0-ea9c1b7d.js} +7 -2
  41. package/admin/rules/assets/{virtualExposes-oJO8jZih.js → virtualExposes-CNNdiEV7.js} +1 -1
  42. package/admin/rules/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ActionTelegram__customRuleBlocks_js-CkqQUQPA.js +1 -0
  43. package/admin/rules/assets/virtual_mf-exposes___mfe_internal__ActionTelegram__customRuleBlocks_js-DmBGDihA.js +2 -0
  44. package/admin/rules/customRuleBlocks.js +12 -1
  45. package/admin/rules/index.html +2 -2
  46. package/admin/rules/mf-manifest.json +1 -1
  47. package/admin/rules/mf-stats.json +1 -1
  48. package/build/main.js +530 -284
  49. package/build/main.js.map +1 -1
  50. package/build/proxy.d.ts +32 -0
  51. package/build/proxy.js +66 -0
  52. package/build/proxy.js.map +1 -0
  53. package/build/types.d.ts +2 -0
  54. package/io-package.json +119 -27
  55. package/package.json +13 -9
  56. package/admin/custom/assets/Components-BPb4U2ux.js +0 -1
  57. package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomTelegramSet__mf_owner__1-C5FjfPSF.js +0 -1
  58. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-ffNJqDHH.js +0 -1
  59. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-DljvyjSM.js +0 -1
  60. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BPr09WB7.js +0 -1243
  61. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-7tOzTXDd.js +0 -1494
  62. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-DTpb_EpK.js +0 -9
  63. package/admin/custom/assets/hostInit-CA0CeAYu.js +0 -1
  64. package/admin/custom/assets/virtualExposes-B2RF6pfj.js +0 -1
  65. package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomTelegramSet__customComponents_js-Bvox5IIB.js +0 -1
  66. package/admin/custom/assets/virtual_mf-exposes-ssr___mfe_internal__ConfigCustomTelegramSet__customComponents_js-EnDnmCdS.js +0 -2
  67. package/admin/custom/assets/virtual_mf-exposes___mfe_internal__ConfigCustomTelegramSet__customComponents_js-CVmxheYM.js +0 -2
  68. package/admin/rules/assets/_virtual_mf-localSharedImportMap___mfe_internal__ActionTelegram__mf_owner__1-BlWjokQ7.js +0 -1
  69. package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BMRgH2Bz.js +0 -1213
  70. package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CL8n1_X7.js +0 -9
  71. package/admin/rules/assets/dist-PnYvbzKY.js +0 -4
  72. package/admin/rules/assets/hostInit-CZrk7GFX.js +0 -1
  73. package/admin/rules/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ActionTelegram__customRuleBlocks_js-CbJMsNQ0.js +0 -1
  74. package/admin/rules/assets/virtual_mf-exposes-ssr___mfe_internal__ActionTelegram__customRuleBlocks_js-CbR3ExBo.js +0 -2
  75. package/admin/rules/assets/virtual_mf-exposes___mfe_internal__ActionTelegram__customRuleBlocks_js-BEjoGfOy.js +0 -2
  76. package/admin/rules/customRuleBlocks.ssr.js +0 -1
package/README.md CHANGED
@@ -30,16 +30,31 @@ Use telegram service to communicate with ioBroker
30
30
 
31
31
  ## Sentry
32
32
 
33
- **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
33
+ **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information on how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
34
34
 
35
35
  ## Changelog
36
36
  <!--
37
37
  Placeholder for the next version (at the beginning of the line):
38
38
  ### **WORK IN PROGRESS**
39
39
  -->
40
+ ### 6.0.0-alpha.1 (2026-09-01)
41
+ - (@GermanBluefox) Adapter requires Node.js >= 22.19 now (required by undici 8)
42
+ - (@GermanBluefox) The connection to the telegram servers can be routed through an HTTP(S) or SOCKS5 proxy (new "Use proxy" settings; the old proxy fields had been without function for years)
43
+ - (@GermanBluefox) Migrated to `node-telegram-bot-api` v2. Updates are now received via long polling, so the "Polling interval" setting became obsolete and was removed from the configuration dialog. Errors thrown while processing an update are logged by the adapter instead of ending up on the console
44
+ - (@GermanBluefox) An empty "API URL" field no longer breaks every API call with "EFATAL: Failed to parse URL" - the default `https://api.telegram.org` is used again (#1371)
45
+ - (@GermanBluefox) A `text2command`/`assistant` instance stored in the long form (`system.adapter.text2command.0`, written by the config UI before v1.12.6) is migrated to the short form on startup, so the config dialog shows the selected instance again (#1365)
46
+ - (@GermanBluefox) Added the states `communicate.requestLocationLive` (live location is still being shared), `communicate.requestLocationHeading` and `communicate.requestLocationAccuracy` for received (live) locations
47
+
48
+ ### 5.0.4 (2026-09-01)
49
+ - (@GermanBluefox) Blockly migrated to TypeScript
50
+ - (@bjoernjaeschke87-beep) Live location updates (delivered by Telegram as `edited_message`) now update `communicate.requestLocation` while the location is being shared
51
+
52
+ ### 5.0.3 (2026-08-10)
53
+ - (@GermanBluefox) Fixed: the configured `text2command`/`assistant` instance may now also be stored in the long form (`system.adapter.text2command.0`) - the alive check no longer fails with "instance is not running"
54
+
40
55
  ### 5.0.2 (2026-08-03)
41
56
  - (copilot) Adapter requires node.js >= 22 now
42
- - (copilot) Adapter requires admin >= 7.7.22 now
57
+ - (copilot) Adapter requires admin >= 8.0.0 now
43
58
  - (@klein0r) admin 8.0.0 and js-controller 6.0.11 (or later) are required
44
59
  - (@klein0r) Updated dependencies
45
60
 
@@ -73,18 +88,6 @@ Use telegram service to communicate with ioBroker
73
88
  - (@GermanBluefox) Fixed: `communicate.responseSilentJson` acknowledged the wrong state
74
89
  - (@GermanBluefox) Fixed: removed a stray empty entry from the generated command keyboard
75
90
 
76
- ### 4.1.0 (2025-03-19)
77
- * (bluefox) Admin component was migrated to TypeScript
78
- * (bluefox) Node.js >= 20.x and js-controller >= 6 and admin >= 7 are required now.
79
-
80
- ### 4.0.0 (2025-01-13)
81
- * NodeJS >= 20.x and js-controller >= 6 are required
82
- * (simatec) Responsive Design added
83
- * (klein0r) Allow async function calls in ask callback function
84
-
85
- ### 3.9.0 (2024-07-22)
86
- * (klein0r) Added option to send venue (with title and address)
87
-
88
91
  [Older changelogs can be found there](CHANGELOG_OLD.md)
89
92
 
90
93
  ## License