Releases: thegamecracks/theticketbot
v1.0.1
This release bumps the following dependencies in pyproject.toml:
- uv-build ~= 0.9.21 => 0.10.7
- discord.py ~= 2.6 => 2.7
- packaging ~= 25.0 => 26.0
- platformdirs ~= 4.5 => 4.9
Dependencies were also upgraded in the uv.lock file, which may affect users hosting from the source repository with uv.
Changes
- Upgrade discord.py, packaging, and platformdirs
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
This release updates the project's build system, bumps dependencies, and fixes the label deprecation warning when using discord.py 2.6+.
Changes
- Switch from setuptools with setuptools-scm to uv-build backend
- This means the project will no longer use Git-based dynamic versioning.
- Add py.typed marker to package
- Use SPDX license expression and include LICENSE file
- Upgrade discord.py and other dependencies
Fixes
- Use
discord.ui.Labelformat for modal text inputs to resolve deprecation warnings - Correctly handle
exc_info=Falseandstack_info=Falsein JSONL logger - Fix
TypeErrorwhen logging number of guilds cleaned up
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
Full Changelog: v0.5.2...v1.0.0
v0.5.2
This release cleans up some messages left when administrating inboxes to improve UX, and also fixes a long-standing issue that caused the /inbox destination command to fail after changing an inbox's destination.
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.5.1
This release contains a few tweaks, but nothing that visibly affects the bot's functionality.
Changes
- Document recommended workflow in readme
- Slightly refactor a few source files
- Optimize a couple foreign key delete constraints
- Bump CI/CD and pre-commit actions
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.5.0
New Features
- Add
/inbox destinationto allow routing tickets to any channel- Can also be set during
/inbox createwith a newdestinationparameter
- Can also be set during
- Add version-based automatic synchronization of application commands
- Users should no longer need to use
theticketbot --syncafter installing an update. - If you are using multiple database files for the same bot, you should pass the
--no-syncargument after switching databases to skip automatic synchronization.
- Users should no longer need to use
Changes
- Replace gettext localization system with more flexible Project Fluent files
- Compilation no longer required to use localizations
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.4.3
v0.4.2
New Features
- Automatically prompt to create a config.toml file in a user config directory if no config file is found (#10)
- To preserve backwards compatibility, config.toml will still be loaded from the current working directory if the new user config isn't present.
- This behaviour can be bypassed by explicitly passing a file path using the
--config-fileargument.
- Print loaded config file's path when using
--dump-config
Changes
- Suppress KeyboardInterrupt tracebacks in the CLI more reliably
Fixes
- Fix untranslated message when clicking "Create Ticket" on an unrecognized inbox
- Raise an exception when
--config-fileis given a non-existent file path
v0.4.1
New Features
- Add .jsonl logging to user log directory
Changes
- Replace hardcoded owner mention shown in error messages with the real bot owner given by the Discord API
- Clarify gettext dependency in readme
Fixes
- Don't unnecessarily create application / temporary directories at startup
v0.4.0.post1
This release adds a couple badges to the readme and fixes the readme image not showing up on the PyPI page.
v0.4.0
This is theticketbot's first release to go on PyPI! 🎉 You can now install the bot with:
pip install theticketbotBut before you install this version, please read the breaking changes below.
Changes
- BREAKING CHANGE: The default database path now defaults to a user-specific directory on your current platform.
- This path can be revealed by running
theticketbot --dump-config. - Users who want to revert to the old behaviour must explicitly write
path = "data/theticketbot.db"in their config file's[db]table.
- This path can be revealed by running
- Add classifiers, license, keywords, and URLs to the project's metadata
- Unpin discord.py to
~=2.4 - Use PyPI version of asqlite pinned at
==2.0.0
Fixes
- Disable the polls intent by default, and don't enable any future standard intents when upgrading discord.py
Distribution archives will no longer be included in these releases as they will be uploaded to PyPI.