https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
93c0dd8 release: cut the v17.1.0-next.0 release 15 November 2023, 20:31:56 UTC
179304b docs: release notes for the v17.0.3 release 15 November 2023, 20:25:53 UTC
e639bf4 release: bump DevTools version to 1.0.9 (#52938) PR Close #52938 15 November 2023, 20:18:32 UTC
8f5124e fix(migrations): Add missing support for ngForOf (#52903) This adds support to migrate ngForOf and ngForTrackBy when migrating control flow. PR Close #52903 15 November 2023, 14:06:18 UTC
ee892ee fix(core): reset cached scope for components that were overridden using TestBed (#52916) Currently, when a component is overriden using `TestBed.overrideComponent`, Angular retains calculated scope for that component (a set of components and directives used within a component). This may cause stale information to be used in tests in some cases. This commit updates the logic to reset overridden component scope, so it gets re-computed during the next invocation. Resolves #52817. PR Close #52916 15 November 2023, 14:03:55 UTC
f8d5b84 docs: fixed unexpected closing tags for Receipt (#52914) PR Close #52914 14 November 2023, 22:02:03 UTC
0a976c8 refactor(core): Remove detectChanges private export (#52875) detectChanges private export is not needed. PR Close #52875 14 November 2023, 21:05:42 UTC
faaac05 docs: fix and improve @defer testing docs for adev (#52874) PR Close #52874 14 November 2023, 19:16:40 UTC
e02d0e4 docs: fix and improve @defer testing docs (#52874) - the example when taken from docs into projects didn't work - getDeferBlocks has to be used with async - improved description of default state (placeholder) - improved assertion of <large-component /> as when generated by schematics PR Close #52874 14 November 2023, 19:16:40 UTC
7d00175 docs: fix grammar in guide/defer (#52899) docs: fix grammar in aio/guide/defer and adev/guide/defer PR Close #52899 14 November 2023, 18:32:51 UTC
7f9ab9d refactor(core): Simplify detectChangesInternal call signature (#52866) The call signature of detectChangesInternal requires parameters that can all be found directly on lView. This commit removes those paramters and instead grabs them in the function implementation. PR Close #52866 14 November 2023, 15:11:41 UTC
3f09406 docs: fix gramatical mistake in angular roadmap (#52850) PR Close #52850 14 November 2023, 15:11:10 UTC
5e954bf docs: fix typos in `angular.dev` (#52803) PR Close #52803 14 November 2023, 15:10:41 UTC
cbd78af docs: correct a few broken links (#52688) PR Close #52688 14 November 2023, 15:10:06 UTC
15a825c docs: fix provideRouter typo (#52798) PR Close #52798 13 November 2023, 23:25:57 UTC
4d868a3 docs(docs-infra): a11y improvement suggestion Property Binding tutorial (#52807) #52639 issue fix suggestion PR Close #52807 13 November 2023, 23:25:23 UTC
282a49c docs: fix ngComponentOutlet api reference link (#52829) PR Close #52829 13 November 2023, 23:24:56 UTC
2d98735 docs: improve filter results example (#52838) PR Close #52838 13 November 2023, 23:24:28 UTC
42805e3 fix(migrations): Add support for bound versions of NgIfElse and NgIfThenElse (#52869) This ensures the bound version of NgIfElse and NgIfThenElse work properly with the migration. fixes: #52842 PR Close #52869 13 November 2023, 22:33:33 UTC
26e980d docs: remove live event from the home page (#52878) PR Close #52878 13 November 2023, 22:29:47 UTC
0485eb8 ci: correct label for bazel-saucelabs job (#52873) Update the label to the correct schema PR Close #52873 13 November 2023, 22:08:44 UTC
9e2c3bb docs(forms): replace fb with formBuilder (#52795) Shorten variable names isn't a good practice. To avoid spreading it, we removed it from Angular's documentation. PR Close #52795 13 November 2023, 18:59:03 UTC
726530a feat(router): Allow `onSameUrlNavigation: 'ignore'` in `navigateByUrl` (#52265) There are cases where the application's default behavior is 'reload' and a certain navigation might want to override this to be `ignore` instead. This commit allows `onSameUrlNavigation` in the `router.navigateByUrl` to be `ignore` where it was previously restricted to only `reload`. PR Close #52265 13 November 2023, 18:29:39 UTC
c5ead61 refactor(core): Move booleans in LContainer to flags slot (#52338) There are now 2 booleans in the LContainer so this commit moves them to a shared FLAGS slot like the LView. PR Close #52338 13 November 2023, 18:25:17 UTC
da616ee test(core): Ensure signals can be read after view creation during change detection (#52495) These tests ensure signals can be read in a template after embedded views are created in the middle of template execution of an update pass. The embedded view templates are executed in create mode in the middle of the component template being executed in update mode. This behavior was found to not work correctly in past implementations of the reactive template consumers. PR Close #52495 13 November 2023, 18:24:41 UTC
0e7b1da fix(migrations): Fixes issue with multiple if elses with same template (#52863) This should fix the issue where if the same ng-template is used with multiple if / else statements, it replaces all usages properly. fixes: #52854 PR Close #52863 13 November 2023, 18:23:55 UTC
9135dba refactor(animations): `EnvironmentProviders` for `provideAnimationsAsync` (#52862) This will prevent devs from using these providers in at a component level. PR Close #52862 13 November 2023, 17:27:31 UTC
5ee11a7 fix(animations): prevent the AsyncAnimationRenderer from calling the delegate when there is no element. (#52570) This happens when `issueAnimationCommand` is invoked fixes #52538 PR Close #52570 13 November 2023, 16:29:18 UTC
cf86ae5 fix(http): Use the response `content-type` to set the blob `type`. (#52840) When downloading a PDF with the fetch client, the blob had no content. It couldn't be displayed in an iframe. This commit fixes this. Relate to: https://stackoverflow.com/questions/77470626/possible-bug-in-httpclient-when-using-the-blob-data-type PR Close #52840 13 November 2023, 16:22:20 UTC
6aef0f6 fix(core): handle non-container environment injector cases (#52774) Previously we had logic for a special case where a root injector in standalone apps would skip the import paths calculation step for the `getEnvironmentInjectorProviders` function. This commit intends to fix this for two other cases, namely: - When an injector is created by a route (via the `providers` field and lazy loading). - When an injector is manually created and attached to the injector tree It does this by assuming that any environment injector it cannot find a provider imports container for was created without one, and simply returns the raw provider records without the import paths calculation. PR Close #52774 13 November 2023, 16:21:03 UTC
f51ce68 docs: update readme links to target angular.dev documentation (#52772) Change the angular.io links to target the new angular.dev website Changed the angular logo PR Close #52772 13 November 2023, 15:56:19 UTC
181e4f3 docs: correct component name on Managing Dynamic Data on angular.dev website (#52792) PR Close #52792 13 November 2023, 15:55:51 UTC
da97bbc fix(migrations): passed in paths will be respected in nx workspaces (#52796) This fixes a bug where if you have multiple tsconfig files, the migration would not find anything to migrate at the passed in path. fixes: #52787 PR Close #52796 13 November 2023, 15:21:36 UTC
17adf0f fix(migrations): Add support for removing imports post migration (#52763) This update removes imports from component decorators and at the top of the files. It only removes standalone imports though. It does not remove CommonModule if that is the only import. PR Close #52763 13 November 2023, 15:21:06 UTC
3cf18bb fix(devtools): check for all new DI debug APIs before trying to determine resolution path providers (#52791) Previously, some versions of Angular 16.1.x that had 3/4 of the new DI debug APIs would enter a code path that required them to have access to the 4th. Now DevTools checks for the existence of all 4 explicitly before going down this code path. PR Close #52791 10 November 2023, 18:37:05 UTC
70fe5e6 refactor(compiler): Handle trailing spaces in ICU placeholders (#52698) In some cases ICU expression placeholders may have trailing spaces that need to be trimmed when matching the placeholder to its corresponding text binding. PR Close #52698 10 November 2023, 17:01:07 UTC
2c3b6c6 refactor(compiler): Fix some issues with i18n expressions in ICUs (#52698) We were previously counting the i18n expression index and deciding when to apply i18n expressions based on the i18n context. These should be done based on the i18n block instead. PR Close #52698 10 November 2023, 17:01:07 UTC
0864dbe refactor(compiler): Change how ICUs are ingested (#52698) The previous commit added support for interpolated text in ICUs, but it made the assumption that the interpolation would be a single variable read expression. To properly support all kinds of interpolation expressions, this commit refactors how ICUs are ingested to allow us to re-use the same logic we use for bound text outside of ICUs. To accomplish this, the `IcuOp` creation op has been removed in favor of a pair of ops: `IcuStartOp` and `IcuEndOp`, that mark the beginning and end of the ICU. Now, instead of inserting an `IcuUpdateOp` in the update IR, we call `ingestBoundText` and use the presence of the surrounding `IcuStartOp` and `IcuEndOp` to match the interpolation with the ICU. PR Close #52698 10 November 2023, 17:01:07 UTC
3a0ac32 refactor(compiler): Support expressions inside ICUs (#52698) Previously ICUs were assumed to only generate a single i18n expression per ICU. However, it is possible for ICUs to contain text interpolations which requires additional expressions. This commit adds support for multiple expressions per ICU. PR Close #52698 10 November 2023, 17:01:06 UTC
ef6999f refactor(compiler): Support element tags inside ICUs (#52698) ICUs that contain element tags need extra parameters for the i18n message. These are in addition to the element slot params that are already added to the parent i18n block's params. In this commit we add a new phase to fill in these placeholders. PR Close #52698 10 November 2023, 17:01:06 UTC
50a06fa refactor(compiler): More consistent sorting of i18n params (#52698) Previously the template pipeline sorted i18n message params before adding the sub-message placeholders. Now its sorts after all placeholders are added. Both the template pipeline and TemplateDefinitionBuilder previously failed to sort the post-processing params. They both now sort these as well. This is safe to change in TemplateDefinitionBuilder, as it does not change anything about the functionality, it simply ensures that params map in the output has the keys ordered in a way that can be easily reproduced in the template pipeline. PR Close #52698 10 November 2023, 17:01:06 UTC
5ee935e release: bump DevTools version to 1.0.8 (#52759) PR Close #52759 10 November 2023, 17:00:20 UTC
94096c6 feat(core): support TypeScript 5.3 (#52572) Updates the repo to support TypeScript 5.3 and resolve any issues. Fixes include: * Updating usages of TS compiler APIs to match their new signatures. * In TS 5.3 negative numbers are represented as `PrefixUnaryExpression` instead of `NumericExpression`. These changes update all usages to account for it since passing a negative number into the old APIs results in a runtime error. PR Close #52572 09 November 2023, 22:56:41 UTC
beb18fb refactor(migrations): code clean up and add comments on exported functions (#52755) This cleans up a bit of code to make maintenance easier. It also adds comments for all the exported methods so they are clear to anyone in the future. PR Close #52755 09 November 2023, 22:55:50 UTC
f84cce0 docs: release notes for the v17.0.2 release 09 November 2023, 20:26:27 UTC
6c8776f fix(core): limit rate of markers invocations (#52742) This PR assures that the performance markers are invoked only once for a given feature. Closes #52524 PR Close #52742 09 November 2023, 19:58:26 UTC
154f286 docs: add extended diagnostic NG8109 (#52721) PR Close #52721 09 November 2023, 19:39:24 UTC
71a4d6a docs: fix programmatic-rendering example component name (#52731) PR Close #52731 09 November 2023, 19:38:18 UTC
c5e4424 docs: add missing backtick on title (#52711) PR Close #52711 09 November 2023, 19:32:24 UTC
cb5c6fc docs: correct typescript type inference link (#52714) PR Close #52714 09 November 2023, 19:30:39 UTC
5935f91 docs: updating incorrect link in Class Binding page (#52715) PR Close #52715 09 November 2023, 19:28:06 UTC
867161f docs: remove broken link pill in dynamic component page (#52744) PR Close #52744 09 November 2023, 19:18:29 UTC
f212736 docs: removed the broken link (#52743) PR Close #52743 09 November 2023, 19:06:13 UTC
029edea refactor(common): Update packages/common/src/navigation/platform_navigation.ts (#52363) Co-authored-by: Andrew Scott <atscott01@gmail.com> PR Close #52363 09 November 2023, 18:01:33 UTC
27f5eed refactor(common): Add fake implementation of PlatformNavigation. (#52363) This implementation does most, but not all, of the things the native Navigation API does. Also adds a spec that tests all the currently supported behaviors. PR Close #52363 09 November 2023, 18:01:33 UTC
77770c6 refactor(common): Add a new platform_navigation that provides the Navigation API. (#52363) This allows using the Navigation API in Angular packages like Router. PR Close #52363 09 November 2023, 18:01:33 UTC
55d2c42 refactor(core): delay applying component metadata until it's needed in tests (#52708) When a component contains `@defer` blocks, Angular compiler generates the code to apply component metadata (from the `@Component` decorator) after resolving all dynamic dependencies. Currently, this function is invoked eagerly at runtime, which causes dynamic imports to be kicked off earlier than expected. With the change in this commit, Angular will start resolving async metadata when it becomes necessary during testing. PR Close #52708 09 November 2023, 16:58:06 UTC
8c8ff63 docs: make homepade example accessible (#52578) PR Close #52578 09 November 2023, 15:58:10 UTC
645447d fix(compiler-cli): incorrect inferred type of for loop implicit variables (#52732) Fixes that all implicit variables in `@for` loops were inferred to be numbers, even though most are actually boolean. Note that I also had to work around a weird TypeScript behavior in `tsDeclareVariable` where usually we declare variables in the following format: ``` var _t1: <type> = null!; ``` This works in most cases, but if the type is a `boolean`, TypeScript infers the variable as `never`, instead of `boolean`. I've worked around it by adding an `as boolean` to the initializer. Fixes #52730. PR Close #52732 09 November 2023, 15:47:56 UTC
8a87e62 fix(compiler-cli): add interpolatedSignalNotInvoked to diagnostics (#52687) This template diagnostic has been introduced in 8eef694def3dc660779168925a380179c7e30993 but was not enabled, as it was not added to `ALL_DIAGNOSTIC_FACTORIES`. PR Close #52687 09 November 2023, 15:46:16 UTC
ea8c9b6 fix(core): properly update collection with repeated keys in @for (#52697) This change fixes a bug in the new list reconcilation algorithm that could lead to an infinite loop in certain situations. More specifically, it adjusts the internal MultiMap implementation such that an entry returned from the .get call is the same entry (for an identical key) removed by the .delete call. The existing logic of the MultiMap was leading to a situation where one view was requested and attached to LContainer, but a very different view was removed from the MultiMap. This was leaving an attached LView in a collection that was supposed to hold only detached views. Closes #52524 PR Close #52697 09 November 2023, 15:44:53 UTC
cc68b0e fix(core): error code in image performance warning (#52727) The warnings link to https://angular.io/errors/NG2965 which is a 404 The proper error page is https://angular.io/errors/NG0913 PR Close #52727 09 November 2023, 15:44:24 UTC
b1cc092 docs(docs-infra): improve decorator deprecated property display in documentation (#52041) Add the deprecated-api-item class on decorator-overview option code if deprecated. Add deprecated label on decorator-overview short description if deprecated. Add Add deprecated label on decorator option table header if option is deprecated. PR Close #52041 09 November 2023, 15:36:32 UTC
1d3d33f docs: fix broken http link (#52541) fixes #52542 PR Close #52541 09 November 2023, 15:35:59 UTC
ab99171 docs: fix broken DI link on roadmap (#52541) fixes #52539 PR Close #52541 09 November 2023, 15:35:59 UTC
56b96f6 docs: fix LCP element link (#52580) PR Close #52580 09 November 2023, 15:34:07 UTC
68f89b0 docs: fix angular compatability version (#52585) PR Close #52585 09 November 2023, 15:33:37 UTC
3d98a44 docs: fix incorrect tag reference (#52586) PR Close #52586 09 November 2023, 15:01:02 UTC
9dff1fe docs: fix repetetive text (#52587) PR Close #52587 09 November 2023, 15:00:27 UTC
2ee1b5c docs: fix cli command redirection (#52589) PR Close #52589 09 November 2023, 14:59:55 UTC
3153892 docs: fix prefetching typo issue (#52590) PR Close #52590 09 November 2023, 14:58:59 UTC
0ffa228 docs: add missing backtick (#52607) PR Close #52607 09 November 2023, 14:57:59 UTC
01f9b57 docs: correct reactive-forms typo (#52608) PR Close #52608 09 November 2023, 14:57:28 UTC
b25153a docs: update typo in Guide/Testing (#52619) PR Close #52619 09 November 2023, 14:56:36 UTC
fc8f521 docs: fix typo in component output guide (#52673) We should use @Output rathar than @Input decorator for output events. This comments fixes the typo by replacing Input with Output PR Close #52673 09 November 2023, 14:56:02 UTC
8fee560 docs: fix typos in tutorials/learn-angular (#52677) PR Close #52677 09 November 2023, 14:55:32 UTC
4526335 docs: fix developer preview link (#52693) PR Close #52693 09 November 2023, 14:54:55 UTC
9cac4ee docs: release notes for the v17.0.1 release 08 November 2023, 20:42:48 UTC
291ba38 fix(http): Don't override the backend when using the InMemoryWebAPI (#52425) When using `withFetch`, the `PRIMARY_HTTP_BACKEND` token is set. The InMemory Backend services will also set that token. This means that providers order will matter and the latest on the list will be the one instantiated PR Close #52425 08 November 2023, 18:42:20 UTC
12f979d fix(migrations): Add support for ng-templates with i18n attributes (#52597) This makes sure that i18n attributes are preserved on ng-templates being removed during the migration. fixes: #52517 PR Close #52597 08 November 2023, 18:26:20 UTC
abdbdf7 refactor(language-service): Add flag to allow disabling block syntax parsing (#52691) This commit adds a flag to the language service config options to disable block parsing in the compiler. PR Close #52691 08 November 2023, 18:25:22 UTC
49cbe43 refactor(compiler): add flag to disable block syntax in language service (#52683) Adds the private `_enableBlockSyntax` flag that can be used by the language service to disable blocks on apps that aren't on Angular v17. PR Close #52683 08 November 2023, 17:34:10 UTC
9b92d7d fix(docs-infra): fix menu icon size (#52689) Fixes that the hamburger icon was too small, because the top nav is using the wrong kind of button. Switching it to the right one would require more refactoring so I went with the simpler approach for now. PR Close #52689 08 November 2023, 17:23:43 UTC
c745ca2 refactor(core): sanitize reactivity tests (#52632) It was intriguing to see a double `fixture.detectChanges()` introduced by 38c9f08c8d7d2d340ffb875b26dadc03db9bf284 It turns out this is not needed. PR Close #52632 08 November 2023, 16:51:50 UTC
abc225b docs: typo fix (#52511) PR Close #52511 08 November 2023, 16:51:28 UTC
33da677 refactor(core): Remove RootViewRef<T> because it is the same as ViewRef<T> (#52430) `RootViewRef<T>` extends `ViewRef<T>` and overrides 3 methods with behavior that is identical to `ViewRef<T>`. This commit removes `RootViewRef<T>` because it is not needed. PR Close #52430 08 November 2023, 16:50:50 UTC
289a178 docs: add v17 versions support (#51443) * Node 16 support is dropped per angular/angular-cli#25675 * TS 5.2 is supported per #51334 * TS 5.1 and lower support is dropped by #51792 PR Close #51443 08 November 2023, 16:50:20 UTC
62bd8c5 docs: updating information about polyfills (#52519) PR Close #52519 08 November 2023, 16:49:28 UTC
8592585 test(core): Add test to ensure writing to signals in afterRender hooks throws error (#52475) We do not yet handle running change detection again if `afterRender` hooks write to signals. PR Close #52475 08 November 2023, 16:48:44 UTC
b9e2893 fix(migrations): Switches to multiple passes to fix several reported bugs (#52592) Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations. fixes: #52518 fixes: #52516 fixes: #52513 PR Close #52592 08 November 2023, 16:47:10 UTC
3f2501e build: bump in-memory-web-api to v17 (#52676) This commit updates the in-memory-web-api package versions from v16 -> v17. PR Close #52676 08 November 2023, 16:05:45 UTC
1e87ce2 docs: add the v17 blog post link to the changelog (#52675) This commit adds the short link 'http://goo.gle/angular-v17' to the project changelog. PR Close #52675 08 November 2023, 15:23:01 UTC
33ae659 build: update aio to 17.0.0 (#52635) This commit updates the Angular version for AIO and its examples to 17.0.0 PR Close #52635 08 November 2023, 15:02:33 UTC
5ebb361 docs: release notes for the v17.0.0 release 08 November 2023, 12:30:23 UTC
897f014 docs: release notes for the v17.0.0-rc.3 release 07 November 2023, 00:12:23 UTC
f887792 refactor(core): Add warning when signal equality is false for object.is (#52532) This commit adds a warning when a signal equality function returns `false` but `Object.is` returns `true`. PR Close #52532 06 November 2023, 23:53:09 UTC
d01f371 refactor(devtools): update Angular logo for extension and loading animation (#52546) Previously these were using the pre v17 Angular logo. Now these have been updated to use the new Angular logo for V17+. PR Close #52546 06 November 2023, 20:34:20 UTC
699ae60 refactor(compiler): Fix two-way binding source maps (#52479) Now that two-way bindings work correctly with implicit receivers, we can fix the corresponing source map tests. The main issue was that we were not properly mapping `elementEnd` for elements with no closing tag (self-closing elements). PR Close #52479 06 November 2023, 19:42:59 UTC
97b1377 refactor(compiler): Fix two-way bindings in template pipeline (#52479) Some two-way bindings tests were not working properly, because we could not ingest the implicit receiver required to write to the `ngModelChanges` property. Now, we properly resolve that implicit receiver to the root component context. Also, add some tests, both for the simple case, and the case where the listener is inside a nested view. PR Close #52479 06 November 2023, 19:42:59 UTC
ee5d60b refactor(compiler): Support extracting deps functions for `defer` in template pipeline (#52479) Some `defer` blocks have external dependencies on other components or directives. These dependencies need to be extracted into deps functions, which either return local deps, or use a dynamic import for non-local deps. Template Pipeline can now generate these functions. PR Close #52479 06 November 2023, 19:42:59 UTC
back to top