Skip to content

Releases: PetroVoronov/telegram-forward-user-bot

v1.6.10

06 Nov 16:09
3fa215a
Compare
Choose a tag to compare

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

16 Oct 14:59
e592a81
Compare
Choose a tag to compare

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

09 Oct 17:23
a8050e0
Compare
Choose a tag to compare

1.6.8 (2024-10-09)

Miscellaneous Chores

  • deps: update telegram-menu-from-structure to version 1.3.5 (5716057)

v1.6.7

07 Oct 18:47
72dc7f6
Compare
Choose a tag to compare

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

  • deps: Bump telegram from 2.25.11 to 2.25.15 (622cada)
  • deps: Bump telegram-menu-from-structure from 1.3.2 to 1.3.3 (3bc75fd)

v1.6.6

06 Oct 12:02
ff5e22c
Compare
Choose a tag to compare

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

05 Oct 15:25
666e53d
Compare
Choose a tag to compare

1.6.5 (2024-10-05)

Documentation

  • Resize and rename images, with changing the style of usage, to decrease README.md file size (c0a2777)

v1.6.4

05 Oct 14:25
899f725
Compare
Choose a tag to compare

1.6.4 (2024-10-05)

Documentation

  • Update README.md for clarity and additional references (cfab6f1)

v1.6.3

04 Oct 11:58
ab08f03
Compare
Choose a tag to compare

1.6.3 (2024-10-04)

Documentation

v1.6.2

04 Oct 11:55
eb4f8b3
Compare
Choose a tag to compare

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 and destination chats manually, during the configuration of forwardRules. (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 for resubscribeInterval (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 the telegram-menu-from-structure (b39c8af)
  • Add resubscribe function call in resubscribeInit (1721bd8)
  • align changes in "interface" functions sendMessage and editMessage in telegram-menu-from-structure. Fix lowest version of telegram-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 and excludes. Replace message by universal content with appropriate renaming. (d3ebf57)
  • Implement confirmation of user actions in Menu by confirmCallBackQueryAsync introduced in telegram-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 in updateForwardListener. (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 new menuDefaults object in the MenuItem 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 use extraRefresh feature. (d3d90e8)
  • Partially change the variable declaration style. (31b13f1)
  • Preliminary preparation to catch edited messages, as event or direct check of lastForwarded or lastProcessed messages. (ee034ab)
  • Preparation to edit additional users to be allowed to use the bo...
Read more

v1.6.1

02 Oct 19:47
3554546
Compare
Choose a tag to compare

1.6.1 (2024-10-02)

Code Refactoring

  • Made users in configuration be refreshed manually (a07bee4)
  • Update telegram-menu-from-structure to version 1.3.1 to fix the buttons splitting on rows for the menu (a07bee4)