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/antd@5.39.0

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/ui-types@1.22.8

@refinedev/chakra-ui@2.30.0

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/core@4.50.0

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/mantine@2.31.0

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/mui@5.16.0

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/nestjs-query@1.2.0

Minor Changes

Patch Changes

@refinedev/supabase@5.8.0

Minor Changes

Patch Changes

@refinedev/ably@4.1.7

Patch Changes

@refinedev/airtable@4.4.10

Patch Changes

@refinedev/appwrite@6.5.2

Patch Changes

@refinedev/cli@2.16.32

Patch Changes

@refinedev/codemod@4.1.9

Patch Changes

@refinedev/devtools@1.2.2

Patch Changes

@refinedev/devtools-internal@1.1.10

Patch Changes

@refinedev/devtools-server@1.1.30

Patch Changes

@refinedev/devtools-shared@1.1.8

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/devtools-ui@1.1.23

Patch Changes

@refinedev/graphql@6.5.3

Patch Changes

@refinedev/hasura@6.6.3

Patch Changes

@refinedev/inferencer@4.6.3

Patch Changes

@refinedev/kbar@1.3.11

Patch Changes

@refinedev/medusa@3.0.5

Patch Changes

@refinedev/nestjsx-crud@5.0.7

Patch Changes

@refinedev/nextjs-router@6.0.5

Patch Changes

@refinedev/react-hook-form@4.8.19

Patch Changes

@refinedev/react-router-v6@4.5.10

Patch Changes

@refinedev/react-table@5.6.11

Patch Changes

@refinedev/remix-router@3.0.5

Patch Changes

@refinedev/simple-rest@5.0.7

Patch Changes

@refinedev/strapi@4.1.11

Patch Changes

@refinedev/strapi-v4@6.0.7

Patch Changes

@refinedev/ui-tests@1.14.6

Patch Changes

@refinedev/ui-types@1.22.8

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