Skip to content

Releases: angular/angular

v17.0.7

14 Dec 00:35
Compare
Choose a tag to compare

17.0.7 (2023-12-13)

compiler

Commit Description
fix - 4fd5409090 handle ambient types in input transform function (#51474)

compiler-cli

Commit Description
fix - a603338fe8 generate less type checking code in for loops (#53515)

core

Commit Description
fix - 58ed76be93 Avoid refreshing a host view twice when using transplanted views (#53021)
fix - c16b5e8290 Multiple subscribers to ApplicationRef.isStable should all see values (#53541)
fix - 17dbf8b8e2 remove signal equality check short-circuit (#53446)
fix - 5b4add27b6 update feature usage marker (#53542)
perf - 68d111c841 avoid changes Observable creation on QueryList (#53498)
perf - 044cb553b4 optimize memory allocation when reconcilling lists (#52245)

migrations

Commit Description
fix - 96ab999698 CF Migration - ensure bound ngIfElse cases ignore line breaks (#53435)
fix - c9a1c6f1c7 cf migration - undo changes when html fails to parse post migration (#53530)
fix - b75aca1d74 CF migration only remove newlines of changed template content (#53508)
fix - e88a12d5b3 cf migration validate structure of ngswitch before migrating (#53530)
fix - 543df3dca5 ensure we do not overwrite prior template replacements in migration (#53393)
fix - d232ea143f fix cf migration import removal when errors occur (#53502)

platform-browser

Commit Description
fix - d5c631bf36 Get correct base path when using "." as base href when serving from the file:// protocol. (#53547)

router

Commit Description
fix - e750e4edcf provide more actionable error message when route is not matched in production mode (#53523)

v17.1.0-next.3

06 Dec 18:22
Compare
Choose a tag to compare
v17.1.0-next.3 Pre-release
Pre-release

17.1.0-next.3 (2023-12-06)

compiler

Commit Description
fix - 5613051a8b allow TS jsDocParsingMode host option to be programmatically set again (#53292)
fix - 77ac4cd324 generate proper code for nullish coalescing in styling host bindings (#53305)

compiler-cli

Commit Description
fix - e620b3a724 add compiler option to disable control flow content projection diagnostic (#53311)
fix - d7a83f9521 avoid conflicts with built-in global variables in for loop blocks (#53319)

core

Commit Description
fix - 77939a3bd3 cleanup signal consumers for all views (#53351)
fix - 899f6c4a12 handle hydration of multiple nodes projected in a single slot (#53270)
fix - 4b23221b4e support hydration for cases when content is re-projected using ng-template (#53304)
fix - 82609d471c support swapping hydrated views in @for loops (#53274)

migrations

Commit Description
fix - 1c1e8c477b CF migration - ensure NgIfElse attributes are properly removed (#53298)
fix - 2998d482dd CF Migration - Fix case of aliases on i18n ng-templates preventing removal (#53299)
fix - aad5e5bd0e CF Migration add support for ngIf with just a then (#53297)
fix - 6f75471307 CF Migration fix missing alias for bound ngifs (#53296)
fix - 2a5a8f6f05 Change CF Migration ng-template placeholder generation and handling (#53394)
fix - 03e2f1bb25 fix regexp for else and then in cf migration (#53257)
fix - f4a96a9160 handle aliases on bound ngIf migrations (#53261)
fix - 5a0ed28c9d handle nested ng-template replacement safely in CF migration (#53368)
fix - 01b18a4248 handle templates outside of component in cf migration (#53368)
fix - 9834fd2738 remove setting that removes comments in CF migration (#53350)

router

Commit Description
feat - 5c1d441029 Add info property to NavigationExtras (#53303)
feat - 50d7916278 Add router configuration to resolve navigation promise on error (#48910)
fix - 1940280d27 Ensure canMatch guards run on wildcard routes (#53239)

v17.0.6

06 Dec 18:15
Compare
Choose a tag to compare

17.0.6 (2023-12-06)

compiler

Commit Description
fix - a2e5f483f5 generate proper code for nullish coalescing in styling host bindings (#53305)

compiler-cli

Commit Description
fix - 66ecf4c274 add compiler option to disable control flow content projection diagnostic (#53387)
fix - 74e6ce5d23 add diagnostic for control flow that prevents content projection (#53387)
fix - 6ec7a42b95 avoid conflicts with built-in global variables in for loop blocks (#53319)

core

Commit Description
fix - 0a53f96094 cleanup signal consumers for all views (#53351)
fix - 4fc1581bbc handle hydration of multiple nodes projected in a single slot (#53270)
fix - 14e66533ec support hydration for cases when content is re-projected using ng-template (#53304)
fix - 8e366e8911 support swapping hydrated views in @for loops (#53274)

migrations

Commit Description
fix - 45064f1ae1 CF migration - ensure NgIfElse attributes are properly removed (#53298)
fix - a6275cfa54 CF Migration - Fix case of aliases on i18n ng-templates preventing removal (#53299)
fix - 58a96e0f50 CF Migration add support for ngIf with just a then (#53297)
fix - 26e40c7f89 CF Migration fix missing alias for bound ngifs (#53296)
fix - 836aeba01d Change CF Migration ng-template placeholder generation and handling (#53394)
fix - 72d22ba7ee fix regexp for else and then in cf migration (#53257)
fix - 7a2facae8a handle aliases on bound ngIf migrations (#53261)
fix - 5104a89b30 handle nested ng-template replacement safely in CF migration (#53368)
fix - 2a4e3f5373 handle templates outside of component in cf migration (#53368)
fix - 0db75ab5b1 remove setting that removes comments in CF migration (#53350)

router

Commit Description
fix - 13ade13a15 Ensure canMatch guards run on wildcard routes (#53239)

v17.1.0-next.2

29 Nov 17:31
Compare
Choose a tag to compare
v17.1.0-next.2 Pre-release
Pre-release

17.1.0-next.2 (2023-11-29)

compiler

Commit Description
fix - 79ff91a813 allow TS jsDocParsingMode host option to be programmatically set (#53126)

compiler-cli

Commit Description
fix - 4c1d69e288 add diagnostic for control flow that prevents content projection (#53190)

core

Commit Description
fix - 58cf389d80 avoid stale provider info when TestBed.overrideProvider is used (#52918)
fix - c7c7ea9813 inherit host directives (#52992)
fix - b35c6731e5 Reattached views that are dirty from a signal update should refresh (#53001)

migrations

Commit Description
fix - dbca1c9d61 Add ngForTemplate support to control flow migration (#53076)
fix - 53912fdf74 allows colons in ngIf else cases to migrate (#53076)
fix - fadfee4324 cf migration fix migrating empty switch default (#53237)
fix - b2aeaf5d97 CF migration log warning when collection aliasing detected in @for (#53238)
fix - c6326289f8 cf migration removes unnecessary bound ngifelse attribute (#53236)
fix - e6f10e81d2 control flow migration formatting fixes (#53076)
fix - 6291c8db09 fix off by one issue with template removal in CF migration (#53255)
fix - f1b7d40057 fixes CF migration i18n ng-template offsets (#53212)
fix - a738b48717 fixes control flow migration common module removal (#53076)
fix - a3599515bb properly handle ngIfThen cases in CF migration (#53256)
fix - 8a52674faa Update CF migration to skip templates with duplicate ng-template names (#53204)

router

Commit Description
fix - 29e0834c4d Resolvers in different parts of the route tree should be able to execute together (#52934)

v17.0.5

29 Nov 17:18
Compare
Choose a tag to compare

17.0.5 (2023-11-29)

core

Commit Description
fix - 6be88040d1 avoid stale provider info when TestBed.overrideProvider is used (#52918)
fix - dee50f1d78 inherit host directives (#52992)
fix - 07920d96d4 Reattached views that are dirty from a signal update should refresh (#53001)

migrations

Commit Description
fix - aab7fb8654 Add ngForTemplate support to control flow migration (#53076)
fix - dbd6f386ea allows colons in ngIf else cases to migrate (#53076)
fix - 5b9f896009 cf migration fix migrating empty switch default (#53237)
fix - 2b3d3b0fe1 CF migration log warning when collection aliasing detected in @for (#53238)
fix - dffeac8386 cf migration removes unnecessary bound ngifelse attribute (#53236)
fix - 00cb3339ba control flow migration formatting fixes (#53076)
fix - c22af72f75 fix off by one issue with template removal in CF migration (#53255)
fix - ba6d7fe018 fixes CF migration i18n ng-template offsets (#53212)
fix - 8f6affdd64 fixes control flow migration common module removal (#53076)
fix - 6ae408847c properly handle ngIfThen cases in CF migration (#53256)
fix - 0fcef65cea Update CF migration to skip templates with duplicate ng-template names (#53204)

router

Commit Description
fix - 91486aaf07 Resolvers in different parts of the route tree should be able to execute together (#52934)

v17.1.0-next.1

20 Nov 19:56
Compare
Choose a tag to compare
v17.1.0-next.1 Pre-release
Pre-release

17.1.0-next.1 (2023-11-20)

common

Commit Description
fix - 29c5416d14 remove load on image once it fails to load (#52990)
fix - 7affa57754 scan images once page is loaded (#52991)

compiler

Commit Description
fix - ec2d6e7b9c changed after checked error in for loops (#52935)
fix - 406049b95e generate i18n instructions for blocks (#52958)
fix - d9d566d315 nested for loops incorrectly calculating computed variables (#52931)
fix - 5fb707f81a produce placeholder for blocks in i18n bundles (#52958)

compiler-cli

Commit Description
fix - b4d022e230 add diagnostic for control flow that prevents content projection (#52726)

core

Commit Description
fix - ed0fbd4071 cleanup loading promise when no dependencies are defined (#53031)
fix - 1ce31d819b handle local refs when getDeferBlocks is invoked in tests (#52973)

migrations

Commit Description
fix - e33f6e0f1a control flow migration fails for async pipe with unboxing of observable (#52756) (#52972)
fix - 5564d020cd Fixes control flow migration if then else case (#53006)
fix - 28f6cbf9c9 fixes migrations of nested switches in control flow (#53010)
fix - e090b48bf8 tweaks to formatting in control flow migration (#53058)

v17.0.4

20 Nov 19:43
Compare
Choose a tag to compare

17.0.4 (2023-11-20)

common

Commit Description
fix - 7f1c55755d remove load on image once it fails to load (#52990)
fix - fafcb0d23f scan images once page is loaded (#52991)

compiler

Commit Description
fix - 98376f2c09 changed after checked error in for loops (#52935)
fix - 291deac663 generate i18n instructions for blocks (#52958)
fix - 49dca36880 nested for loops incorrectly calculating computed variables (#52931)
fix - f01b7183d2 produce placeholder for blocks in i18n bundles (#52958)

compiler-cli

Commit Description
fix - f671f86ac2 add diagnostic for control flow that prevents content projection (#52726)

core

Commit Description
fix - db1a8ebdb4 cleanup loading promise when no dependencies are defined (#53031)
fix - 31a1575334 handle local refs when getDeferBlocks is invoked in tests (#52973)

migrations

Commit Description
fix - ac9cd6108f control flow migration fails for async pipe with unboxing of observable (#52756) (#52972)
fix - 13bf5b7007 Fixes control flow migration if then else case (#53006)
fix - 492ad4698a fixes migrations of nested switches in control flow (#53010)
fix - 0fad36eff2 tweaks to formatting in control flow migration (#53058)

v17.0.0

08 Nov 12:23
Compare
Choose a tag to compare

17.0.0 (2023-11-08)

Commit Description
build - 59aa0634f4 remove support for Node.js v16 (#51755)

animations

Commit Description
feat - e753278faa Add the possibility of lazy loading animations code. (#50738)
fix - 698c058e1c remove code duplication between entry-points (#51500)
refactor - 0598613950 deprecation of AnimationDriver.NOOP (#51843)

benchpress

Commit Description
feat - 2da3551a70 report gc and render time spent in script (#50771)

common

Commit Description
feat - fe2fd7e1a8 make the warning for lazy-loaded lcp image an error (#51748)
feat - dde3fdabbd upgrade warning to logged error for lazy-loaded LCP images using NgOptimizedImage (#52004)
fix - da056a1fe2 add missing types field for @angular/common/locales of exports in package.json (#52080)
fix - 85843e8212 allow to specify only some properties of DatePipeConfig (#51287)
fix - 3bd85fb7b0 apply fixed_srcset_width value only to fixed srcsets (#52459)
fix - 65b460448e missing space in ngSwitch equality warning (#52180)
fix - 86c5e34601 remove code duplication between entry-points (#51500)
fix - 28a5925f53 use === operator to match NgSwitch cases (#51504)

compiler

Commit Description
feat - 1934524a0c add docs extraction for type aliases (#52118)
feat - 7f6d9a73ab expand class api doc extraction (#51733)
feat - a7fa25306f extract api docs for interfaces (#52006)
feat - 7bfe20707f extract api for fn overloads and abtract classes (#52040)
feat - c7daf7ea16 extract directive docs info (#51733)
feat - e0b1bb33d7 extract doc info for JsDoc (#51733)
feat - b9c70158ab extract docs for accessors, rest params, and types (#51733)
feat - a24ae994a0 extract docs for top level functions and consts (#51733)
feat - 2e41488296 extract docs info for enums, pipes, and NgModules (#51733)
feat - 34495b3533 extract docs via exports (#51828)
feat - 7e82df45c5 initial skeleton for API doc extraction (#51733)
fix - 6795cccbbb account for type-only imports in defer blocks (#52343)
fix - 23bfa10ac8 add diagnostic for inaccessible deferred trigger (#51922)
fix - 31295a3cf9 allocating unnecessary slots in conditional instruction (#51913)
fix - 2aaddd3f64 allow comments between switch cases (#52449)
fix - ddd9df68bb allow decimals in defer block time values (#52433)
fix - 7dbd47fb30 allow newlines in track and let expressions (#52137)
fix - 0eae992c4e allow nullable values in for loop block (#51997)
fix - 073ebfe09e apply style on :host attributes in prod builds. (#49118)
fix - 81a287a79a avoid error in template parser for tag names that can occur in object prototype (#52225)
fix - 6c58252521 compilation error when for loop block expression contains new line (#52447)
fix - 9d19c8e317 don't allocate variable to for loop expression (#52158)
fix - 9acd2ac98b enable block syntax in the linker (#51979)
fix - 1d871c03a5 forward referenced dependencies not identified as deferrable (#52017)
fix - 16ff08ec70 narrow the type of expressions in event listeners inside if blocks (#52069)
fix - ac0d5dcfd6 narrow the type of expressions in event listeners inside switch blocks (#52069)
fix - 02edb43067 narrow the type of the aliased if block expression (#51952)
fix - 83067b3ef2 ng-template directive invoke twice at the root of control flow (#52515)
fix - 17078a3fe1 pipes used inside defer triggers not being picked up (#52071)
fix - 861ce3a7c5 pipes using DI not working in blocks (#52112)
[fix - 1f5039bbd6](1f5039b...
Read more

v17.0.0-rc.3

07 Nov 00:07
Compare
Choose a tag to compare
v17.0.0-rc.3 Pre-release
Pre-release

17.0.0-rc.3 (2023-11-06)

compiler

Commit Description
fix - 83067b3ef2 ng-template directive invoke twice at the root of control flow (#52515)

core

Commit Description
fix - 80e7a0f8fa guard usages of performance.mark (#52505)
fix - a2ba5482c3 use TNode instead of LView for mapping injector providers (#52436)

migrations

Commit Description
fix - 09e905ad67 account for separator characters inside strings (#52525)
fix - 9c2be715a3 Fixes a bug in the ngFor pre-v5 alias translation (#52531)
fix - 57404d4723 handle comma-separated syntax in ngFor (#52525)
fix - 6988a0070e handle ngIf else condition with no whitespaces (#52504)
fix - c267f54bc3 Update regex to better match ng-templates (#52529)

v17.0.0-rc.2

02 Nov 22:03
Compare
Choose a tag to compare
v17.0.0-rc.2 Pre-release
Pre-release

17.0.0-rc.2 (2023-11-02)

animations

Commit Description
fix - bf3281a6a5 remove finish listener once player is destroyed (#51136)

common

Commit Description
fix - 3bd85fb7b0 apply fixed_srcset_width value only to fixed srcsets (#52459)

compiler

Commit Description
fix - 2aaddd3f64 allow comments between switch cases (#52449)
fix - ddd9df68bb allow decimals in defer block time values (#52433)
fix - 6c58252521 compilation error when for loop block expression contains new line (#52447)
fix - 1f5039bbd6 project control flow root elements into correct slot (#52414)

compiler-cli

Commit Description
fix - 96fd73dc5d properly emit literal types in input coercion function arguments (#52437)
fix - d517a75c9b use originally used module specifier for transform functions (#52437)

core

Commit Description
docs - 59b6ec6be8 Deprecate ChangeDetectorRef.checkNoChanges (#52431)
fix - 935c1816fd add rejectErrors option to toSignal (#52474)
fix - ddef3ac9a4 effects wait for ngOnInit for their first run (#52473)
fix - b9ea2d6900 handle aliased index with no space in control flow migration (#52444)
fix - 4461cefa4f handle trackBy and aliased index in control flow migration (#52423)
fix - 696f003553 mutation bug in getDependenciesFromInjectable (#52450)
fix - 384d7aacd0 replace assertion with more intentional error (#52427)
perf - 3861a73135 Update LView consumer to only mark component for check (#52302)

http

Commit Description
fix - 8156b3d4ec Don't override the backend when using the InMemoryWebAPI (#52425)

migrations

Commit Description
fix - d7397fb29b Ensure control flow migration ignores new block syntax (#52402)
fix - 6a01d62b9d fix broken migration when no control flow is present (#52399)
fix - e40e55d902 Remove unhelpful parsing errors from the log (#52401)

Deprecations

core

  • ChangeDetectorRef.checkNoChanges is deprecated.

    Test code should use ComponentFixture instead of ChangeDetectorRef.
    Application code should not call ChangeDetectorRef.checkNoChanges directly.