Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[4.0.2] - 2021-01-25
Fixed
- Update to internal build configuration for UMD compile
rxjs
andrxjs/operators
now correctly set asrxjs
andrxjs.operators
for globals
[4.0.1] - 2021-01-21
Changed
- Documentation updates and some minor internal cleanup due to Typedoc upgrade
[4.0.0] - 2021-01-20
Changed
fromBoolean
no longer accept arguments list or Promise values
[3.2.1] - 2021-01-18
Changed
- Minor internal refactor of
fromBoolean
[3.2.0] - 2021-01-17
Added
ArrayOrSet
type forforBoolean
allowing support forSet
and Array seed values
Changed
- Improved internals of
fromBoolean
and now accepts bothSet
and Array seed values
[3.1.0] - 2021-01-15
Added
firstFalsy
operator that takes a required predicate and returns the first falsy value to the next operatorlastFalsy
operator that takes a required predicate and returns the last falsy value to the next operatorfilterFalsy
operator that takes a required predicate and returns only values that don't pass the predicate
Changed
- Documentation updates and reorganising categories
- Internal improvements to
fromBoolean
[3.0.0] - 2020-12-21
Updated
This release contains a major update to documentation and examples on rxjs.ninja and improved test coverage that provided various bug fixes.
Added
toBoolean
operator that will try to convert a source value to a boolean
Changed
fromBoolean
accepts any value type again that casts to aBoolean
true or false and also now accepts Observable and Promise-based values.filterTruthy
firstTruthy
andlastTruthy
now only return truthy values when using a predicate
[2.1.2] - 2020-11-22
Changed
- Package is now published under
@rxjs-ninja/rxjs-boolean
(this also includes previous version for migration from@tinynodes/rxjs-boolean
) - Documentation updates
[2.1.1] - 2020-11-20
Changed
- Minor doc updates and new homepage URL
[2.1.0] - 2020-11-19
Fixed
- Correctly export all operators and fixed issues with Angular imports
Added
flip
operator simply flips a boolean value in a stream
[2.0.0] - 2020-11-17
Changed
- Updated to Typescript 4
- Documentation, test and code improvements
filterTruthy
operator now takes a predicate functionfromBoolean
operator now only takes boolean values and no longer creates booleans from other types
[1.4.1] - 2020-05-24
Changed
- Minor improvement of test coverage
[1.4.0] - 2020-05-23
Added
- Added
luhnCheck
operator for checking value is a valid Luhn Algorithm value
Changed
- Added second value support to
PredicateFn
type
[1.3.0] - 2020-05-18
Changed
- Underlying typescript library for library changed from
es2018
toes2020
[1.2.1] - 2020-05-16
Changed
- Minor test changes
[1.2.0] - 2020-05-12
Added
- Added
lastTruthy
operator that returns the last truthy value from an Observable, with an optional predicate function
Changed
firstTruthy
operator now accepts a predicate function for filteringfromBoolean
documentation improvements
[1.1.0] - 2020-05-11
Added
fromBoolean
added that accepts both a single value, or an array of values. By default, these values are boolean ( e.g.fromBoolean([true, false])
) however the type of this method can be overriden and any value converted to boolean (e.g.fromBoolean<number>([0, 1, 0, 1, 0, 0 ,1])
) When passing an array it acts the same as the from operator and also accept a scheduler.
Changed
- Improved
firstTruthy
operator to now not handle an error state but usetake(1)
[1.0.2] - 2020-05-06
Changed
- Documentation improvements
[1.0.1] - 2020-05-06
Initial Release of the rxjs-boolean library
Added
filterTruthy
- Operator for returning truthy values from anObservable
valuefirstTruthy
- Operator for returning the first truthy value from anObservable
value
Generated using TypeDoc, the 18/11/2022 at 13:22:58