Repository navigation
@quazardous/qdadm@2.0.0
·
258 commits
to main
since this release
Major Changes
-
3fbc921: 2.0.0 — dead-export removal + unified locale policy.
Removed exports (all verified consumer-free)
Removed Migrate to useForm(+UseFormOptions,UseFormReturn,FormAlterConfig)useEntityItemFormPage(entity forms) /useBareForm(custom forms)FormTabs,FormTabcomponentsFieldGroupswithlayout="tabs"ActionColumncomponentActionButtons(data-driven, used byListPage)useCurrentEntity(+UseCurrentEntityReturn)useStackHydrator().setCurrentData()get supportsCaching()instance getter on the 5 storage adaptersstatic capabilities.supportsCaching(e.g.ApiStorage.capabilities.supportsCaching)Behavior change: one locale policy (browser locale)
Date/number/currency rendering previously used three conflicting policies (
fr-FRhardcoded inuseListPage.formatDate,en-USfallback inShowDisplay, browser locale inutils/formatters). Everything now routes throughutils/formatterswith the browser locale by default:useListPage'sformatDateno longer forcesfr-FR.ShowDisplayno longer falls back toen-US; the per-fieldfield.localeoverride still wins.formatDate/formatDateOnly/formatNumbergain an optional trailinglocaleparameter; newformatCurrency(value, currencyCode?, locale?)export.
If your app relied on the hardcoded
fr-FR/en-USrendering, passfield.localeexplicitly (show fields) or set the browser/app locale.
Patch Changes
- 92ceeaa: Fix
EntityManager.list()total extraction on the resolved-endpoint path (child lists viaresolveStorage→storage.request). Wrapper responses like{ data: [...], pagination: { total } }(or{ data: [...], total }) had their total read from the unwrapped items array, falling back to the page length — so pagination believed there was only one page. The wrapper-leveltotal/pagination.totalare now read before the page-length fallback (#1197).