Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: March 2025 #6734

Merged
merged 21 commits into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b72c7ce
fix: antd tooltip import button (#6701)
mohit-2003 Mar 24, 2025
79b0c90
Merge branch 'main' into next
alicanerdurmaz Mar 24, 2025
8d8cddb
fix: operator 'or' and escape character not working (#6705) (#6708)
enokryeziu Mar 24, 2025
cd938b0
feat(ui-pkgs): add deleteButtonProps to Show components (#6699)
arndom Mar 24, 2025
77c5f9e
ci(changesets): refine registry version packages (#6718)
refine-bot Mar 28, 2025
46ab0a3
Merge branch 'main' into next
alicanerdurmaz Mar 28, 2025
274fa2c
chore: upgrade vite version for security updates (#6726)
alicanerdurmaz Mar 31, 2025
ee58004
chore: update nextjs for security patches (#6725)
alicanerdurmaz Mar 31, 2025
69cdac1
chore: ci
alicanerdurmaz Mar 31, 2025
fdf7a0d
fix: add concurrency to next release
BatuhanW Mar 31, 2025
4c1e579
chore: update changeset
BatuhanW Mar 31, 2025
8be2b8f
ci(changesets): refine registry version packages (#6727)
refine-bot Mar 31, 2025
47807b7
fix(supabase): fixed 'in'-filter when used inside 'or' (#6652)
jkronlachner Apr 1, 2025
2be98cb
fix: typo in changeset
BatuhanW Apr 1, 2025
1663501
fix(docs): update incorrect urls in documentation (#6728)
alicanerdurmaz Apr 1, 2025
46331f4
ci(changesets): refine registry version packages (#6733)
refine-bot Apr 1, 2025
33c93b5
fix(hasura): refactored double import (#6735)
thanaParis Apr 2, 2025
d628a62
feat(hasura): hasura liveProvider now takes HasuraLiveProviderOptions…
thanaParis Apr 2, 2025
3686b12
Merge branch 'main' into next
alicanerdurmaz Apr 2, 2025
9669358
feat(hasura): IDTag and NamingConventions to hasura's liveProvider (#…
thanaParis Apr 2, 2025
80bbea2
ci(changesets): refine registry version packages (#6738)
refine-bot Apr 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "packages/**"
- "examples/**"
- "cypress/e2e/**"
- ".github/workflows/scripts/**"
types:
- labeled
- synchronize
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/refine-registry-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ on:
branches:
- next

concurrency:
group: next-refine-registry-release
cancel-in-progress: false

jobs:
publish:
runs-on: ubuntu-latest


strategy:
matrix:
node-version: [18.x]
Expand Down
34 changes: 15 additions & 19 deletions .github/workflows/scripts/e2e-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ const getProjectInfo = (path) => {

const command = `pnpm start --scope ${projectName}`;

let port;

if (allDependencies.includes("vite")) {
port = 4173;
}
let port = 4173;

if (
allDependencies.includes("next") ||
Expand Down Expand Up @@ -101,18 +97,18 @@ const waitOnFor = async (resource) => {

return resource;
} catch (error) {
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

return false;
}
};

const waitForServer = async (port) => {
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: We have a valid use-case here.
return new Promise(async (resolve) => {
return new Promise(async (resolve, reject) => {
setTimeout(() => {
resolve(false);
}, 120000);
}, 720_000);

try {
const resolvedResource = await Promise.any([
Expand All @@ -123,19 +119,19 @@ const waitForServer = async (port) => {

resolve(resolvedResource);
} catch (error) {
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

resolve(false);
reject(error);
}
});
};

const waitForClose = (resource) => {
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: We have a valid use-case here.
return new Promise(async (resolve) => {
return new Promise(async (resolve, reject) => {
setTimeout(() => {
resolve(false);
}, 120000);
}, 720_000);

try {
await waitOn({
Expand All @@ -146,9 +142,9 @@ const waitForClose = (resource) => {

resolve(resource);
} catch (error) {
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

resolve(false);
reject(error);
}
});
};
Expand Down Expand Up @@ -207,7 +203,7 @@ const runTests = async () => {
}
} catch (error) {
prettyLog("red", "Error occured on waiting for the server to start");
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

failed = true;
}
Expand All @@ -232,7 +228,7 @@ const runTests = async () => {
}
} catch (error) {
prettyLog("red", `Error occured on tests for ${path}`);
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

failed = true;
} finally {
Expand All @@ -256,7 +252,7 @@ const runTests = async () => {
}
} catch (error) {
prettyLog("red", "Error occured on killing the dev server");
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));
failed = true;
}
}
Expand Down Expand Up @@ -286,7 +282,7 @@ runTests()
process.exit(0);
} else {
prettyLog("red", "Tests Failed or an Error Occured");
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));

if (failedExamples)
prettyLog(
Expand All @@ -302,7 +298,7 @@ runTests()
})
.catch((error) => {
prettyLog("red", "Tests Failed or an Error Occured");
if (error) console.log(error);
if (error) console.log(JSON.stringify(error, null, 2));
process.exitCode = 1;
process.exit(1);
});
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Features
- #### Added swizzle support for `@pankod/refine-core` package

- The swizzle is a command in refine-cli that allows you to customize the Refine's supported components and data providers. It allows you to eject selected files from the Refine packages and modify depending on your needs.
- [Refer to Swizzle Docs for more information](https://refine.dev/docs/packages/documentation/cli/#swizzle)
- [Refer to Swizzle Docs for more information](https://refine.dev/docs/packages/cli/#swizzle)

Swizzleable components:

Expand Down
8 changes: 8 additions & 0 deletions _changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions _changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["./format.js", { "repo": "refinedev/refine" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["!@refinedev/*", "!create-refine-app"],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
6 changes: 6 additions & 0 deletions _changeset/fair-buckets-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@refinedev/hasura": patch
---

refactored HasuraDataProviderOptions to extend HasuraProviderOptions in new src/types/ folder
added HasuraLiveProviderOptions which extends HasuraProviderOptions as argument to hasura's liveProvider
40 changes: 40 additions & 0 deletions _changeset/format.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
const clgh = require("@changesets/changelog-github");

const changelogFunctions = {
getDependencyReleaseLine: clgh.default.getDependencyReleaseLine,
getReleaseLine: async (changeset, tag, options) => {
const defaultChangeset = await clgh.default.getReleaseLine(
changeset,
tag,
options,
);

const isValid = ["community", "enterprise"].includes(
process.env.REFINE_RELEASE_TYPE,
);

if (!isValid) {
console.error(
"❌ REFINE_RELEASE_TYPE must be either community or enterprise",
);

process.exit(1);
}

let title = "";

if (process.env.REFINE_RELEASE_TYPE === "community") {
title = "\n\n📢 **Refine Community Release** 📢";
}

if (process.env.REFINE_RELEASE_TYPE === "enterprise") {
title = "\n\n⚡ **Refine Enterprise Release** ⚡";
}

const result = title + defaultChangeset;

return result;
},
};

exports.default = changelogFunctions;
9 changes: 9 additions & 0 deletions _changeset/good-eyes-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@refinedev/supabase": patch
---

fix: fixed 'in'-filter when used inside 'or' not generating correct supabase syntax

When using the 'in'-filter inside a Conditional 'or' Filter the syntax being pushed to supabase would be incorrect.

This resolves #6651
6 changes: 6 additions & 0 deletions _changeset/light-donuts-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@refinedev/antd": patch
---

Fixes event handler issue in ImportButton, ensuring Tooltip works correctly.
Fixes #6631.
7 changes: 7 additions & 0 deletions _changeset/orange-penguins-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/nextjs-router": patch
---

chore: update Next.js version to 14.2.26 for security patches

https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
5 changes: 5 additions & 0 deletions _changeset/rotten-houses-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@refinedev/hasura": patch
---

added IDTag and NamingConvention to hasura's liveProvider subscription generators
8 changes: 8 additions & 0 deletions _changeset/rotten-ways-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@refinedev/devtools-server": patch
---

chore: vite upgraded to 5.4.15 for security patches
https://github.com/refinedev/refine/security/dependabot/295
https://github.com/refinedev/refine/security/dependabot/352
https://github.com/refinedev/refine/security/dependabot/261
5 changes: 5 additions & 0 deletions _changeset/spicy-moose-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@refinedev/hasura": patch
---

'camelcase' utility imported twice from camelcase, with different capitalization. refactored to only import 'camelcase' since 'camelCase' is used by lodash, which is also in the dependency tree.
12 changes: 12 additions & 0 deletions _changeset/yellow-chicken-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@refinedev/chakra-ui": patch
"@refinedev/ui-types": patch
"@refinedev/mantine": patch
"@refinedev/antd": patch
"@refinedev/mui": patch
---

- Add `deleteButtonProps` prop to the `Show` component of UI packages: AntDesign, Manitine, Charka-UI, Material-UI
- Add documentation for this addition

[Resolves #6692](https://github.com/refinedev/refine/issues/6692)
6 changes: 6 additions & 0 deletions _changeset/yellow-kangaroos-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@refinedev/ui-types": patch
"@refinedev/core": patch
---

fix: wrong JSDoc links in components
Loading
Loading