Skip to content

Latest commit

 

History

History
220 lines (177 loc) · 9.99 KB

CHANGELOG.md

File metadata and controls

220 lines (177 loc) · 9.99 KB

2.3.0

Dependencies

2.2.0 - 2024-12-23

BREAKING CHANGES

  • The settings file structure changed and will require a migration!

General

  • Upon invitation the bot will now require acceptance of the Privacy Policy and Terms Of Service

Dependencies

Additions

New parameters

  • player play and player play-mount gained an additional optional parameter volume which allows to set the volume of the player at startup
    • The volume can be set between 0 and 100
    • The default volume is 100
    • This value is only respected if the player is not playing anything

New commands

  • admin reset-legals command added
    • This command is only for administrators of the bot (the main server)
    • It resets the accepted legals for every guild and requires them to reaccept
  • dj add-internal-song-request command added
    • This command allows you to add a song quietly into the AutoDj queue
    • These kind of song requests are not logged inside AzuraCast and should be used with caution!
    • The bot however logs these kind of requests
  • legals accept-legals command added
    • This command allows you to accept our legal terms and policies

Improvements

  • Server info embed for admins was slightly improved and fixed
  • config reset-settings now shows a confirmation message before resetting the settings
  • The exception embed was slightly improved with more details
  • Improvements regarding information security
  • The bot respects in all cases now when the user decides to disable local file caching
    • This means that it's not possible to retrieve information about uploaded files when the whole instance is offline
  • The hardware embed now includes the amount of memory which the bot uses
  • The stats embed was restructured and now includes the legal stuff (License, Privacy Policy, Terms Of Service)
  • Updated the invite link so the bot now needs the "Embed Links" permission too

Fixes

  • The 15 minute cron job won't error anymore when the instance is offline
  • The settings embed now gets created again when the instance is offline

Development

  • Refactored the code to use System.Text.Json source generator and removed System.Reflection calls
  • Refactored the settings code to use the Options Pattern with source generation validation
  • Debug code was excluded from compiling in release mode
  • .editorconfig now default to warnings

2.1.2 - 2024-12-15

Dependencies

Fixes

  • music get-song-history works again
  • The initial online check after creating an instance works again

2.1.1 - 2024-11-23

Improvements

  • The AzuraCast updater works fine now if a rolling release instance is expected to update to a stable release

2.1.0 - 2024-11-22

General

  • Updated to .NET 9 including all dependencies
  • Dockerfile improvements to improve image size

Dependencies

Additions

  • Added a new hidden environment variable "FORCE_TRACE" to docker-compose which forces the app to trace log (not recommended for production)
    • This only works in dev mode
  • Added a new environment variable "LOG_RETENTION_DAYS" to docker-compose which defines how many days the logs should be kept
    • Default is 7 days
  • config get-settings now shows an additional value in the "station" section which shows how many times songs were requqested through the bot

Improvements

  • Exception embeds now produce json output instead of a stacktrace.log file
  • Startup logging now shows the .NET version too
  • Reworked the whole file logging system
  • admin send-bot-wide-message now allows linebreaks using \n and includes a message if it's sent directly to the server owner
  • QuickJit for loops was activated to improve performance of the bot
  • Reworked background tasks to use NCronJob instead of a custom implementation
  • azuracast force-cache-refresh parameter station is now optional
    • If there is no value given it will refresh the cache of all configured stations
  • azuracast stop-station now sends a message to the connected voice channels if it's playing and was stopped
  • Various enhancements were made while displaying mounts inside the autocomplete

Fixes

  • The AzuraCast station cache refresh works again
  • music now-playing now shows the streamer artwork if a streamer is playing

2.0.13 - 2024-11-14

Dependencies

Improvements

  • Sets the Service Lifetime of database services to Singleton again with the exception of the AzzyBotDbContext which is now Scoped

2.0.12 - 2024-11-12

Improvements

  • Removed all parameters from database relevant methods which are intended to pass DateTimeOffset.UtcNow values and replaced them with direct calls inside the respecting method
    • This is the final fix for the timer issues

2.0.11 - 2024-11-09

Improvements

  • Moved from DateTime to DateTimeOffset to prevent issues with timezones
    • This should now hopefully fix all the issues occuring with the timer

2.0.10 - 2024-11-07

Improvements

  • Reworked how the background check system works to fix issues

2.0.9 - 2024-11-03

Fixes

  • The bot now only checks each 12h if the discord permissions are set to prevent hitting discord ratelimits

2.0.8 - 2024-10-27

Dependencies

Improvements

  • Set the database context and related services to transient to prevent issues with the database connection

2.0.7 - 2024-10-25

Dependencies

Improvements

  • core help now shows an additional embed telling the user how to correctly set up the bot

2.0.6 - 2024-10-13

General

  • Recreated docker images because of vulnerabilities

Dependencies

Improvements

  • Tiny code changes

2.0.5 - 2024-09-24

Dependencies

Fixes

  • There is no database error anymore when the bot is added to a guild. #181

2.0.4 - 2024-09-21

Dependencies

Fixes

  • AzuraCast Central update responses are now more reliable and don't throw exceptions anymore

2.0.3 - 2024-09-10

General

  • Recreation of docker images because of vulnerabilites

Dependencies

  • Updated DSharpPlus to version 5.0.0-nightly-02361

2.0.2 - 2024-09-03

General

  • Recreation of docker images because of vulnerabilites

Dependencies

2.0.1 - 2024-08-18

General

  • admin change-bot-status requires activity, status and doing to be set now

Dependencies

Improvements

  • Greatly refactored the handling of DSharpPlus related stuff
  • The usual connection error message of updating AzuraCast should not be shown anymore
  • core stats hardware now shows the latency to discord
  • More internal restructuring to make the code more functional
  • File logging now rotates the logs daily or when exceeding 24.9 MB file size
  • Adjusted maximum upload size of music upload-files to 49.9 MB
  • Leftover servers in database are now removed every day

Fixes

  • MusicStreaming commands exit correctly now when there is an error
  • Command error handling works flawlessly again
  • admin get-joined-server works again (and shows the server defined in AzzyBotSettingsDocker.json too)
  • player now-playing doesn't throws an error when it's used while playing a mount point

2.0.0 - 2024-08-11

General

  • Complete rewrite of the bot using newest technologies
  • Includes a database to store your settings and other important data
  • New commands to manage your bot and settings
  • Support for multiple servers, multiple stations and multiple users

Read the docs if you need help setting the bot up.