Releases: PetroVoronov/telegram-forward-user-bot
Releases · PetroVoronov/telegram-forward-user-bot
v1.6.10
1.6.10 (2024-11-06)
Code Refactoring
- cache: refactor code of Cache class with type conversion and event reactions (4e6e204)
- logging: refactor code of SecuredLogger with sensitive data masking (4e6e204)
Miscellaneous Chores
- deps-dev: add Jest configuration and dependency (4e6e204)
- deps-dev: Bump @babel/core from 7.25.8 to 7.26.0 (ad7b360)
- deps-dev: Bump @babel/eslint-parser from 7.25.8 to 7.25.9 (a8c4d90)
- deps-dev: Bump eslint-plugin-sonarjs from 2.0.3 to 2.0.4 (7adb7e4)
- deps-dev: Bump globals from 15.11.0 to 15.12.0 (9f87cb9)
- deps: Bump node from 22-alpine to 23-alpine (3cfeec5)
- deps: Bump telegram from 2.25.15 to 2.26.6 (043a8f0)
Tests
v1.6.9
1.6.9 (2024-10-16)
Miscellaneous Chores
- deps-dev: Bump @babel/core from 7.25.7 to 7.25.8 (19048f5)
- deps-dev: Bump @babel/eslint-parser from 7.25.7 to 7.25.8 (ccf76f7)
- deps-dev: Bump globals from 15.10.0 to 15.11.0 (d6d86b5)
- deps: Bump telegram-menu-from-structure from 1.3.5 to 1.3.6 (08f4920)
- deps: update telegram-menu-from-structure to version 1.3.7 (927c5d9)
v1.6.8
v1.6.7
1.6.7 (2024-10-07)
Continuous Integration
- please-release: update please-release workflow - change commit message for the lint CHANGELOG.md with markdownlint-cli2 (18c96e1)
- release-please: add token to CHANGELOG.md processing (6c00064)
- release-please: update default author in CHANGELOG.md commit message (33f6f33)
Miscellaneous Chores
v1.6.6
1.6.6 (2024-10-06)
Continuous Integration
- release-please: run CHANGELOG.md through markdownlint-cli2 on PR's (1a1cd06)
- release-please: update release workflow to use EndBug/add-and-commit for CHANGELOG.md (9e4e2b1)
Miscellaneous Chores
- dev: Add markdownlint-cli2 to improve format of documentation (README, CHANGELOG) (1a1cd06)
v1.6.5
v1.6.4
v1.6.3
v1.6.2
1.6.2 (2024-10-04)
Features
- Add condition to check for null values in event message includes (5d82468)
- Add conditional check before appending
MenuButtonDeleteItem
menu item (59d7916) - docker: Refactor Dockerfile to use ENTRYPOINT and remove CMD instruction (8cd095b)
- Make possible to refresh lists of
source
anddestination
chats manually, during the configuration offorwardRules
. (d3d90e8) - Preparation for universal keywords rules functionality (459cb47)
- Refactor code to make
telegram-menu-structured
fully independent from Telegram Client or Bot library (08961bf) - Switch to use
telegram-menu-from-structure
package instead of local (56262e9) - Update package version to 1.0.70 and add strftime dependency. Improving the logging. (ea0adf6)
Bug Fixes
- Add annotations to docker deployment workflow (d4a3a37)
- docker building for arm64 (b8a436e)
- Fix
onSetAfter
function call forresubscribeInterval
(96f4025) - Fix doubling the Menu messages due to not updated
SendMessageAsync
, which still returned the whole message instead on message id. (a3bf4b7) - fix some variable declarations (ebba407)
- logger: make it secured, not show the sensitive information in logs (ebba407)
- telegram-menu-structured: Fix call with text parameters of i18n conversion after #eb13300 - i18n decoupling (33edf86)
- telegram-menu-structured: Fix issue with prompts in inputs after #eb13300 - i18n decoupling (33edf86)
- Update name of workflow to build and push docker image (efec570)
Code Refactoring
- Add 'User' and 'Bot' types instead of
Chat
, with appropriate translations. (f5903c3) - Add default
false
for all command-line options (b39c8af) - Add new command-line option
--no-debug-cache
to disable debug for the Cache instance (212d9af) - Add new command-line option
--no-debug-menu
to disable debug for thetelegram-menu-from-structure
(b39c8af) - Add resubscribe function call in resubscribeInit (1721bd8)
- align changes in "interface" functions
sendMessage
andeditMessage
intelegram-menu-from-structure
. Fix lowest version oftelegram-menu-from-structure
to 1.1.1. (96f4025) - Align functions in structure to the changes in
telegram-menu-from-structure@1.3.2
(a3bf4b7) - Cache: Refactor Cache to make possible to disable debug only for Cache (212d9af)
- Change a log.debug statement to log.info in the begging of the onMessageToForward function in index.js. (f97ce85)
- Change logic to set logger to the
menu
code (b61bec4) - docker: Update npm install command to use 'npm ci' in Dockerfile and make it dependant on
TARGETPLATFORM
. (f31b0e9) - fixed issues after previous commit, now edits of messages looks functional, as planned. Additionally fixed
eventHandlers
cleanup. (cb249ff) - Get rid of
includes
andexcludes
. Replacemessage
byuniversal
content with appropriate renaming. (d3ebf57) - Implement confirmation of user actions in Menu by
confirmCallBackQueryAsync
introduced intelegram-menu-from-structure
version 1.3.0. (ead8d3f) - Improve debug for message handling (053f495)
- Improve handling of undefined messages in refreshDialogs function (56954b6)
- Improve message forwarding logic and handling of null values in event message includes (857e291)
- Improve the configuration initialization to default values. Automatically delete non-existing values from Cache. (31b13f1)
- In rules - universal structure is changed. Check of the universal keyword rules is implemented. (5977220)
- localization: Refactor localization strings to use placeholders for dynamic values (96f4025)
- Made users in configuration be refreshed manually (a07bee4)
- Make
fromIds
update only inupdateForwardListener
. (73ce0f6) - Make forum topics data cached, to prevent overloading Telegram API by such requests. (fce75cd)
- Make possible to pass basic parameters as environment variables (8cd095b)
- menu initialization and drawing logic (e4d7ac4)
- menuStructured: first step to make separate module (85720d0)
- menuStructured: Now the defaults was moved out from
MenuItem
class to a separate newmenuDefaults
object in theMenuItem
file. (b971ba3) - Modify getDialogId function in index.js to include an optional force parameter for refreshing dialogs (d3d90e8)
- package.json: Update
telegram-menu-from-structure
to minimal version 1.2.0 to useextraRefresh
feature. (d3d90e8) - Partially change the variable declaration style. (31b13f1)
- Preliminary preparation to catch edited messages, as event or direct check of
lastForwarded
orlastProcessed
messages. (ee034ab) - Preparation to edit additional users to be allowed to use the bo...