Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Releases: MaFeLP/discord_bots

v0.3.1

08 Jan 21:24
v0.3.1
65eb613
Compare
Choose a tag to compare

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

07 Jan 21:17
Compare
Choose a tag to compare
latest Pre-release
Pre-release
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

10 Jan 22:16
92336ba
Compare
Choose a tag to compare

What's Changed

This adds support for log files and makes the console much nicer looking!

Features

  • Logs log entries to:
    • STDOUT For log levels (TRACE to1) INFO
    • STDERR For log levels WARN and ERROR
    • logfile: For all log levels1
  • 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


  1. By default, development builds log entries starting DEBUG. On release builds, log entries start at level INFO. 2

  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!

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

03 Jan 13:19
583d340
Compare
Choose a tag to compare

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

02 Jan 00:43
Compare
Choose a tag to compare

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

28 Dec 00:28
11e202e
Compare
Choose a tag to compare

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

24 Dec 00:04
515c5c4
Compare
Choose a tag to compare

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

23 Dec 23:37
6a9ba29
Compare
Choose a tag to compare
  • 🐞 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)

Full Changelog: v0.1.0...v0.1.1

v0.1.0

22 Dec 23:10
v0.1.0
18fea14
Compare
Choose a tag to compare

What's Changed

  • New Bot: Autokommentator
    • Replies to some messages with another message
  • New Bot: Känguru Knecht

New Contributors

  • @G0rger made their first contribution in #1

Full Changelog: https://github.com/MaFeLP/discord_bots/commits/v0.1.0