Remove released changelogs
This commit is contained in:
1 parent
01d1469c84
commit
7ad9d9ae72
4 files changed
-109
No files matched your search
@@ -1,30 +0,0 @@
|
||||
#### Don't print attribute values that are single template or string literals on new lines (#18378 by @ravindUwU)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html
|
||||
<!-- Input -->
|
||||
<component
|
||||
[property]="`
|
||||
template
|
||||
literal
|
||||
`"
|
||||
/>
|
||||
|
||||
<!-- Prettier stable -->
|
||||
<component
|
||||
[property]="
|
||||
`
|
||||
template
|
||||
literal
|
||||
`
|
||||
"
|
||||
/>
|
||||
|
||||
<!-- Prettier main -->
|
||||
<component
|
||||
[property]="`
|
||||
template
|
||||
literal
|
||||
`"
|
||||
/>
|
||||
```
|
||||
@@ -1,25 +0,0 @@
|
||||
#### Add support for multiple switch cases (#18593 by @fisker)
|
||||
|
||||
This feature added in Angular v21.1.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html
|
||||
<!-- Input -->
|
||||
@switch (foo) {
|
||||
@case (0)
|
||||
@case (1) {
|
||||
<div>case 0 or 1</div>
|
||||
}
|
||||
}
|
||||
|
||||
<!-- Prettier stable -->
|
||||
SyntaxError: Incomplete block "case". If you meant to write the @ character, you should use the "@" HTML entity instead. (2:3)
|
||||
|
||||
<!-- Prettier main -->
|
||||
@switch (a) {
|
||||
@case (0)
|
||||
@case (1) {
|
||||
<div>case 0 or 1</div>
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -1,17 +0,0 @@
|
||||
#### Support spread element in array and object literals (#18596, #18636 by @prettier)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html
|
||||
<!-- Input -->
|
||||
<component
|
||||
[a]="[ ...a]"
|
||||
[b]="{...bar }"
|
||||
[c]="call( ...baz)"
|
||||
/>
|
||||
|
||||
<!-- Prettier stable -->
|
||||
<component [a]="[ ...a]" [b]="{...bar }" [c]="call( ...baz)" />
|
||||
|
||||
<!-- Prettier main -->
|
||||
<component [a]="[...a]" [b]="{ ...bar }" [c]="call(...baz)" />
|
||||
```
|
||||
@@ -1,37 +0,0 @@
|
||||
#### Support formatting Angular syntax in code block (#18519 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
````md
|
||||
<!-- Input -->
|
||||
```angular-ts
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
template: `<div
|
||||
>Welcome to {{
|
||||
Angular}}! </div>`,
|
||||
})
|
||||
export class App {}
|
||||
```
|
||||
|
||||
```angular-html
|
||||
<div
|
||||
>Welcome to {{
|
||||
Angular}}! </div>
|
||||
```
|
||||
|
||||
<!-- Prettier stable -->
|
||||
Same as input
|
||||
|
||||
<!-- Prettier main -->
|
||||
```angular-ts
|
||||
@Component({
|
||||
selector: "app-root",
|
||||
template: `<div>Welcome to {{ Angular }}!</div>`,
|
||||
})
|
||||
export class App {}
|
||||
```
|
||||
|
||||
```angular-html
|
||||
<div>Welcome to {{ Angular }}!</div>
|
||||
```
|
||||
````
|
||||
Reference in new issue
Block a user