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 over 1 year ago

Patch Changes

  • #4629 58cc48b7b8f Thanks @alicanerdurmaz! - fixed: description prop does not show up in Mantine notification.
    With this fix, you can now use description prop to show a description in the notification.

    import { useNotification } from "@refinedev/core";
    
    const { open } = useNotification();
    
    open?.({
        description: "This is a description",
        message: "This is a message",
        type: "progress",
    });
    
refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

  • #4626 03597ed8a9a Thanks @aliemir! - Added resource sanitization to the useCanWithoutCache hook to avoid cyclic value errors.
refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: added tests for <ThemedSiderV2/>'s activeItemDisabled prop.
    When activeItemDisabled prop is trye, the active item will be disabled and not clickable.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: ability to tweak active sider items navigation

    Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: ability to tweak active sider items navigation

    Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

  • #4589 11241b16000 Thanks @yildirayunlu! - fix: getList without pagination response

    Without the limit and offset parameters in the nestjsx/crud library, the result is without paging. However, it was always expected to be paginated in the data provider. It now supports both situations.

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: ability to tweak active sider items navigation

    Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: ability to tweak active sider items navigation

    Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4568 8c2b3be35b0 Thanks @salihozdemir! - feat: add the textTransformers option to <Refine/> component

    The textTransformers option in refine is used to transform the resource name displayed on the user interface (UI). By default, if you define a resource named posts, refine will display it as Posts. Similarly, when you delete a record, notification messages will be shown as Post deleted successfully..

    You have the flexibility to customize these messages by using the textTransformers option. For instance, if you wish to disable any transformation, you can set the textTransformers option as shown in the example below:

    const App: React.FC = () => (
        <Refine
            // ...
            options={{
                textTransformers: {
                    humanize: (text) => text,
                    plural: (text) => text,
                    singular: (text) => text,
                },
            }}
        />
    );
    

Patch Changes

  • #4583 c3c0deed564 Thanks @aliemir! - Added the missing resource property in params of the useCan call, which was leading to missing resource details in the access control checks in the can function.

    The provided resource item is sanitized to remove non-serializable properties such as icon etc. If you need such items, you should try to access your resource item directly from your defitinions.

  • #4599 5bb6f47a4d4 Thanks @aliemir! - Update default document title generation to use the fallback title when i18n's translate function returns the key value.

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

  • #4502 c7872ca621f Thanks @Mr0nline! - feat: ability to tweak active sider items navigation

    Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

Patch Changes

  • #4601 090653717d6 Thanks @aliemir! - Updated inferencer functions to check for relational fields with representable values. If the inferencer type is show or list, the inferencer will use the available properties to show the field instead of trying to fetch the relational data.

    // posts/1
    {
        id: 1,
        name: "Post 1",
        tags: [
            {
                id: 5,
                name: "Tag 5"
            },
            {
                id: 6,
                name: "Tag 6"
            }
        ],
        content: "...",
    }
    

    Above structure will show the tags field in list and show inferencers using the name property instead of trying to fetch the relational data. But edit and create inferencers will still work with the relational data.

  • Updated dependencies [c3c0deed564, 8c2b3be35b0, 5bb6f47a4d4]:

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

  • #4584 6305f41d2a6 Thanks @IkumaTadokoro! - fix: issue with #4574

    We had a problem when using Hasura Provider with grapqhql-convention where it causes could not retrieve some response issue to happen, now it's fixed.

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

  • #4530 a90f14301c3 Thanks @hbtecRJE! - fix(graphql): issue with graphql liveprovider subscription query

    For the graphql subscription, 'query' was used instead of 'subscription'.

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

  • #4576 9a895ea39dc Thanks @alicanerdurmaz! - fixed: handleSubmitReactHookForm now returns a Promise without awaiting it.
    With this change, unhandled errors will propagate to the caller.

  • #4527 ceadcd29fc9 Thanks @salihozdemir! - fix: prioritization of forgotten identifier

    If identifier is provided, it will be used instead of name.

    import { useModalForm } from "@refinedev/react-hook-form";
    
    useModalForm({
        refineCoreProps: {
            resource: "identifier-value",
        },
    });
    

    fix: use translate keys with identifier

    Previously, the translate keys were generated using resource name. This caused issues when you had multiple resource usage with the same name. Now the translate keys are generated using identifier if it's present.

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot over 1 year ago

Minor Changes

Patch Changes

  • #4557 781050e56a4 Thanks @yildirayunlu! - fix: Button text color on RefineThemes

  • #4527 ceadcd29fc9 Thanks @salihozdemir! - fix: prioritization of forgotten identifier

    If identifier is provided, it will be used instead of name.

    import { DeleteButton } from "@refinedev/mui";
    
    <DeleteButton resource="identifier-value" recordItemId="123" />;
    

    fix: use translate keys with identifier

    Previously, the translate keys were generated using resource name. This caused issues when you had multiple resource usage with the same name. Now the translate keys are generated using identifier if it's present.

  • Updated dependencies [9a895ea39dc, ceadcd29fc9]: