Releases: MaFeLP/discord_bots
v0.3.1
What's Changed
- Switch from lazy_static to once_cell for lazy evaluation by @G0rger in #14
- Lots and Lots of dependency updates: This includes fixes for the bots to still work, even with newer discord APIs and breaking changes in the serenity library.
Full Changelog: v0.3.0...v0.3.1
latest
Cargo(deps): Bump regex from 1.7.3 to 1.8.1 Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.7.3...1.8.1) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
v0.3.0 - Courious Cactus
What's Changed
This adds support for log files and makes the console much nicer looking!
Features
- Logs log entries to:
- Highly configurable
Configuration
File
The logger can be configured via a log4rs.yml
file (documentation). THIS IS NOT RECOMMENDED AND REMOVES SOME FUNCTIONALITY2
Environment Variables
Variable | Description | Default |
---|---|---|
LOGGING_PATTERN |
Describes how log entries should be shown/logged (see documentation | {h({d(%Y-%m-%d %H:%M:%S)} [{t}/{l}]: {m:>10}{n})} |
LOGGING_ROLLOVER_SIZE |
At which file size the log file should be rolled over3 | 10000000 (10MB) |
LOGGING_FOLDER |
The folder in which all logs should be saved | logs |
LOGGING_ARCHIVE_PATTERN |
the pattern with which log archives are being save. Must include at least one {} to represent an index. (See documentation |
{}.log.gz |
LOGGING_FILE_COUNT |
How many old log files should be stored. | 10 |
LOGGING_LEVEL_THRESHOLD |
The minimum log level required for entries to pass | INFO |
New Dependencies
- log: For the logging macros
- log4rs: Logging framework for printing log entries to the console and the file
- anyhow: To provide the correct return type for custom log4rs modules
Pull requests
Full Changelog: v0.2.2...v0.3.0
-
By default, development builds log entries starting
DEBUG
. On release builds, log entries start at levelINFO
. ↩ ↩2 -
Log files are not rolled over3 after a restart and there is no way to log INFO to stdout and warn to stderr without also logging warn to stdout! ↩
-
The file handle to the current file is closed, the file is archived as (by default)
0.log.gz
and all are log files are counted up by one. ↩ ↩2
v0.2.2
What's Changed
Dependencies have been updated:
- Cargo(deps): Bump serde from 1.0.132 to 1.0.133 by @dependabot in #11
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
Dependencies have been updated:
- Cargo(deps): Bump tokio from 1.14.0 to 1.15.0 by @dependabot in #10
- Cargo(deps): Bump serde from 1.0.131 to 1.0.132 by @dependabot in #9
Full Changelog: v0.2.0...v0.2.1
v0.2.0 - Brilliant Banana
What's Changed
- This release adds a configuration file to configure the discord bots.
WARNING
This version upgrade is incompatible with version 0.1.x
! Please see the error message for more information!
Configuration
An example configuration can be found here.
The programs checks the configuration for compatibility before panicking "unknowingly" and gives the user a good panic message. When the config file is invalid or it is putting an example configuration that is valid into the working directory.
The configuration provides an easy way to configure the bot tokens (that will be overwritten by environment variables) and responses and more things in the future!
Full Changelog: v0.1.2...v0.2.0
v0.1.2
Minor update for docker tags:
- added
latest-arm
for latest aarch54 image - added
latest
for latest amd64 image
Full Changelog: v0.1.1...v0.1.2
v0.1.1
- 🐞 Bug fix: In v0.1.0 the CI would not upload the docker images to ghcr.io
-
- Added docker images for:
rolling_release
v0.1.0-arm
(aarch54)v0.1.0
(amd64)
- Added docker images for:
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- New Bot: Autokommentator
- Replies to some messages with another message
- New Bot: Känguru Knecht
- Replies to messages with money symbols (
€
,EUR
) with a small calculation-quote from Marc-Uwe Kling's Kangaroo Chronicles
- Replies to messages with money symbols (
New Contributors
Full Changelog: https://github.com/MaFeLP/discord_bots/commits/v0.1.0