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
rxjsandrxjs/operatorsnow correctly set asrxjsandrxjs.operatorsfor 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
fromBooleanno 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
ArrayOrSettype forforBooleanallowing support forSetand Array seed values
Changed
- Improved internals of
fromBooleanand now accepts bothSetand Array seed values
[3.1.0] - 2021-01-15
Added
firstFalsyoperator that takes a required predicate and returns the first falsy value to the next operatorlastFalsyoperator that takes a required predicate and returns the last falsy value to the next operatorfilterFalsyoperator 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
toBooleanoperator that will try to convert a source value to a boolean
Changed
fromBooleanaccepts any value type again that casts to aBooleantrue or false and also now accepts Observable and Promise-based values.filterTruthyfirstTruthyandlastTruthynow 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
flipoperator simply flips a boolean value in a stream
[2.0.0] - 2020-11-17
Changed
- Updated to Typescript 4
- Documentation, test and code improvements
filterTruthyoperator now takes a predicate functionfromBooleanoperator 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
luhnCheckoperator for checking value is a valid Luhn Algorithm value
Changed
- Added second value support to
PredicateFntype
[1.3.0] - 2020-05-18
Changed
- Underlying typescript library for library changed from
es2018toes2020
[1.2.1] - 2020-05-16
Changed
- Minor test changes
[1.2.0] - 2020-05-12
Added
- Added
lastTruthyoperator that returns the last truthy value from an Observable, with an optional predicate function
Changed
firstTruthyoperator now accepts a predicate function for filteringfromBooleandocumentation improvements
[1.1.0] - 2020-05-11
Added
fromBooleanadded 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
firstTruthyoperator 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 anObservablevaluefirstTruthy- Operator for returning the first truthy value from anObservablevalue
Generated using TypeDoc, the 18/11/2022 at 13:22:58