All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Started from version 0.9.5
- fix error with hidden resource filter
- 404 error has been seen when page loads - fixed.
- improve TypeScript setup by adding strict flags
- add 404 errors
- fix error with removing records
- all colors are added to the css theme - improve theme support
- migrate all remaining components to typescript
- added new component: Styled Link
- added ActionContext to both before nad after action hooks
- most of the app has been rewritten to typescript
- tsc check has been added to the build process
- linter has been updated to cover typescript
- documentation update to cover new types
- components can now be written in typescript
- isVisible and isAccessible have
record
passed to them [#139] - Action.After hook has also original request as a property
AdminBro.require
renamed toAdminBro.bundler
- components are now required via import { [ComponentName] } from 'admin-bro'
- bump up React version to 16.8.0
BaseRecord.toJSON
now takescurrentAdmin
as an argument
- fixed loading components on windows [#140]
- fixed issue with nested arrays [#135]
- remove AdminBro from page title [#121]
- change loader in list from a spinner to placeholder
- update documentation with new Components and adapters
- add option to define if globals should be fetched from CDM or from local bundle [#121]
- add
Placeholder
component - export all Application components, that users can also use them
- fixed errors seen when generating documentation (change <> to </React.Fragment>)
- new welcome screen
- PropertyTypes are now exported as they were before
alert
message when user is logged out
- obsolete
getRecord
action fromApiClient
- Added default color to ValueBlock [#133]
- fix ForbiddenError message
- Not present links to not accesible routes
- Custom components now are rendered always first (no matter if the field is an array or mixed type)
- support for Arrays in mongoose adapter [#90]
- support for Embeded objects in mongoose adapter [#110]
- BaseResource.param could return nested object
- fix error for nested fields in filter [#115]
- change deprecation message to better show which function is deprecated
- fix error for not existing route [#127]
- added action hooks [#123]
- access controll with BaseAction.isAccessible [#118]
- added new
list
action to the configuration - created new
ActionDecorator
object
- ResourceDecorator.recordsDecorator() in favour of new BaseAction.after hook
- ViewHelpers#listUrl in favour of ViewHelpers#resourceAction url
- create new record button is hidden when user cannot have an access to it [#122]
- add an option to pick default sort [#124]
- fixed a name of the version property (was
versions
instead of correct:version
) in AdminBroSettings