Skip to content

Commit 704ad2c

Browse files
authored
Merge pull request #10912 from marmelab/merge-master-5.11.0
Merge master 5.11.0
2 parents 9ac843c + 6e04a28 commit 704ad2c

File tree

31 files changed

+149
-114
lines changed

31 files changed

+149
-114
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 5.11.0
4+
5+
* Add ability to use a `ReactNode` as create label in `<AutocompleteInput>` and `<SelectInput>` ([#10883](https://github.com/marmelab/react-admin/pull/10883)) ([Madeorsk](https://github.com/Madeorsk))
6+
* Add `<SelectArrayInput InputLabelProps>` prop to support label configuration ([#10872](https://github.com/marmelab/react-admin/pull/10872)) ([antoinefricker](https://github.com/antoinefricker))
7+
* Add support for embedded resources in ra-data-simple-rest ([#10898](https://github.com/marmelab/react-admin/pull/10898)) ([fzaninotto](https://github.com/fzaninotto))
8+
* Use bulk export ([#10908](https://github.com/marmelab/react-admin/pull/10908)) ([djhi](https://github.com/djhi))
9+
* Introduce `useDeleteController` ([#10876](https://github.com/marmelab/react-admin/pull/10876)) ([djhi](https://github.com/djhi))
10+
* Move more primitives from `ra-ui-materialui` to `ra-core` ([#10907](https://github.com/marmelab/react-admin/pull/10907)) ([djhi](https://github.com/djhi))
11+
* Make all mutations react to their declaration time options changes ([#10857](https://github.com/marmelab/react-admin/pull/10857)) ([djhi](https://github.com/djhi))
12+
* Add offline support to `<ReferenceManyCountBase>` and `<ReferenceManyCount>` ([#10903](https://github.com/marmelab/react-admin/pull/10903)) ([djhi](https://github.com/djhi))
13+
* Add offline support to `<ReferenceManyFieldBase>` and `<ReferenceManyField>` ([#10902](https://github.com/marmelab/react-admin/pull/10902)) ([djhi](https://github.com/djhi))
14+
* Add offline support to `<ReferenceArrayFieldBase>` and `<ReferenceArrayField>` ([#10901](https://github.com/marmelab/react-admin/pull/10901)) ([djhi](https://github.com/djhi))
15+
* Add offline support to `<ListBase>` and `<List>` ([#10896](https://github.com/marmelab/react-admin/pull/10896)) ([djhi](https://github.com/djhi))
16+
* Add offline support to `<ReferenceArrayInputBase>` and `<ReferenceArrayInput>` ([#10895](https://github.com/marmelab/react-admin/pull/10895)) ([djhi](https://github.com/djhi))
17+
* Add offline support to `<ReferenceManyFieldBase>` ([#10865](https://github.com/marmelab/react-admin/pull/10865)) ([djhi](https://github.com/djhi))
18+
* Add offline support to `<ReferenceInputBase>`, `<ReferenceInput>` and `<AutocompleteInput>` ([#10864](https://github.com/marmelab/react-admin/pull/10864)) ([djhi](https://github.com/djhi))
19+
* Add offline support to `<ReferenceOneFieldBase>` and `<ReferenceOneField>` ([#10861](https://github.com/marmelab/react-admin/pull/10861)) ([djhi](https://github.com/djhi))
20+
* Add offline support to `<ReferenceFieldBase>` and `<ReferenceField>` ([#10860](https://github.com/marmelab/react-admin/pull/10860)) ([djhi](https://github.com/djhi))
21+
* Add offline support to `<EditBase>` and `<Edit>` ([#10858](https://github.com/marmelab/react-admin/pull/10858)) ([djhi](https://github.com/djhi))
22+
* Add offline support to `<ShowBase>` and `<Show>` ([#10852](https://github.com/marmelab/react-admin/pull/10852)) ([djhi](https://github.com/djhi))
23+
* Improve offline detection in Edit, Show, ReferenceField and ReferenceOneField ([#10899](https://github.com/marmelab/react-admin/pull/10899)) ([djhi](https://github.com/djhi))
24+
* Add `mutationKey` to all mutations to allow offline mutations ([#10851](https://github.com/marmelab/react-admin/pull/10851)) ([djhi](https://github.com/djhi))
25+
* Fix `<Link>` cannot be styled through MUI theme ([#10905](https://github.com/marmelab/react-admin/pull/10905)) ([djhi](https://github.com/djhi))
26+
* Fix regression regarding `disableAuthentication` in `EditBase` and `ShowBase` ([#10906](https://github.com/marmelab/react-admin/pull/10906)) ([djhi](https://github.com/djhi))
27+
* Fix security vulnerabilities affecting `devalue` and `form-data` ([#10911](https://github.com/marmelab/react-admin/pull/10911)) ([slax57](https://github.com/slax57))
28+
* [Doc] Fix `<ListBase>` is missing the `storeKey` prop ([#10894](https://github.com/marmelab/react-admin/pull/10894)) ([slax57](https://github.com/slax57))
29+
* [TypeScript] Export `ValidationMessageFuncParams` and `ValidationMessageFunc` types ([#10867](https://github.com/marmelab/react-admin/pull/10867)) ([djhi](https://github.com/djhi))
30+
* [chore] move `sanitizeFieldRestProps` and `sanitizeInputRestProps` to `ra-core` ([#10874](https://github.com/marmelab/react-admin/pull/10874)) ([jonathanarnault](https://github.com/jonathanarnault))
31+
* [Chore] Move `ArrayInputContext` to `ra-core` ([#10873](https://github.com/marmelab/react-admin/pull/10873)) ([jonathanarnault](https://github.com/jonathanarnault))
32+
* [chore] Fix CRM demo cannot load MSW when deployed on a sub URL ([#10897](https://github.com/marmelab/react-admin/pull/10897)) ([djhi](https://github.com/djhi))
33+
* [chore] Revert MSW usage on simple example ([#10893](https://github.com/marmelab/react-admin/pull/10893)) ([djhi](https://github.com/djhi))
34+
335
## 5.10.2
436

537
* Add warning when using `queryOptions` to add a `meta` in `<Edit>` and `<EditBase>` ([#10882](https://github.com/marmelab/react-admin/pull/10882)) ([Madeorsk](https://github.com/Madeorsk))

docs/OldVersions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ You have two options to read them:
1414

1515
## v5
1616

17-
- [v5.10](https://github.com/marmelab/react-admin/blob/master/docs/Admin.md)
17+
- [v5.11](https://github.com/marmelab/react-admin/blob/master/docs/Admin.md)
18+
- [v5.10](https://github.com/marmelab/react-admin/blob/v5.10.2/docs/Admin.md)
1819
- [v5.9](https://github.com/marmelab/react-admin/blob/v5.9.2/docs/Admin.md)
1920
- [v5.8](https://github.com/marmelab/react-admin/blob/v5.8.4/docs/Admin.md)
2021
- [v5.7](https://github.com/marmelab/react-admin/blob/v5.7.4/docs/Admin.md)

examples/data-generator/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "data-generator-retail",
3-
"version": "5.10.2",
3+
"version": "5.11.0",
44
"homepage": "https://github.com/marmelab/react-admin/tree/master/examples/data-generator",
55
"bugs": "https://github.com/marmelab/react-admin/issues",
66
"license": "MIT",
@@ -19,7 +19,7 @@
1919
},
2020
"devDependencies": {
2121
"cross-env": "^5.2.0",
22-
"ra-core": "^5.10.2",
22+
"ra-core": "^5.11.0",
2323
"rimraf": "^3.0.2",
2424
"typescript": "^5.1.3"
2525
},

examples/simple/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple",
3-
"version": "5.10.2",
3+
"version": "5.11.0",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -17,13 +17,13 @@
1717
"fakerest": "^4.1.3",
1818
"jsonexport": "^3.2.0",
1919
"lodash": "~4.17.5",
20-
"ra-data-fakerest": "^5.10.2",
21-
"ra-i18n-polyglot": "^5.10.2",
22-
"ra-input-rich-text": "^5.10.2",
23-
"ra-language-english": "^5.10.2",
24-
"ra-language-french": "^5.10.2",
20+
"ra-data-fakerest": "^5.11.0",
21+
"ra-i18n-polyglot": "^5.11.0",
22+
"ra-input-rich-text": "^5.11.0",
23+
"ra-language-english": "^5.11.0",
24+
"ra-language-french": "^5.11.0",
2525
"react": "^18.3.1",
26-
"react-admin": "^5.10.2",
26+
"react-admin": "^5.11.0",
2727
"react-dom": "^18.3.1",
2828
"react-hook-form": "^7.53.0",
2929
"react-router": "^6.28.1",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lerna": "2.5.1",
33
"packages": ["examples/data-generator", "examples/simple", "packages/*"],
4-
"version": "5.10.2",
4+
"version": "5.11.0",
55
"npmClient": "yarn"
66
}

packages/create-react-admin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-react-admin",
33
"description": "A CLI to quickly start a new react-admin project",
4-
"version": "5.10.2",
4+
"version": "5.11.0",
55
"license": "MIT",
66
"bin": "lib/cli.js",
77
"type": "module",

packages/create-react-admin/templates/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@mui/icons-material": "^7.0.1",
1616
"@mui/material": "^7.0.1",
1717
"react": "^19.0.0",
18-
"react-admin": "^5.10.0",
18+
"react-admin": "^5.11.0",
1919
"react-dom": "^19.0.0",
2020
"react-router": "^7.1.3",
2121
"react-router-dom": "^7.1.3"

packages/create-react-admin/templates/ra-data-fakerest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"test": "vitest"
44
},
55
"dependencies": {
6-
"ra-data-fakerest": "^5.10.0"
6+
"ra-data-fakerest": "^5.11.0"
77
},
88
"devDependencies": {
99
"@testing-library/dom": "^10.4.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"ra-data-json-server": "^5.10.0"
3+
"ra-data-json-server": "^5.11.0"
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"ra-data-simple-rest": "^5.10.0"
3+
"ra-data-simple-rest": "^5.11.0"
44
}
55
}

0 commit comments

Comments
 (0)