Skip to content

v0.3.0

Compare
Choose a tag to compare
@Jcparkyn Jcparkyn released this 13 Nov 06:35
· 119 commits to main since this release

Added

  • New parameter for UpdateQueryData to optionally insert a new cache entry if one doesn't already exist for the given argument.
  • Read-only Arg property on Query class, to access the last argument passed to SetArg.
  • Option to pass child content directly to <ObserveQuery/>, so that only the child content is re-rendered when the query updates. When using this method, there is no need to pass the OnChanged="StateHasChanged" parameter.
  • New RetryHandler option for endpoints and queries, to control whether and how the query retries upon failure.
  • New non-generic EndpointOptions and QueryOptions classes, which can be used to share "default" settings between endpoints and queries.
  • New experimental <UseEndpointInfinite/> component for creating "infinite scroll" features. To use this, add @using Phetch.Blazor.Experimental to your _Imports.razor.

Changed

  • BREAKING CHANGE: Removed the return value from UpdateQueryData
  • BREAKING CHANGE: Removed the arg parameter from InvalidateWhere. Instead, use the Arg property of the query.
  • Various improvements to documentation and sample projects.