V18.0.0-beta.4
Pre-release
Pre-release
V18.0.0-beta.4 🧪
Fourth public beta of the V18 line. Published under the beta dist-tag; users on latest stay on V17 and are unaffected.
npm install node-red-contrib-telegrambot@beta
Changes since beta.3
- Bump
node-telegram-bot-apifloor to^1.1.2(#467). 1.1.2's only change is restored CommonJS consumption (dual ESM+CJS build). No breaking changes. - Dropped the dynamic-import loader (#467). Now that
require()works again,bot-node.jsloads the library synchronously (require('node-telegram-bot-api').default) and builds theTelegramBotExsubclass at module load, instead of the asyncimport()bridge introduced for the v1.0.0 ESM-only build. This removes ~140 lines and permanently eliminates the first-load test race the dynamic import caused. No user-facing change — flows behave exactly as before.
Requirements
- Node.js ≥ 20.
Help us test
Still especially useful: SOCKS proxy and multi-bot setups (per-bot dispatcher landed in beta.3), plus redeploys. Report against #457 or a new issue.
See MIGRATION.md. Tracking: PR #453, #448.