- 0d7fdf2e: Updated the list of currencies to those supported by explored.
- @siafoundation/[email protected]
- 55524cb3: Added useThrottledStateMap.
- 55524cb3: Added
throttle
, often useful for mutation callbacks.
- b7e5ea12: Added maybeFromNullishArrayResponse for casting null empty array responses to [].
- 56974bbf: Migrated all settings interaction to the more specific requestSettings.
- 56974bbf: Hooks keys are now a two element array that includes the request method. This fixes an issue where hooks using the same route on different methods could conflict. The mutation matcher still uses the route string without any method information.
- 56974bbf: Removed the unused standalone option.
- 5f34c9a6: Added support for detecting and exposing daemon explorer via AppSettings. Closes #690
- 8be86046: Exchange rate hooks were moved from design-system to react-core.
- 5f34c9a6: Refactored AppSettings into a RequestSettings and an ExternalData provider, the providers can be used directly or via a composite AppSettings provider for backwards compatibility.
- Updated dependencies [5c0df06e]
- Updated dependencies [8be86046]
- Updated dependencies [d5dc0f86]
- @siafoundation/[email protected]
- a6c956ea: App setting allowCustomApi is now more accurately named loginWithCustomApi.
- a6c956ea: The network block height calculation methods have been moved to the units package.
- Updated dependencies [3a983801]
- @siafoundation/[email protected]
- 1b1952e5: Libraries now follow new naming scheme.
- 0d7249a4: Peer dependencies now limited to react and next.
- Updated dependencies [b3a08031]
- @siafoundation/[email protected]
- 40e402ad: Hook request functions now return headers.
- b3e12c99: The package has been updated to use Next 14.
- Updated dependencies [b3e12c99]
- @siafoundation/[email protected]
- Reconfigure rollup.
- Updated dependencies
- @siafoundation/[email protected]
- Preserve modules and directives.
- Updated dependencies
- @siafoundation/[email protected]
- d8528c8e: Package build and bundling has been updated.
- Updated dependencies [d8528c8e]
- @siafoundation/[email protected]
- e24c8935: esm support
- Updated dependencies [e24c8935]
- @siafoundation/[email protected]
- 21972d75: Request hooks now have a standalone option that allows them to revalidate under a unique key.
- c3d93283: Added useTryUntil.
- c3d93283: Add useSiaCentralHosts.
- 8cd442b4: Added a global swr mutate function.
- e74d48cc: Currency options now include AUD.
- 000db6a6: Currency options now include CAD, AUS, RUB, and CNY.
- 1a75c14b: Added usePatch request APIs.
- fef9e82: usePut and useDelete now include default data transform in after mutators.
- fa57fe6: All swr hooks now properly bubble up detailed error messages.
- fa57fe6: The mutation after callback now has a default cache data update function.
- 4585fb0: Added usePutSwr.
- 30493f4: useSettingUpdate now automatically revalidates any corresponding useSetting hooks.
- 2a0a714: The revalidation dependencies have been refactored into a more extensible after function.
- 2a0a714: Add generic workflow tracking provider.
- 67d0113: The renterd React API now lives in renterd-react.
- d2a06af: Remove useSettingsUpdate because PUT /settings has been removed.
- ceb56a8: Add usePostSwr post-based swr hook, align naming convention.
- ceb56a8: Add useHostsSearch, useHostsBlocklist, useHostsAllowlist, useHostsBlocklistUpdate, useHostsAllowlistUpdate API hooks.
- fec2c6d: Add useAutopilotHostsSearch and useObjectSearch renterd hooks.
- 6c6c058: AppSettings now has a password protected hooks mode.
- ff1bbef: Add useSettingsUpdate hook for PUT /settings.
- 3b1db65: Request hooks have been overhauled, they now support configuring parameters such as base API at call time, implementation, and via app settings.
- 77220ad: Added react hooks for interacting with renterd bus and autopilot APIs.
- a7bfe11: The core library now includes a React hook for the Sia Central metrics API.
- f96683e: useGetExternal functionality was merged into useGet.