### Fixed
- **API Formatting Errors**: Fixed issue where manually entering target language variants (like `uk_ua` or `en_us`) crashed the DeepL integration by converting underscores `_` to proper hyphens `-`.
- **MyMemory Language**: Enforced uniform `Autodetect` for MyMemory translation endpoint structure.
- **Cache Efficiency**: Unchanged words (e.g., untranslatable nouns) are now cleanly cached locally. The mod will no longer relentlessly query translation APIs for words that remain identically translated.
- **Text Skipping**: Removed faulty regex behavior that incorrectly skipped formatting boundaries around `{image}` macro insertions.
- **DeepL Config Security**: Re-engineered the translation settings. The DeepL API token is uncoupled from shared files and strictly stored within the `local/ftbquesttranslator-secrets.json` dictionary.
- **Translation Deadlock**: Added `.exceptionally()` handler to the async translation pipeline. Previously, if a background HTTP thread crashed with an unrecoverable `Error`, the `isTranslating` flag would stay `true` forever, permanently disabling the translate button until game restart.
- **Bracket Text Not Translated**: Fixed `shouldSkipLine()` falsely skipping regular quest text wrapped in brackets like `[Warning: do not press!]`. The check now validates whether the content is actual JSON before skipping, instead of naively checking for `[` and `]` delimiters.
- **Cache Poisoning**: Translation results are now validated before caching. When the API returns the original text unchanged (e.g. on error or rate limit), it is no longer permanently saved as a "successful translation" in the cache.
- **Cache Loss on Exit**: Added a JVM shutdown hook to flush the translation cache to disk when the game exits. Previously, translations made within the last 5 seconds before closing could be silently lost.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }