https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
ea3b5f1 release: cut the v16.1.0-next.0 release 10 May 2023, 18:22:43 UTC
62545ea docs: release notes for the v16.0.1 release 10 May 2023, 18:16:35 UTC
6945aff docs: fix typo on hydration in Preserve Whitespaces Configuration (#50236) PR Close #50236 10 May 2023, 17:35:07 UTC
cc286be docs(docs-infra): Remove warning for `@Annotation`. (#50218) Per #50206, `@Annotation` is needed for tsickle. This commit removes the warning "Invalid tags found" produced by dgeni for the annotation decorator. PR Close #50218 09 May 2023, 21:49:26 UTC
7ac8f09 build: update github/codeql-action action to v2.3.3 (#50216) See associated pull request for more information. PR Close #50216 09 May 2023, 21:48:54 UTC
946f9c2 refactor(core): drop `next` prefix from hydration guide link (#50214) This commit updates the content of the console log to drop the `next.` prefix from hydration guide link. PR Close #50214 09 May 2023, 21:48:28 UTC
2ef473c docs: fix typos on first-app tutorial (#50211) PR Close #50211 09 May 2023, 21:47:55 UTC
e4ad067 docs: fix link label. (#50209) Removing a duplicate https protocol. PR Close #50209 09 May 2023, 21:47:08 UTC
6636e83 fix(core): add additional component metadata to component ID generation (#50203) This commit add `exportAs`, `signals`, `inputs` and `outputs` into account when generating a component ID. See: https://github.com/angular/angular/issues/50158#issuecomment-1537061939 PR Close #50203 09 May 2023, 21:46:42 UTC
822b307 fix(core): handle projection of hydrated containters into components that skip hydration (#50199) This commit updates hydration logic to support a scenario where a view container that was hydrated and later on projected to a component that skips hydration. Currently, such projected content is extracted from the DOM (since a component that skips hydration needs to be re-created), but never added back, since the current logic treats such content as "already inserted". Closes #50175. PR Close #50199 09 May 2023, 21:46:03 UTC
4e99439 refactor(router): remove private export of `withPreloading` (#50194) `withPreloading` is part of the public API. PR Close #50194 09 May 2023, 21:45:30 UTC
55dfe80 docs: standalone component preloading config (#50193) The preloading modules documentation were missing information about how to apply preloading strategies to standalone application ( `ng new AppName --standalone` ). Feel free to fix anything not in line with the Angular documentation style guide, as this is my first attempt at contributing :) - Added example for `app.config.ts` providing info on the `withPreloading(<preloading strategy>)` you can add to the `provideRouter()` RouterFeatures. - Specified that preloading modules also applies for standalone components. PR Close #50193 09 May 2023, 21:44:55 UTC
69dadd2 feat(core): support TypeScript 5.1 (#50156) Updates the project to support building with TypeScript 5.1. PR Close #50156 09 May 2023, 21:44:30 UTC
d5d7600 fix(core): handle hydration of root components with injected ViewContainerRef (#50136) This commit fixes an issue where a root component with an injected ViewContainerRef (for ex. `inject(ViewContainerRef)`) was triggering a certain code path during hydration which didn't handle this case correctly. Resolves #50133. PR Close #50136 09 May 2023, 21:43:45 UTC
1c7f690 docs: update starter lesson to contain example images from the start (#50212) We received feedback that the starter lesson should also include the stock images. PR Close #50212 09 May 2023, 21:43:14 UTC
ed7c881 docs: update releases guide for v16 (#50128) Also clarify that the deprecations guide is for _noteworthy_ deprecations and may not be comprehensive. PR Close #50128 09 May 2023, 21:42:16 UTC
a1dc3bb build(devtools): target es2020 explicitly (#50086) We do this because of a bug caused by https://github.com/evanw/esbuild/issues/2950 and a recent change to how angular static properties are attached to class constructors. Targeting esnext or es2022 will cause the static initializer blocks that attach these static properties on class constructors to reference a class constructor variable that they do not have access to. Because of this we explicitly target es2020 in our Angular DevTools builds. PR Close #50086 09 May 2023, 21:41:48 UTC
aee526a build(devtools): make sure linker runs on fesm2022 bundles (#50086) Since DevTools' Angular framework dependencies are built from local files, they are always up to date. [Recently](https://github.com/angular/angular/pull/49332) these dependencies started being published as fesm2022 instead of fesm2020. We also have an Angular dependency `ngx-flamegraph` that was built and published as fesm2020. The easiest fix to make sure all of our Angular based dependencies are processed by the linker would be to update the filterPaths field in that file from `/fesm2020/` to `/fesm2020|fesm2022/`. When v16 releases, we can update ngx-flamegraph and publish it with the new APF, letting us change filterPaths to just `/fesm2022/`. PR Close #50086 09 May 2023, 21:41:48 UTC
0f40756 refactor(compiler): introduce internal transplanted type (#50104) Adds a new AST for a `TransplantedType` in the compiler which will be used for some upcoming work. A transplanted type is a type node that is defined in one place in the app, but needs to be copied to a different one (e.g. the generated .d.ts). These changes also include updates to the type translator that will rewrite any type references within the type to point to the new context file. PR Close #50104 09 May 2023, 21:41:14 UTC
570114e refactor(common): cleanup platformLocation (#50054) * Drop the usage of @Inject() * Drop `supportsState` as its supported by evergreen browsers. PR Close #50054 09 May 2023, 21:39:21 UTC
dccfcb7 test(zone.js): update zone.js test for jasmine upgrade (#49914) Update test cases to pass jasmine 6.x update. PR Close #49914 09 May 2023, 21:38:45 UTC
84a2e7d build: lock file maintenance (#49914) See associated pull request for more information. PR Close #49914 09 May 2023, 21:38:45 UTC
f755853 refactor(compiler): Remove unused TransformVisitor & NullVisitor (#48646) NullVisitor & TransformVisitor are unused and unexported outside the compiler package, we can remove them. PR Close #48646 09 May 2023, 21:38:09 UTC
478c70c docs: delete aborted documentation files (#49962) Those files were created as part of #47391 but the content was never merged. PR Close #49962 09 May 2023, 21:36:16 UTC
3112352 refactor(core): Update CD traversal to use 'modes' (#50005) Rather than maintaining separate traversal functions that act differently, this change updates the change detection traversal to share more code and use different modes to control the type of traversal being performed. PR Close #50005 08 May 2023, 21:51:21 UTC
a648e30 docs: fix filename in first-app (#50207) Same mistake as #50204 but a different file. PR Close #50207 08 May 2023, 21:47:29 UTC
fc1d777 docs: Fixed Spelling 'servivce' to 'service' (#50204) PR Close #50204 08 May 2023, 21:44:59 UTC
4655fd5 docs: fix obs variable name to obs$ (#50196) PR Close #50196 08 May 2023, 21:43:02 UTC
46a3692 docs: changed component name to home.component.ts in point 2 of step 3 (#50170) PR Close #50170 08 May 2023, 21:41:02 UTC
3366944 build: update dependency https-proxy-agent to v6 (#50152) See associated pull request for more information. PR Close #50152 08 May 2023, 21:36:54 UTC
a684888 fix(core): only try to retrieve transferred state on the browser (#50144) Prior to this commit we tried to retrieve transferred state on both browser and server. Doing this on the server was redundant and could causes issues as `document` might be undefined. Closes #50138 PR Close #50144 08 May 2023, 21:36:12 UTC
0214739 refactor(core): Throw an error when the document is not initialized. (#50143) In case the document is accessed but not available we should throw ASAP an error to prevent non explicit errors. PR Close #50143 08 May 2023, 21:35:38 UTC
7baaed2 docs(forms): warn the user about getting old values and show how to avoid (#50123) PR Close #50123 08 May 2023, 21:34:54 UTC
4b355cc docs(forms): warn the user about getting old values and show how to avoid (#50123) Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com> PR Close #50123 08 May 2023, 21:34:54 UTC
4b41257 docs(forms): warn the user about getting old values and show how to avoid (#50123) PR Close #50123 08 May 2023, 21:34:54 UTC
cd90e4c fix(core): bootstrapApplication call not rejected when error is thrown in importProvidersFrom module (#50120) Fixes that the promise returned by `bootstrapApplication` wasn't being rejected when a module imported using `importProvidersFrom` throws an error. The problem was that the function that resolves the providers happens very early as the injector is being constructed. Fixes #49923. PR Close #50120 08 May 2023, 21:33:45 UTC
e60b3d4 build: remove unused deps (#50116) * All `@types` package removed have typings in their package. * brotli is unused * tmp is unused * vlq is unused PR Close #50116 08 May 2023, 21:33:20 UTC
59837f4 refactor(platform-server): import `xhr2` dynamically in the ServerXhr class (#50095) This commit updates the `@angular/common/http` and `@angular/platform-server` packages to allow dynamic import of the `xhr2` dependency. The `xhr2` dependency has side-effects that rely on a global scope and as a result in some environments those side-effectful calls fail. With the changes from this PR, the import is delayed until it's actually needed, which gives a chance for the underlying platform to setup global scope (via shims) as needed. Co-authored-by: alan-agius4 <17563226+alan-agius4@users.noreply.github.com> PR Close #50095 08 May 2023, 21:32:43 UTC
73fcf9f refactor(core): remove webworker related checks on `assertDomNode` (#50061) Since the drop of the webworker platform the node can't be a `WebWorkerRenderNode`. PR Close #50061 08 May 2023, 21:30:39 UTC
f780d6f refactor(compiler): extract save/restore view logic to separate phase (#50008) Saving and restoring the view is significant enough that it makes sense to handle it independently. This makes for easier reasoning about how view save/restore works. Co-authored-by: Alex Rickabaugh <alxhub@users.noreply.github.com> PR Close #50008 08 May 2023, 21:30:13 UTC
6de4f26 refactor(compiler): support `KeyedRead` expressions (#50008) The compiler can now accept key read expressions (e.g. `foo[bar]`), where both the receiver and index are sub-expressions. PR Close #50008 08 May 2023, 21:30:13 UTC
2d6c49e refactor(compiler): generate property instructions for `ng-template` inputs (#50008) When ingesting an `ng-template`, inputs might be on the `inputs` or the `templateAttrs` field. More investigation is required to pinpoint the specifics of `templateAttrs`. For now, we can process them both and generate the appropriate update-mode property instructions. Co-authored-by: Alex Rickabaugh <alxhub@users.noreply.github.com> PR Close #50008 08 May 2023, 21:30:13 UTC
9fa4677 refactor(compiler): handle chains in event listeners (#50008) It's possible to have chains of statements, exclusively in event listeners. A listener with a chain looks like the following: ``` (click)="onClick($event); 1 == 1" ``` We handle this by generating multiple statements, one for each expression in the chain, and only making the final statement the return statement. We place this logic in code specific to listeners, since they are the only place this construct can appear. Co-authored-by: Alex Rickabaugh <alxhub@users.noreply.github.com> PR Close #50008 08 May 2023, 21:30:13 UTC
e475b86 refactor(compiler): handle binary operators (#50008) We should be able to ingest binary operators. This involves parsing the left and right ASTs, and converting the operator string to a logical `BinaryOperator`. Co-authored-by: Alex Rickabaugh <alxhub@users.noreply.github.com> PR Close #50008 08 May 2023, 21:30:13 UTC
8a75199 refactor(compiler): generate ng-container instructions (#50008) ElementContainer instructions refer to `ng-container` element tags, which don't produce corresponding DOM nodes. Much like element instructions, container instructions can also have their start and end tags combined. Co-authored-by: Alex Rickabaugh <alxhub@users.noreply.github.com> Co-authored-by: Andrew Scott <atscott@users.noreply.github.com> PR Close #50008 08 May 2023, 21:30:13 UTC
9d4842c Revert "docs(docs-infra): Remove unused annotation template (#50114)" (#50206) This reverts commit a1ca162fd6e8f6f5b1171e8d8f1c6b7b1973e353. This commit causes failures in g3, because `@Annotation` is load-bearing for tsickle's decorator downleveling transformation. PR Close #50206 08 May 2023, 16:45:35 UTC
80fe08b refactor(platform-browser): Throw tree-shakable errors. (#49341) In a effort to have more tree-shakable errors, this commit transforms every `Error` into a tree-shakable `RuntimeError` PR Close #49341 04 May 2023, 10:21:20 UTC
2419c48 build: remove the webworker platform. (#50059) The webworker platform was droped in v11. PR Close #50059 04 May 2023, 07:06:55 UTC
a631b1f docs(docs-infra): remove remainings of the webworker platform. (#50059) The webworker platform was droped in v11. PR Close #50059 04 May 2023, 07:06:55 UTC
39d2ea0 docs: remove mentions of the WebWorker platform (#50059) The webworker platform was dropped in v11. PR Close #50059 04 May 2023, 07:06:55 UTC
adf3f6a docs: fix `takeUntilDestroyed` description's typo (#50134) PR Close #50134 04 May 2023, 07:03:33 UTC
ec968a9 refactor(animations): remove circular deps (#50049) `AnimationDriver` was not used in shared.ts. PR Close #50049 04 May 2023, 06:58:25 UTC
cb8cdad refactor(compiler): reflect arrow function definition (#50084) Adds some logic to reflect an arrow function to `ReflectionHost.getDefinitionOfFunction`. This will be useful for some upcoming work. PR Close #50084 04 May 2023, 06:56:24 UTC
2180a69 refactor(core): minor updates to TestBed error messages (#50072) This commit updates TestBed error messages to avoid using `R3TestBed` reference and just use `TestBed` instead. PR Close #50072 04 May 2023, 06:53:04 UTC
6024b66 build: update dependency puppeteer-core to v20 (#50112) See associated pull request for more information. PR Close #50112 04 May 2023, 06:50:34 UTC
d78678e build: update eslint dependencies to v5.59.2 (#50101) See associated pull request for more information. PR Close #50101 04 May 2023, 06:46:37 UTC
7a9a765 docs: improve cli docs (#50119) Closes #50078 PR Close #50119 04 May 2023, 06:42:28 UTC
504f55d docs: add jens to contributors (#50122) PR Close #50122 04 May 2023, 06:40:35 UTC
3c4b307 docs: fix roadmap structure and remove redundant title (#50137) PR Close #50137 04 May 2023, 06:38:32 UTC
b373008 docs: add the v16 blog post link to the changelog (#50132) This commit adds the short link 'http://goo.gle/angular-v15' to the project changelog. PR Close #50132 03 May 2023, 20:05:28 UTC
612771e build: update aio to 16.0.0 (#50131) This commit updates the Angular version for AIO and its examples to 16.0.0. PR Close #50131 03 May 2023, 19:56:41 UTC
f97ec15 docs: update the roadmap to reflect v16 progress (#50016) PR Close #50016 03 May 2023, 19:54:16 UTC
a5365e3 docs: release notes for the v16.0.0 release 03 May 2023, 16:52:42 UTC
3d42a65 docs: release notes for the v15.2.9 release 03 May 2023, 16:16:36 UTC
a1ca162 docs(docs-infra): Remove unused annotation template (#50114) This page is unused since v7. PR Close #50114 03 May 2023, 08:39:49 UTC
fa83a39 build: update dependency jsdom to v22 (#50103) See associated pull request for more information. PR Close #50103 03 May 2023, 08:39:09 UTC
2f360d5 build: update all non-major dependencies (#50100) See associated pull request for more information. PR Close #50100 03 May 2023, 08:37:56 UTC
47c093a build: update cross-repo angular dependencies (#50105) See associated pull request for more information. PR Close #50105 02 May 2023, 16:26:46 UTC
da2efbc test: update payload golden for AIO to reflect reduction in size (#50107) The `main` bundle fell below the threshold. No actual investigation was done here because it's a reduction in size, and the AIO size matches the `AIO-local` size now. This is expected because the latest RC closely matches the `main` branch (or even is equivalent at this point). PR Close #50107 02 May 2023, 14:10:48 UTC
123f689 build: update cross-repo angular dependencies (#50107) See associated pull request for more information. PR Close #50107 02 May 2023, 14:10:48 UTC
8741670 docs: Make links out of @see tags (#50098) This commit is part of the work for #50097 to improve the linking on the online documentation. PR Close #50098 02 May 2023, 11:14:25 UTC
d0a9150 build: update github/codeql-action action to v2.3.2 (#50102) See associated pull request for more information. PR Close #50102 02 May 2023, 10:29:03 UTC
a6b9925 docs: fix non-relative links. (#50080) Relative links have 2 advantages : * They're not marked as external links * When on a specific doc version, the link point to the same version. PR Close #50080 02 May 2023, 10:27:24 UTC
0ccf6c9 build: update cross-repo angular dependencies (#50069) See associated pull request for more information. PR Close #50069 02 May 2023, 10:17:34 UTC
72ac1a0 docs(docs-infra): hide `Debugging the error`section. (#50074) On the error template, hide `Debugging the error` when there is none provided in the markdown file. PR Close #50074 02 May 2023, 10:15:01 UTC
149e0c0 docs(docs-infra): fix the search-results label color on the dark theme. (#50083) Theme color switching wasn't handled. PR Close #50083 02 May 2023, 10:13:23 UTC
f0bef4c docs: archiving older changelog entries (#49957) This commit moves changelog entries before v14.0.0 to the `CHANGELOG_ARCHIVE.md` file to make sure we do not reach Github limit, which would make CHANGELOG.md non-viewable in a browser. PR Close #49957 02 May 2023, 10:10:11 UTC
c68545e docs: cleanup team page (#50044) PR Close #50044 02 May 2023, 10:00:16 UTC
ee180a9 ci: Update pullapprove availability (#50070) I will not be available to review PRs for an extended period of time. PR Close #50070 02 May 2023, 09:58:22 UTC
90192c8 docs: fix a typo (#50092) PR Close #50092 02 May 2023, 09:55:16 UTC
1bc3546 docs: release notes for the v16.0.0-rc.4 release 01 May 2023, 17:35:20 UTC
b83d84a docs: update the intro page (#49980) Update the introduction page to include a link to the new tutorial and to remove links to the other tutorials to give learners a clearer path forward. Also, add files to pull approve. PR Close #49980 01 May 2023, 17:02:20 UTC
e074e53 docs: update broken tests (#49980) PR Close #49980 01 May 2023, 17:02:20 UTC
525d7fa docs: update linting issues and fix failing tests (#49980) PR Close #49980 01 May 2023, 17:02:20 UTC
b6b3203 docs: add first-app lesson-14 (#49980) Adds the content for lesson 14, updates a mistake in lesson 13, and updates the tutorial index page. PR Close #49980 01 May 2023, 17:02:19 UTC
f276b9d docs: update first-app tutorial lesson 13 (#49980) Adds the content for lesson 13, fixes some code inconsistencies for the services code in the examples, and adds this lesson to the navigation. PR Close #49980 01 May 2023, 17:02:19 UTC
a1227bc docs: update first-app lesson 12 (#49980) Add content for tutorial lesson 12 and update the code examples. PR Close #49980 01 May 2023, 17:02:19 UTC
51b5d16 docs: update first-app tutorial lesson 11 (#49980) Add content for lesson 11. Update previous lessons and code examples be in line with the latest lesson formatting. PR Close #49980 01 May 2023, 17:02:19 UTC
58d940a docs: update first-app tutorial lesson 10 (#49980) Updated the content for the tutorial lesson 10, added doc regions to the code and updated the service. Also added a placeholder for lesson 11. PR Close #49980 01 May 2023, 17:02:19 UTC
24ccb9f docs: update first-app tutorial lesson 09 (#49980) Updates the content of the lesson and adds a placeholder for the next lesson. Also, updates the code for the example to reflect the patterns from the previous iterations. PR Close #49980 01 May 2023, 17:02:19 UTC
8dbe83d docs: add first app tutorial lesson 08 (#49980) Adds lesson 8, some images, fixes a typo and adds the required navigation item PR Close #49980 01 May 2023, 17:02:18 UTC
0619480 docs: add first-app lesson 07 (#49980) Adds the content for lesson 07, a new image, a navigation entry and some updates to the example code for this lesson. Also, this updates previous lessons where typos and copy/pasta errors show up PR Close #49980 01 May 2023, 17:02:18 UTC
074c9e1 docs: add first-app-lesson-06 (#49980) Adds lesson 06 as well as fixes up some code inconsistencies. Adds docregions to some lessons and adds a missed step, misspellings and more to previous lessons. PR Close #49980 01 May 2023, 17:02:18 UTC
ea029a2 docs: sync assets and styles across lessons (#49980) Each individual lesson should have the images available in the download since a learner can start from any lesson. So, we're adding images here. Also, sync'ing styles for consistency across the lessons. This is fixing some previous commits that didn't include these changes. The goal is that for future commits we can have less changes and focused solely on that lesson PR Close #49980 01 May 2023, 17:02:18 UTC
cebf6af docs: update first-app lesson 05 (#49980) This commit does the following: - Add the instructional content for lesson 05 - Add an entry to navigation.json for this lesson - Adds doc regions to the housing-location.component file - Adds a placeholder for lesson 06 (that way links work now) PR Close #49980 01 May 2023, 17:02:17 UTC
1ca5e7c docs: add first-app lesson tutorial-04 (#49980) Update the tutorial for lesson 04 on interfaces. Also added images required for the base app. Created the placeholder for the next lesson so the app works if built from this branch. Updated navigation to include this step in the navigation menu. PR Close #49980 01 May 2023, 17:02:17 UTC
a966d6e docs: add first-app lesson tutorial-03 (#49980) Adds files for the 03 lesson and updated the 02 lesson in some places where the language was incorrect or unclear PR Close #49980 01 May 2023, 17:02:17 UTC
5c3d552 docs: update first-app lesson-02 (#49980) Updates the learning content, the snippet regions from the code examples, and adds screenshots for the lesson. Also, add a base page for lesson-03 PR Close #49980 01 May 2023, 17:02:17 UTC
5262a0b docs: update first-app tutorial lesson-01 (#49980) Update the content to complete the instructions required for users to build the app as described in lesson one. Also, added a new image that represents that app as of completing lesson-01. PR Close #49980 01 May 2023, 17:02:17 UTC
85b3cb5 docs: update first-app-tutorial introduction (#49980) Add application screenshot (and create the directory to host images for this tutorial). Also, update index.md instructions and complete TODOs/missing content. PR Close #49980 01 May 2023, 17:02:17 UTC
back to top