Releases: joanllenas/ngx-remotedata
Releases Β· joanllenas/ngx-remotedata
v3.0.0
Features:
- Added the new
failureError
pipe.
Breaking changes:
successOrInProgressValue
pipe changes:- Renamed
successOrInProgressValue
toremoteDataValue
. - Renamed
GetSuccessOrInProgressValuePipe
toGetRemoteDataValuePipe
.
- Renamed
failureValue
pipe changes:- Renamed
GetFailurePipe
toGetFailureValuePipe
(the pipe keeps the same namefailureValue
but has a different behaviour, see below). - This pipe doesn't provide the
E
error anymore, it provides the latestSuccess
value (of typeT
) when provided. To get the error use the newfailureError
pipe.
- Renamed
v2.1.0
v2.0.2
Relaxed AnyRemoteData
type
v2.0.0
fix(types): Improved RemoteData
type safety.
re: #3
BREAKING CHANGE:
- The members of the
RemoteData
type now have a private constructor and can't be instantiated withnew
, each class now has anof()
static method instead. - The
InProgress
class doesn't have a default value. Passundefined
ornull
if you are not providing a value: i.e.InProgress.of(undefined)
.
v1.0.0
refactor(lib): Replace Loading
for InProgress
names and literals.
BREAKING CHANGE:
- All
Loading
related APIs have been renamed toInProgress
. See this issue for context.
Special Thanks to Pau Bartrina for his contribution in this release π
v0.0.2
First release