Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: may 2024
- Loading branch information
Showing
209 changed files
with
4,884 additions
and
2,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@refinedev/antd": patch | ||
"@refinedev/inferencer": patch | ||
--- | ||
|
||
chore: remove version lock from @ant-design/icons 5.0.1 to ^5.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/core": patch | ||
--- | ||
|
||
refactor: add resource name to devtools xray calls | ||
|
||
Added the resource name to the devtools xray calls to allow resource names to be displayed in the devtools even with custom query keys. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/devtools-server": patch | ||
--- | ||
|
||
chore: move `@refinedev/devtools-ui` dependency | ||
|
||
Moved `@refinedev/devtools-ui` dependency to `devDependencies` since only the `vite` output is used in the server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@refinedev/antd": minor | ||
"@refinedev/chakra-ui": minor | ||
"@refinedev/mui": minor | ||
--- | ||
|
||
feat: add message prop for required auth input fields for the above packages. | ||
|
||
Now you can provide custom required messages with translate feature for all auth input fields(Login, register, forget password,update password). | ||
|
||
Resolves #[5855](https://github.com/refinedev/refine/issues/5855) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@refinedev/devtools-internal": patch | ||
"@refinedev/devtools-server": patch | ||
"@refinedev/devtools-shared": patch | ||
"@refinedev/devtools-ui": patch | ||
--- | ||
|
||
feat: update resource name accessing logic | ||
|
||
Updated resource name displaying logic to use `resourceName` from activity records to make sure `resource` is correctly displayed with custom query keys. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/core": patch | ||
--- | ||
|
||
fix: development errors being logged when `useOnError` is called without an auth provider | ||
|
||
When there's no `authProvider` set, the `useOnError` hook will log `"no mutationFn found"` to the console in development because of missing `onError` property. This PR fixes the issue by providing a dummy `onError` function when `authProvider` is not set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@refinedev/core": patch | ||
--- | ||
|
||
refactor: prevented early accessing `signal` from `useQuery` of `@tanstack/react-query` | ||
|
||
In query hooks, `signal` was accessed directly by destructuring which was causing issues in development mode with duplicated requests. This change accesses `queryContext` instead of destructured `signal` properly to prevent `@tanstack/react-query` from setting `abortSignalConsumed` flag unexpectedly. | ||
|
||
Resolves [#5843](https://github.com/refinedev/refine/issues/5843) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/nextjs-router": patch | ||
--- | ||
|
||
fix: `/parse-table-params` export in node10 module resolutions | ||
|
||
`/parse-table-params` subpath export is not correctly resolved by `node10` module resolutions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@refinedev/mui": patch | ||
--- | ||
|
||
feat: add ability to customize anchor origin from snackbar provider | ||
|
||
Previously, `useNotificationProvider` used hardcoded `anchorOrigin` and `disableWindowBlurListener` values, preventing users to customize these values. This change moves these values to `<RefineSnackbarProvider />` as default props to allow users to customize them when needed. | ||
|
||
Resolves [#5847](https://github.com/refinedev/refine/issues/5847) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@refinedev/devtools-internal": patch | ||
"@refinedev/devtools-server": patch | ||
"@refinedev/devtools-shared": patch | ||
"@refinedev/devtools-ui": patch | ||
--- | ||
|
||
feat: add invalidate query button | ||
|
||
Added `Invalidate Query` button to settled queries in the devtools panel to allow users to manually invalidate queries for debugging purposes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/devtools-ui": patch | ||
--- | ||
|
||
refactor: replace `react-json-view` with `react-json-view-lite` | ||
|
||
Replaced outdated `react-json-view` package with `react-json-view-lite` for both performance and dependency resolution reasons. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/inferencer": patch | ||
--- | ||
|
||
fix: inferencer now should work with ESM builds | ||
|
||
Fixed the issue with `prism-react-renderer` theme imports not being resolved correctly in ESM builds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@refinedev/devtools-server": patch | ||
--- | ||
|
||
fix: devtools authentication not working with safari | ||
|
||
Fixed the authentication flow and cookie handling for Safari. Now devtools users will be able to authenticate and use the devtools server using Safari. | ||
|
||
Resolves [#5753](https://github.com/refinedev/refine/issues/5753) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/devtools": minor | ||
--- | ||
|
||
feat: devtools selector with all selectables | ||
|
||
Updated devtools selector to display all available elements instead of relying on the user's pointer to select the element. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@refinedev/supabase": patch | ||
--- | ||
|
||
fix: in methods update, updateMany, create, createMany, meta.select changed to "\*". Resolves #5679 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@refinedev/nextjs-router": patch | ||
"@refinedev/react-router-v6": patch | ||
"@refinedev/remix-router": patch | ||
"@refinedev/strapi-v4": patch | ||
--- | ||
|
||
fix: replace imports of `qs` with default imports | ||
|
||
Updated `qs` imports and usage to prevent issues with ESM builds and to ensure correctly importing the module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
"@refinedev/react-table": patch | ||
--- | ||
|
||
fix: updated column filter transformation logic to handle conditional filters | ||
|
||
`useTable` hook was ignoring the conditional filters with `"and"` and `"or"` operators, causing custom filtering logic inside the table to not work as expected and omitting the filters from the query. This PR enables working with conditionenal filters and fixes the disappearing filters issue. | ||
|
||
To customize the `key` value of the conditional filter, you can use the `filterKey` property in the column's `meta` property. This property will be used as the key for the filter when setting the filter value to the table from `@refinedev/core`'s filter state and when setting the filter value to the filter state from the table. | ||
|
||
```tsx | ||
// An example of how to use the `filterKey` property in the column's `meta` property | ||
const columns: ColumnDef<IPost> = [ | ||
{ | ||
id: "title", | ||
header: "Title", | ||
accessorKey: "title", | ||
meta: { | ||
// This is optional, if not defined column id will be used as the key | ||
filterKey: "titleFilter", | ||
// If operator is not `'eq'` or `'in'`, make sure to set the `filterOperator` property | ||
filterOperator: "and", | ||
}, | ||
}, | ||
]; | ||
``` | ||
|
||
Resolves [#5856](https://github.com/refinedev/refine/issues/5856) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/core": patch | ||
--- | ||
|
||
fix: exclude internal button hook calls from devtools trace | ||
|
||
Removed internal button hook calls from devtools trace to avoid crowding the trace with unnecessary information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
"@refinedev/airtable": patch | ||
"@refinedev/antd": patch | ||
"@refinedev/appwrite": patch | ||
"@refinedev/chakra-ui": patch | ||
"@refinedev/cli": patch | ||
"@refinedev/core": patch | ||
"@refinedev/devtools": patch | ||
"@refinedev/devtools-internal": patch | ||
"@refinedev/devtools-shared": patch | ||
"@refinedev/devtools-ui": patch | ||
"@refinedev/graphql": patch | ||
"@refinedev/hasura": patch | ||
"@refinedev/inferencer": patch | ||
"@refinedev/kbar": patch | ||
"@refinedev/mantine": patch | ||
"@refinedev/medusa": patch | ||
"@refinedev/mui": patch | ||
"@refinedev/nestjs-query": patch | ||
"@refinedev/nestjsx-crud": patch | ||
"@refinedev/nextjs-router": patch | ||
"@refinedev/react-hook-form": patch | ||
"@refinedev/react-router-v6": patch | ||
"@refinedev/react-table": patch | ||
"@refinedev/remix-router": patch | ||
"@refinedev/simple-rest": patch | ||
"@refinedev/strapi": patch | ||
"@refinedev/strapi-v4": patch | ||
"@refinedev/supabase": patch | ||
"@refinedev/ui-tests": patch | ||
"@refinedev/ui-types": patch | ||
--- | ||
|
||
fix: declaration files in node10, node16 and nodenext module resolutions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/appwrite": minor | ||
--- | ||
|
||
fix: add ability to customize default permission without explicitly passing them on each mutation | ||
|
||
fixing an issue which didn't allow users to override the default `readPermissions` / `writePermissions` values `Role.any()`, by passing `defaultReadPermissions` / `defaultWritePermissions` OR by passing `meta?.readPermissions` / `meta?.writePermissions`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/nextjs-router": patch | ||
--- | ||
|
||
fix: replace `next/*` imports with extensions in ESM builds | ||
|
||
Updated imports from `next/*` to `next/*.js` to prevent issues with ESM builds and to ensure correctly importing the module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@refinedev/core": patch | ||
--- | ||
|
||
fix(core): `useMenu` `hideOnMissingParameter` prop default value set to `true` | ||
|
||
There was an error in the `useMenu` hook's `hideOnMissingParameter` prop. Its default value should be `true` but it was missed when props are passed partially. This PR fixes the issue by setting the default value to `true`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.