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

ci(changesets): version packages #6015

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

refine-bot
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@refinedev/[email protected]

Minor Changes

  • #5945 903ea231538b00ce02ddc9394c72848ec1e90772 Thanks @aliemir! - feat: use global values by default for app title and app icon

    Now <Refine /> component accepts options.title prop that can be used to set app icon and app name globally. For <ThemedLayoutV2 /> and <AuthPage /> components, these values will be used by default. While users can use options.title to pass global values for app icon and app name, option to override through <ThemedTitleV2 /> component is still available for users to override these values in specific use cases.

    import { Refine } from "@refinedev/core";
    
    const MyIcon = () => <svg>{/* ... */}</svg>;
    
    const App = () => {
      return (
        <Refine
          options={{
            title: {
              icon: <MyIcon />,
              text: "Refine App",
            },
          }}
        >
          {/* ... */}
        </Refine>
      );
    };

    Then, <ThemedLayoutV2 /> and <AuthPage /> components will display <MyIcon /> and "Refine App" as app icon and app name respectively.

Patch Changes

  • #5945 cff950ba8b66143f5c08c3ef9f4cd112a9dc7448 Thanks @aliemir! - lock the ant-design/icons version to 5.0.1

  • #5945 fa31883601d3d0abd690dac62eed94487091022b Thanks @aliemir! - 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.

  • #5945 fc1f7d91b1aa987c29a700b5227e744b27aeddda Thanks @aliemir! - feat(antd): search form in useTable should work with syncWithLocation

    Even though the form is managed by useTable hook from @refinedev/antd. It wasn't respecting the syncWithLocation prop to set values accordingly at initial render when registered fields are matching with the query params. Now it will look for matching fields and set values accordingly from synced filters.

  • #5945 f91bbb4a5c81cb8d22756ef05f6def9bd1a4ca12 Thanks @aliemir! - fix: Filtering <Table /> with <FilterDropdown /> and <DatePicker /> doesn't work with syncWithLocation. Date range table filter in Ant Design is broken #5933

    feat: Added rangePickerFilterMapper utility function to convert selectedKeys to satisfy both the Refine and <DatePicker.RangePicker />.

    Usage example:

    import { getDefaultFilter } from "@refinedev/core";
    import {
      DateField,
      FilterDropdown,
      rangePickerFilterMapper,
      useTable,
    } from "@refinedev/antd";
    import { Table, DatePicker } from "antd";
    
    export const Posts = () => {
      const { tableProps, filters } = useTable({
        filters: {
          initial: [
            {
              field: "created_at",
              value: ["2022-01-01", "2022-01-31"],
              operator: "between",
            },
          ],
        },
      });
    
      return (
        <Table {...tableProps} rowKey="id">
          <Table.Column dataIndex="id" title="ID" />
          <Table.Column dataIndex="title" title="Title" />
          <Table.Column
            dataIndex="createdAt"
            title="Created At"
            filterDropdown={(props) => (
              <FilterDropdown
                {...props}
                mapValue={(selectedKeys, event) => {
                  return rangePickerFilterMapper(selectedKeys, event);
                }}
              >
                <DatePicker.RangePicker />
              </FilterDropdown>
            )}
            defaultFilteredValue={getDefaultFilter(
              "created_at",
              filters,
              "between",
            )}
          />
        </Table>
      );
    };
  • #5945 90930b381d8d369c63bc59beedf69c391875166d Thanks @aliemir! - chore: added type qualifier to imports used as type only.

    - import { A } from "./example.ts";
    + import type { A } from "./example.ts";
  • Updated dependencies [903ea231538b00ce02ddc9394c72848ec1e90772, 90930b381d8d369c63bc59beedf69c391875166d]:

@refinedev/[email protected]

Minor Changes

  • #5945 903ea231538b00ce02ddc9394c72848ec1e90772 Thanks @aliemir! - feat: use global values by default for app title and app icon

    Now <Refine /> component accepts options.title prop that can be used to set app icon and app name globally. For <ThemedLayoutV2 /> and <AuthPage /> components, these values will be used by default. While users can use options.title to pass global values for app icon and app name, option to override through <ThemedTitleV2 /> component is still available for users to override these values in specific use cases.

    import { Refine } from "@refinedev/core";
    
    const MyIcon = () => <svg>{/* ... */}</svg>;
    
    const App = () => {
      return (
        <Refine
          options={{
            title: {
              icon: <MyIcon />,
              text: "Refine App",
            },
          }}
        >
          {/* ... */}
        </Refine>
      );
    };

    Then, <ThemedLayoutV2 /> and <AuthPage /> components will display <MyIcon /> and "Refine App" as app icon and app name respectively.

Patch Changes

@refinedev/[email protected]

Minor Changes

  • #5945 a39f1952554120893ea83db904037917fc293dc6 Thanks @aliemir! - Added ina and nina CrudOperators. Added filtering by these operators to Supabase data provider
    [FEAT]: Supabase Data Provider should filter array column by array  #5902

  • #5945 903ea231538b00ce02ddc9394c72848ec1e90772 Thanks @aliemir! - feat(core): ability to pass global app title and icon

    Added ability to pass global app name and icon values through <Refine /> component's options prop.

    Now <Refine /> component accepts options.title prop that can be used to set app icon and app name globally. By default these values will be accessible through useRefineOptions hook and will be used in <ThemedLayoutV2 /> and <AuthPage /> components of the UI packages.

    import { Refine } from "@refinedev/core";
    
    const MyIcon = () => <svg>{/* ... */}</svg>;
    
    const App = () => {
      return (
        <Refine
          options={{
            title: {
              icon: <MyIcon />,
              text: "Refine App",
            },
          }}
        >
          {/* ... */}
        </Refine>
      );
    };

Patch Changes

@refinedev/[email protected]

Minor Changes

  • #5945 903ea231538b00ce02ddc9394c72848ec1e90772 Thanks @aliemir! - feat: use global values by default for app title and app icon

    Now <Refine /> component accepts options.title prop that can be used to set app icon and app name globally. For <ThemedLayoutV2 /> and <AuthPage /> components, these values will be used by default. While users can use options.title to pass global values for app icon and app name, option to override through <ThemedTitleV2 /> component is still available for users to override these values in specific use cases.

    import { Refine } from "@refinedev/core";
    
    const MyIcon = () => <svg>{/* ... */}</svg>;
    
    const App = () => {
      return (
        <Refine
          options={{
            title: {
              icon: <MyIcon />,
              text: "Refine App",
            },
          }}
        >
          {/* ... */}
        </Refine>
      );
    };

    Then, <ThemedLayoutV2 /> and <AuthPage /> components will display <MyIcon /> and "Refine App" as app icon and app name respectively.

Patch Changes

@refinedev/[email protected]

Minor Changes

  • #5945 903ea231538b00ce02ddc9394c72848ec1e90772 Thanks @aliemir! - feat: use global values by default for app title and app icon

    Now <Refine /> component accepts options.title prop that can be used to set app icon and app name globally. For <ThemedLayoutV2 /> and <AuthPage /> components, these values will be used by default. While users can use options.title to pass global values for app icon and app name, option to override through <ThemedTitleV2 /> component is still available for users to override these values in specific use cases.

    import { Refine } from "@refinedev/core";
    
    const MyIcon = () => <svg>{/* ... */}</svg>;
    
    const App = () => {
      return (
        <Refine
          options={{
            title: {
              icon: <MyIcon />,
              text: "Refine App",
            },
          }}
        >
          {/* ... */}
        </Refine>
      );
    };

    Then, <ThemedLayoutV2 /> and <AuthPage /> components will display <MyIcon /> and "Refine App" as app icon and app name respectively.

Patch Changes

@refinedev/[email protected]

Minor Changes

Patch Changes

@refinedev/[email protected]

Minor Changes

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

  • #5945 bb89dc34bf6ef061d0bcdcf0cb3173fe7014ae5e Thanks @aliemir! - 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.

  • #5945 6c22ece19f44ca2b99ad70543f9ee40b4b139863 Thanks @aliemir! - 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.

  • #5945 90930b381d8d369c63bc59beedf69c391875166d Thanks @aliemir! - chore: added type qualifier to imports used as type only.

    - import { A } from "./example.ts";
    + import type { A } from "./example.ts";

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refinedev/[email protected]

Patch Changes

@refine-bot refine-bot requested a review from a team as a code owner June 4, 2024 10:55
Copy link
Contributor

github-actions bot commented Jun 4, 2024

Copy link

cypress bot commented Jun 4, 2024

Passing run #11182 ↗︎

0 379 37 0 Flakiness 0

Details:

Merge e527ede into 9dd7e4c...
Project: refine Commit: 835b46207b ℹ️
Status: Passed Duration: 21:14 💡
Started: Jun 4, 2024 11:31 AM Ended: Jun 4, 2024 11:52 AM

Review all test suite changes for PR #6015 ↗︎

@BatuhanW BatuhanW linked an issue Jun 4, 2024 that may be closed by this pull request
@BatuhanW BatuhanW merged commit 13bf928 into master Jun 4, 2024
98 checks passed
@BatuhanW BatuhanW deleted the changeset-release/master branch June 4, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants