Skip to content

5.0.0

Compare
Choose a tag to compare
@mgechev mgechev released this 27 Mar 19:16
· 145 commits to master since this release

πŸ™‡πŸΌβ€β™‚οΈ 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 to contextual-lifecycle
  • no-conflicting-life-cycle-hooks is renamed to no-conflicting-lifecycle
  • no-life-cycle-call is renamed to no-lifecycle-call
  • use-life-cycle-interface is renamed to use-lifecycle-interface
  • decorator-not-allowed is renamed to contextual-decorator
  • enforce-component-selector is renamed to use-component-selector
  • no-output-named-after-standard-event is renamed to no-output-native
  • use-host-property-decorator is renamed to no-host-metadata-property
  • use-input-property-decorator is renamed to no-inputs-metadata-property
  • use-output-property-decorator is renamed to no-outputs-metadata-property
  • no-queries-parameter is renamed to no-queries-metadata-property
  • pipe-impure is renamed to no-pipe-impure
  • use-view-encapsulation is renamed to use-component-view-encapsulation
  • i18n is renamed to template-i18n
  • banana-in-box is renamed to template-banana-in-box
  • no-template-call-expression is renamed to template-no-call-expression
  • templates-no-negated-async is renamed to template-no-negated-async
  • trackBy-function is renamed to template-use-track-by-function
  • no-attribute-parameter-decorator is renamed to no-attribute-decorator
  • max-inline-declarations is renamed to component-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.