Skip to content

Commit

Permalink
Merge branch 'releases/june' into feat/cli-update-all-prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir authored May 15, 2024
2 parents 53ea468 + 783ae96 commit bf1ac80
Show file tree
Hide file tree
Showing 120 changed files with 457 additions and 254 deletions.
7 changes: 7 additions & 0 deletions .changeset/chatty-beds-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/cli": patch
---

fix(cli): prevent exit on devtools error

Updated the `dev` command's devtools runner logic to prevent the process from exiting when devtools server fails to start. Previously, the process would exit if devtools server failed to start regardless of the development server's status.
7 changes: 7 additions & 0 deletions .changeset/clever-tigers-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/antd": patch
---

chore: unpin `antd` version that was causing build issues

With `antd`'s `5.17.0` version, Next.js apps were stuck in the build process. To prevent this from breaking all Refine apps with Next.js, we've pinned the version to `5.16.5` as a workaround. Since then, the issue has been resolved by updating an internal dependency of `antd`, we no longer need to pin the version.
7 changes: 7 additions & 0 deletions .changeset/ninety-cameras-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/core": patch
---

refactor: omit `to` parameter if at root when unauthenticated

If user is not authenticated, `<Authenticated />` redirects to the provided route and appends the current route to the `to` parameter. With this change, if the current route is the root (`/`), the `to` parameter will be omitted.
7 changes: 7 additions & 0 deletions .changeset/ninety-pots-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/mui": patch
---

fix: `transformMuiOperatorToCrudOperator` return type is wrong.

This PR fixes the return type of `transformMuiOperatorToCrudOperator` function. It has return type `Exclude<CrudOperators, "or">` but it also should exclude `and` operator to satisfy `LogicalFilter` type.
7 changes: 7 additions & 0 deletions .changeset/shiny-cougars-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/devtools-shared": patch
---

chore: prevent websocket closing errors in console

When `<DevtoolsProvider />` component is mounted in apps with React's strict mode, it will try to initialize the websocket connection twice and first one will be closed immediately before the connection is established. This PR will delay closing the websocket connection until it's established properly to prevent these errors from appearing in the console.
8 changes: 8 additions & 0 deletions .changeset/stupid-rules-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@refinedev/devtools-server": patch
"@refinedev/devtools-shared": patch
---

refactor: use same port for ws and http servers

This PR merges WebSocket and Http server ports into one (5001) to simplify the configuration and avoid port conflicts. Previously the WebSocket server was running on port 5002 and the Http server on port 5001. Now both servers are running on port 5001.
7 changes: 7 additions & 0 deletions .changeset/tender-hats-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/devtools-server": patch
---

chore(devtools-server): customizable exit function

This change allows you to customize the exit function of the devtools server when using it via API.
8 changes: 8 additions & 0 deletions .changeset/wise-dots-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@refinedev/devtools-server": patch
"@refinedev/devtools-ui": patch
---

fix: remove annoying auth error at initial project loads

When users create a new project or their devtools token expires, their console is polluted with network errors due to missing authentication. This PR removes these errors by handling auth requests in a user-friendly way.
2 changes: 1 addition & 1 deletion documentation/docs/guides-concepts/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ As an alternative, you can also install the `@refinedev/devtools-server` package

**Required Ports**

Devtools server will run on port `5001` and also run a WebSocket server on port `5002`. Make sure these ports are available on your machine. Both of these ports are required for devtools to work properly and maintain a connection between your app and the devtools interface.
Devtools server will run on port `5001`. Devtools will serve HTTP and WebSocket connections on this port. Make sure the port is available on your machine.

## Using Inferencer

Expand Down
2 changes: 1 addition & 1 deletion examples/access-control-casbin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"casbin": "^5.15.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/access-control-cerbos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/access-control-permify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/app-crm-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@refinedev/nestjs-query": "^1.1.5",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
"dayjs": "^1.10.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/app-crm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"algoliasearch": "^4.19.1",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-auth0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-google-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-keycloak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"keycloak-js": "^20.0.3",
"react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-kinde/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-otp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/base-antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-invoice-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/strapi-v4": "^6.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-issue-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"antd": "5.16.5",
"antd": "^5.17.0",
"cross-env": "^7.0.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-job-posting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"cross-env": "^7.0.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-react-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^29.2.4",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"cross-env": "^7.0.3",
"immutability-helper": "^3.1.1",
"next": "^14.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-antd-dynamic-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^29.2.4",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-digital-ocean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@refinedev/kbar": "^1.3.10",
"@refinedev/nestjs-query": "^1.1.5",
"@refinedev/react-router-v6": "^4.5.9",
"antd": "5.16.5",
"antd": "^5.17.0",
"dayjs": "^1.10.7",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/calendar-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/command-palette-kbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-footer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"cross-env": "^7.0.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-offlayout-area/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-rtl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-sider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-theme-antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-top-menu-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-airtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-appwrite-tutorial-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@types/uuid": "^9.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-appwrite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/core": "^4.49.2",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-hasura/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@refinedev/hasura": "^6.6.2",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"graphql": "^15.6.1",
"graphql-tag": "^2.12.6",
"react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-nestjs-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@refinedev/nestjs-query": "^1.1.5",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"graphql": "^15.6.1",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.9.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-nestjsx-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@refinedev/nestjsx-crud": "^5.0.6",
"@refinedev/react-router-v6": "^4.5.9",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/data-provider-sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@refinedev/simple-rest": "^5.0.6",
"@sanity/client": "^6.6.0",
"@uiw/react-md-editor": "^3.19.5",
"antd": "5.16.5",
"antd": "^5.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1",
Expand Down
Loading

0 comments on commit bf1ac80

Please sign in to comment.