r/ContextModBot • u/FoxxMD • Aug 20 '21
Release Release 0.7.0 (Client-Server)
Release 0.7.0 restructures ContextMod to use a client-server architecture to enable #webscale buzzwords.
New
Rewrote high-level architecture to use client-server model
Enables connecting to/administering many CM instances from one CM web client
Enables oauth bot authentication location (url) to be independent of bot instance running location (api)
Bot oauth uses invite link flow universally to facilitate non-authenticated flow completion (for both mods/operators)
Implement multiple bots (reddit accounts) running on one CM server
Changed
Config view now renders monaco-editor with schema validation built-in
(BC) Operator JSON config re-structured to handle multiple bots
UI updated to display instance -> bot -> subreddit hierarchy
Lot of log store/streaming improvements
Breaking changes only affect users using a JSON config for operator configuration. If you are using ENV/ARG for all configuration then you are safe to upgrade.
If you are using JSON refer to the operator schema -- None of the properties have been renamed/restructured BUT most of the top-level properties have been moved into an object inside the top-level bot property now.