v0.16.0
-
Added
ManualPromise,groupBy()to @frui.ts/helpers. -
Added
hideValidationErrors()to @frui.ts/validation. -
Added
ResponsiveTableandDataListcontrols to @frui.ts/dataviews. -
OpenAPI generator refactored. Supports
allOfandoneOffeatures. -
OpenAPI generator supports Date conversion with date-fns. Use
dates: "date-fns"in the config file. -
Inputin @frui.ts/bootstrap supports new props:asandrows. -
Selectin @frui.ts/bootstrap supports new props:emptyText. -
ScreenBase.isInitializedis now public. -
Added
ContinuousListViewModelto @frui.ts/datascreens. It covers the case of 'endless' lists. -
FilteredListViewModelin @frui.ts/datascreens has new extension/customization points:cloneFilterForApply()andcreateFilter(). -
BREAKING: Props of
<View />changed:fallbackMode: "message" | "children". In case"children"is set, the children props of the<View />component is rendered when no view is found. You can use"children"instead of the original"empty". -
BREAKING:
getValueandsetValuehooks accepttargetandpropertyarguments instead of a singleprops. -
Binding types changed. You can use the third type parameter of
IBindingProps<TTarget, TProperty, TValue>to restrict the binding target value type. -
IApiConnectorandFetchApiConnectorchanges:fetchFunction,jsonSerializer, andmiddlewareproperties are now protected and thus available to inheriting classes- BREAKING:
postText,postFormDatareplaced bypost. The same goest forputText,putFormData,patchText,patchFormData,deleteText, anddeleteJson. - BREAKING:
deletenow containsbodyargument.
-
RestRequestBuilderchanges:- BREAKING:
postFormDatareplaced bypostData,putFormDatareplaced byputData - added
path(path: string)for fluent URL building - added
url:stringproperty for reading current URL - uses
query-stringpackage for creating query strings (you can use thequeryStringOptionsproperty to customize the stringification process - see https://github.com/sindresorhus/query-string#stringifyobject-options)
- BREAKING: