1.5.6
- Add nullable fields.
- Edit dialog now renders within the Table component (and thus allowing css scoping).
- Edit dialog is now wrapped in a Suspense.
- Add classnames on table rows depending on row-actions.
- Make edit state of Row dependent on edit row action.
1.5.5
- Add more options to the
Tabs
component
- Fix bug in 1.5.4 regarding Redux without devtools
1.5.4
- Make many-to-one relation keys (e.g.
projectId
) readonly
and remove @Allow
in entity generation.
- Massively improve hook render speed.
- Allow
null
as message value of useAreYouSure
when you don't want the popup.
- Add
onClick
row action.
- Fix QueryParam not updating on navigate.
- Fix search pagination update bug.
1.5.3
- Improve table virtualization.
- Add
prerenderFirstBlock
property to tables to create performance boost in some cases.
- Include
name
property in all Ref instances, and give a warning when these are undefined
in the cache. This will give an error in the future.
- Fix bug in
EditDialog
when no changes are made.
- Fix bug in internal memos comparing boolean values.
- Fix bug in merging language objects with the default UI translations.
1.5.2
- Fix
invalidate
for sub-endpoints.
- Make it possible to await
setObject
, addObject
/addObjectAt
and deleteObject
in the controller
.
1.5.1
- Add
partitioned
property to ListControllers. Use this to fetch each page of a list seperately.
- Non-partitioned ListControllers now always return the entire list. Filtering and pagination is applied inside the DisplayTable.
- Changing the filter of a ListController will set the page to 0.
- RowActions and HeaderActions which are added inside of the tables now merge with the table's action argument.
- Extend useAreYouSure to include a third string argument, which the user must type in a field before being able to confirm the action.
- Fix bug with short version of CategoryField not opening.
- Fix bug with EditDialog not resetting the internal state.
- Remove DisplayComponentProps (which did nothing) and add HeaderComponentProps to DisplayTable.
- Fix some incorrect conversions in useResource.
- Add
useSaveContext
which allows access to the editing state.
1.5.0
- Add types serialization
- Improve code quality
- Add Eidos Admin Console where you can
- Check loaded types
- Check expected endpoints
- Check translations
- Check cache typings
- Rewrite data hooks
- Rewrite controllers
- Improve
useAwait
typing
- Add
invalidate
controller property to invalidate resources stored in the cache
- Add TypeORM entity generation
Breaking changes
emptyValue
property of EditableTable
was renamed to initialValue
and is required to be T
instead of Partial<T>
.
- useAwait of multiple resources now requires conjunctions: instead of
useAwait(a, b)
, write useAwait(a && b)
.
- Warning for not specifying
DisplayComponent
in EditableTable
as been turned into a type error.
- Creation of
id
properties has been fully delegated to Eidos.
1.4.6
- Add
useLoading
hook
- Improve
useLocalList
hook
- Fix filter bug with empty strings
1.4.5
- Improve excel download
- Capitalize default translation labels
- Update Eidos colors
1.4.4
- Make use of
lodash-es
instead of lodash
1.4.3
- Fix bug regarding searching in tables
1.4.2
- Fix problem with aliases of booleans in
types.json
.
- Make
listindex
readonly.
- Fix bug in filter function.
1.4.1
- Expose
eidosReducer
.
- Fix value update bug in
NumberField
- Fix
useLocalList
count bug.
1.4.0
- Refactor datahooks to be more uniform.
- Update data sorting.
- Improve controller to include depth, searching and prepare for filters.
- Standardize class names
Breaking changes
- All Refs must have a
name
property.
- CSS changes:
.Table -> .DisplayTablecontainer
.TableRow.Header -> .TableHeader
.TableRow.Filters -> .TableFilters
.DisplayTable .emptyText -> .DisplayTableemptyText
.AppHeader .Logo -> .AppHeaderlog
.HUD .Menu -> .HUDmenu
- For all fields.Type className has now become .TypeField
useController
is now useListController
.
callApi
is no longer exported.
- dataHooks expect only 2 arguments (depth is included in the initialController).
- dataHooks return only 2 values (
[resource, controller]
).
- EidosProvider replaces
setRequestConverter
, registerLanguage
, registerTypes
, setLocale
, setResponesConverter
.
- HUD property
displayName
is now name
.
- TableAction
icon
property is now Icon
.
- DisplayTable no longer has
rowHeight
and virtualized
properties.
1.3.1
- Add support for
any
type including an AnyField
.
- Improve
types.json
generation.
- Many bug fixes and improvements.
- Start controller for sorting and pagination of data.
1.3.0
- Upgrade compiler.
- Many bug fixes and improvements.
1.2.0 (depricated)
- Consolidate eidos packages into one.
- Improve
useResource
and useSave
hooks.
- Publish first compiler interface.
1.2.1 (depricated)