https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
4b46819 release: cut the v16.2.1 release 16 August 2023, 17:19:50 UTC
7a090ee refactor(core): Ensure hydration cleanup runs in the Angular zone (#51321) Hydration cleanup needs to run in the Angular zone so that change detection will run. PR Close #51321 15 August 2023, 23:02:06 UTC
da68bea docs(router): Clarify how to clear secondary routes (#51376) The example for clearing secondary outlets currently only works because the named outlet appears at the root of the application's route config. If developers follow this example with an outlet that is not at the root level, they will not be able to close the outlet. This commit updates the example to provide a more robust way of clearing the outlet from the activated outlet component as well as providing a warning about how the commands are applied. Lastly, there is a small bit of guidance provided for developers who might want to explore the ability to close an outlet from any location in the app, without needing to be aware of the activated route. An example of this can be found here: https://stackblitz.com/edit/close-outlet-from-anywhere resolves #51373 resolves #13523 PR Close #51376 15 August 2023, 22:43:18 UTC
543b98e docs: add new UI library resource from the Tailwind CSS ecosystem (#50976) PR Close #50976 15 August 2023, 18:29:40 UTC
03619ad docs(common): revert format date_pipe (#51359) PR Close #51359 15 August 2023, 17:06:47 UTC
d8e5316 docs(common): add new date format example to documentation (#51359) PR Close #51359 15 August 2023, 17:06:47 UTC
77efeb5 docs: Add usage information to `HttpInterceptorFn` (#51236) Simple doc addendum PR Close #51236 15 August 2023, 17:02:43 UTC
252b111 docs: Improve host binding docs (#51326) This commit adds the mention of the support of styles/classes/attributes in host bindings. fixes # 44296 PR Close #51326 15 August 2023, 16:54:14 UTC
1c41633 docs: add the doc type attribute (#51332) PR Close #51332 15 August 2023, 16:53:06 UTC
9f977e0 docs(docs-infra): fix minor typo in standalone-migration.md (#51370) PR Close #51370 15 August 2023, 16:37:47 UTC
3e19890 docs: Fix Promise.then wrong parameter (#51322) Removed the second wrong parameter from the `Promise.then()` method in the doc. PR Close #51322 14 August 2023, 22:27:37 UTC
074fd4a build: update pullapprove (#51360) update pullapprove to remove self from unavailable list PR Close #51360 14 August 2023, 22:12:27 UTC
094d733 docs: Add Missing SSR integrity marker error doc page (#51340) This commit adds an error doc page for error 507 : Missing SSR content integrity marker. PR Close #51340 14 August 2023, 21:39:25 UTC
2fff344 docs: Add CDN Optimization section to hydration guide (#51355) This adds a section to cover the case of CDNs that have optimizations that will break both Angular and Hydration by stripping comment nodes. PR Close #51355 14 August 2023, 21:31:09 UTC
951ef93 docs(core): Fix minor typo in comment of injector_compatibility.ts (#51324) PR Close #51324 14 August 2023, 15:56:29 UTC
f30a49e docs(docs-infra): Fix minor typos in dependency-injection-context.md (#51324) PR Close #51324 14 August 2023, 15:56:29 UTC
c48e1cc ci: migrate aio jobs to GHA (#51071) Migrate aio presubmit and deploy jobs to use Github Actions PR Close #51071 14 August 2023, 15:55:31 UTC
198834b docs: update @self() decorator explanation (#51342) PR Close #51342 13 August 2023, 23:33:16 UTC
6a8c030 docs(docs-infra): Hide decorator option row if empty. (#51327) In case where the decorator option has no description nor usageNotes, we can hide that row. PR Close #51327 11 August 2023, 13:07:38 UTC
232a8c1 fix(router): Apply named outlets to children empty paths not appearing in the URL (#51292) Empty path routes are effectively 'passthrough' routes that do not appear in the URL. When these exist in the route tree, we do not want to apply named outlet commands to that tree location. Instead, we skip past this location in the tree, effectively squashing/removing this passthrough route from the tree. fixes #50356 PR Close #51292 10 August 2023, 16:18:30 UTC
8f944e0 ci: migrate framework tests to GHA (#51101) Migrate framework presubmit test job to use Github Actions PR Close #51101 10 August 2023, 00:36:24 UTC
af0c8b8 docs: add legend tag to fieldset (#51259) PR Close #51259 10 August 2023, 00:18:39 UTC
ee19395 docs: Correct statement about app.module.ts generation with --standalone flag (#51307) The documentation incorrectly stated that the app.module.ts file is generated when the --standalone flag is used. This is not the case, and the documentation should accurately reflect the behavior. Closes #51306 PR Close #51307 10 August 2023, 00:16:49 UTC
096fdd0 release: cut the v16.2.0 release 09 August 2023, 21:03:37 UTC
9998bee refactor: add `dgp1130` to DevTools PullApprove config (#51301) DevTools falls under Angular Tooling and I'll probably be reviewing future PRs for the extension. PR Close #51301 09 August 2023, 17:19:27 UTC
9538704 docs: Add after*Render to Component Lifecycle guide (#51291) PR Close #51291 09 August 2023, 17:18:28 UTC
899e51a docs: Instead of CanActivateFn, CanActivateChildFn appears in CanActivateFn docs (#51283) A minor error is present within the documentation. Specifically, in the documentation for the CanActivateFn function, a reference is made to the CanActivateChildFn function. However, it appears that the CanActivateChildFn function is not utilized or referenced elsewhere in the documentation of CanActivateFn. PR Close #51283 08 August 2023, 17:40:54 UTC
0ba2b5e refactor(animations): remove unecessary interface (#50662) `Animation` is provided by `lib.dom`. PR Close #50662 07 August 2023, 16:26:26 UTC
9f490da fix(core): handle hydration of view containers for root components (#51247) For cases when a root component also acts as an anchor node for a ViewContainerRef (for example, when ViewContainerRef is injected in a root component), there is a need to serialize information about the component itself, as well as an LContainer that represents this ViewContainerRef. Effectively, we need to serialize 2 pieces of info: (1) hydration info for the root component itself and (2) hydration info for the ViewContainerRef instance (an LContainer). Each piece of information is included into the hydration data (in the TransferState object) separately, thus we end up with 2 ids. Since we only have 1 root element, we encode both bits of info into a single string: ids are separated by the `|` char (e.g. `10|25`, where `10` is the ngh for a component view and 25 is the `ngh` for a root view which holds LContainer). Previously, we were only including component-related information, thus all the views in the view container remained dehydrated and duplicated (client-rendered from scratch) on the client. Resolves #51157. PR Close #51247 07 August 2023, 16:24:26 UTC
b95b5b5 refactor(core): throw an error when hydration marker is missing from DOM (#51170) (#51276) non-destructive hydration expects the DOM tree to have the same structure in both places. With this commit, the app will throw an error if comments are stripped out by the http server (eg by some CDNs). PR Close #51276 07 August 2023, 16:22:51 UTC
26781fd refactor(core): remove unnecessary import for custom expect. (#51216) Also adding some missing assertion after `expect()` PR Close #51216 07 August 2023, 16:22:20 UTC
f79fd35 docs: add deprecation of `PACKAGE_ROOT_URL` (#51222) PR Close #51222 07 August 2023, 16:21:47 UTC
dfa772d refactor(core): remove unused private provider (#51222) Both `DEFAULT_PACKAGE_URL_PROVIDER` and `ERROR_COLLECTOR_TOKEN` are unused across the project PR Close #51222 07 August 2023, 16:21:46 UTC
c7c0723 refactor(core): deprecate `PACKAGE_ROOT_URL` token (#51222) Usage was removed in #43884 PR Close #51222 07 August 2023, 16:21:46 UTC
e01549b refactor(core): introduce LView and LContainer utility functions (#51191) This refactoring adds utility functions to add / remove LView from LContainer. Those utils are preparation for the control flow and defer work. Existing code was refactored to use the new utility functions and avoid any code duplication. PR Close #51191 04 August 2023, 20:00:46 UTC
cf62063 docs: add title tag to index file (#51266) PR Close #51266 04 August 2023, 15:29:52 UTC
c0c6d1d docs: fix missing space after full stop (#51252) Fixes #51250 PR Close #51252 04 August 2023, 15:28:36 UTC
d1fa6cd refactor(compiler): drop regular imports when symbols can be defer-loaded (#51171) This commit updates the logic to drop regular imports when all symbols that it brings can be defer-loaded. The change ensures that there is no mix of regular and dynamic imports present in a source file. PR Close #51171 04 August 2023, 15:28:07 UTC
1472515 release: cut the v16.2.0-rc.0 release 02 August 2023, 20:20:39 UTC
9d88cd8 docs: release notes for the v16.1.8 release 02 August 2023, 19:55:00 UTC
2d52d5e refactor(compiler): support safe function calls (#51100) Adds support for safe function calls in template pipeline compiler PR Close #51100 01 August 2023, 20:45:34 UTC
42caeee refactor(compiler): reuse temp vars when possible (#51100) Updates the template pipeline's temporary variables phase to reuse temporary variables within an expression. The algorithm implemented here reuses variables more aggressively than TemplateDefinitionBuilder. This change in behavior is acceptable, as it is unlikely to cause any failures, and implementing the exact behavior observed in TemplateDefinitionBuilder would be difficult. PR Close #51100 01 August 2023, 20:45:34 UTC
b8ec182 test(compiler): allow alternate expected file for template pipeline (#51100) In some cases it is not feasible to have the template pipeline produce the exact same compiled output as the TemplateDefinitionBuilder. This commit adds support to the testing infrastructure to have different expected output files for each. This option should be used sparingly, as we want the output to be as close as possible. PR Close #51100 01 August 2023, 20:45:34 UTC
e53d4ec feat(core): add afterRender and afterNextRender (#50607) Add and expose the after*Render functions as developer preview PR Close #50607 01 August 2023, 20:02:27 UTC
8913d3e docs: fix warning about an unknown decorator (#51237) dgeni was complaning about an unknown decorator (`@Input`) PR Close #51237 01 August 2023, 20:00:53 UTC
d86e637 docs: add lang attribute to html files (#51235) PR Close #51235 01 August 2023, 19:16:44 UTC
388d1db docs: add the title tag (#51233) PR Close #51233 01 August 2023, 19:15:11 UTC
4602545 refactor(core): remove useless hack (#51224) This hack is remnant of the Ivy migration. PR Close #51224 01 August 2023, 19:12:52 UTC
d81d125 refactor(core): Remove dead unit test code (#51223) This code is duplicated but unused. PR Close #51223 01 August 2023, 19:10:57 UTC
9d59764 refactor(core): createInjector is a private function (#51221) `createInjector` is not public. PR Close #51221 01 August 2023, 19:10:20 UTC
737ed23 refactor(core): removing reflect-metadata from symbol tests. (#51217) We were not reyling on it anymore. PR Close #51217 01 August 2023, 19:09:25 UTC
a871e23 docs: remove duplicate words. (#51215) Using the `\b(\w+)\s+\1\b` we can find duplicate word. Let's remove them. PR Close #51215 01 August 2023, 19:08:33 UTC
2274d15 docs: updated the doc files (#51204) PR Close #51204 01 August 2023, 19:07:21 UTC
a248307 docs: fix typos (#51201) PR Close #51201 01 August 2023, 19:04:31 UTC
6691c49 docs: add lang attributes to the files (#51200) PR Close #51200 01 August 2023, 18:58:44 UTC
584a32d docs: add the title tag (#51199) PR Close #51199 01 August 2023, 18:54:36 UTC
63b7f52 docs: update the html tags (#51198) PR Close #51198 01 August 2023, 18:53:30 UTC
5c6d1bb docs: fix typos in component overview guide (#51197) PR Close #51197 01 August 2023, 18:53:00 UTC
71e803a docs: add new edition of Angular Projects book (#51184) PR Close #51184 01 August 2023, 18:51:49 UTC
efb486e refactor(compiler): handle defer blocks in TemplateDefinitionBuilder (#51162) Updates the TemplateDefinitionBuilder class to generate the `defer` instruction for `{#defer}` blocks. Also generates dependency function that would be invoked at runtime (with dynamic imports inside). PR Close #51162 01 August 2023, 18:50:05 UTC
08992a5 refactor(compiler): compute the list of dependencies for defer blocks (#51162) This commit brings the logic to calculate teh set of dependencies for each defer block. For each dependency we also identify whether it can be defer-loaded or not. PR Close #51162 01 August 2023, 18:50:05 UTC
f5116e7 refactor(compiler): extracting helper function and types to the top level (#51162) This is a minor refactoring of the ComponentHandler class logic to extract helper function and types to the top level for simplicity and reuse across other functions of the class. PR Close #51162 01 August 2023, 18:50:05 UTC
553cbae refactor(compiler): update TemplateBinder and DirectiveBinder to work with defer blocks (#51162) This commit updates the logic of the TemplateBinder and DirectiveBinder classes to recognize defer blocks. The logic is updated to prevent Directive and Pipe matching inside the defer block. Instead, the scope for those blocks would be calculated separately. PR Close #51162 01 August 2023, 18:50:04 UTC
256e682 refactor(compiler): add DeferredSymbolTracker class to keep track of symbol usages (#51162) This commit adds a new class called `DeferredSymbolTracker` to keep track of all usages of a particular symbol within a source file and allow to detect whether a symbol can be defer loaded (i.e. if there are any references to a symbol). PR Close #51162 01 August 2023, 18:50:04 UTC
4d8cc70 build: update io_bazel_rules_sass digest to ded821e (#51139) See associated pull request for more information. PR Close #51139 01 August 2023, 18:49:06 UTC
c1dee4c test(core): unit tests for the injector profiler and injector debugging APIs (#48639) Creates unit tests for the following APIs - setInjectorProfiler - getInjectorProviders - getInjectorResolutionPath - getDependenciesFromInjectable Modifies existing tests in - packages/examples/core/di/ts/injector_spec.ts - packages/core/test/render3/jit/declare_injectable_spec.ts - packages/core/test/render3/jit/declare_factory_spec.ts because they setup framework injector context manually. Exports setInjectorProfilerContext in packages/core/src/core_private_export.ts in order for use in the the modified tests above. PR Close #48639 01 August 2023, 18:44:40 UTC
98d262f feat(core): create injector debugging APIs (#48639) This commit introduces 3 new APIs. getDependenciesFromInstantiation: - Given an injector and a token that was instantiated by that injector, discover all of the things were injected in the instance of that token - This API is meant to enable recursive inspection of dependencies. Dependencies returned by this API include which injector they were providedIn, which enables the continous use of getDependenciesFromInstantiation to determine the dependencies of dependencies getInjectorProviders: - Given an injector, discover all of the providers that were configured in that injector. - This API returns information on the configured providers of an injector, including the import path that leads to the container that the provider originated from (NgModule or standalone directive). This enables fine grained inspection to determine where a specific provider comes from. getInjectorParent: - Given an injector, discover the parent of that injector. - This function is meant to be used recursively to discover the entire resolution path from a starting injector to the NullInjector. These APIs were designed to be used together. For example, getInjectorParent can be used to discover the structure of an injector hierarchy. Once that's done, getInjectorProviders can be used to determine the providers of each injector in that hierarchy. Another example: getDependenciesFromInstantiation can be used to discover the dependencies of a specific injector constructed instance. From there, we can use getInjectorParent to discover the injector resolution path and map each dependency to a path from the starting injector to the injector that it was provided in. PR Close #48639 01 August 2023, 18:44:40 UTC
4d92080 refactor(core): convert walkProviderTree and `processInjectorTypesWithProviders` to callback style interfaces (#48639) walkProviderTree and processInjectorTypesWithProviders both perform some generic traversal logic of the import graph of an input NgModule or Standalone component. Currently, these functions pass around a `providersOut` array that is used to collect providers at each step of the traversal. This PR converts those functions to accept visitor callbacks instead of the `providersOut` array. This is done to make the traversal logic of these functions reusable, while leaving it up to the visitor to determine the logic that fires for each visited node. This refactor would allow us to reuse `walkProviderTree` for injector debugging APIs that could support some cool features in DevTools, like tracing the injector resolution path of an injected property on a component instance all the way up to the specific imported module/standalone component. PR Close #48639 01 August 2023, 18:44:40 UTC
ff4d1b4 feat(devtools): create profiler for DI and injector events (#48639) Currently, understanding dependency injection in Angular requires a lot of context and has been sited in our surveys as one of the largest points of confusion that our users have with the framework. This commit is the beginning of our approach to make debugging dependency injection in Angular easier. This commit introduces injector profiler callbacks in parts of the framework to emit injector events. It also introduces a default handler for these events. This default handler parses the stream of events to construct some data structures that will support new injector debug APIs. We have implemented a similar pattern in the past to minimize overhead. There is also the possiblity of making the internal `setInjectorProfiler` function a public debug API in the future, so that users can implement their own handlers to debug DI events. Lastly DI in Angular maps nicely to a stream of events. For production applications there is no runtime overhead. For applications in dev mode there is some additional overhead from the default profiler handling injector events and holding debug data in memory. For production applications, dead code elimination should strip all of the code used by this PR. PR Close #48639 01 August 2023, 18:44:40 UTC
c1052cf refactor(compiler): add support for sanitizing properties and attributes (#51156) Sets sanitizer functions when attempting to set sensitive properties and attributes PR Close #51156 28 July 2023, 22:11:51 UTC
e4ae634 ci: remove migrated circleci jobs (#51194) Remove test_angular_devtools and test_win jobs which were migrated to GHA PR Close #51194 28 July 2023, 21:43:03 UTC
f71851a docs: Change "ng run build:ssr" to "npm run build:ssr" in universal.md (#51192) PR Close #51192 28 July 2023, 21:42:30 UTC
7225528 refactor(compiler): add utility to enable deferred blocks for testing (#51183) Adds the `ɵsetEnabledBlockTypes` utility that can be used when writing JIT tests using `defer` blocks. Intended usage: ```ts import {ɵsetEnabledBlockTypes as setEnabledBlockTypes} from '@angular/compiler/src/jit_compiler_facade'; describe('deferred tests', () => { beforeEach(() => setEnabledBlockTypes(['defer'])); afterEach(() => setEnabledBlockTypes([])); it('should work', () => { // test goes here }); }); ``` PR Close #51183 28 July 2023, 21:42:04 UTC
09bf327 refactor(compiler): add support for animation listeners (#50975) Adds support for binding animation listeners, e.g. PR Close #50975 28 July 2023, 21:40:13 UTC
570bd67 refactor(compiler): make listener instruction chainable (#50975) Makes the `ɵɵlistener` instruction chainable in the template pipeline PR Close #50975 28 July 2023, 21:40:13 UTC
7dd99cd refactor(compiler): add support for animation properties (#50975) Adds support for binding animation properties, e.g. PR Close #50975 28 July 2023, 21:40:13 UTC
88a5711 refactor(compiler): make element instruction chainable (#50975) Makes the `ɵɵelement` instruction chainable in the template pipeline PR Close #50975 28 July 2023, 21:40:13 UTC
6755f53 fix(compiler): return full spans for Comment nodes (#50855) Change sourceSpan for Comment nodes to cover the whole comment instead of just the opening token. The primary motivation for this is the interaction between ESLint and `@angular-eslint`. ESLint can detect unused `eslint-disable` directives in comments and automatically remove them when running with `--fix`. This is based on ranges computed from AST spans, and as a result does not work inside Angular templates - right now all comments claim to be 4 characters long so only the opening `<!--` is removed. PR Close #50855 28 July 2023, 21:39:18 UTC
cdaa2a8 feat(core): support Provider type in Injector.create (#49587) This commit updates the Injector.create function to accept the `Provider` type in addition to the `StaticProvider` type. This should make it easier to work with the Injector.create function and have less type casts if you have a list of `Provider`s available. PR Close #49587 28 July 2023, 21:38:05 UTC
5061311 refactor(compiler): Ingest host attribute bindings in template pipeline (#51188) Host property bindings beginning with `attr.` should have `Attribute` binding kind, and result in an `attribute` instruction. This should really be handled in the parser in the future. PR Close #51188 28 July 2023, 18:47:57 UTC
a42c91e refactor(compiler): Generate temporaries in host bindings for template pipeline (#51188) Add the ability to name and resolve generated temporary variables in host bindings, using the existing phase. PR Close #51188 28 July 2023, 18:47:57 UTC
72a59bd refactor(compiler): Support `svg` and `math` namespace instructions in template pipeline (#51188) Templates may contain special `svg` and `math` elements, as well as logical descendants of those elements (e.g. `svg` may contain `g`). These will be parsed with a special colon-prefixed *namespace identifier*, such as `:svg:svg`, or `:svg:g`, or `:math:infinity`. The template pipeline now considers these namespace prefixes, and stores them specially on the Element and Template data structures, ultimately generating the appropriate runtime instructions to change namespaces when needed. PR Close #51188 28 July 2023, 18:47:57 UTC
c4b289a refactor(compiler): Allow chaining of listeners in template pipeline (#51188) Calls to the listener instruction can be chained. PR Close #51188 28 July 2023, 18:47:57 UTC
8f50385 refactor(compiler): support `ngNonBindable` in the template pipeline (#51188) When a container-like element has the `ngNonBindable` special attribute, bindings are disabled for it and its descendants. This requires emitting the `disableBindings` and `enableBindings` instructions when nested content exists. PR Close #51188 28 July 2023, 18:47:57 UTC
1c553ee refactor(compiler): Delete some redundant types in template pipeline. (#50899) Previously we refactored the compilation to use the concepts of "jobs" and "units." However, old type aliases were provided to avoid changing all call-sites in bulk. Here, those aliases are deleted, and call sited updated: 1. `ComponentCompilation` becomes `ComponentCompilationJob`. 2. `ViewCompilation` becomes `ViewCompilationUnit`. PR Close #50899 27 July 2023, 22:08:05 UTC
833cb8e refactor(compiler): Enable additional tests for the template pipeline (#50899) A number of tests were previously disabled, but are now passing with the latest changes. PR Close #50899 27 July 2023, 22:08:05 UTC
5a0ecdb refactor(compiler): Allow host binding functions to specialize bindings (#50899) Interestingly, host bindings are parsed quite differently from template functions. For example, bindings such as `[style.foo]: 3px` would be parsed into a value, unit, and type when bound to a template, but will not be parsed as such when used in a host binding. In this commit, we remedy this shortcoming by adding support for bindings in host binding functions to the template pipeline. In particular, we create a phase to process these bindings, and transform them into the correct output binding kind. Additionally, we fix some other minor bugs and omissions. Finally, we enable compilation of host bindings with the template pipeline, which requires us to turn off a number of failing tests. PR Close #50899 27 July 2023, 22:08:05 UTC
7652ec7 refactor(compiler): Allow host bindings to be ingested into the template pipeline. (#50899) Alter the compiler code to ingest and process host bindings, using the newly updated compilation passes. This is currently switched off in the outer compiler layer, but lays the foundation for actually generating the host binding functions using template pipeline. PR Close #50899 27 July 2023, 22:08:05 UTC
5ed8db2 refactor(compiler): Refactor processing of bindings and interpolations. (#50899) Today, bindings on templates are ingested in highly distinct ways, depending on the parsed binding kind, as well as special cases for `style` and `class`. This makes it very difficult to also ingest them for host bindings without duplicating all this subtle logic. To solve this, we introduce two major related refactors: 1. Move all processing of attributes into phases. This dramatically reduces the amount of code in `ingest.ts`, which is now only responsible for ingesting an abstract `BindingOp`. The later phases replace each `BindingOp` with more specific ops for each binding kind. For example, `binding_specialization.ts` transforms each abstract `BindingOp` into a concrete `PropertyOp`, `AttributeOp`, etc. Likewise, `style_binding_specialization.ts` performs special-case transformations for style and class bindings. This approach has the additional advantage of separating the creation of attribute and property bindings from other special cases. 2. Eliminate all interpolation ops. Instead, allow the expression inside of an op to be of a new `Interpolation` type. The reify code will then emit the appropriate instruction variant (interpolated or unary). 3. Separate some concerns that were previously mixed in, such as empty bindings and listeners on templates. These refactors cause major downstream code changes across the system, especially to attribute extraction and variable counting. PR Close #50899 27 July 2023, 22:08:05 UTC
30237d1 refactor(compiler): Template pipeline: accept host bindings in additional phases (#50899) Modify most of the remaining necessary phases to accept generic `CompilationJobs`. This includes `phasePureLiteralStructures`, `phaseNullishCoalescing`, `phaseExpandSafeReads`, `phaseVariableOptimization`, `phaseNaming`, and `phasePureFunctionExtraction`. PR Close #50899 27 July 2023, 22:08:05 UTC
8f67c07 refactor(compiler): Prepare the template pipeline to support host bindings. (#50899) Refactor `compilation.ts` by introducing two new concepts: 1. A compilation unit, which has create and update ops. Compilations of individual views are compilation units, as are individual host bindings. 2. Aa compilation job, which has several compilation units. For example, a whole component is a compilation job, because it can have many view compilation units. A host binding compilation is a job in addition to a unit, because each host binding unit is always a singleton. Then, we begin modifying phases to accept general compilation jobs instead of component compilations specifically, which will allow us to run them on host bindings. In particular, we update the following phases: `phaseReify`, and `phaseChaining`. PR Close #50899 27 July 2023, 22:08:04 UTC
fe7de0d refactor(compiler): Compatibility mode for the template pipeline. (#50899) Add a compatibility setting to the component compilation. Accordingly, remove all the custom compatibility flags passed to each phase, and use the main setting instead. PR Close #50899 27 July 2023, 22:08:04 UTC
31ff476 refactor(compiler): Introduce source maps in the template pipeline. (#50899) Begin producing source maps for the template pipeline, for a couple fundamental kinds of instructions, including elements, templates, properties, text, and interpolations. PR Close #50899 27 July 2023, 22:08:04 UTC
8a6a72e refactor(compiler): Fix `$event` in listeners for template pipeline (#50899) Previously, `$event` was interpreted as a lexical read on the enclosing context. Now, a new pass converts such reads into simple output AST reads of `$event`, so they are not processed by the context resolution or naming phases. Additionally, the same pass sets a field on the enclosing listener op, so that the reify phase does not have to search for reads of `$event`. PR Close #50899 27 July 2023, 22:08:04 UTC
c6010f0 refactor(compiler): Support `$any` in template pipeline (#50899) `$any(...)` casts should be dropped, except when they are an explicit call on `this.$any(...)`. Fix a bug in which we were transforming `ThisReceiver` into an implicit receiver. PR Close #50899 27 July 2023, 22:08:04 UTC
3a59de6 fix(devtools): ensure that inspected component label is always in the viewport (#50656) Currently the label showing the component name is always positioned from the bottom/right edge of the element which may be outside of the viewport. These changes add some logic to fall back to a different position so that the label is always visible. I've also cleaned the `highlighter.ts` file up a bit. Fixes #48479. PR Close #50656 26 July 2023, 17:04:26 UTC
bb0f3bc docs(docs-infra): Adding required and Transform Args into the usage and documentation of input (#51173) I# No commands remaining. PR Close #51173 26 July 2023, 17:03:41 UTC
53aa35b docs: improve readability, use future tense to indicate future events (#49578) Summary of changes: * change 'notice that' -> note that * break large sentence to smaller ones to improve readability * use future tense & modal verbs to indicate future events PR Close #49578 26 July 2023, 17:03:04 UTC
29a4103 docs: fixed grammar error in vulnerability reporting (#47326) Split a run-on sentence into 2 sentences and improved link accessibility. PR Close #47326 26 July 2023, 17:01:29 UTC
d9a4ca6 release: cut the v16.2.0-next.4 release 26 July 2023, 16:11:32 UTC
back to top