github refinedev/refine @refinedev/core@4.49.1

Patch Changes

  • #5875 1c9a95f22ab Thanks @aliemir! - refactor: add resource name to devtools xray calls

    Added the resource name to the devtools xray calls to allow resource names to be displayed in the devtools even with custom query keys.

  • #5883 0a76576da0f Thanks @aliemir! - fix: development errors being logged when useOnError is called without an auth provider

    When there's no authProvider set, the useOnError hook will log "no mutationFn found" to the console in development because of missing onError property. This PR fixes the issue by providing a dummy onError function when authProvider is not set.

  • #5851 8d2dd4376f6 Thanks @aliemir! - refactor: prevented early accessing signal from useQuery of @tanstack/react-query

    In query hooks, signal was accessed directly by destructuring which was causing issues in development mode with duplicated requests. This change accesses queryContext instead of destructured signal properly to prevent @tanstack/react-query from setting abortSignalConsumed flag unexpectedly.

    Resolves #5843

  • #5875 1c9a95f22ab Thanks @aliemir! - fix: exclude internal button hook calls from devtools trace

    Removed internal button hook calls from devtools trace to avoid crowding the trace with unnecessary information.

  • #5881 ba719f6ea26 Thanks @aliemir! - fix: declaration files in node10, node16 and nodenext module resolutions

  • #5884 9a0c1c8414a Thanks @aliemir! - fix(core): useMenu hideOnMissingParameter prop default value set to true

    There was an error in the useMenu hook's hideOnMissingParameter prop. Its default value should be true but it was missed when props are passed partially. This PR fixes the issue by setting the default value to true.

  • Updated dependencies [1c9a95f22ab, 1c9a95f22ab, ba719f6ea26]:

    • @refinedev/devtools-internal@1.1.8

Don't miss a new refine release

NewReleases is sending notifications on new releases.