Repository navigation
2.1.0
New
- Chart endpoint: filters and search.
GET /{entity}/chart/{field}now takes the same filters and search parameters as the list endpoint, so a chart can match a filtered list. - Stats: string fields.
GET /{entity}/statsnow returnsminLengthandmaxLengthfor string fields.
⚠️ Change to the stats response
Null counts now sit inside each field's object, not in one top-level nulls object. Every field (unless it has noStats) now gets its own entry.
Before:
{ "count": 42, "price": { "min": 1, ... }, "nulls": { "title": 3, "price": 5 } }
After:
{
"count": 42,
"title": { "nulls": 3, "minLength": 4, "maxLength": 52 },
"price": { "nulls": 5, "min": 1, "max": 99, "avg": 20.5, "sum": 861, "stddev": 12.3, "variance": 151.3 },
"category": { "nulls": 0 }
}
If your code reads stats.nulls[field], change it to stats[field].nulls.
Fixes
- Fixed UI props in the test models that made tests fail.
Internal
- Added a test suite covering CRUD, list, charts, LOV, routes, upload and the SQL helpers.
- Added a GitHub Action that runs the tests on every push.
- Added README badges.