Skip to content

Conversation

@JeanMeche
Copy link
Owner

No description provided.

JeanMeche and others added 18 commits June 24, 2024 09:44
…ngular#56559)

`getTemplateLocationDetails()` is a devMode only function and should guarded by `ngDevMode` or calling it will throw an error.

fixes angular#56558

PR Close angular#56559
Prior to this change, is the `Content-Type` passed to the `FetchBackend` was lowercase it was overwritten with the default one.

fixes angular#56539

PR Close angular#56541
Updates the repo to the stable release of TypeScript 5.5.

PR Close angular#56358
…setter (angular#56573)

This refactor updates the touched, status, and pristine properties to
have a private setter.

PR Close angular#56573
…56527)

Adds the implementation of the following new instructions:
* `declareLet` - creation-time instruction that initializes the slot for a let declaration.
* `storeLet` - update-time instruction that stores the current value of a let declaration.
* `readContextLet` - instruction that reads the stored value of a let declaration from a different view.

On top of the instructions, it also introduces a new `LetDeclaration` TNode type.
The new TNode is nececessary for DI to work correctly in pipes inside the let expression,
as well as for proper hydration support.

PR Close angular#56527
)

Updates the hydration logic to account for the fact that let declarations don't create a DOM node.

PR Close angular#56527
…angular#56369)

`EventContract` usages in Angular now use `false` for
`useActionResolver`. Tests have been updated, with functionality that
depends on `ActionResolver` moving to dispatcher_test.ts.

PR Close angular#56369

PR Close angular#56369
Enables the new `@let` syntax by default.

`@let` declarations are defined as:
1. The `@let` keyword.
2. Followed by one or more whitespaces.
3. Followed by a valid JavaScript name and zero or more whitespaces.
4. Followed by the `=` symbol and zero or more whitespaces.
5. Followed by an Angular expression which can be multi-line.
6. Terminated by the `;` symbol.

Example usage:
```
@let user = user$ | async;
@let greeting = user ? 'Hello, ' + user.name : 'Loading';
<h1>{{greeting}}</h1>
```

Fixes angular#15280.

PR Close angular#56715
change "computed" to a term using a backtick
PR Close angular#56671
…imizedImage` is used too often. (angular#56669)

When the DOM content is loaded, Angular will log a warning message if the `priority` attribute is applied to often on `NgOptimizedImage` directive instances.

PR Close angular#56669
Expression that return iterables can now be spreaded if needed.
@JeanMeche JeanMeche closed this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants