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 since version 0.9.5
- add i18n support
- add "password" field [#112]
- add hooks: useNotice, useResourceEdit, useResourceNew, useResource, useResources
- add option to change resource id [#286]
- change the way of showing resources. From dedicated page to the UI based on Drawer
- change the way of entering the resource from a list - now entire row is clickable
- base the UI on a design-system ** drop bulma CDN dependency ** drop font-awesome CDN dependency ** move most of the dependencies to the global.bundle ** ui is responsive
- Fixed wrong show values on boolean fields in the list [#270]
- fixing wrong documentation in action interface [#264]
- fix wrong path when rendering on the server
- fix responsive issues
- remove AdminBroOption.assets.globalsFromCDN - they are always fetched from local bundle
- add ADMIN_BRO_SKIP_BUNDLE flag
- empty File object when uploading files
- introduction of a bulkActions
- added ErrorMessageBox component
- added custom pages in the sidebar
- add textarea property type
- export withNotice component
- change interface of ApiClient methods: change from
payloadtodataand reuse axios types - divide props for custom components to BasePropertyProps, EditPropertyProps, ShowPropertyProps and FilterPropertyProps
- Placeholder typo (was Placehoder)
- wrong property order [#223]
- PropertyOptions for nested properties (#244)
- Not showing 0 in list and show views (#247)
- Selected sidebar elements after page reload (#241)
- error when decorating nested properties [#220]
- add option to hide logo [PR: #226]
- add drop-area component
- change new and update actions to receive FormData
- add header option to ApiClient
- add isDisabled option to PropertyOptions
- add favicon to the branding options
- added source maps when NODE_ENV is not production
- export Types of Action Responses
- Improve Action interface that all fields are optional when passing via ResourceOptions
- Adjust default theme colours to comply with WCAG 2.0 contrast guidelines
- upgrade typescript to 3.7.3
- add option to pass any notice message in Action Response
- extend ValidationError to hold "base error" which if for entire record - not only for a particular property
- showing validation errors for nested mongoose fields [#200, #199]
- fixed issue with editing nested arrays: [#203]
- fixed overflow select problem in the filter [#189]
- by default assets are not fetched from CDN [#193]
- better API errors support [#190]
admincli withbundlecommand [beta]- bring back tags showing total number of records in list action
- now bundle urls are written always in posix format - which fixes #136
- Export more types from "admin-bro"
- fix error when submit of entire record has been triggered by array add/remove buttons
- overlay error with select in filter - #189
- Id fields are now second in list by default (after title) - #189
- Improve typescript types export (fix errors when importing admin-bro)
- 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
recordpassed to them [#139] - Action.After hook has also original request as a property
AdminBro.requirerenamed toAdminBro.bundler- components are now required via import { [ComponentName] } from 'admin-bro'
- bump up React version to 16.8.0
BaseRecord.toJSONnow takescurrentAdminas 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
Placeholdercomponent - 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
alertmessage when user is logged out
- obsolete
getRecordaction 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
listaction to the configuration - created new
ActionDecoratorobject
- 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
versionsinstead of correct:version) in AdminBroSettings