Skip to content

3.0.0

Compare
Choose a tag to compare
@daiscog daiscog released this 11 Jun 17:22
· 30 commits to main since this release

What's Changed

  • Breaking change: The value property of the LoadedState interface, and the parameter of the loadedState function, are no longer optional. If you want your LoadedState instances to possibly contain undefined values, you must explicitly state such in the generic type parameter. E.g., state: HttpRequestState<MyDataType | undefined> will allow a LoadedState with an undefined value. (The LoadingState and ErrorState interfaces are unaffected and continue to have an optional value property, even when the generic type does not allow for undefined.)
  • Angular 16 support

Full Changelog: 2.2.0...3.0.0