Skip to content

v0.3.1

Choose a tag to compare

@Jcparkyn Jcparkyn released this 21 Nov 00:55

Added

  • Lots more tests
  • Query and Endpoint classes now have a public Options property to read the options that were passed to them.
  • Query now has a CurrentQuery property to get the FixedQuery that it is currently observing.
  • New KeySelector option to customize the value used for caching query arguments.
  • Support for infinite StaleTime by passing a negative value

Changed

  • RefetchAsync and similar methods now return the result data from the query.

Fixed

  • BREAKING CHANGE: Query.Refetch now throws an exception if it is un-initialized, instead of failing silently.
  • null can now be used as a query argument.
  • Fixed bug where large StaleTime values (e.g., `TimeSpan.MaxValue) would cause an overflow.