|
| 1 | +--- |
| 2 | +date: 2025-12-22 |
| 3 | +title: "Apache Answer 1.7.1: SchemaForm & Stability Enhancements" |
| 4 | +authors: [LinkinStar] |
| 5 | +category: Release |
| 6 | +featured: true |
| 7 | +image: 2025-12-22-cover@4x.png |
| 8 | +description: "This release focuses on SchemaForm behavior improvements, frontend input enhancements, engineering quality upgrades, and multiple important bug fixes." |
| 9 | +--- |
| 10 | + |
| 11 | +We’re pleased to announce a **new Apache Answer release**! |
| 12 | +This version continues to refine the developer and user experience with improvements to **SchemaForm behavior**, **frontend input validation**, **engineering tooling**, and a number of **important bug fixes** that improve overall stability and correctness. |
| 13 | + |
| 14 | +As always, thank you to everyone in the community who contributed code, reviews, and feedback. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## ✨ New Features |
| 19 | + |
| 20 | +### SchemaForm Enhancements |
| 21 | + |
| 22 | +* **New**: SchemaForm Input values are always treated as strings ([#1425](https://github.com/apache/answer/pull/1425)) by [@shuashuai](https://github.com/shuashuai) |
| 23 | + This change unifies input value handling and avoids type inconsistencies between frontend and backend logic, improving predictability for plugin developers. |
| 24 | + |
| 25 | +* **New**: `<input type="number">` now requires setting `min` / `max` values on the frontend when needed ([#1417](https://github.com/apache/answer/pull/1417)) by [@Dinesht04](https://github.com/Dinesht04) |
| 26 | + Improves frontend validation by enforcing numeric boundaries earlier in the user input flow. |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +## 🚀 Improvements |
| 31 | + |
| 32 | +### Engineering & Code Quality |
| 33 | + |
| 34 | +* **Improve**: Add `golangci-lint` to the lint target with related formatting and cleanup ([#1437](https://github.com/apache/answer/pull/1437)) by [@ferhatelmas](https://github.com/ferhatelmas) |
| 35 | + Helps maintain consistent Go code style and catches potential issues earlier in development. |
| 36 | + |
| 37 | +* **Improve**: Bump `mockgen` to version 0.6.0 ([#1434](https://github.com/apache/answer/pull/1434)) by [@ferhatelmas](https://github.com/ferhatelmas) |
| 38 | + Keeps test tooling up to date and improves compatibility. |
| 39 | + |
| 40 | +* **Improve**: Internal refactor to compile regular expressions once instead of on each text-clean invocation ([#1430](https://github.com/apache/answer/pull/1430)) by [@ferhatelmas](https://github.com/ferhatelmas) |
| 41 | + Reduces unnecessary overhead and improves runtime performance. |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +## 🐛 Bug Fixes |
| 46 | + |
| 47 | +### Admin & Core Functionality |
| 48 | + |
| 49 | +* **Fixed**: “Language file not found.” error when changing the timezone in admin settings ([#1427](https://github.com/apache/answer/pull/1427)) by [@LinkinStars](https://github.com/LinkinStars) |
| 50 | + |
| 51 | +* **Fixed**: 500 error when opening any question ([#1426](https://github.com/apache/answer/pull/1426)) by [@shuashuai](https://github.com/shuashuai) & [@LinkinStars](https://github.com/LinkinStars) |
| 52 | + |
| 53 | +* **Fixed**: Edited answers were not updated correctly after moderation ([#1423](https://github.com/apache/answer/pull/1423)) by [@LinkinStars](https://github.com/LinkinStars) |
| 54 | + |
| 55 | +* **Fixed**: Default-generated Q&A missing initial version information when edited after installation ([#1436](https://github.com/apache/answer/pull/1436)) by [@krypt0n123](https://github.com/krypt0n123) |
| 56 | + |
| 57 | +### Text Handling & Localization |
| 58 | + |
| 59 | +* **Fixed**: Multi-byte rune boundary issue when truncating long titles ([#1431](https://github.com/apache/answer/pull/1431)) by [@ferhatelmas](https://github.com/ferhatelmas) |
| 60 | + |
| 61 | +* **Fixed**: Null pointer access in UI when branding retrieval fails ([#1433](https://github.com/apache/answer/pull/1433)) by [@ferhatelmas](https://github.com/ferhatelmas) |
| 62 | + |
| 63 | +* **Fixed**: Correct language handler usage (`GetLangByCtx`) for accurate language detection ([#1444](https://github.com/apache/answer/pull/1444)) by [@liruohrh](https://github.com/liruohrh) |
| 64 | + |
| 65 | +--- |
| 66 | + |
| 67 | +## 🎨 Other Changes |
| 68 | + |
| 69 | +* **Footer UI adjustment** |
| 70 | + The footer layout has been refined to reduce vertical space usage, resulting in a cleaner and more compact page layout. |
| 71 | + |
| 72 | +--- |
| 73 | + |
| 74 | +## 🙌 Contributor Acknowledgments |
| 75 | + |
| 76 | +A big thank you to everyone who contributed to this release through code, reviews, testing, and feedback. Your efforts help keep Apache Answer reliable and continuously improving. |
| 77 | + |
| 78 | +Special thanks to the contributors (in alphabetical order): |
| 79 | + |
| 80 | +* [@Dinesht04](https://github.com/Dinesht04) |
| 81 | +* [@ferhatelmas](https://github.com/ferhatelmas) |
| 82 | +* [@krypt0n123](https://github.com/krypt0n123) |
| 83 | +* [@liruohrh](https://github.com/liruohrh) |
| 84 | + |
| 85 | +--- |
| 86 | + |
| 87 | +**Upgrade now** to enjoy these improvements and fixes! If you encounter any issues, please report them on [GitHub](https://github.com/apache/answer/issues). |
| 88 | + |
| 89 | +Happy browsing! 🎉 |
| 90 | + |
0 commit comments