Releases: mgechev/codelyzer
5.1.0
5.0.1
5.0.0
🙇🏼♂️ Thanks to @rafaelss95, @mohammedzamakhan, @wKoza, @mgechev
BREAKING CHANGES
Angular CLI will automatically migrate your projects to reflect the latest config.
contextual-life-cycle
is renamed tocontextual-lifecycle
no-conflicting-life-cycle-hooks
is renamed tono-conflicting-lifecycle
no-life-cycle-call
is renamed tono-lifecycle-call
use-life-cycle-interface
is renamed touse-lifecycle-interface
decorator-not-allowed
is renamed tocontextual-decorator
enforce-component-selector
is renamed touse-component-selector
no-output-named-after-standard-event
is renamed tono-output-native
use-host-property-decorator
is renamed tono-host-metadata-property
use-input-property-decorator
is renamed tono-inputs-metadata-property
use-output-property-decorator
is renamed tono-outputs-metadata-property
no-queries-parameter
is renamed tono-queries-metadata-property
pipe-impure
is renamed tono-pipe-impure
use-view-encapsulation
is renamed touse-component-view-encapsulation
i18n
is renamed totemplate-i18n
banana-in-box
is renamed totemplate-banana-in-box
no-template-call-expression
is renamed totemplate-no-call-expression
templates-no-negated-async
is renamed totemplate-no-negated-async
trackBy-function
is renamed totemplate-use-track-by-function
no-attribute-parameter-decorator
is renamed tono-attribute-decorator
max-inline-declarations
is renamed tocomponent-max-inline-declarations
Bug Fixes
- rule: template-no-call-expression should allow $any usages (#735) (a75c204)
- rule: no-input-rename reporting some failures incorrectly (#723) (f692dcb)
- rule: prefer-inline-decorator should not set a max number of options (#787) (31b2b6a)
- rule: add template-accessibility-elements-content to index.ts (#803) (1e8cbbf), closes #801
- update peerDependencies (d5bfbd5)
Features
- rule: add component-change-detection (#737) (a23ccde), closes #135
- rule: add relative-url-prefix (#725) (f12f27b)
- rule: add template-accessibility-alt-text (#741) (0815ec5)
- rule: add template-accessibility-elements-content (#742) (6ff8c56)
- rule: add template-accessibility-label-for (#739) (76c24fa)
- rule: add template-accessibility-tabindex-no-positive (#744) (43902f7)
- rule: add template-accessibility-table-scope (#743) (2832615)
- rule: add template-accessibility-valid-aria (#746) (762f67f)
- rule: add template-click-events-have-key-events (#761) (b0b330f)
- rule: add template-mouse-events-have-key-events (#759) (3a7b15d)
- rule: add template-no-autofocus (#749) (799382f)
- rule: add template-no-distracting-elements (#760) (6b21a9e)
- rule: add template-no-any (#755) (77a5e32)
- add support for svg templates (#800) (dadf8ec)
This release contains many breaking changes due to the rename of several rules (see more at (bbf7a32)). Currently, there's an open PR (angular/angular-cli#13801) that will help migrate your app if you are affected by these changes.
5.0.0-beta.2
docs: update changelog
5.0.0-beta.1
Bug fixes
- update peerDependencies (d5bfbd5)
Keep in mind the following renames:
contextual-life-cycle
=> contextual-lifecycle
no-conflicting-life-cycle-hooks
=> no-conflicting-lifecycle
no-life-cycle-call
=> no-lifecycle-call
use-life-cycle-interface
=> use-lifecycle-interface
decorator-not-allowed
=> contextual-decorator
enforce-component-selector
=> use-component-selector
no-output-named-after-standard-event
=> no-output-native
use-host-property-decorator
=> no-host-metadata-property
use-input-property-decorator
=> no-inputs-metadata-property
use-output-property-decorator
=> no-outputs-metadata-property
no-queries-parameter
=> no-queries-metadata-property
pipe-impure
=> no-pipe-impure
use-view-encapsulation
=> use-component-view-encapsulation
i18n
=> template-i18n
banana-in-box
=> template-banana-in-box
no-template-call-expression
=> template-no-call-expression
templates-no-negated-async
=> template-no-negated-async
trackBy-function
=> template-use-track-by-function
no-attribute-parameter-decorator
=> no-attribute-decorator
max-inline-declarations
=> component-max-inline-declarations
5.0.0-beta.0
Bug Fixes
- allow-template-call-expression: allow $any in expressions (#735) (a75c204)
- no-input-rename: some failures being reported incorrectly (#723) (f692dcb)
- rule: don't check keyup events for some elements (#772) (a9c4ae9)
- rule: 'prefer-inline-decorator' limiting the number of options (#787) (31b2b6a)
- rule: fix spelling error (#753) (512a5bd)
- rule: remove an astray console.log (#764) (fdcb07a)
Features
- component-change-detection: add change detection strategy rule (#737) (a23ccde), closes #135
- rule: accessibility rule for alt text (#741) (0815ec5)
- rule: add new Rule RelativePathExternalResourcesRule (#725) (f12f27b)
- rule: anchor element should have content (#742) (6ff8c56)
- rule: autofocus attribute should not be used (#749) (799382f)
- rule: click event should be accompanied with key event (#761) (b0b330f)
- rule: heading and anchor elements should have content (#762) (865ec3b)
- rule: label accessibility - should have associated control (#739) (76c24fa)
- rule: mouse events should accompany key events (#759) (3a7b15d)
- rule: no distracting elements should be used (#760) (6b21a9e)
- rule: only th element can have scope (#743) (2832615)
- add template-no-any rule (#755) (77a5e32)
- rule: tabindex should not be positive (#744) (43902f7)
- rule: use valid aria rules (#746) (762f67f)