Skip to content

Releases: PetroVoronov/telegram-menu-from-structure

v1.3.7

16 Oct 13:44
0731f71
Compare
Choose a tag to compare

1.3.7 (2024-10-16)

Build System

  • deps-dev: bump @babel/core from 7.25.7 to 7.25.8 (798d2cf)
  • deps-dev: bump @babel/eslint-parser from 7.25.7 to 7.25.8 (7408dda)

Continuous Integration

  • update permissions in release-please workflow to include checks (218e71b)

v1.3.6

10 Oct 14:12
8417390
Compare
Choose a tag to compare

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

09 Oct 17:19
4dd494f
Compare
Choose a tag to compare

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 and onSetAfter 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 from examples was taken and applied to really check the functionality of the Menu (7f9a0c7)

v1.3.4

07 Oct 08:47
1c38157
Compare
Choose a tag to compare

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

05 Oct 14:44
2f53478
Compare
Choose a tag to compare

1.3.3 (2024-10-05)

Documentation

  • enhance README with detailed module description and project references (c524ab6)

v1.3.2

04 Oct 10:41
9b02199
Compare
Choose a tag to compare

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

  • Structure: Made a detailed description a functions in structure (ad9269b)
  • Update npm badge links in README.md (e02afa8)

v1.3.1

02 Oct 19:26
a653dc2
Compare
Choose a tag to compare

1.3.1 (2024-10-02)

Bug Fixes

  • Fixed menu row total text length calculation. Previously the length of first item in row is some cases not accounted ... (2b6d380)

Documentation

  • Fix example of code to work with GramJS - confirmCallBackQueryAsync code (1ca2f6a)

v1.3.0

02 Oct 18:30
cfe3412
Compare
Choose a tag to compare

1.3.0 (2024-10-02)

Features

  • Add confirmCallBackQuery functionality (4cefc72)

Code Refactoring

Documentation

  • Improving the code examples in README.md (4cefc72)

v1.2.0

02 Oct 14:42
df26431
Compare
Choose a tag to compare

1.2.0 (2024-10-02)

Features

  • Add support for extraRefresh in MenuItemStructured. (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 by MenuButtonListTyped (fd78b27)
  • MenuItem: Add getBottomRow() method in MenuItem. Modify getButtons() method in MenuItem to include bottomRow. (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)

v1.1.7

02 Oct 11:01
3de0a99
Compare
Choose a tag to compare

1.1.7 (2024-10-02)

Continuous Integration

  • Update package-lock.json (97447b4)

Bug Fixes

  • Fix MenuITem.config to pass the default values as initialization values to configuration params (2260730)

Code Refactoring

  • MenuItem.getStringLength now uses modifier 1.2 for length, to "simulate" different length of symbols during rendering (2260730)
  • examples: Set for examples: textSummaryMaxLength = 56 and spaceBetweenColumns = 3 (2260730)