Skip to content

Commit

Permalink
Merge branch 'master' into feat/add-win95-example
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed May 6, 2024
2 parents d781a95 + df0dad6 commit 9b0fb8b
Show file tree
Hide file tree
Showing 274 changed files with 5,490 additions and 2,395 deletions.
6 changes: 6 additions & 0 deletions .changeset/blue-trains-march.md
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
7 changes: 7 additions & 0 deletions .changeset/clean-dryers-grow.md
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.
7 changes: 7 additions & 0 deletions .changeset/clean-elephants-matter.md
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.
11 changes: 11 additions & 0 deletions .changeset/cold-emus-visit.md
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)
10 changes: 10 additions & 0 deletions .changeset/cyan-wolves-cry.md
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.
7 changes: 7 additions & 0 deletions .changeset/dull-spies-sparkle.md
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.
9 changes: 9 additions & 0 deletions .changeset/eleven-kangaroos-hope.md
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)
7 changes: 7 additions & 0 deletions .changeset/fast-goats-explain.md
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.
9 changes: 9 additions & 0 deletions .changeset/few-terms-fetch.md
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)
10 changes: 10 additions & 0 deletions .changeset/flat-suns-push.md
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.
7 changes: 7 additions & 0 deletions .changeset/forty-pianos-beam.md
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.
9 changes: 9 additions & 0 deletions .changeset/giant-tomatoes-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@refinedev/antd": patch
---

fix: lock `antd` version to `5.16.5` due to broken builds in `5.17.0`

In the latest release of `antd` package, Next.js apps are failing to build or taking extremely long time to build. Until this issue is fixed in the `antd` package, we are locking the version to `5.16.5` to prevent any build issues.

Related issue [antd/#48758](https://github.com/ant-design/ant-design/issues/48758)
7 changes: 7 additions & 0 deletions .changeset/happy-poets-smash.md
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.
9 changes: 9 additions & 0 deletions .changeset/loud-toes-eat.md
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)
7 changes: 7 additions & 0 deletions .changeset/lucky-parents-matter.md
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.
5 changes: 5 additions & 0 deletions .changeset/neat-oranges-begin.md
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
10 changes: 10 additions & 0 deletions .changeset/rude-suns-agree.md
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.
28 changes: 28 additions & 0 deletions .changeset/selfish-taxis-admire.md
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)
7 changes: 7 additions & 0 deletions .changeset/shiny-colts-nail.md
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.
34 changes: 34 additions & 0 deletions .changeset/shy-pots-sparkle.md
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
7 changes: 7 additions & 0 deletions .changeset/tasty-garlics-notice.md
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`.
7 changes: 7 additions & 0 deletions .changeset/tender-cars-talk.md
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.
7 changes: 7 additions & 0 deletions .changeset/weak-impalas-relate.md
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`.

0 comments on commit 9b0fb8b

Please sign in to comment.