angular-cn/CHANGELOG.md

790 KiB

11.0.5 (2020-12-16)

Bug Fixes

  • compiler: handle strings inside bindings that contain binding characters (#39826) (f5aab2b), closes #39601
  • core: fix possible XSS attack in development through SSR. (#40136) (0aa220b)
  • core: set ngDevMode to false when calling enableProdMode() (#40124) (922f492)
  • upgrade: fix HMR for hybrid applications (#40045) (c4c7509), closes #39935

11.1.0-next.3 (2020-12-16)

Bug Fixes

  • compiler: avoid duplicate i18n blocks for i18n attrs on elements with structural directives (#40077) (caa4666), closes #39942
  • compiler: handle strings inside bindings that contain binding characters (#39826) (dc6d40e), closes #39601
  • compiler-cli: remove classes in .d.ts files from provider checks (#40118) (973bb40)
  • core: fix possible XSS attack in development through SSR. (#40136) (47d9b6d)
  • core: set ngDevMode to false when calling enableProdMode() (#40124) (70b4816)
  • language-service: force compileNonExportedClasses: false in LS (#40092) (028e4f7)
  • language-service: Prevent matching nodes after finding a keySpan (#40047) (1bf1b68)
  • upgrade: fix HMR for hybrid applications (#40045) (b4b21bd), closes #39935

Features

  • language-service: autocomplete pipe binding expressions (#40032) (cbb6eae)
  • language-service: autocompletion of element tags (#40032) (e42250f)
  • language-service: autocompletion within expression contexts (#39727) (93a8326)
  • language-service: complete attributes on elements (#40032) (66378ed)
  • language-service: completions for structural directives (#40032) (2a74431)
  • language-service: enable get references for directive and component from template (#40054) (973f797)
  • router: add relativeTo as an input to routerLink (#39720) (112324a), closes #13523

11.0.4 (2020-12-09)

Bug Fixes

  • animations: implement getPosition in browser animation builder (#39983) (5a765f0)
  • compiler-cli: correct incremental behavior even with broken imports (#39967) (adeeb84)
  • compiler-cli: remove the concept of an errored trait (#39967) (0aa35ec)
  • compiler-cli: track poisoned scopes with a flag (#39967) (178cc51)
  • core: remove application from the testability registry when the root view is removed (#39876) (3680ad1), closes #22106
  • core: unsubscribe from the onError when the root view is removed (#39940) (35309bb)
  • language-service: do not return external template that does not exist (#39898) (6b6fcd7)
  • language-service: do not treat file URIs as general URLs (#39917) (829988b)
  • service-worker: handle error with ErrorHandler (#39990) (588dbd3), closes #39913
  • upgrade: avoid memory leak when removing downgraded components (#39965) (97310d3), closes #26209 #39911 #39921

Performance Improvements

  • animations: use ngDevMode to tree-shake warning (#39964) (72aad32)
  • common: use ngDevMode to tree-shake warnings (#39964) (bf3de9b)
  • core: use ngDevMode to tree-shake checkNoChanges (#39964) (2fbb684)
  • core: use ngDevMode to tree-shake warnings (#39959) (1e3534f)
  • forms: use ngDevMode to tree-shake _ngModelWarning (#39964) (735556d)

11.1.0-next.2 (2020-12-09)

Bug Fixes

  • animations: implement getPosition in browser animation builder (#39983) (ca08625)
  • compiler-cli: correct incremental behavior even with broken imports (#39923) (c7c5b2f)
  • compiler-cli: remove the concept of an errored trait (#39923) (6d42954)
  • compiler-cli: track poisoned scopes with a flag (#39923) (0823622)
  • core: remove application from the testability registry when the root view is removed (#39876) (df27027), closes #22106
  • core: Support extending differs from root NgModule (#39981) (5fc4508), closes #25015 #11309 #18554
  • core: unsubscribe from the onError when the root view is removed (#39940) (5a3a154)
  • language-service: do not return external template that does not exist (#39898) (2b84882)
  • language-service: do not treat file URIs as general URLs (#39917) (3b70098)
  • service-worker: handle error with ErrorHandler (#39990) (74e42cf), closes #39913
  • upgrade: avoid memory leak when removing downgraded components (#39965) (6dc43a4), closes #26209 #39911 #39921

Features

  • compiler: allow trailing comma in array literal (#22277) (8d613c1), closes #20773
  • compiler: support tagged template literals in code generator (#39122) (ef89274)
  • language-service: Add "find references" capability to Ivy integrated LS (#39768) (06a782a)
  • language-service: implement autocompletion for global properties (Ivy) (#39250) (28a0bcb)

Performance Improvements

  • animations: use ngDevMode to tree-shake warning (#39964) (9ebe423)
  • common: use ngDevMode to tree-shake warnings (#39964) (f022efa)
  • core: use ngDevMode to tree-shake checkNoChanges (#39964) (e1fe9ec)
  • core: use ngDevMode to tree-shake warnings (#39959) (8b0cccc)
  • forms: use ngDevMode to tree-shake _ngModelWarning (#39964) (7954c8d)

11.0.3 (2020-12-02)

Bug Fixes

  • animations: getAnimationStyle causes exceptions in older browsers (#29709) (cb1d77a)
  • animations: replace copy of query selector node-list from "spread" to "for" (#39646) (e95cd2a), closes #38551
  • common: Prefer to use pageXOffset / pageYOffset instance of scrollX / scrollY (#28262) (5692607)
  • compiler: ensure that placeholders have the correct sourceSpan (#39717) (8ec7156), closes #39671
  • compiler: report better error on interpolation in an expression (#30300) (6dc74fd)
  • compiler-cli: report error when a reference target is missing instead of crashing (#39805) (8634611), closes #38618 #39744
  • core: Ensure OnPush ancestors are marked dirty when events occur (#39833) (01c1bfd), closes #39832
  • core: meta addTag() adds incorrect attribute for httpEquiv (#32531) (3114b0a)
  • core: migration error if program contains files outside of the project (#39790) (7dcc212), closes #39778
  • core: not invoking object's toString when rendering to the DOM (#39843) (75e22ab), closes #38839
  • core: remove duplicated noop function (#39761) (26a1337)
  • core: support Attribute DI decorator in deps section of a token (#37085) (aaa3111), closes #36479
  • router: correctly handle string command in outlets (#39728) (50c19a2), closes #18928
  • router: remove duplicated getOutlet function (#39764) (df231ad)
  • service-worker: correctly handle failed cache-busted request (#39786) (7bf73d7), closes #39775 #39775

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.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

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