|
2 | 2 |
|
3 | 3 | All notable changes to FastAdmin are documented in this file. |
4 | 4 |
|
| 5 | +## 0.8.1 |
| 6 | + |
| 7 | +Bug-fix release from a full-source audit of `main`. No public API changes. |
| 8 | + |
| 9 | +- **Pony ORM**: fix list-view search crashing (HTTP 500) for models whose |
| 10 | + primary key is not named `id`, and fix multi-field ordering with mixed |
| 11 | + ascending/descending fields silently sorting by the wrong priority. |
| 12 | +- **SQLAlchemy**: filtering a list by a many-to-many (or other relationship) |
| 13 | + field no longer raises an unhandled 500; it now matches on the related row's |
| 14 | + primary key. |
| 15 | +- **Flask**: unhandled server errors now return a proper HTTP 500 with a generic |
| 16 | + message (previously sent as HTTP 200 and leaked the exception text), and API |
| 17 | + errors are returned as JSON `{"detail": ...}` matching the Django/FastAPI |
| 18 | + integrations instead of HTML error pages. |
| 19 | +- **Filtering**: the literal strings `"true"`, `"false"`, and `"null"` are no |
| 20 | + longer coerced to `bool`/`None` on text fields, so a text column can be |
| 21 | + filtered for those exact values. |
| 22 | +- **Frontend**: fix a form-save crash when a JSON field value is an object with a |
| 23 | + `date` key; stop corrupting text fields whose content looks like a date/time; |
| 24 | + render stored `CheckboxGroup` selections correctly; surface errors from |
| 25 | + dashboard action run/refresh; and use the react-query v5 `invalidateQueries` |
| 26 | + signature to avoid over-invalidating unrelated queries. |
| 27 | +- Correct the `sortable_by` docstring to match actual behavior. |
| 28 | + |
5 | 29 | ## 0.8.0 |
6 | 30 |
|
7 | 31 | - Add a `register_encoder(type_, encoder)` hook to control how a type is |
|
0 commit comments