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)