Add changelog and bump version to v0.2.0

This commit is contained in:
2022-01-09 21:13:50 +01:00
parent 08ee4bd6a3
commit 509a2c4797
4 changed files with 61 additions and 4 deletions

57
CHANGELOG.md Normal file
View File

@ -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.

View File

@ -1 +1 @@
__version__ = "0.1.0" __version__ = "0.2.0"

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "discord-reminder-bot" 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." description = "Discord bot that allows you to set date, cron and interval reminders."
authors = ["Joakim Hellsén <tlovinator@gmail.com>"] authors = ["Joakim Hellsén <tlovinator@gmail.com>"]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"

View File

@ -13,8 +13,8 @@ from discord_reminder_bot.main import calc_countdown, send_to_discord
def test_version(): def test_version():
"""Check if version is 0.1.0.""" """Check if version is 0.2.0."""
assert __version__ == "0.1.0" assert __version__ == "0.2.0"
class TestClass: class TestClass: