Releases: PetroVoronov/telegram-menu-from-structure
Releases · PetroVoronov/telegram-menu-from-structure
v1.3.7
v1.3.6
1.3.6 (2024-10-10)
Continuous Integration
- Add error to the test, to check the workflow (8bf6f6d)
- enhance release-please workflow with improved test result publishing and failure notifications (ef4260c)
- enhance test failure notifications with direct links to test results (b9d3b1c)
- enhance test workflow and add JUnit reporting (919ab31)
- improve test workflow by refining environment variable setup and correcting test expectation (abe5e90)
v1.3.5
1.3.5 (2024-10-09)
Bug Fixes
- MenuButton: improve handling of text prompts - extra new line is removed (7f9a0c7)
- update package.json to require Node.js 18 or higher due to
cloneStructure
dependency (b781a82)
Code Refactoring
- examples: apply changes in
save
,onSetBefore
andonSetAfter
to the examples (missed previously) (7f9a0c7) - examples: rename example projects and update dependencies (b781a82)
Build System
- deps-dev: bump globals from 15.10.0 to 15.11.0 (0e93c2c)
Continuous Integration
- add GitHub Actions workflow for testing and issue management (e978ab3)
- allow tests to continue on error in workflow (7780bf6)
- Check new workflow
Test and Manage Issues
(13e53ae) - specify exact minimal Node.js version in workflow configuration (0900a72)
- update GitHub API method for issue creation in workflow (ff1cefb)
- update Node.js version handling and improve issue management in workflow (b781a82)
- update permissions for GitHub Actions workflow to manage issues (ed35d01)
- update release workflow to run tests and create issue on failure (c4c7713)
- upgrade github-script action to version 7 and add comment on issue closure (d968e25)
Tests
- adjust test expectations for menu item handling (b781a82)
- correct capitalization in main menu message expectation (ec5a634)
- correct capitalization in main menu message expectation to test workflow (20baa70)
- Significantly improved test for the
index.js
- the logic fromexamples
was taken and applied to really check the functionality of the Menu (7f9a0c7)
v1.3.4
1.3.4 (2024-10-07)
Continuous Integration
- release-please: run CHANGELOG.md through markdownlint-cli2 on PR's (04afe77)
Miscellaneous Chores
- dev: Add markdownlint-cli2 to improve format of documentation (README.md, CHANGELOG.md) (04afe77)
Documentation
- Fix README and CHANGELOG.md formatting through markdownlint-cli2 (04afe77)
v1.3.3
v1.3.2
1.3.2 (2024-10-04)
Code Refactoring
- MEnuITemStructured: Refactor submenu item structure functions and parameters (ad9269b)
Build System
- deps-dev: bump @babel/core from 7.25.2 to 7.25.7 (abc915a)
- deps-dev: Update @babel/cli, @babel/core, and @babel/eslint-parser to version 7.25.7 (798d36f)
Documentation
v1.3.1
v1.3.0
v1.2.0
1.2.0 (2024-10-02)
Features
- Add support for
extraRefresh
inMenuItemStructured
. (fd78b27)
Code Refactoring
- examples: Update examples/simple-telegraf/menu.js and examples/simple-no-telegram-console-mode/menu.js to use extraRefresh flag in source function (fd78b27)
- MenuButton: Get rid of
MenuButtonListTypedAsync
, everything is covered byMenuButtonListTyped
(fd78b27) - MenuItem: Add
getBottomRow()
method inMenuItem
. Modify getButtons() method inMenuItem
to includebottomRow
. (fd78b27)
Continuous Integration
- Update release-please-config.json. Change order of Changelog sections. (99a89a6)
Documentation
- Update README.md with additional information about sourceAsync and extraRefresh (fd78b27)