@refinedev/core 4.16.1 → 4.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +19 -15
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/iife/index.js +4 -4
- package/dist/iife/index.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/hooks/useSelect/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @pankod/refine-core
|
|
2
2
|
|
|
3
|
+
## 4.16.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#4415](https://github.com/refinedev/refine/pull/4415) [`54837825fcc`](https://github.com/refinedev/refine/commit/54837825fccb180e84c988ea669f0cc595e4ed33) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fixed: `queryOptions` not working as expected in `useSelect` hook.
|
|
8
|
+
|
|
9
|
+
## 4.16.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#4407](https://github.com/refinedev/refine/pull/4407) [`473bbe5b31d`](https://github.com/refinedev/refine/commit/473bbe5b31de91f338733aeb34571dba8e44e389) Thanks [@aliemir](https://github.com/aliemir)! - Added missing `clone` action for document title generation. This fixes the issue of the document title not being generated when the `clone` action is used.
|
|
14
|
+
|
|
15
|
+
This change introduces the `documentTitle.{resourceName}.clone` key to the list of `i18n` keys that are used to generate the document title.
|
|
16
|
+
|
|
17
|
+
Default title for the `clone` action is `"#{{id}} Clone {{resourceName}} | refine"`.
|
|
18
|
+
|
|
19
|
+
- [#4407](https://github.com/refinedev/refine/pull/4407) [`473bbe5b31d`](https://github.com/refinedev/refine/commit/473bbe5b31de91f338733aeb34571dba8e44e389) Thanks [@aliemir](https://github.com/aliemir)! - Fixed the issue of `label` not taken into account with auto generated document titles. `label` will be prioritized over the resource name when generating the document title and the `label` will not be capitalized.
|
|
20
|
+
|
|
3
21
|
## 4.16.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
<a href="https://discord.gg/refine">Discord</a> |
|
|
13
13
|
<a href="https://refine.dev/examples/">Examples</a> |
|
|
14
14
|
<a href="https://refine.dev/blog/">Blog</a> |
|
|
15
|
-
<a href="https://refine.dev/docs/">Documentation</a>
|
|
16
|
-
<a href="https://github.com/refinedev/refine/projects/1">Roadmap</a>
|
|
15
|
+
<a href="https://refine.dev/docs/">Documentation</a>
|
|
17
16
|
</div>
|
|
18
17
|
</div>
|
|
19
18
|
|
|
@@ -163,7 +162,7 @@ const App: React.FC = () => {
|
|
|
163
162
|
notificationProvider={notificationProvider}
|
|
164
163
|
resources={[
|
|
165
164
|
{
|
|
166
|
-
name:
|
|
165
|
+
name: "posts",
|
|
167
166
|
list: "/posts",
|
|
168
167
|
show: "/posts/show/:id",
|
|
169
168
|
create: "/posts/create",
|
|
@@ -171,30 +170,39 @@ const App: React.FC = () => {
|
|
|
171
170
|
meta: { canDelete: true },
|
|
172
171
|
},
|
|
173
172
|
{
|
|
174
|
-
name:
|
|
173
|
+
name: "categories",
|
|
175
174
|
list: "/categories",
|
|
176
175
|
show: "/categories/show/:id",
|
|
177
|
-
}
|
|
176
|
+
},
|
|
178
177
|
]}
|
|
179
178
|
>
|
|
180
179
|
<Routes>
|
|
181
180
|
<Route
|
|
182
|
-
element={
|
|
181
|
+
element={
|
|
183
182
|
<Layout>
|
|
184
183
|
<Outlet />
|
|
185
184
|
</Layout>
|
|
186
|
-
|
|
185
|
+
}
|
|
187
186
|
>
|
|
188
187
|
<Route index element={<NavigateToResource />} />
|
|
189
188
|
<Route path="posts">
|
|
190
189
|
<Route index element={<AntdInferencer />} />
|
|
191
|
-
<Route
|
|
190
|
+
<Route
|
|
191
|
+
path="show/:id"
|
|
192
|
+
element={<AntdInferencer />}
|
|
193
|
+
/>
|
|
192
194
|
<Route path="create" element={<AntdInferencer />} />
|
|
193
|
-
<Route
|
|
195
|
+
<Route
|
|
196
|
+
path="edit/:id"
|
|
197
|
+
element={<AntdInferencer />}
|
|
198
|
+
/>
|
|
194
199
|
</Route>
|
|
195
200
|
<Route path="categories">
|
|
196
201
|
<Route index element={<AntdInferencer />} />
|
|
197
|
-
<Route
|
|
202
|
+
<Route
|
|
203
|
+
path="show/:id"
|
|
204
|
+
element={<AntdInferencer />}
|
|
205
|
+
/>
|
|
198
206
|
</Route>
|
|
199
207
|
<Route path="*" element={<ErrorComponent />} />
|
|
200
208
|
</Route>
|
|
@@ -202,7 +210,7 @@ const App: React.FC = () => {
|
|
|
202
210
|
</Refine>
|
|
203
211
|
</BrowserRouter>
|
|
204
212
|
);
|
|
205
|
-
};
|
|
213
|
+
};
|
|
206
214
|
|
|
207
215
|
export default App;
|
|
208
216
|
```
|
|
@@ -232,10 +240,6 @@ You can get the auto-generated pages codes by clicking the `Show Code` button on
|
|
|
232
240
|
|
|
233
241
|
👉 Play with interactive [Examples](https://refine.dev/docs/examples/)
|
|
234
242
|
|
|
235
|
-
## Roadmap
|
|
236
|
-
|
|
237
|
-
You can find refine's <a href="https://github.com/refinedev/refine/projects/1">Public Roadmap here!</a>
|
|
238
|
-
|
|
239
243
|
## Stargazers
|
|
240
244
|
|
|
241
245
|
[](https://github.com/refinedev/refine/stargazers)
|