From 47abdaed6f8f3ae449cddc77a4d9fcc814e7372c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 9 Mar 2024 20:56:22 -0600 Subject: [PATCH] feat: changelogs --- docs/changelogs/1.16.2.md | 36 +++++++++++++++++++ .../components/Model/components/TankModel.tsx | 2 +- .../CoreArmorSceneComponent/index.tsx | 2 -- src/core/blitz/applyPitchYawLimits.ts | 2 +- 4 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 docs/changelogs/1.16.2.md diff --git a/docs/changelogs/1.16.2.md b/docs/changelogs/1.16.2.md new file mode 100644 index 000000000..09b4bce4d --- /dev/null +++ b/docs/changelogs/1.16.2.md @@ -0,0 +1,36 @@ +# Blitzkrieg 1.16.2 + +¡Hola desde el mundo del español! + +## Features + +- Added translations for Spanish to the bot + - Your language will be inferred automatically from your Discord settings + - Any untranslated languages and words we forgot to translate will be left in English + - If you have your language set to Spanish and see English in any places, please let us know on [the official Discord server](https://discord.gg/nDt7AjGJQH) + - All `/about` commands except for `commands` remain in English + - Tank names are still in English + - The website remains unchanged +- The title bar (featured as the big text on top of most commands) has now been made more compact + +## Changes + +- "Tank type" is now called "tank class" +- Removed `/player-achievements` and `search-tanks` + - They will be reintroduced in the future in a far better way + - Also removed a `SKLLD` server exclusive `/eligible` command + - This will be generalized for all clans in the future + +## Fixes + +- Fixed the red glowing floor underneath the tank sandbox + - This has been replaced with a static image +- The refresh button is now properly removed when lacking permissions +- Tank names that start with a number are now properly inferred from command inputs + +## Technical Changes + +- Command registration is now error tolerant meaning that if a single command fails to initiate, it will be discarded until the next restart + - We are currently looking into how we can allow the command to retry registration after a fixed amount of time +- Due to the implications of the code added which can be very easily exploited by hackers, a single file has been added to the repository as a closed source submodule and will remain closed unless a third party open-source implementation is made public +- Removed preview commands diff --git a/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx b/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx index 84a7ac601..e5253be2e 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx @@ -10,7 +10,7 @@ import { ModelTransformEventData, modelTransformEvent, } from '../../../../../../../core/blitzkrieg/modelTransform'; -import { normalizeAngleRad } from '../../../../../../../core/math/normalizeAngleRAD'; +import { normalizeAngleRad } from '../../../../../../../core/math/normalizeAngleRad'; import { useAwait } from '../../../../../../../hooks/useAwait'; import { useModel } from '../../../../../../../hooks/useModel'; import { mutateDuel, useDuel } from '../../../../../../../stores/duel'; diff --git a/src/components/Armor/components/CoreArmorSceneComponent/index.tsx b/src/components/Armor/components/CoreArmorSceneComponent/index.tsx index aa924cb77..c646ee157 100644 --- a/src/components/Armor/components/CoreArmorSceneComponent/index.tsx +++ b/src/components/Armor/components/CoreArmorSceneComponent/index.tsx @@ -1,7 +1,6 @@ import { useFrame } from '@react-three/fiber'; import { useEffect } from 'react'; import { - GLSL3, MeshBasicMaterial, Object3D, ShaderMaterial, @@ -39,7 +38,6 @@ export function CoreArmorSceneComponent({ thickness, }: CoreArmorSceneComponentProps) { const material = new ShaderMaterial({ - glslVersion: GLSL3, fragmentShader, vertexShader, diff --git a/src/core/blitz/applyPitchYawLimits.ts b/src/core/blitz/applyPitchYawLimits.ts index 06ca4421b..7565ac3bf 100644 --- a/src/core/blitz/applyPitchYawLimits.ts +++ b/src/core/blitz/applyPitchYawLimits.ts @@ -1,6 +1,6 @@ import { clamp } from 'lodash'; import { PitchLimits, YawLimits } from '../blitzkrieg/modelDefinitions'; -import { normalizeAngleRad } from '../math/normalizeAngleRAD'; +import { normalizeAngleRad } from '../math/normalizeAngleRad'; export function applyPitchYawLimits( pitch: number, // rad