From 894b84176976fd5d435e4cbb9670648598f37af3 Mon Sep 17 00:00:00 2001 From: tresabhi Date: Tue, 18 Jul 2023 00:29:49 +0000 Subject: [PATCH] feat: changelogs --- docs/changelogs/1.11.0.md | 22 ++++++++++++++++++++++ scripts/build.ts | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 docs/changelogs/1.11.0.md diff --git a/docs/changelogs/1.11.0.md b/docs/changelogs/1.11.0.md new file mode 100644 index 000000000..8cbf7e077 --- /dev/null +++ b/docs/changelogs/1.11.0.md @@ -0,0 +1,22 @@ +# Blitzkrieg 1.11.0 + +I am going on vacation so I thought I'd publish this a bit prematurely without all the planned features. + +## Changes + +- Added `/ratings` + - This command currently only has the `leagues` subcommand group + - Displays the top players in a league + - Also shows the changes in their positions and scores since last region midnight + - Use `/help timezones` to know when Blitzkrieg records the leaderboard +- Blitzkrieg now internally generates and keeps a permanent record of all leaderboards updated every `UTC+0` midnight + - This approach will allow us to capture the absolute latest state of the leaderboard before it is wiped for the next season + +## Fixed + +- Removed region "Europe" in `/verify` example + +## Technical Changes + +- Add scripts were upgraded to TypeScript +- Secrets now only throw errors if they're used when not provided diff --git a/scripts/build.ts b/scripts/build.ts index 28cc244f4..db54175b2 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -1,5 +1,5 @@ import { BuildOptions, build } from 'esbuild'; -import { mkdir, rm } from 'fs/promises'; +import { copyFile, mkdir, rm } from 'fs/promises'; import { argv } from 'process'; const isProd = !argv.includes('--dev');