refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.

MIT License

Downloads
1.1M
Stars
25.3K
Committers
269

Bot releases are visible (Hide)

refine - @refinedev/[email protected]

Published by refine-bot 12 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 12 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5138 0e22d5804b2 Thanks @aliemir! - Prevent authProvider.getIdentity to be called in useLog if auditLogProvider is not defined.
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5114 00a9252c5de Thanks @alicanerdurmaz! - fixed: dataProvider.custom uses diffrent client istance.
    From now on, dataProvider.custom uses the same client istance as other dataProvider methods.
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5127 4f89ca46ac4 Thanks @aliemir! - Update panel and pin positioning for rounded numbers to avoid subpixel blurry rendering
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5117 0b050f97b55 Thanks @BatuhanW! - fix: map missing operators for useDataGrid hook.

    • number field, added isAnyOf operator.
    • string field, added startsWith, endsWith and isAnyOf operators.

    fix: isNull and isNotNull doesn't trigger request.

    When filter has a value "", it's ignored and doesn't trigger request.
    Previously isNull and isNotNull operators weren't handled correctly and had value "" by default.
    With this change, these operators has true value, so they won't be ignored.

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5098 672f7916af7 Thanks @alicanerdurmaz! - fix: undoableNotification does not work when using useNotificationProvider due to a different notification instance.
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5087 88d52d639b9 Thanks @alicanerdurmaz! - feat: meta props added liveProvider.subscribe and liveProvider.publish methods.
    From now on, you can use meta to distinguish between methods by meta.

    meta type:

    import { QueryFunctionContext } from "@tanstack/react-query";
    
    type Fields = Array<string | object | NestedField>;
    
    type VariableOptions =
        | {
              type?: string;
              name?: string;
              value: any;
              list?: boolean;
              required?: boolean;
          }
        | { [k: string]: any };
    
    type Meta = {
        dataProviderName?: string;
        operation?: string;
        fields?: Fields;
        variables?: VariableOptions;
        queryContext?: QueryFunctionContext;
        [k: string]: any;
    };
    

    Usage

    import { LiveProvider, LiveEvent } from "@refinedev/core";
    
    export const liveProvider = (client: any): LiveProvider => {
        return {
            subscribe: ({ channel, types, params, callback, meta }) => {
                console.log({ meta });
            },
    
            publish: ({ channel, type, payload, date, meta }: LiveEvent) => {
                console.log({ meta });
            },
        };
    };
    
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #4945 b838412f0d0 Thanks @MahirMahdi! - fix: antd notificationProvider issue

    Antd notification component could not access theme context, now it's fixed.

    This release provides an alternative to exported notificationProvider value from type NotificationProvider to () => NotificationProvider. If you previously had customizations applied to the notificationProvider object, you may need to update your code like the following:

    - import { notificationProvider } from "@refinedev/antd";
    + import { useNotificationProvider } from "@refinedev/antd";
    + import { App as AntdApp } from "antd";
    
    - const myNotificationProvider = {
    -    ...notificationProvider,
    -    open: (...args) => {
    -        // do some operation here
    -        notificationProvider.open(...args);
    -    },
    - }
    + const myNotificationProvider = () => {
    +     const notificationProvider = useNotificationProvider();
    +     return {
    +          ...notificationProvider,
    +          open: (...args) => {
    +             // do some operation here
    +             notificationProvider.open(...args);
    +          },
    +     }
    + }
    }
    
    const App = () => {
        return (
    +        <AntdApp>
                <Refine
                    /* ... */
    +                notificationProvider={myNotificationProvider}
                >
                    /* ... */
                </Refine>
    +        </AntdApp>
        );
    }
    
refine - @refinedev/[email protected]

Published by refine-bot about 1 year ago

Patch Changes

  • #5054 6ab41f88343 Thanks @MahirMahdi! - Now useCustomMutation can modify headers for each individual call, without setting the default headers. Previously the default headers was included in all subsequent API calls.