Patch Changes
-
#5875
1c9a95f22ab
Thanks @aliemir! - refactor: add resource name to devtools xray callsAdded 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 whenuseOnError
is called without an auth providerWhen there's no
authProvider
set, theuseOnError
hook will log"no mutationFn found"
to the console in development because of missingonError
property. This PR fixes the issue by providing a dummyonError
function whenauthProvider
is not set. -
#5851
8d2dd4376f6
Thanks @aliemir! - refactor: prevented early accessingsignal
fromuseQuery
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 accessesqueryContext
instead of destructuredsignal
properly to prevent@tanstack/react-query
from settingabortSignalConsumed
flag unexpectedly.Resolves #5843
-
#5875
1c9a95f22ab
Thanks @aliemir! - fix: exclude internal button hook calls from devtools traceRemoved 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 totrue
There was an error in the
useMenu
hook'shideOnMissingParameter
prop. Its default value should betrue
but it was missed when props are passed partially. This PR fixes the issue by setting the default value totrue
. -
Updated dependencies [
1c9a95f22ab
,1c9a95f22ab
,ba719f6ea26
]:- @refinedev/devtools-internal@1.1.8