Skip to content

Commit e0549e1

Browse files
committed
Merge changes from master
1 parent 4b969c4 commit e0549e1

File tree

229 files changed

+4039
-1419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+4039
-1419
lines changed

Diff for: CHANGELOG.md

+103
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,108 @@
11
# Changelog
22

3+
## v4.16.11
4+
5+
* Fix `<FilterForm>` ignores `key` prop on children ([#9588](https://github.com/marmelab/react-admin/pull/9588)) ([Dreamsorcerer](https://github.com/Dreamsorcerer))
6+
* [Demo] Fix missing tags field in simple example fake dataset raises a warning ([#9660](https://github.com/marmelab/react-admin/pull/9660)) ([slax57](https://github.com/slax57))
7+
* [chore] Remove unused dependency on wait-on ([#9663](https://github.com/marmelab/react-admin/pull/9663)) ([slax57](https://github.com/slax57))
8+
* [Doc] Add video tutorial to the Datagrid doc ([#9666](https://github.com/marmelab/react-admin/pull/9666)) ([fzaninotto](https://github.com/fzaninotto))
9+
* [Doc] Update Datagrid documentation regarding preferenceKey ([#9649](https://github.com/marmelab/react-admin/pull/9649)) ([erwanMarmelab](https://github.com/erwanMarmelab))
10+
* [Doc] Fix typo in Caching documentation ([#9667](https://github.com/marmelab/react-admin/pull/9667)) ([n-kulic](https://github.com/n-kulic))
11+
12+
## v4.16.10
13+
14+
* Fix DeleteWithConfirmButton raises an error when the record is not loaded ([#9636](https://github.com/marmelab/react-admin/pull/9636)) ([fzaninotto](https://github.com/fzaninotto))
15+
* Fix field label translation concatenates previous prefix ([#9648](https://github.com/marmelab/react-admin/pull/9648)) ([adguernier](https://github.com/adguernier))
16+
* Fix `<ReferenceInput>` accepts a validate prop while it should not ([#9637](https://github.com/marmelab/react-admin/pull/9637)) ([fzaninotto](https://github.com/fzaninotto))
17+
* [TypeScript] Fix some strict null checks errors in core ([#9644](https://github.com/marmelab/react-admin/pull/9644)) ([fzaninotto](https://github.com/fzaninotto))
18+
* [Doc] Add video tutorial for the `<Admin>` component ([#9641](https://github.com/marmelab/react-admin/pull/9641)) ([fzaninotto](https://github.com/fzaninotto))
19+
* [Doc] Update `<AccordionForm>` and `<AccordionFormPanel>` docs ([#9646](https://github.com/marmelab/react-admin/pull/9646)) ([erwanMarmelab](https://github.com/erwanMarmelab))
20+
* [Doc] Update DateInput, TimeInput, and DateTimeInput chapters to mention MUI variant ([#9631](https://github.com/marmelab/react-admin/pull/9631)) ([erwanMarmelab](https://github.com/erwanMarmelab))
21+
* [Doc] Update docs for `<Breadcrumb>` ([#9640](https://github.com/marmelab/react-admin/pull/9640)) ([erwanMarmelab](https://github.com/erwanMarmelab))
22+
* [Doc] Add screencasts and screenshot to `<EditableDatagrid>` docs ([#9633](https://github.com/marmelab/react-admin/pull/9633)) ([erwanMarmelab](https://github.com/erwanMarmelab))
23+
* [Doc] Add warning about using setFilters with other callbacks ([#9639](https://github.com/marmelab/react-admin/pull/9639)) ([fzaninotto](https://github.com/fzaninotto))
24+
* [Doc] Fix example code for sending files in Base64 ([#9647](https://github.com/marmelab/react-admin/pull/9647)) ([davidhenley](https://github.com/davidhenley))
25+
* [Doc] Fix authProvider images ([#9654](https://github.com/marmelab/react-admin/pull/9654)) ([erwanMarmelab](https://github.com/erwanMarmelab))
26+
* [Doc] Fix dataproviders images ([#9653](https://github.com/marmelab/react-admin/pull/9653)) ([djhi](https://github.com/djhi))
27+
* [Doc] Fix code example in the Usage section of `<SaveButton>` is broken ([#9651](https://github.com/marmelab/react-admin/pull/9651)) ([slax57](https://github.com/slax57))
28+
29+
## v4.16.9
30+
31+
* Fix `<FieldToggle>` cannot be styled using the application theme ([#9634](https://github.com/marmelab/react-admin/pull/9634)) ([megantaylor](https://github.com/megantaylor))
32+
* [Doc] Add video tutorial to the Resource chapter ([#9635](https://github.com/marmelab/react-admin/pull/9635)) ([fzaninotto](https://github.com/fzaninotto))
33+
* [Doc] Update doc SolarLayout with SearchWithResult ([#9632](https://github.com/marmelab/react-admin/pull/9632)) ([erwanMarmelab](https://github.com/erwanMarmelab))
34+
* [Doc] Update SolarMenu doc ([#9629](https://github.com/marmelab/react-admin/pull/9629)) ([erwanMarmelab](https://github.com/erwanMarmelab))
35+
* [Doc] Add providers logos ([#9627](https://github.com/marmelab/react-admin/pull/9627)) ([erwanMarmelab](https://github.com/erwanMarmelab))
36+
* [Doc] Add doc section ([#9626](https://github.com/marmelab/react-admin/pull/9626)) ([erwanMarmelab](https://github.com/erwanMarmelab))
37+
* [Doc] Add video tutorials to the `withLifecycleCallbacks` and the `<Datagrid bulkActionButtons>` sections ([#9621](https://github.com/marmelab/react-admin/pull/9621)) ([fzaninotto](https://github.com/fzaninotto))
38+
39+
## v4.16.8
40+
41+
* Fix `useUpdateMany` doesn't properly update cache in pessimistic mode ([#9600](https://github.com/marmelab/react-admin/pull/9600)) ([fzaninotto](https://github.com/fzaninotto))
42+
* Fix Datagrid Header Sort Tooltip ([#9605](https://github.com/marmelab/react-admin/pull/9605)) ([fzaninotto](https://github.com/fzaninotto))
43+
* Fix `fetchJSON` adds useless Content-Type header for empty requests ([#9613](https://github.com/marmelab/react-admin/pull/9613)) ([chrisDeFouRire](https://github.com/chrisDeFouRire))
44+
* Fix `<ListGuesser>` flashes when changing sort or pagination ([#9606](https://github.com/marmelab/react-admin/pull/9606)) ([fzaninotto](https://github.com/fzaninotto))
45+
* Fix `ra-i18n-i18next` broken package ([#9603](https://github.com/marmelab/react-admin/pull/9603)) ([fzaninotto](https://github.com/fzaninotto))
46+
* Bump vite from 3.2.7 to 3.2.8 ([#9598](https://github.com/marmelab/react-admin/pull/9598)) ([dependabot[bot]](https://github.com/apps/dependabot))
47+
* [TypeScript] Fix `<Pagination rowsPerPageOptions>` doesn't accept an array of objects ([#9607](https://github.com/marmelab/react-admin/pull/9607)) ([fzaninotto](https://github.com/fzaninotto))
48+
* [Doc] Improve FunctionField documentation ([#9614](https://github.com/marmelab/react-admin/pull/9614)) ([fzaninotto](https://github.com/fzaninotto))
49+
* [Doc] Remove create-react-app chapter ([#9610](https://github.com/marmelab/react-admin/pull/9610)) ([fzaninotto](https://github.com/fzaninotto))
50+
* [Doc] Fix Tutorial misses URL scheme in custom Field ([#9604](https://github.com/marmelab/react-admin/pull/9604)) ([fzaninotto](https://github.com/fzaninotto))
51+
* [Doc] Fix link to documentation root ([#9602](https://github.com/marmelab/react-admin/pull/9602)) ([fzaninotto](https://github.com/fzaninotto))
52+
* [Doc] Update `<DatagridAG>` page to reflect latest changes ([#9599](https://github.com/marmelab/react-admin/pull/9599)) ([fzaninotto](https://github.com/fzaninotto))
53+
* [Doc] Update Vietnamese i18n package link ([#9597](https://github.com/marmelab/react-admin/pull/9597)) ([completejavascript](https://github.com/completejavascript))
54+
55+
## v4.16.7
56+
57+
* Fix `<FileInputPreview>` propTypes ([#9596](https://github.com/marmelab/react-admin/pull/9596)) ([djhi](https://github.com/djhi))
58+
* [Demo] Remove useless `defaultProps` usage ([#9586](https://github.com/marmelab/react-admin/pull/9586)) ([fzaninotto](https://github.com/fzaninotto))
59+
* [Doc] Add documentation for the versioning features ([#9584](https://github.com/marmelab/react-admin/pull/9584)) ([fzaninotto](https://github.com/fzaninotto))
60+
* [Demo] Fix new deal does not appear in the correct order in CRM ([#9582](https://github.com/marmelab/react-admin/pull/9582)) ([adguernier](https://github.com/adguernier))
61+
62+
## v4.16.6
63+
64+
* Fix click on `<Datagrid>` Select All button bubbles up to parent Datagrid ([#9567](https://github.com/marmelab/react-admin/pull/9567)) ([Dreamsorcerer](https://github.com/Dreamsorcerer))
65+
* Bump follow-redirects from 1.15.2 to 1.15.4 ([#9574](https://github.com/marmelab/react-admin/pull/9574)) ([dependabot[bot]](https://github.com/apps/dependabot))
66+
* [Doc] Add a section demonstrating the `<Datagrid>` headers pinning feature ([#9564](https://github.com/marmelab/react-admin/pull/9564)) ([adguernier](https://github.com/adguernier))
67+
* [Doc] Add LinuxForHealth FHIR to DataProvider List ([#9572](https://github.com/marmelab/react-admin/pull/9572)) ([scheiblr](https://github.com/scheiblr))
68+
* [Doc] Fix jekyll trying to parse jsx code on `<Edit mutationOptions>` example snippet ([#9573](https://github.com/marmelab/react-admin/pull/9573)) ([Szulerinio](https://github.com/Szulerinio))
69+
* [Doc] Fix linking to wrong prop anchor on `<Resource>` documentation ([#9570](https://github.com/marmelab/react-admin/pull/9570)) ([Szulerinio](https://github.com/Szulerinio))
70+
* [Demo] Fix new deals do not appear in the CRM demo ([#9581](https://github.com/marmelab/react-admin/pull/9581)) ([adguernier](https://github.com/adguernier))
71+
72+
## v4.16.5
73+
74+
* Fix `<AutocompleteInput>` should keep working when passing custom `InputProps` ([#9559](https://github.com/marmelab/react-admin/pull/9559)) ([adguernier](https://github.com/adguernier))
75+
* Fix `usePreference` should throw an error when used outside a `<Configurable>` context ([#9537](https://github.com/marmelab/react-admin/pull/9537)) ([arimet](https://github.com/arimet))
76+
* Revert "Fix `<SelectArrayInput>` does not use `recordRepresentation`" ([#9563](https://github.com/marmelab/react-admin/pull/9563)) ([slax57](https://github.com/slax57))
77+
* [TypeScript] Fix error when using typed args in `<WithRecord render>` function ([#9552](https://github.com/marmelab/react-admin/pull/9552)) ([seongwon-privatenote](https://github.com/seongwon-privatenote))
78+
* [TypeScript] Fix `<MenuItemLink>` prop type should omit `placeholder` ([#9555](https://github.com/marmelab/react-admin/pull/9555)) ([smeng9](https://github.com/smeng9))
79+
* [Doc] Improve `<MarkdownField>` doc ([#9557](https://github.com/marmelab/react-admin/pull/9557)) ([adguernier](https://github.com/adguernier))
80+
* [Doc] Better document `<ReferenceOneField emptyText>` prop ([#9562](https://github.com/marmelab/react-admin/pull/9562)) ([slax57](https://github.com/slax57))
81+
82+
## v4.16.4
83+
84+
* Fix `<SelectArrayInput>` does not use `recordRepresentation` ([#9532](https://github.com/marmelab/react-admin/pull/9532)) ([adguernier](https://github.com/adguernier))
85+
* [Doc] Fix `<DatagridAG>` doc on column state persistence ([#9540](https://github.com/marmelab/react-admin/pull/9540)) ([djhi](https://github.com/djhi))
86+
* [Doc] Fix typo in `<Show queryOptions>` doc([#9531](https://github.com/marmelab/react-admin/pull/9531)) ([slax57](https://github.com/slax57))
87+
* [Doc] Update the hooks documentation for consistent TOC ([#9453](https://github.com/marmelab/react-admin/pull/9453)) ([sebashwa](https://github.com/sebashwa))
88+
* [Doc] Improve `<MarkdownInput>` documentation([#9511](https://github.com/marmelab/react-admin/pull/9511)) ([arimet](https://github.com/arimet))
89+
90+
## v4.16.3
91+
92+
* Fix `useNotify` types ([#9529](https://github.com/marmelab/react-admin/pull/9529)) ([djhi](https://github.com/djhi))
93+
* Fix `<AutocompleteInput TextFieldProps>` are not applied ([#9527](https://github.com/marmelab/react-admin/pull/9527)) ([adguernier](https://github.com/adguernier))
94+
* Fix `useReferenceManyFieldController` does not debounce `setFilters` ([#9523](https://github.com/marmelab/react-admin/pull/9523)) ([djhi](https://github.com/djhi))
95+
* Fix `<TabbedShowLayout>` displays its fields as full width blocks ([#9522](https://github.com/marmelab/react-admin/pull/9522)) ([djhi](https://github.com/djhi))
96+
* Fix `<ArrayInput>` does not work in `<FilterForm>` ([#9521](https://github.com/marmelab/react-admin/pull/9521)) ([djhi](https://github.com/djhi))
97+
* Fix `<Datagrid>`'s `rowClick` and `<ReferenceField>`'s link should scroll to top ([#9510](https://github.com/marmelab/react-admin/pull/9510)) ([DavidVergnaultMoank](https://github.com/DavidVergnaultMoank))
98+
* Fix `useTheme` may return `undefined` ([#9503](https://github.com/marmelab/react-admin/pull/9503)) ([djhi](https://github.com/djhi))
99+
* [Doc] Fix `useInput` documentation regarding errors display ([#9520](https://github.com/marmelab/react-admin/pull/9520)) ([djhi](https://github.com/djhi))
100+
* [Doc] Update documentation for handling App router part ([#9513](https://github.com/marmelab/react-admin/pull/9513)) ([arimet](https://github.com/arimet))
101+
* [Doc] Fix TS warnings in Connecting To A Real API tutorial ([#9501](https://github.com/marmelab/react-admin/pull/9501)) ([adguernier](https://github.com/adguernier))
102+
* [Doc] Removed postgrest from auth providers ([#9500](https://github.com/marmelab/react-admin/pull/9500)) ([gheesh](https://github.com/gheesh))
103+
* [Doc] Update `<DatagridAG>` doc to mention the component is lazy loaded by default ([#9499](https://github.com/marmelab/react-admin/pull/9499)) ([slax57](https://github.com/slax57))
104+
* [Doc] Improve `<EditableDatagrid>` doc ([#9494](https://github.com/marmelab/react-admin/pull/9494)) ([adguernier](https://github.com/adguernier))
105+
3106
## v4.16.2
4107

5108
* Fix clearing a nested filter re-renders the previous value when navigating back to the list ([#9491](https://github.com/marmelab/react-admin/pull/9491)) ([slax57](https://github.com/slax57))

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ build-create-react-admin:
120120
@echo "Transpiling create-react-admin files...";
121121
@cd ./packages/create-react-admin && yarn build
122122

123-
build: build-ra-core build-ra-ui-materialui build-ra-data-fakerest build-ra-data-json-server build-ra-data-localforage build-ra-data-localstorage build-ra-data-simple-rest build-ra-data-graphql build-ra-data-graphql-simple build-ra-i18n-polyglot build-ra-input-rich-text build-data-generator build-ra-language-english build-ra-language-french build-react-admin build-ra-no-code build-create-react-admin ## compile ES6 files to JS
123+
build: build-ra-core build-ra-ui-materialui build-ra-data-fakerest build-ra-data-json-server build-ra-data-localforage build-ra-data-localstorage build-ra-data-simple-rest build-ra-data-graphql build-ra-data-graphql-simple build-ra-i18n-polyglot build-ra-input-rich-text build-data-generator build-ra-language-english build-ra-language-french build-ra-i18n-i18next build-react-admin build-ra-no-code build-create-react-admin ## compile ES6 files to JS
124124

125125
doc: ## compile doc as html and launch doc web server
126126
@yarn doc

Diff for: README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ yarn add react-admin
3737

3838
## Documentation
3939

40-
Read the [Tutorial](https://marmelab.com/react-admin/Tutorial.html) for a 30 minutes introduction. After that, head to the [Documentation](https://marmelab.com/react-admin/documentation.html), or checkout the source code of the examples ([e-commerce](https://github.com/marmelab/react-admin/tree/master/examples/demo), [CRM](https://github.com/marmelab/react-admin/tree/master/examples/crm), [blog](https://github.com/marmelab/react-admin/tree/master/examples/simple), [media player](https://github.com/navidrome/navidrome/tree/master/ui)).
40+
* Read the [Tutorial](https://marmelab.com/react-admin/Tutorial.html) for a 30 minutes introduction
41+
* Watch the [YouTube video tutorials](https://www.youtube.com/@react-admin)
42+
* Head to the [Documentation](https://marmelab.com/react-admin/documentation.html) for a complete API reference
43+
* Checkout the source code of the examples ([e-commerce](https://github.com/marmelab/react-admin/tree/master/examples/demo), [CRM](https://github.com/marmelab/react-admin/tree/master/examples/crm), [blog](https://github.com/marmelab/react-admin/tree/master/examples/simple), [media player](https://github.com/navidrome/navidrome/tree/master/ui))
4144

4245
## At a Glance
4346

Diff for: docs/404.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
function replaceNavigationWithVersion(version) {
5959
var location = document.location.href.split('#')[0];
6060
var locationSlices = location.split('/');
61-
var href = [...locationSlices.slice(0, locationSlices.length - 2), version, 'Readme.html'].join('/');
61+
var href = [
62+
...locationSlices.slice(0, locationSlices.length - 2),
63+
version,
64+
'documentation.html',
65+
].join('/');
6266
// fetch the new content
6367
fetch(href)
6468
.then(res => res.text())

0 commit comments

Comments
 (0)