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 #6016

Merged
merged 1 commit into from
Jun 5, 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/antd@5.40.0

Minor Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - lock the ant-design/icons version to 5.0.1

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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.

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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.

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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>
      );
    };
  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - chore: added type qualifier to imports used as type only.

    - import { A } from "./example.ts";
    + import type { A } from "./example.ts";
  • Updated dependencies [6bd14228760d3e1e205ea9248e427f9afa2ec046, 6bd14228760d3e1e205ea9248e427f9afa2ec046]:

    • @refinedev/ui-types@1.22.9

@refinedev/chakra-ui@2.31.0

Minor Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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/core@4.51.0

Minor Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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/mantine@2.32.0

Minor Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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/mui@5.17.0

Minor Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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/nestjs-query@1.3.0

Minor Changes

Patch Changes

@refinedev/supabase@5.9.0

Minor Changes

Patch Changes

@refinedev/ably@4.1.8

Patch Changes

@refinedev/airtable@4.4.11

Patch Changes

@refinedev/appwrite@6.5.3

Patch Changes

@refinedev/cli@2.16.33

Patch Changes

@refinedev/codemod@4.1.10

Patch Changes

@refinedev/devtools@1.2.3

Patch Changes

@refinedev/devtools-internal@1.1.11

Patch Changes

@refinedev/devtools-server@1.1.31

Patch Changes

@refinedev/devtools-shared@1.1.9

Patch Changes

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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.

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - 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.

  • 6bd14228760d3e1e205ea9248e427f9afa2ec046 Thanks @BatuhanW! - chore: added type qualifier to imports used as type only.

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

@refinedev/devtools-ui@1.1.24

Patch Changes

@refinedev/graphql@6.5.4

Patch Changes

@refinedev/hasura@6.6.4

Patch Changes

@refinedev/inferencer@4.6.4

Patch Changes

@refinedev/kbar@1.3.12

Patch Changes

@refinedev/medusa@3.0.6

Patch Changes

@refinedev/nestjsx-crud@5.0.8

Patch Changes

@refinedev/nextjs-router@6.0.6

Patch Changes

@refinedev/react-hook-form@4.8.20

Patch Changes

@refinedev/react-router-v6@4.5.11

Patch Changes

@refinedev/react-table@5.6.12

Patch Changes

@refinedev/remix-router@3.0.6

Patch Changes

@refinedev/simple-rest@5.0.8

Patch Changes

@refinedev/strapi@4.1.12

Patch Changes

@refinedev/strapi-v4@6.0.8

Patch Changes

@refinedev/ui-tests@1.14.7

Patch Changes

@refinedev/ui-types@1.22.9

Patch Changes

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

github-actions bot commented Jun 5, 2024

@BatuhanW BatuhanW merged commit 40e6ab4 into master Jun 5, 2024
22 checks passed
@BatuhanW BatuhanW deleted the changeset-release/master branch June 5, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants