Skip to content

v2.0.0 Huge refactoring

Pre-release
Pre-release

Choose a tag to compare

@ollprogram ollprogram released this 10 Dec 21:53
· 8 commits to main since this release

馃摑 Description

Refactoring the entire TwitchDiscordBridge application.
This will be a pre release when merged, and after adding more tests we will be able to release it as 2.0.x

馃幆 Purpose / Context

The application was not truly scalable and lacked adherence to established best practices and architectural patterns. Numerous bugs originated from the configuration layer, and several parts of the codebase were inefficient or overly complex.

The purpose of this refactoring is to optimize the application through efficient parallel execution, introduce a reliable and fully tested configuration system, and ensure that the overall architecture can scale effectively.

馃攳 Main Changes

  • Easier and reliable configuration system
  • New scalable command mechanism using active object and command patterns
  • Using discord slash commands
  • Parallel execution of commands and tasks using thread pools and active object pattern
  • Parallel executions with parallel streams
  • improved documentation
  • More unit tests, especially for the configuration layer
  • Added a token verification ("check don't catch" pattern)
  • Added a go script to get the twitch token
  • Added a contributing documentation and templates