diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1c93f74 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,57 @@ +# Changelog + +All notable changes to discord-reminder-bot will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.2.0] - 2021-07-23 + +### Added + +- You can now now send reminders to another channel. +- Ads for [DiscordNight](https://github.com/KillYoy/DiscordNight). +- Some tests, need a lot more to actually be useful. +- More docstrings. +- `Flake8`, `Mypy` and `types-dateparser` as developer dependencies. + +### Changed + +- More examples for file locations in .env.example. +- Two if else statements are now one line each. +- Moved "the" outside markdown link in the error message. +- bot_token now has a default value and we raise an error if it is the default value. +- Extra files are now in the `extras` folder. +- Added `build:` to docker-compose.yml. +- Small changes to the Dockerfile. +- License is now GPLv3. +- Expand pyproject.toml. +- Move settings to settings.py. + +### Removed + +- Removed TODO from the code that will never be done. +- .github/workflows directory is now gone. + +### Fixed + +- Spelling mistakes. + +## [0.1.0] - 2021-07-23 + +### Added + +- Use Poetry to manage dependencies. +- Shorten name if longer than 256 characters and description if longer than 1024 characters. +- You can now pause and resume reminders. +- You can now set intervals for reminders. +- You can now add cron jobs. + +### Changed + +- `/remind modify` now has a list of all reminders instead of needing an ID. +- `/remind pause` now has a list of all reminders instead of needing an ID. +- `/remind resume` now has a list of all reminders instead of needing an ID. +- `/remind remove` now has a list of all reminders instead of needing an ID. +- `/remind list` now has a list of all reminders instead of needing an ID. +- !remind is now /remind. You need to reinvite the bot with the `applications.commands` scope for this to work. It will also take up to an hour for the slash command to be registered. diff --git a/discord_reminder_bot/__init__.py b/discord_reminder_bot/__init__.py index 3dc1f76..d3ec452 100644 --- a/discord_reminder_bot/__init__.py +++ b/discord_reminder_bot/__init__.py @@ -1 +1 @@ -__version__ = "0.1.0" +__version__ = "0.2.0" diff --git a/pyproject.toml b/pyproject.toml index e648f1b..6be8f31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "discord-reminder-bot" -version = "0.1.0" +version = "0.2.0" description = "Discord bot that allows you to set date, cron and interval reminders." authors = ["Joakim Hellsén "] license = "GPL-3.0-or-later" diff --git a/tests/test_discord_reminder_bot.py b/tests/test_discord_reminder_bot.py index 3304c6c..1f35720 100644 --- a/tests/test_discord_reminder_bot.py +++ b/tests/test_discord_reminder_bot.py @@ -13,8 +13,8 @@ from discord_reminder_bot.main import calc_countdown, send_to_discord def test_version(): - """Check if version is 0.1.0.""" - assert __version__ == "0.1.0" + """Check if version is 0.2.0.""" + assert __version__ == "0.2.0" class TestClass: