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.
[5.1.2] - 2021-01-31
Fixed
- Fixed bug in
fromWebSerialwhereAbortControllersignal already called and not firing in main function
[5.1.1] - 2021-01-31
Changed
- Internal improvements to
toWritableStreamandfromWebSerial
Fixed
fromWebSerialwriter Observable now correctly acceptsUint8Arrayinstead ofstring
[5.1.0] - 2021-01-30
Added
fromWebSerialObservable that allows communication between Web Serial devices using RxJS (see demo and source)
Fixed
- Correct export path for
lengthoperator
[5.0.0] - 2021-01-26
Breaking change in side-effect operators, reverting to earlier code - when tested in isolation they did not cause issues however when used together issues were caused.
Added
takeUntilSignaloperator that provides the same interface as takeUntil but uses an AbortSignal as the notifier.tapOnUnSubscribeoperator that is called on each source unsubscription.
Fixed
tapOnFirstEmit&tapOnSubscribenow correctly emit the source as the return Observable, no longer return the source value inside the callback function.tapIfno longer turns the source, instead source is always tapped but callback function is still only run if the predicate method passes
[4.4.1] - 2021-01-26
Fixed
fromEventSourcereturnsErrorEventinstead oferror.messagewhich was undefined
[4.4.0] - 2021-01-26
Added
fromEventSourceObservable that emits values from a passed EventSource
[4.3.1] - 2021-01-25
Fixed
- Update to internal build configuration for UMD compile
rxjsandrxjs/operatorsnow correctly set asrxjsandrxjs.operatorsfor globals
[4.3.0] - 2021-01-25
Added
temperatureoperator now also includes Rankine conversion
Changed
temperatureoperator accepts string or Enum parameters (strings are still fixed to supported temperature types)weightoperator accepts string or Enum parameters (strings are still fixed to supported weight types)lengthoperator accepts string or Enum parameters (strings are still fixed to supported length types)temperature&weightoperators correctly have precision of2as default- Internal refactor of new code and tests
[4.2.0] - 2021-01-22
Added
Conversion
lengthoperator that acceptsfromLengthandtoLengthproperties and modifies the source number using a length calculation- Example:
length(Lengths.KILOMETERS, Lengths.MILES)to convert a Kilometer length to Miles
- Example:
temperatureoperator that acceptstemperatureFromandtemperatureToproperties and modifies the source number using a temperature calculation- Example:
temperature(Temperatures.KELVIN, Temperatures.CELSIUS)to convert from Kelvin to Celsius
- Example:
weightoperator that acceptsfromWeightandtoWeightproperties and modifies the source number using a weight conversion- Example:
weight(Weights.GRAMS, Weights.KILOGRAMS)to convert Grams to Kilograms
- Example:
Color
rgbToHexandrgbaToHexwhich converts RGB/RGBA strings to their Hex colour valuehexToRGBAwhich converts a Hex string to RGB/RGBA
[4.1.2] - 2021-01-21
Changed
- Documentation updates and some minor internal cleanup due to Typedoc upgrade
[4.1.1] - 2021-01-20
Changed
- Minor doc updates
[4.1.0] - 2021-01-18
Added
decodeJWToperator that takes a string source that could be a JWT token, and attempts to decoded it and return the decoded response
[4.0.0] - 2021-01-18
Added
switchMapIfoperator that takes a predicate function, and two methods to return an Observable value based on the predicate beingtrueorfalse.
Changed
mapIfSourcerenamedmapIf
[3.2.1] - 2021-01-14
Fixed
toWritableStreamnow correctly returns the value to any operators after it and captures write errors when there is no active stream
[3.2.0] - 2021-01-13
Added
fromFetchWithProgressprovides afetchinterface that returns a number during a fetch of a file, and aUint8Arraywhen finished (which can be converted to binary data)
Changed
fromReadableStreamcallssubscriber.completeand notsubscriber.errorwhen usingAbortControllerby default but can accept a parameter to throw as errortoWritableStreaminternal improvements on how it handles errors.toWritableStreamnow acceptsWritableStreamDefaultWriterobjecttoWritableStreamnow acceptsAbordSignalobject to cancel the stream without ending the subscription- Tests now use property ReadableStream and WritableStream polyfills instead of custom implementation
[3.1.0] - 2021-01-12
Added
fromReadableStreamtakes a ReadableStream and converts it into an Observable sourcetoWritableStreamoperator takes a WritableStream and emits the value from the source Observable to it.
[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.
Changed
startWithTapis now calledtapOnFirstEmit
[2.1.2] - 2020-11-22
Changed
- Package is now published under
@rxjs-ninja/rxjs-utility(this also includes previous version for migration from@tinynodes/rxjs-utility) - 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
[2.0.0] - 2020-11-17
Changed
- Updated to Typescript 4
- Documentation, test and code improvements
Added
tapIfoperator that fires a callback only when the predicate function istruemapIfoperator that takes a predicate function, and two methods to return a value based on the predicate beingtrueorfalse.
[1.3.1] - 2020-05-24
Changed
- Minor improvement of test coverage
[1.3.0] - 2020-05-23
Added
tapOnSubscribeoperator that fires a callback every time a subscription to anObservableis made
[1.2.0] - 2020-05-18
Changed
- Underlying typescript library for library changed from
es2018toes2020
[1.1.0] - 2020-05-11
Changed
- Documentation updates
[1.0.2] - 2020-05-06
Changed
- Documentation improvements
[1.0.1] - 2020-05-06
Initial release of library
Added
debounceWithQuery- Operator that takes a string Observable, debouncing the value before passing to a callback that returns an ObservablestartWithTap- Operator that fires a callback only on the first emission from an Observable subscription
Generated using TypeDoc, the 18/11/2022 at 13:22:58