React hooks changelog
- Changelog
@dynatrace-sdk/react-hooks
1.15.5 Released Oct 20, 2026
Patch changes
-
Published packages now include an
exportsmap in theirpackage.json(withtypes,requireandimportconditions), so Node.js resolves theesm/output as native ES modules. Previously themodulefield was only honoured by bundlers, so thetype: modulemarker inesm/package.jsonhad no effect in plain Node.js ESM resolution. Deep imports intocjs/,esm/ortypes/that are not listed in the map are no longer permitted. -
Updated dependencies
-
Updated dependencies
- @dynatrace-sdk/app-environment@1.1.6
- @dynatrace-sdk/app-utils@1.0.4
- @dynatrace-sdk/client-app-settings@1.10.1
- @dynatrace-sdk/client-app-settings-v2@1.3.2
- @dynatrace-sdk/client-davis-analyzers@1.13.2
- @dynatrace-sdk/client-document@1.35.2
- @dynatrace-sdk/client-iam@1.1.1
- @dynatrace-sdk/client-query@1.28.1
- @dynatrace-sdk/client-state@1.11.1
- @dynatrace-sdk/http-client@1.5.2
1.15.4 Released Oct 20, 2026
Patch changes
- useGrailFields: keep
datareferentially stable across renders when the query data is unchanged.
1.15.3 Released Oct 15, 2026
Patch changes
useDqlsends the defaultrequestTimeoutMillisecondsof 1000 only on the initial execute request, no longer on poll requests, so running queries don't hold poll requests open on the backend. Polling is back to waiting a fixedpollRatebefore every poll, including the first one. Fast queries still resolve in the execute call.
1.15.2 Released Oct 14, 2026
Patch changes
- A
package.jsoncontaining{"type":"module"}is now emitted into theesm/output directory of each published package. This allows Node.js and bundlers to correctly identify the ESM output as ES modules without requiring the.mjsfile extension. useDqlnow sends a defaultrequestTimeoutMillisecondsof 1000 on execute and poll requests, so the backend responds as soon as the result is ready instead of the hook sleeping a fullpollRatebetween polls. The delay between polls now accounts for the time a poll already took. SetrequestTimeoutMillisecondsin the query params to override the default.
1.15.1 Released Sep 15, 2026
Patch changes
- Add autocomplete polling for useGrailFields
1.15.0 Released Jul 9, 2026
Minor changes
- Add
maxResultRecordsoption toDssQueryOptionsinuseGrailFields. Allows overriding the default 1000-record limit for tenants with many fields.
1.14.2 Released Jul 8, 2026
Patch changes
- Added React 19 support: migrated from
@testing-library/react-hooksto@testing-library/reactv16, extended React peer dependencies to include^19.0.0, and fixeduseRefinitialisation for React 19 strict typing.
1.14.1 Released May 27, 2026
Patch changes
- Fix variable-length dependency arrays in
useUsershook that caused React warnings aboutuseCallback/useMemodependency size changing between renders. Replaced spread ofresultData,resultErrors, andrefetchFnsinto dep arrays with a stable reference to theresultsarray fromuseQueries. (APPDEV-17712)
1.14.0 Released May 25, 2026
Minor changes
- Add
queryproperty toDssQueryOptionsfor direct DSS query strings; deprecatedataObjectandfilterStatementin favour ofquery. (APPOBS-34488)
Patch changes
1.13.0 Released May 5, 2026
Minor changes
- Re-export the resolved user type from
useUser/useUsersasUser, so consumers can type-annotate user data without depending on@dynatrace-sdk/client-iam. (APPDEV-17307)
Patch changes
- Generated TypeScript declarations are now rolled up into a single
types/index.d.tsper entry point. (APPDEV-11700) - Updated
@dynatrace-sdk/http-clientto v1.5.0. (APPDEV-16083)
1.12.1 Released Apr 23, 2026
Patch changes
- Fix unhandled rejection in
useDqlwhen query cancellation fails in a DOM event. (APPDEV-17314)
1.12.0 Released Apr 17, 2026
Minor changes
- Add
filterStatementsupport touseGrailFieldsDSS query options.
1.11.0 Released Apr 2, 2026
Minor changes
- Added new useUser and useUsers hooks. (APPDEV-16587)
1.10.0 Released Mar 27, 2026
Minor changes
- Add _queryKey prop to useDql. (APPDEV-16480)
- Improve useDql documentation. (APPDEV-14261)
1.9.0 Released Mar 26, 2026
Minor changes
- Introduce useGrailFields hook.
Patch changes
- Update @dynatrace-sdk/http-client dependency. (APPDEV-11345)
1.8.0 Released Jan 26, 2026
Minor changes
- Add _queryClient, _getQueryKey props to useDql hook and _UseDqlQueryClientProvider.
1.7.0 Released Oct 16, 2025
Minor changes
- Add
retryOnMountoption to useDql. (APPDEV-14947)
1.6.0 Released Aug 11, 2025
Minor changes
- Add placeholderData to useDql. (APPDEV-13788)
1.5.3 Released Jul 29, 2025
Patch changes
- Adjust metadata typings for UseDql hook. (APPDEV-14229)
1.5.2 Released Jul 18, 2025
Patch changes
- Fix useDql returning query states from previous executions. (APPDEV-14079)
1.5.1 Released Jul 8, 2025
Patch changes
- Fix delay time calculation in case of 429 error. (APPDEV-13480)
1.5.0 Released Jul 7, 2025
Minor changes
- Use returned
retryAfterSecondsdelay in case of 429 error response. (APPDEV-13480) - Add config option to disable cancelling query for inactive tabs. (APPDEV-13572)
Patch changes
- Prevent useDql from returning previous query data. (APPDEV-13762)
1.4.3 Released Jun 23, 2025
Patch changes
- Updated README.md
1.4.2 Released Jun 18, 2025
Patch changes
- Fix issue with babel transformations for React setups. (APPDEV-13636)
1.4.1 Released Jun 9, 2025
Patch changes
- Fixed default onError handler. (APPDEV-13559)
1.4.0 Released Jun 2, 2025
Minor changes
- Add
useDqlhook. (APPDEV-12584)
Patch changes
- Deprecated AnalyzerHookOptions and added onError handler to HookOptions interface. (APPDEV-13031)
1.3.0 Released May 6, 2025
Minor changes
- Deprecate useSettings V1 React hooks. (PS-32564)
1.2.0 Released Apr 22, 2025
Minor changes
- Extend useAnalyzer hook options with onError.
1.1.1 Released Apr 18, 2025
Patch changes
- Fixed lack of execute function memoization in useAsyncInternal hook. (APPDEV-12674)
1.1.0 Released Apr 8, 2025
Minor changes
- Introduce useSettingsV2 hook. (PS-30612)
Patch changes
- Update documentation. (APPDEV-12495)
- Fix undefined params in useSettings, useSettingsV2, useDocument hooks. (APPDEV-12824)
- Adjust docs template. (APPDEV-12495)
1.0.0 Released Feb 11, 2025
Major changes
- Release of 1.0 version
Patch changes
- Updated dependencies
- @dynatrace-sdk/app-utils@1.0.0
0.7.1 Released Jan 8, 2025
Patch changes
- Do not throw error when execute or refetch was called asynchronously
0.7.0 Released Nov 19, 2024
Minor changes
- BREAKING CHANGE: Change useDqlQuery isSuccess return type to boolean
Patch changes
- Updated dependencies. APPDEV-10675
0.6.0 Released Oct 8, 2024
Minor changes
- Introduce settings effective permissions hook.
Patch changes
-
Updated dependencies
-
Updated dependencies
-
Updated dependencies
- @dynatrace-sdk/client-davis-analyzers@1.8.0
- @dynatrace-sdk/client-app-settings@1.8.0
- @dynatrace-sdk/client-document@1.20.0
- @dynatrace-sdk/client-query@1.17.0
- @dynatrace-sdk/client-state@1.7.0
0.5.2 Released Sep 9, 2024
Patch changes
- Fix undefined params in useAppState react hooks.
0.5.1 Released Aug 22, 2024
Patch changes
- Mark error-types on
useSettings()react-hooks to be possibly undefined
0.5.0 Released Jul 25, 2024
Minor changes
- Use cause property to return whole Response when error occurs.
Patch changes
-
Updated dependencies
- @dynatrace-sdk/app-utils@0.5.0
0.4.4 Released Jun 28, 2024
Patch changes
- fix unstable reference in useAppState hook
0.4.3 Released May 2, 2024
Patch changes
- Fix query aborting
0.4.2
Patch changes
- Remove execute parameter of useDeleteAppStates
0.4.1 Released Feb 15, 2024
Patch changes
- Add support for React v18
0.4.0 Released Jan 11, 2024
Minor changes
- Introduce useAppFunction hook.
Patch changes
- Add a JSDoc comment to document the
autoFetchOnUpdateoption.
0.3.0 Released Nov 20, 2023
Minor changes
- Change useAnalyzer options
0.2.0 Released Sep 28, 2023
Minor changes
- Introduce useAnalyzer hook.
0.1.2 Released Sep 21, 2023
Patch changes
- Query will now automatically get polled even when no requestTimeoutMilliseconds has been set.
0.1.1 Released Sep 5, 2023
Patch changes
- Update documentation for npm
0.1.0 Released Aug 8, 2023
Patch changes
- Initial release of the @dynatrace-sdk/react-hooks package