Skip to content

Release 1.8.0

Compare
Choose a tag to compare
@xvitaly xvitaly released this 08 Feb 14:50
· 18 commits to master since this release
v1.8.0
1cf9961

Breaking changes

  • New configuration file schema version - 12.
  • Added a new configuration file option - autoclean (disabled by default).
  • Added a new configuration file option - restalert (disabled by default).
  • Added a new configuration file option - delalert (disabled by default).

New

  • Implemented JSON configuration file schema migration.
  • Implemented ability to notify subscribers about new restrictions or bans.
  • Implemented ability to notify subscribers about message deletions.
  • Implemented ability to automatically remove used bot commands from super-groups.
  • Added KeyboardInterrupt and SystemExit exception handlers.
  • Included additional files to the result tarball.
  • Added CodeQL workflow for GitHub code scanning.
  • Added dependabot support for tracking dependencies.
  • Added SPDX 3.0 reuse manifest.
  • Implemented custom exception types.

Bug fixes

  • Telegram Bot API 6.5 compatibility.
  • Included exception details to error messages.
  • Already restricted users won't be restricted again.
  • Fixed a well-known bug in the Bot API related to leap year. Use 367 days for permanent restrictions.

Changes

  • Converted some internal Python packages to modules.
  • Converted the project to src-layout.
  • Switched the project to pyproject.toml.
  • Removed the legacy setup.py and requirements.txt files.
  • Switched Docker container image to Fedora 37.
  • Updated Tox configuration file.
  • Switched CI to Python 3.11.
  • Removed LGTM badges and integration.
  • Updated documentation and manpage.
  • Performed major code refactoring.

Windows-specific changes

  • Implemented automatic API token import on upgrades.
  • The installer will not overwrite the existing config on upgrades.
  • Switched from RTF to TXT for the Windows installer README.
  • Explicitly marked launcher option as deprecated.
  • Updated embedded Python to version 3.10.10.
  • Updated PyInstaller core to version 5.7.0.
  • Updated requests to version 2.28.2.
  • Updated urllib3 to version 1.26.14.