v1.7.1
apache/answerv1.7.1Dec 19, 2025by github-actions[bot]
AI Summary
Patch release focused on bug fixes and improvements including SchemaForm input handling, language detection fixes, and various UI/UX corrections.
Key Highlights
- Fixed 500 error on opening any question
- Fixed language file not found error when changing Timezone
- Fixed edited answers not updating after moderation
- Added golangci-lint for code quality
- Fixed multi-byte rune boundary issue in long titles
New Features
- SchemaForm Input always returns a string
- Number input min/max values settable on front-end
- golangci-lint integration
- mockgen bumped to 0.6.0
- Regex compilation optimization
- Footer UI space reduction
Full Release Notes
### New Features * New: SchemaForm Input always a string (@shuashuai #1425) * New: `<input type="number">` needs to set the min|max values on the front-end when necessary (@Dinesht04 #1417) ### Improvements * Improve: Add `golangci-lint` to lint target with related formatting/cleanup (@ferhatelmas #1437) * Improve: Bump mockgen to 0.6.0 (@ferhatelmas #1434) * Improve: Internal refactor to compile regex once rather than on each text clear invocation (@ferhatelmas #1430) ### Bug Fixes * Fixed: Getting “Language file not found.” error when trying to change the Timezone in the admin settings (@LinkinStars #1427) * Fixed: 500 error on opening any question (@shuashuai @LinkinStars #1426) * Fixed: Edited answers do not update after moderation (@LinkinStars #1423) * Fixed: After installation, the default-generated Q&A does not have initial version information when edited (@krypt0n123 #1436) * Fixed: Multi-byte rune boundary issue when cutting long titles (@ferhatelmas #1431) * Fixed: Null pointer access in UI when getting branding fails (@ferhatelmas #1433) * Fixed: Right language handler usage (`GetLangByCtx`) for proper language detection (@liruohrh #1444) ### Other changes * Footer UI adjustment to reduce space occupation