Skip to content

Commit c3b87f8

Browse files
authored
Releasing 1.2.4 (#1792)
1 parent c9193da commit c3b87f8

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# 1.2.4
2+
## What's Changed
3+
### Weird enter in closing when formatting XAML TextBlock [#1785](https://github.com/belav/csharpier/issues/1785)
4+
CSharpier was breaking an end element to a new line when it did not need to.
5+
```xml
6+
<!-- input & expected output -->
7+
<root>
8+
<TextBlock Foreground="DarkGray">
9+
I saw the sign. When I opened up my eyes, I saw the sign.
10+
</TextBlock>
11+
<TextBlock>
12+
I saw the sign. When I opened up my eyes, I saw the sign.
13+
</TextBlock>
14+
</root>
15+
16+
<!-- 1.2.3 -->
17+
<root>
18+
<TextBlock Foreground="DarkGray">
19+
I saw the sign. When I opened up my eyes, I saw the sign.
20+
</TextBlock
21+
>
22+
<TextBlock>
23+
I saw the sign. When I opened up my eyes, I saw the sign.
24+
</TextBlock>
25+
</root>
26+
```
27+
### Order Modifiers (IDE0036) not formatting when code is preceded by a comment. [#1784](https://github.com/belav/csharpier/issues/1784)
28+
When incorrectly ordered modifiers were preceded by a comment they were not being reordered. Thanks go to @TimothyMakkison for the contribution
29+
```c#
30+
// input & 1.2.3
31+
32+
// Comment
33+
required public int Prop1 { get; set; }
34+
35+
// expected output
36+
// Comment
37+
public required int Prop1 { get; set; }
38+
```
39+
### Performance issue when running CLI in project with pnpm on Windows [#1781](https://github.com/belav/csharpier/issues/1781)
40+
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
41+
42+
**Full Changelog**: https://github.com/belav/csharpier/compare/1.2.3...1.2.4
143
# 1.2.3
244
## What's Changed
345
### Large directories ignored in .gitignore significantly impact performance. [#1776](https://github.com/belav/csharpier/issues/1776)
@@ -3739,5 +3781,6 @@ Thanks go to @pingzing
37393781
37403782
37413783
3784+
37423785
37433786

Nuget/Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>1.2.3</Version>
3+
<Version>1.2.4</Version>
44
<PackageLicenseExpression>MIT</PackageLicenseExpression>
55
<RepositoryUrl>https://github.com/belav/csharpier</RepositoryUrl>
66
<RepositoryType>git</RepositoryType>

Src/Website/docs/Ignore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ _See [Configuration](CLI.md) for including these files_
4949

5050
#### Special Case Files
5151

52-
- Any file that matches the gitignore syntax
52+
- Any file that matches the gitignore syntax
5353
- `**/node_modules`
5454
- `**/obj`
5555
- `**/.git`

0 commit comments

Comments
 (0)