4.34.8 (2021-05-09)
- Support RxJS v7. (238e3f4
4.34.7 (2020-11-28)
- Add
index.js
tofiles
inpackage.json
. (b1e1c2e
4.34.6 (2020-11-28)
- Use
files
inpackage.json
instead of.npmignore
. (3b0c971
4.34.5 (2020-11-05)
rxjs-no-ignored-subscription
should not effect failures forSubscriber
instances passed tosubscribe
. (a821e82
4.34.4 (2020-11-05)
rxjs-prefer-angular-takeuntil
no longer effects failures iftakeUntil
is not the last operator. (0fba606
4.34.3 (2020-09-08)
- Remove RxJS peer dependency. (6fa538b)
4.34.2 (2020-09-08)
- Widen TypeScript and RxJS peer ranges. (c115605)
4.34.1 (2020-08-25)
- Relax
rxjs-throw-error
rule to allowDOMException
. (d653cf0)
4.34.0 (2020-07-12)
- Add
rxjs-no-implicit-any-catch
rule. (dfe3371)
4.33.3 (2020-06-24)
- Don't distribute
yarn.lock
file.
4.33.2 (2020-06-22)
- Added
rxjs-report-usage
.
4.33.1 (2020-06-02)
- Fix
rxjs-no-unsafe-takewhile
deprecation message. (ca4ed82)
4.33.0 (2020-05-26)
- Add
rxjs-no-ignored-takewhile-value
to replace therxjs-no-unsafe-takewhile
rule - which is now deprecated. (9d23be9)
4.32.0 (2020-05-12)
- Add a
checkDecorators
option to therxjs-prefer-angular-takeuntil
rule. (533eb63)
4.31.0 (2020-04-25)
- Add the
rxjs-no-unsafe-subject-next
rule. (4af5d45)
4.30.1 (2020-04-01)
- Don't check the
takeUntil
argument ifcheckDestroy
isfalse
in therxjs-prefer-angular-takeuntil
rule (and defaultcheckDestroy
tofalse
if an alias is specified). (8c4cc72)
4.30.0 (2020-03-28)
- Add
alias
andcheckDestroy
options to therxjs-prefer-angular-takeuntil
rule. (6a8180a)
4.29.2 (2020-03-20)
- Bump the
tsutils-etc
peer dependency. (0d67aa8
4.29.1 (2020-02-29)
- Widen the
tslint
peer dependency. (6c5afda
4.29.0 (2020-02-18)
- Add an
rxjs-no-topromise
rule. (0a8eac7)
4.28.3 (2020-02-09)
- Revert to
decamelize
version 3. (782b4b1)
4.28.2 (2020-02-09)
rxjs/fetch
is a valid import location. (cb12a7f)
4.28.1 (2020-01-18)
- Allow explicit type arguments (generics) to be used with literal values. (9a98c19)
4.28.0 (2019-12-23)
4.27.1 (2019-11-29)
- Fix up rule deprecations and deprecation messages. (392106c)
4.27.0 (2019-11-29)
- Add
rxjs-prefer-angular-takeuntil
rule. (7489079) - Add
rxjs-prefer-angular-composition
rule. (c145b6b)
- Rename
rxjs-prefer-async-pipe
rule torxjs-prefer-angular-async-pipe
and deprecate the old name. (33fdd80)
4.26.3 (2019-11-19)
- Fix a false positive with
rxjs-no-redundant-notify
rule. (f356b7b)
4.26.2 (2019-11-15)
- Fix false positives with
rxjs-no-redundant-notify
rule. (c08c919)
4.26.1 (2019-10-31)
- Use tighter regular expressions in
rxjs-no-redundant-notify
rule. (c3cbb93)
4.26.0 (2019-10-31)
- Added the
rxjs-no-redundant-notify
rule. (2305cf3)
4.25.0 (2019-09-07)
- Added the
rxjs-no-index
rule. (9db9385)
4.24.3 (2019-06-28)
- Ignore qualified names in
rxjs-no-unsafe-scope
. (76f020e)
4.24.2 (2019-06-19)
- Add
console
to whitelist forrxjs-no-unsafe-scope
. (8dec947)
4.24.1 (2019-06-19)
- Fixed problems with
rxjs-no-unsafe-scope
and property-access expressions. (4a365f9)
4.24.0 (2019-06-11)
- Add an
allowSubscribe
option to therxjs-no-unsafe-scope
rule. (8caa4db)
4.23.3 (2019-06-08)
- Check
Notification
usage inrxjs-no-explicit-generics
. (115a0ba)
4.23.2 (2019-05-22)
- Fixes a problem with
rxjs-no-unsafe-catch
and operators that are class methods. (f5a737c)
4.23.1 (2019-04-27)
- Consider use of the
caught
argument withincatchError
to be safe. (86211bb)
4.23.0 (2019-04-24)
- Add checking of
BehaviorSubject
,from
andof
with therxjs-no-explicit-generics
rule. (0a8e162)
4.22.1 (2019-04-20)
- Fix a false positive from the
rxjs-no-nested-subscribe
rule. (a57f938)
4.22.0 (2019-04-19)
- Added an
rxjs-no-async-subscribe
rule. (212a847) - Added an
rxjs-no-ignored-subscription
rule. (79eda84)
4.21.0 (2019-04-17)
- Added an
allowProtected
option for therxjs-no-exposed-subjects
rule. (977ecf3)
4.20.0 (2019-04-13)
- Added the
rxjs-no-explicit-generics
rule. (8c51cf5)
4.19.1 (2019-03-26)
4.19.0 (2019-03-20)
- Added the
rxjs-no-ignored-observable
rule. (d27ff0d)
4.18.2 (2019-03-09)
- The
rxjs-no-subclass
now allows the subclassing of non-RxJS classes namedObservable
. (31d00c0)
4.18.1 (2019-03-01)
- Enforce the
rxjs-no-connectable
rule for all operators that can returnConnectableObservable
. (1a2fa98)
4.18.0 (2019-02-28)
- Add the
rxjs-no-connectable
rule. (6b87900)
4.17.2 (2019-02-23)
- Allow throwing and rethrowing
any
. (709f5f1) - Support using namespace-style imports with the
rxjs-no-ignored-replay-buffer
rule - thanks, maggie-x! (a3aae92)
4.17.1 (2019-02-23)
- Replaced
util.ts
withtsutils-etc
.
- Throwing a type that is an intersection with
Error
no longer effects a failure. See issue 86.
4.17.0 (2019-02-08)
- Add an
allowConfig
option to therxjs-no-sharereplay
rule. (a5a7c75) - Add an
rxjs-suffix-subjects
rule - thanks, maggie-x! (ea34c24)
4.16.2 (2019-01-30)
- Relax the enforcement of the
rxjs-no-exposed-subjects
rule for AngularEventEmitter
. (ce73aea)
4.16.1 (2019-01-29)
- Use original, clearer message for
rxjs-no-exposed-subjects
rule. (e25ff9b)
4.16.0 (2019-01-29)
- Add
rxjs-no-exposed-subjects
rule. (c8a0d4d)
4.15.1 (2019-01-28)
- The
rxjs-no-compat
rule no longer effects false positives for packages that begin withrxjs
. (1c5b13f)
4.15.0 (2019-01-18)
- Add
rxjs-no-compat
rule. (ae4403f)
4.14.4 (2019-01-13)
rxjs-no-unsafe-takeuntil
rule now allowsdefaultIfEmpty
. (8c68457)
4.14.3 (2018-12-25)
rxjs-no-unsafe-scope
rule now supports tagged template expressions. (01c5a01)
4.14.2 (2018-12-22)
rxjs-no-unsafe-scope
rule now supports static class properties. (5806b92)rxjs-no-unsafe-scope
rule now supports parameter destructuring. (b0458a2)
4.14.1 (2018-12-21)
rxjs-no-unsafe-scope
rule now considersinstanceof
constructors safe. (e6d8261)
4.14.0 (2018-12-16)
- Support explicit type parameters in
rxjs-no-unsafe-scope
. (b37cb78)
4.13.2 (2018-12-14)
- Support explicit type parameters in
rxjs-no-unsafe-scope
. (b37cb78)
4.13.1 (2018-12-09)
- Add more allowed operators for the
rxjs-no-unsafe-takeuntil
(count
,every
,toArray
, etc.). (5255fcf)
4.13.0 (2018-11-25)
- Add an
rxjs-no-ignored-replay-buffer
rule. (5958750)
4.12.0 (2018-11-18)
- Add an
rxjs-no-ignored-notifier
rule. (c728059)
4.11.1 (2018-11-16)
- Support literal properties in
rxjs-no-unsafe-scope
. (4d39fed) - Support namespace imports in
rxjs-no-unsafe-scope
. (8598cc8)
4.11.0 (2018-11-09)
- Add an
rxjs-no-subclass
rule. (cc746a4)
4.10.1 (2018-11-08)
- Upgrade to
tsquery
3.0.0. (ec8dcb1)
4.10.0 (2018-10-06)
4.9.0 (2018-09-30)
- Add an
rxjs-prefer-observer
rule - see this RxJS issue. (388e28d)
4.8.0 (2018-08-02)
- Add an
allow
option to therxjs-no-unsafe-takeuntil
rule and default to allowing thepublish
andshare
operators and their variants. (9610b86)
4.7.2 (2018-08-01)
- Recognise constants declared using destructuring as
const
. (53af1d4)
4.7.1 (2018-07-31)
- Widen TypeScript peer semver to allow for version 3.0. (77f9e56)
4.7.0 (2018-07-23)
- Add
allowMethods
andallowProperties
options to therxjs-no-unsafe-scope
rule. (410d440)
4.6.0 (2018-07-12)
- Add an
rxjs-no-unsafe-first
rule. (38b32a0)
4.5.1 (2018-07-01)
- Consider only arguments that are functions in the
rxjs-no-unbound-methods
rule. (251a075)
4.5.0 (2018-06-30)
- Add an
rxjs-no-unbound-methods
rule.
4.4.4 (2018-06-26)
- Account for
this
in therxjs-no-unsafe-catch
rule. (ae27369)
4.4.3 (2018-06-26)
- Account for
this
in therxjs-no-unsafe-switchmap
rule. (97546e4)
4.4.2 (2018-06-19)
- Fixed a problem with the
rxjs-no-unsafe-takeuntil
. It was only enforced when the call was made on an identifier. (e2f378c)
4.4.1 (2018-06-04)
- Fixed a non-dev dependency that was added to
devDependencies
.
4.4.0 (2018-06-03)
- Add an
rxjs-just
rule. (a34bd66)
4.3.1 (2018-05-31)
- Fixes a problem the
rxjs-finnish
rule had with optional types. (989c615)
4.3.0 (2018-05-27)
- Add an
rxjs-no-unsafe-takeuntil
rule. (80e11e0)
4.2.1 (2018-05-19)
- In the
rxjs-throw-error
rule, ignore calls for which a signature is not available. (deb87de)
4.2.0 (2018-05-16)
- Add an
rxjs-no-unsafe-catch
rule for effects and epics. (b3a3e01)
4.1.1 (2018-05-02)
- Correctly configure the Angular whitelist for
rxjs-finnish
and add Angular interface methods that returnObservable
. (4f1401e)
4.1.0 (2018-05-02)
- Add whitelist support to
rxjs-finnish
and default to not enforcing Finnish notation for Angular'sEventEmitter
. (5051876)
4.0.2 (2018-04-30)
- The
rxjs-throw-error
rule now fails for thrown non-errors, as well as non-errors passed tothrow
orthrowError
. (11158f1)
4.0.1 (2018-04-30)
- Include ban explanation in failure message. (5e993fe)
4.0.0 (2018-04-25)
- Supports
rxjs
version 5 and 6 and supports the use ofrxjs-compat
with version 6. - Adds an
rxjs-no-internal
rule. - Adds an
rxjs-ban-observables
rule. - Adds an
rxjs-ban-operators
rule.
3.17.0 (2018-04-07)
- Add options for
rxjs-no-unsafe-scope
. (43bd486)
3.16.1 (2018-04-05)
- Fix
tsconfig.json
-based source file discovery when packages withinnode_modules
themselves containtsconfig.json
files. (79bc163)
3.16.0 (2018-03-30)
- Added an
rxjs-no-unsafe-scope
rule to disallow the use of variables/properties in unsafe/outer scopes. (da22b6d)
3.15.0 (2018-03-07)
- Added an
rxjs-throw-error
rule to enforce the passing ofError
values toerror
notifications. (26beb0e)
3.14.0 (2018-02-21)
- Added an
rxjs-deep-operators
rule to enforce deep operator imports (e.g.rxjs/operators/map
) for situations in which tree shaking is not available. (95cc17c)
3.13.1 (2018-02-19)
- Added a warning regarding TSLint's
no-unused-variable
rule. (44fa739)
3.13.0 (2018-02-19)
- Added options for the
rxjs-finnish
rule. (d249119)
3.12.0 (2018-02-18)
- Added an
observable
option for therxjs-no-unsafe-switchmap
rule. (9bffe6e)
3.11.1 (2018-02-18)
- Support camel-case actions in the
rxjs-no-unsafe-switchmap
rule. (c1caa8c)
3.11.0 (2018-02-17)
- Added the
rxjs-no-unsafe-switchmap
rule to disallow the use ofswitchMap
in effects and epics with actions for which it is likely to be unsafe. See this tweet from Victor Savkin. (c08d98b)
3.10.0 (2018-02-16)
- Added the
rxjs-no-deep-operators
rule to disallow deep imports fromrxjs/operators
. Deep imports will not be available in RxJS v6 and deep imports fromrxjs/operators
can be avoided - in v5.5 - if a tree-shaking bundler is used. (ada59c0)
3.9.0 (2018-02-08)
- Added the
rxjs-no-subject-value
rule to disallow accessing aBehaviorSubject
'svalue
property. (9c8f966)
3.8.0 (2018-02-03)
- The
rxjs-no-subject-unsubscribe
rule now disallows the adding of aSubject
to aSubscription
. (20b2927)
3.7.2 (2018-01-30)
- Fixed a bug with the object spread syntax and the
rxjs-finnish
andrxjs-no-finnish
rules. (6c6695b)
3.7.1 (2018-01-29)
- Fixed the
rxjs-no-ignored-subscribe
tests to account for this problem. (b78d76a)
3.7.0 (2018-01-29)
- Add
rxjs-no-ignored-subscribe
rule. (37dd346)
3.6.0 (2018-01-24)
- Add
rxjs-no-tap
alias forrxjs-no-do
. (96babda)
3.5.0 (2018-01-22)
- Add
rxjs-no-ignored-error
rule. (2f6c771)
3.4.2 (2018-01-19)
- Add
tsutils
to thepackage.json
. (e2873a9)
3.4.1 (2018-01-19)
- Trivial documentation changes.
3.4.0 (2018-01-19)
3.3.0 (2017-11-27)
- Add options for the
rxjs-no-add
rule. (775e81d)
3.2.1 (2017-11-27)
- Fix copy/paste errors in README.
3.2.0 (2017-11-27)
- Add options for the
rxjs-no-patched
rule. (b9af023)
3.1.3 (2017-11-27)
- Support the
flatMap
alias formergeMap
. (40169e8)
3.1.2 (2017-11-23)
- Don't throw an error if
rxjs
cannot be found innode_modules
- it's possible a common rule set might be used with a project that does not depend upon RxJS. (17a5e61)
3.1.1 (2017-11-17)
- Add
tslib
as a dependency; it was used, but was missing from thepackage.json
.
3.1.0 (2017-11-11)
- rxjs-no-create: Add a rule to forbid the calling of
Observable.create
. (f025106)
3.0.4 (2017-11-01)
- Trivial documentation changes.
3.0.3 (2017-10-07)
- rxjs-no-unused-add: Consider only known, added imports - as
toPromise
is moving toObservable.prototype
and will have a no-op import. (2489a13)
3.0.2 (2017-10-06)
- knowns: Support 5.5.0-beta.5's move of
toPromise
toObservable.prototype
. (8641a1b)
3.0.1 (2017-09-23)
- knowns: Support 5.5.0-beta.0. (cdcad3a)
3.0.0 (2017-09-23)
- The list of known observables and operators is now compiled by reading the file names from disk. That means that RxJS is now a required peer dependency. It's unlikely that this will be a breaking change for most projects, as I'd expect RxJS to already be present in projects that are using these rules.
- rxjs-no-operator: Add a rule to forbid the importation of non-'lettable' operators. (392f995)
2.1.7 (2017-09-16)
- Add notes on gotchas with
@angular/cli
.
2.1.6 (2017-09-06)
- knowns: Use
hasOwnProperty
when checking known observables and operators (88e4ef7)
2.1.5 (2017-09-05)
- knowns: Add missing observables and operators (051b8a0)
2.1.4 (2017-08-23)
- rxjs-add: Improve error message relating to central imports file not being found (5b12ee6)
2.1.3 (2017-07-21)
- Trivial documentation changes.
2.1.2 (2017-07-19)
- rxjs-add: Skip
.d.ts
files when looking for unused imports with thefile
option (ba18815)
2.1.0 (2017-07-18)
- rxjs-no-do: Add
rxjs-no-do
rule (1d7b352)
2.0.0 (2017-07-18)
- rxjs-add options: Add
allowElsewhere
andallowUnused
options for therxjs-add
rule (98a65f4)
- The
allowElsewhere
andallowUnused
options for therxjs-add
rule default tofalse
, so configurations that specified thefile
option forrxjs-add
might see errors effected if patched observables or operators are imported outside of the file, or if there are unused imports. For behaviour identical to the previous version, configure both options astrue
.
1.4.0 (2017-07-17)
- rxjs-no-wholesale: Deprecate and replace
rxjs-prefer-add
withrxjs-no-wholesale
(which makes more sense when used in conjunction withrxjs-no-add
) (e6648e5)
1.3.0 (2017-07-15)
- rxjs-no-patched: Add the rule (c9b7405)
1.2.0 (2017-07-15)
- rxjs-no-subject-unsubscribe: Add the rule (acc1885)
1.1.0 (2017-05-30)
- rxjs-add: Add the file option (3743ccd)
1.0.5 (2017-05-26)
- base types: Account for reference types in base types (f9eb8a2)
1.0.4 (2017-05-06)
- gotcha: Document
Observable.create
gotcha (4be98ab)
- rxjs-no-unused-add: Add
Observable.create
fixture (56a8af0)
1.0.3 (2017-05-05)
- messages: Clarify failure messages (03d8ae8)