angular-cn/CHANGELOG.md

775 KiB

11.1.0-next.1 (2020-12-02)

Bug Fixes

  • animations: getAnimationStyle causes exceptions in older browsers (#29709) (66d863f)
  • animations: replace copy of query selector node-list from "spread" to "for" (#39646) (bfa197f), closes #38551
  • common: Prefer to use pageXOffset / pageYOffset instance of scrollX / scrollY (#28262) (b1d300d)
  • compiler: disallow i18n of security-sensitive attributes (#39554) (c8a99ef)
  • compiler: ensure that placeholders have the correct sourceSpan (#39717) (0462a61), closes #39671
  • compiler: only promote Trusted Types to constants when necessary (#39554) (4916870)
  • compiler: report better error on interpolation in an expression (#30300) (94e790d)
  • compiler-cli: report error when a reference target is missing instead of crashing (#39805) (453b32f), closes #38618 #39744
  • core: Allow passing AbstractType to the inject function (#37958) (a1b6ad0)
  • core: Ensure OnPush ancestors are marked dirty when events occur (#39833) (68d4a74), closes #39832
  • core: meta addTag() adds incorrect attribute for httpEquiv (#32531) (ff0a90e)
  • core: migration error if program contains files outside of the project (#39790) (1a26f6d), closes #39778
  • core: not invoking object's toString when rendering to the DOM (#39843) (11cd37f), closes #38839
  • core: remove duplicated noop function (#39761) (066126a)
  • core: support Attribute DI decorator in deps section of a token (#37085) (f5cbf0b), closes #36479
  • router: correctly handle string command in outlets (#39728) (c33a823), closes #18928
  • router: remove duplicated getOutlet function (#39764) (5fa7673)
  • service-worker: correctly handle failed cache-busted request (#39786) (6046419), closes #39775 #39775

Features

  • common: allow any Subscribable in async pipe (#39627) (c7f4abf)
  • compiler: add schema for Trusted Types sinks (#39554) (358c50e)
  • compiler: support error reporting in I18nMetaVisitor (#39554) (bb70a9b)
  • compiler-cli: add support for using TypeScript 4.1 (#39571) (a7e7c21)
  • compiler-cli: support for partial compilation of components (#39707) (e75244e)
  • core: adds get method to QueryList (#36907) (a965589), closes #29467
  • localize: support Application Resource Bundle (ARB) translation file format (#36795) (5684ac5)
  • platform-browser: add doubletap HammerJS support (#26362) (b5c0f9d), closes #23954

DEPRECATIONS

  • forms: Mark the {[key: string]: any} type for the options property of the FormBuilder.group method as deprecated. Using AbstractControlOptions gives the same functionality and is type-safe.

11.0.2 (2020-11-19)

Bug Fixes

11.1.0-next.0 (2020-11-18)

Bug Fixes

Features

  • compiler: recover expression parsing in more malformed pipe cases (#39437) (e336572)
  • compiler: support recovery of malformed property writes (#39103) (e44e10b)
  • compiler-cli: implement partial directive declaration linking (#39518) (87e9cd6)
  • compiler-cli: partial compilation of directives (#39518) (8c0a92b)
  • core: add shouldCoalesceRunChangeDetection option to coalesce change detections in the same event loop. (#39422) (5e92d64), closes #39348 #39348
  • language-service: Implement go to definition for style and template urls (#39202) (563fb6c)

11.0.1 (2020-11-18)

Bug Fixes

  • compiler-cli: incorrectly type checking calls to implicit template variables (#39686) (e05cfdd), closes #39634 * compiler-cli: setComponentScope should only list used components/pipes (#39662) (8d317df) * core: handle !important in style property value (#39603) (978f081), closes #35323 * core: not inserting ViewContainerRef nodes when inside root of a component (#39599) (20db90a), closes #39556 * core: remove deprecated wtfZoneSpec from NgZone (#37864) (e02bea8), closes #33949
  • forms: more precise control cleanup (#39623) (050cea9)
  • http: queue jsonp