Skip to content

Latest commit

 

History

History
498 lines (421 loc) · 27.4 KB

CHANGELOG.md

File metadata and controls

498 lines (421 loc) · 27.4 KB

Changelog

v1.2.3

  • Add Epilogue REST client (dunghuynh)
  • Fix SelectInput selection via keyboard (djhi)
  • Fix fetchJson to allow custom content type (sGy1980de)
  • Fix TabbedForm errors being hidden for inactive tabs (djhi)
  • Fix FileInput handling when allowing only a single file (djhi)
  • Fix numeric validators for sero value (djhi)
  • Fix colors used for pagination chevrons (djhi)
  • Fix SelectInput Bidirectional binding (djhi)
  • Fix FileInput does not display error on validation error (djhi)
  • Add Danish translation (SSA111)
  • Fix typo in tutorial (melaniedavila)
  • Add Norwegian translation (zeusbaba)
  • Fix checkboxes getting reordered when used with ReferenceArrayInput (fzaninotto)
  • Fix typo in Translation documentation (dimitrovs)

v1.2.2

  • Add yarn support (dervos)
  • Fix login form lock and loader (teldosas)
  • Fix custom headers documentation (fzaninotto)
  • Add support for numeric value in NumberInput step prop (fzaninotto)
  • Add documentation for admin history prop (fzaninotto)
  • Fix doc for ISO date input (leesei)
  • Fix wrong use of the 'Edition' word across the documentation (cornhundred)
  • Fix typo in tutorial (cornhundred)
  • Fix typo in RestClients documentation (arlair)
  • Add farsi translation package (hamidfzm)
  • Fix translation warning on TabbedShowLayout's tab names (freeznet)
  • Fix typo in Authentication documentation (RWOverdijk)
  • Fix typo in CreateEdit documentation (RWOverdijk)
  • Add Turkish translation package (ismailbaskin)

v1.2.1

  • Fix multi select in FileInput (doananh234)
  • Fix RadioButtonGroupInput label translation (lucasfevi)
  • Fix TabbedForm initialValues gathering (djhi)
  • Fix ReferenceFields label hidden on the top of field (philippe-cleany)
  • Fix ReferenceArrayField used with Datagrid child (fzaninotto)
  • Fix custom saga documentation (fzaninotto)
  • Add Code of conduct (fzaninotto)
  • Fix documentation on ReferenceArrayList (vmattos)

v1.2.0

Read the v1.1 and v1.2 announcement on the marmelab blog.

  • Add ability to override redirect behavior on save for <Create> and <Edit> views (wesley6j)
  • Add refresh button to <Show> view (djhi)
  • Add asterisk to label on required Input (djhi)
  • Add <FileInput> (djhi)
  • Add sort feature to <ReferenceManyField> (wesley6j)
  • Add ability to use custom history in <Admin> (fzaninotto)
  • Add <TabbedShowLayout> to mirror <TabbedForm> (remi13131)
  • Add options prop to <BooleanInput> and pass them to mui <Toggle> (djhi)
  • Add AOR/ prefix to Redux actions (ThieryMichel)
  • Add deep path support for optionText and optionValue props the Input components used as Reference children (mtakayuki)
  • Add ability to override <SimpleShowLayout> container styles (djhi)
  • Add <MenuItemLink> to fix bad click handling of menu on mobile (djhi)
  • Add aor-firebase-client to the list of REST clients (sidferreira)
  • Update redux-saga to 0.15.3 (dervos)
  • Fix filter in <ReferenceInput> not taken into account when <AutocompleteInput> is filled (djhi)
  • Fix <ReferenceArrayField> when ids is null (wesley6j)
  • Fix missing translation helper in <Show> view (djhi)
  • Fix code highlighting on REAMDE (diegohaz)
  • Fix custom REST client list format for better readability (fzaninotto)

v1.1.2

v1.1.1

  • Add Show view documentation (djhi)
  • Split Admin and Resource docs for better readability (fzaninotto)
  • Fix flaky end-to-end tests (dervos)
  • Fix <DisabledInput> not showing default value (wesley6j)
  • Fix <SelectArrayInput> prop types (floo51)
  • Fix <DateInput> for some locales (wesley6j)
  • Fix support for null and false value in <SelectInput> options (wesley6j)
  • Fix missing <FileInput> mention in documentation reference (djhi)
  • Fix duplicate documentation in Ecosystem (djhi)
  • Fix typos on Theming documentation (martjanz)

v1.1.0

  • Add <ReferenceArrayInput> and <SelectArrayInput> (kimkha and fzaninotto)
  • Add <ReferenceArrayField> (leesei and fzaninotto)
  • Add payload to USER_LOGIN_SUCCESS action, using the AUTH_LOGIN response from the authClient (SidFerreira)
  • Add reset state after logout (bodo22)
  • Add ability to disable submit on enter in <SimpleForm> and <TabbedForm> (jkrnak)
  • Add integer casting to pagination params (grahamlyus)
  • Add elStyle prop to <DisabledInput> (wesley6j)
  • Add Frequently Asked Questions (FAQ) to the documentation (djhi)
  • Add Ecosystem to the documentation (djhi)
  • Add Swedish translation (StefanWallin)
  • Fix filters with dot notation not properly cleared (djhi)
  • Fix show (edit) button in Edit (Show) page on initial load (wesley6j)
  • Fix defaultValue typo in blog example (wesley6j)

v1.0.2

  • Fix typo in Login page instructions in tutorial (DjLeChuck)
  • Fix clear filter breaks filters on subsequent refreshes (djhi)
  • Add ability to customize sidebar width (djhi)
  • Add example about using auth action creators (djhi)
  • Fix <ReferenceField> should not fetch null values (djhi)
  • Fix typo in <FilterForm> styles (djhi)
  • Fix Edit View not being updated when fields get changed (djhi)
  • Fix DateField tests on all timezones (djhi)
  • Add instructions to run the example app in README (juanda99)
  • Fix edge case in <RichTextField> when string is falsey value (faviouz)

v1.0.1

  • Fix filters on refresh (djhi)
  • Fix <CheckboxGroupInput> on IE (djhi)
  • Fix warning when using non-string title prop in <Admin> (JulienDemangeon)
  • Fix id parameter not decoded in URL (abarani)
  • Fix Auth error message not displayed (tacoo)
  • Fix <Logout> button not redrawn on theme change (zyhou)
  • Fix validation documentation (validation prop renamed to validate) (tacoo)
  • Fix JSX syntax highlighting in documentation (fzaninotto)
  • Add mention of obligation to declare a Resource for ReferenceInput to work (fzaninotto)
  • Add a missing link in the doc Table of Contents (leesei)
  • Add link to Chinese (Traditional) (cht) translation (leesei)
  • Add link to sandbox in the Contributing documentation (fzaninotto)

v1.0.0

Read the v1.0 announcement on the marmelab blog.

  • [BC Break] Switch validation system to redux-form native validation (breaks all input validation)
  • [BC Break] Move error mapping (HTTP to REST) to authClient (breaks HTTP 401 and 403 error handling)
  • [BC Break] Upgrade react-router to v4 (breaks custom routes)
  • [BC Break] Refactor Auth side effects to Saga (breaks custom app and custom layout)
  • Add ability to require all components from the admin-on-rest package (no more admin-on-rest/lib/mui)
  • Add <SelectField> component
  • Add <Restricted> component
  • Add LOGIN, LOGOUT, CHECK, and ERROR actions
  • Add translation of options in <SelectInput>, <AutocompleteInput>, <RadioButtonGroupInput>, and <CheckboxGroupInput>
  • Add linkType prop to <ReferenceField> to allow customization or removal of hyperlink on references
  • Add ability to override the <Filter> component by using redux-form's new onChange method
  • Add message in <List> when the REST API returns no result (mantis)
  • Add ability to remove images in <ImageInput>
  • Add error when an erroneous REST response does not contain the error key
  • Add the ability to pass an initial state to createStore (thedersen)
  • Add link from ImageInput documentation to REST Client decoration documentation (leesei)
  • Add documentation for parse() and format() in Inputs reference (leesei)
  • Add warning in documentation about <Resource> required for ReferenceManyField usage
  • Add Czech translation (magikMaker)
  • Add Japanese translation (valueshimoda)
  • Add Dutch translation (pimschaaf)
  • Add aor-jsonapi-client to the list of REST clients (maxschridde1494)
  • Add e2e tests for post creation (demougin2u)
  • Upgrade dependencies (including React 15.5.4, redux-form 6.6.3, material-ui 0.17.4)
  • Fix error messages translation
  • Fix ability to disable sort for a field
  • Fix translation warning on tab names
  • Fix Admin component crash while rendering if first resource isn't loaded yet (lutangar)
  • Fix missing menu dock for dashboard
  • Update tutorial screenshots

v0.9.4

  • Fix <ReferenceManyField> documentation by adding a warning about required <Resource>
  • Fix custom dashboard documentation for <ViewTitle>
  • Fix custom List actions documentation (remi13131)
  • Fix restClient documentation by simplifying example code (kulakowka)
  • Fix refresh on Edit clears data
  • Fix bad "unauthorized" notification after login
  • Fix typo on authentication documentation (faviouz)
  • Fix custom style component documentation (vysakh0)
  • Fix Custom HTTP Client documentation (remi13131)
  • Explain branches in README
  • Fix <NullableBooleanInput> bug on undefined meta prop

v0.9.3

  • Fix list layout breaking when there are more than 3 filters
  • Fix documentation about API endpoint and aor URL mapping
  • Fix typos in Actions documentation (leesei)
  • Fix hyperlink to JSON API route in Tutorial (damiansimonpeter)
  • Add a dropAreaLabel prop to <ImageInput> to let developers customize label of drop area (DjLeChuck)

v0.9.2

  • Fix IE11/Edge flexbox issue (LoicMahieu)
  • Fix custom sagas can't reliably watch router actions
  • Fix image input previews on drop
  • Fix pagination on mobile
  • Fix SelectInput error text position
  • Add mention of Hungarian translations (s33m4nn)
  • Add mention of aor-parseserver-client
  • Add contribution guidelines

v0.9.1

  • Fix redirection after creation
  • Fix jsonServer GET_MANY implementation (wadjeroudi)
  • Add Loopback-like REST client (kimkha)
  • Update Webpack example config (velociwabbit)

v0.9.0

Read the v0.9 announcement on the marmelab blog

  • [BC Break] Update REST response format to always expect a data key
  • Add mobile UI (Sidebar, AppBar, Datagrid, actions, form action)
  • Add <Responsive> component
  • Add <ViewTitle> component (to be used instead of <CardTitle> for responsive views)
  • Add ability to hide sidebar using hamburger menu
  • Add <Sidebar> component
  • Add menu prop to <Admin>, to customize the menu without overriding the layout
  • Add dashboard MenuItem on top of Menu when relevant
  • Add ability to execute crud actions without redirect (thedersen)
  • Add support for custom onBlur, onChange, and onFocus props to <NumberInput> and <TextInput>
  • Add support for image preview change via dispatches form value in <ImageInput />
  • Add support for custom redirect path when auth check fails (thedersen)
  • Add support for non-cancelable fetch in crudGetList action (thedersen)
  • Add support for default locale in resolveBrowserLocale
  • Add ability to translate CRUD_UPDATE to HTTP PATCH method
  • Add ability to hide fields
  • Add Spanish translations (JonatanSalas)
  • Add Vietnamese translations (kimkha)
  • Improve Login page UX with form lock and loader (Natsuke)
  • Improve <Datagrid> rendering options by using material-ui <Table> element
  • Improve loader and button components rendering speed
  • Remove link to dashboard in the top bar
  • Remove CSS copy step from build
  • Fix notification for server error even when the response body is empty

v0.8.4

  • Fix defaultValue assignment for nested resource attributes (cytomich)
  • Fix typo in Inputs documentation (FallDi)
  • Fix Custom App install instructions
  • Add Hebrew translation link (mstmustisnt)
  • Add link to Feathers restClient (josx)

v0.8.3

  • Fix Edit view shows stale data
  • Fix anchor typo on documentation index (szappacosta)
  • Fix missing import in the Getting Started tutorial (SilentKernel)
  • Add demo video in doc and GitHub homepage
  • Add Russian translation link (cytomich)

v0.8.2

  • Fix scroll to top during navigation when auth is disabled
  • Fix fetch saga to avoid mutating actions
  • Fix custom app documentation
  • Fix SelectInput arrow click hides input
  • Fix missing status in fetch when error is thrown (wadjeroudi)
  • Remove documentation images from package
  • Add Chinese translation link (downup2u)
  • Add German translation link (der-On)
  • Add link to powershell script for building (mantis)

v0.8.1

  • Fix custom title in view and custom label in resource
  • Fix quick filter in example demo
  • Add link to GraphQl rest client in the docs
  • Add link to <ColorInput> component in the docs
  • Add link to Italian translation in the docs (stefsava)

v0.8.0

See the v0.8.0 announcement in the marmelab blog.

  • [BC Break] Rename defaultSort prop to sort in <List> component, to make it consistent with the props of <ReferenceInput> and <ReferenceManyField>
  • [BC Break] Rename filter props (the one accepting a <Filter> element) to filters in <List> component
  • Add I18n
  • Add Authentication
  • Add <ImageField> and <ImageInput> to upload images
  • Add <CheckboxGroupInput> component
  • Add the ability to hook up custom sagas in <Admin>
  • Add the ability to hook up custom reducers in <Admin>
  • Add filter prop to <List> component for permanent filters
  • Add support for defaultValue in filters
  • Add support for functions as value for the defaultValue prop
  • Add ability to disable sorting on datagrid headers
  • Add perPage, sort, and filter props to ```
  • Add label prop to all buttons
  • Add Custom Actions documentation
  • Add CSS prefix to flex-box elements (yshing)
  • Improve Delete button labels
  • Update optimistic rendering to also work with custom fetch actions
  • Speed up <Datagrid> rendering
  • Refactor response side effects to a normal saga
  • Upgrade redux-saga to v0.14.2
  • Fix disconnection on dashboard
  • Fix edge case where list filter isn't shown
  • Fix validation for <AutocompleteInput>, <ReferenceInput>, and <SelectInput> (AkselsLedins)

v0.7.2

  • Fix code snippets disappearing from documentation
  • Add mention of aor-postgrest-client in REST clients documentation
  • Fix missed refresh in example due to aor-json-rest-client not cloning the objects
  • Fix Refresh button doesn't refresh References
  • Fix pagination error in console during load

v0.7.1

  • Fix validation on nested fields
  • Fix validation when passed as <Input> prop in <TabbedForm> component
  • Fix endless spinning <SaveButton> upon error

v0.7.0

See the v0.7.0 announcement in the marmelab blog.

  • [BC Break] Remove <RichTextInput> from core, use aor-rich-text-input instead
  • [BC Break] Introduce <SimpleForm> component between <Edit>/<Create> and input components
  • [BC Break] Introduce <SimpleShowLayout> component between <Show> and field components
  • [BC Break] Remove GET_MATCHING REST verb (and merge with GET_LIST)
  • [BC Break] Add a limit to the fetching of <ReferenceInput> (set to 25 by default)
  • [BC Break] Custom input elements are not decorated by <Field> by default, set addField: true to get it
  • [BC Break] Custom input elements are not decorated by <Labeled> by default, set addLabel: true to get it
  • [BC Break] Rename includesField: true to addField: false for Input components
  • [BC Break] Rename includesLabel: true to addLabel: false for Input components
  • [BC Break] All Redux action creators are now exported at the root level
  • Introduce <TabbedForm> component as an example of alternative form layout
  • Add <AutocompleteInput> field
  • Add <NumberInput> field
  • Add ability to use any React component (including Fields) as Edit or Create element
  • Add support for locales and options in <DateField>
  • Add animation on click in <SaveButton>
  • Add Refresh button in <Edit> view
  • Add support for defaultValue in <Create> and <Edit> components
  • Add support for defaultValue in <Input> components
  • Add support for actions in <Create> and <Edit> components
  • Add a perPage prop to <ReferenceInput> to allow fetching more or less options
  • Add a sort prop to <ReferenceInput> to allow sorting of options
  • Add support for function as optionText value in <SelectInput>, <RadioButtonGroupInput>, and <AutocompleteInput>
  • Add support for element as optionText value in <SelectInput>, and <RadioButtonGroupInput>
  • Add double submission protection in <SaveButton>
  • Add trigger to hide <Edit> view title until record is loaded
  • Add support for special chars like "/" in id (dunglas)
  • Add <FormField> component to allow reuse of the addLabel/addField decoration logic
  • Use Json REST client (http-less client) in example
  • Set allowEmpty to true by default in Filter form (was breaking <ReferenceInput> in filters by default)
  • Fix bad setup of ReferenceInput value in filters
  • Fix <SavedButton> in case of invalid form (was spinning forever)

v0.6.2

  • Fix bad _end argument for jsonServer REST client
  • Clarify CORS headers documentation and exception message
  • Fix wrong table cell wrap in <Datagrid>
  • Add custom layout documentation to Theming chapter
  • Fix <NumberField> when record has no value for the source
  • Fix <DateField> for null values

v0.6.1

  • Fix notification background colors to use mui theme
  • Fix missing lodash.defaultdeep not mentioned as dependency

v0.6.0

  • [BC Break] The filter prop of the component now expects an element rather than a component (<List filter={<MyFilter/>} > rather than <List filter={MyFilter} >)
  • [BC Break] The title prop of all view components now expect an element rather than a component (<List title={<MyTitle/>} > rather than <List title={MyTitle} >)
  • [BC Break] Rename style to elStyle and let style override container element
  • Add special design for non-sortable columns in datagrid
  • Add style, elStyle to all components
  • Add headerStyle to Field components (ability to style <th>)
  • Add rowStyle to <Datagrid> (ability to style <tr> according to the value)
  • Add defaultSort to <Datagrid> (ability to set default sort order on list)
  • Add actions, perPage, and pagination props to the <List> component
  • Add List view documentation
  • Add <BooleanField> component
  • Add <BooleanInput> component
  • Add <NullableBooleanInput> component
  • Add <NumberField> component
  • Add <FunctionField> component
  • Align datagrid first column to the page title
  • Hide resources in the Menu when they don't have a list view
  • Fix warning for fields with no source and no label
  • Fix FilterButton for fields without label

v0.5.4

  • Document conditional formatting
  • Fix node incompatibility error caused by quill when installing with yarn (tinhnguyen-ea)
  • Fix pagination when the number of pages exceeds 8
  • Fix React 14.4 compatibility by updating react-tap-event dependency (petetnt)
  • Fix regression in material UI Popover
  • Update dependencies (react, material-ui, redux-form, redux-saga)

v0.5.3

  • Fix jsonServer GET_MANY when overriding htpClient (aceofspades)
  • Fix bad refresh of list after create, update, and delete
  • Fix unstable state after create, update, and delete

v0.5.2

  • Fix <SelectInput> subcomponent key in case of duplicate value (rweindl)
  • Fix make test-watch command
  • Fix datagrid margins to accomodate more content
  • Fix cannot set empty value on <ReferenceInput/>
  • Fix bad error message in restClient when no count header is found
  • Fix Infinite loop when two menu clicked quickly
  • Fix Warning when Datagrid contains two action buttons
  • Add ability to intercept HTTP request and add custom headers

v0.5.1

Fix bad built files

v0.5.0

See the v0.5.0 announcement in the marmelab blog.

  • [BC Break] Remove credentials: include HTTP option enabled by default
  • Add <Show> View
  • Add custom headers support
  • Add support for the style attribute in all components
  • Add Theming Documentation (by MattWilliamsDev)
  • Update the <Datagrid> to use real tables (and auto-size columns)
  • Upgrade to material-ui 0.16
  • Update package to bundle quill
  • Export more components and functions to ease customization
  • Fix multiple ReferenceFields in a list incorrectly loads data
  • Fix spinner not stopping after delete
  • Fix Router now scrolls to top
  • Fix <RadioButtonGroupInput>
  • Fix datagrid layout to make columns adapt width to content
  • Fix doc on reducers in CustomApp (by ArnaudD)
  • Fix custom app docs now that redux form is required
  • Fix RadioButtonGroupInput
  • Fix Pagination when list has no filter
  • Fix clearing text filter doesn't fetch the unfiltered list
  • Fix Warning when Datagrid contains two action buttons

v0.4.0

  • [BC Break] Pass Headers object to restClient
  • Add loads of documentation
  • Use source as implicit label in fields and input components
  • Add <RichTextField> and <RichTextInput> components (powered by quill)
  • Add <UrlField> component
  • Add Form Validation in <Edit> and <Create> views (powered by redux-form)
  • Add material-ui theme support in the <Admin> component (by fnberta)
  • Add option to show date with time (by fnberta)
  • Add UUID support (by bjet007)
  • Add deep field selection
  • Add unit tests
  • Fix form display issue when single or no fields
  • Fix and speedup filters
  • Fix create form
  • Fix filter value reset when filter is removed

V0.3.0

See the v0.3.0 announcement in the marmelab blog.

  • [BC Break] <List> takes an iterator child (like <Datagrid>)
  • [BC Break] <ReferenceField> replaces referenceSource by a child field
  • [BC Break] <ReferenceInput> replaces referenceSource by a child input
  • [BC Break] Rename fetchJSON to fetchJson
  • Switch FakeRest as an external dependency
  • Add ability to customize admin title
  • Add <Labeled> component, and introduce the includesLabel prop on inputs
  • Add <SingleFieldList> and <ChipField> components
  • Add <ReferenceManyField> component and related reducer logic
  • Add <RadioButtonGroupInput> component
  • Add <SelectInput> component
  • Add notifications
  • Add Custom App doc

v0.2.0

  • Fix redirect breaks loader
  • Move list params state from redux to router (allows usage of back button in the list)
  • Fix filters bug (did not reset the page number)
  • Add ability to define a custom dashboard component
  • Rename Datagrid to List, and introduce Datagrid component
  • Export REST types constants
  • Add tutorial

v0.1.0 - Initial release