From 2e840adc464ed51a49b653c9c81aa8513c9e3c35 Mon Sep 17 00:00:00 2001 From: Bela VanderVoort Date: Sat, 22 Jan 2022 10:10:35 -0600 Subject: [PATCH] Releasing 0.14.0 (#564) * Releasing 0.14.0 * Releasing 0.14.0, 1.0.1 for VS, 1.0.4 for rider. --- CHANGELOG.md | 10 ++++++++++ CSharpier.Build.props | 2 +- Src/CSharpier.Rider/CHANGELOG.md | 3 +++ Src/CSharpier.Rider/CONTRIBUTING.md | 9 ++++++++- Src/CSharpier.Rider/gradle.properties | 2 +- Src/CSharpier.VisualStudio/CONTRIBUTING.md | 11 +++++++++++ .../source.extension.vsixmanifest | 2 +- .../source.extension.vsixmanifest | 2 +- 8 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 Src/CSharpier.VisualStudio/CONTRIBUTING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f4f7b91d..094da1f3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.14.0 + +[diff](https://github.com/belav/csharpier/compare/0.13.0...0.14.0) + +- File with no preprocessor symbols formats twice. [#555](https://github.com/belav/csharpier/issues/555) +- A namespace with `assembly` attribute and `using` causes two newlines [#551](https://github.com/belav/csharpier/issues/551) +- Wrapping arithmetic expressions not stacked/chopped down [#547](https://github.com/belav/csharpier/issues/547) +- Use UTF8 for piping in/out to CLI to support unicode characters [#545](https://github.com/belav/csharpier/issues/545) + + # 0.13.0 [diff](https://github.com/belav/csharpier/compare/0.12.0...0.13.0) diff --git a/CSharpier.Build.props b/CSharpier.Build.props index dcb5e6f0a..de625c1f4 100644 --- a/CSharpier.Build.props +++ b/CSharpier.Build.props @@ -1,6 +1,6 @@ - 0.13.0 + 0.14.0 MIT https://github.com/belav/csharpier git diff --git a/Src/CSharpier.Rider/CHANGELOG.md b/Src/CSharpier.Rider/CHANGELOG.md index 4f94e03d8..fecb5c09e 100644 --- a/Src/CSharpier.Rider/CHANGELOG.md +++ b/Src/CSharpier.Rider/CHANGELOG.md @@ -4,6 +4,9 @@ ## [Unreleased] +## [1.0.4] +- Adding support for UTF8 and unicode characters. Requires csharpier 0.14.0 + ## [1.0.3] - Add logo diff --git a/Src/CSharpier.Rider/CONTRIBUTING.md b/Src/CSharpier.Rider/CONTRIBUTING.md index 101448988..41915ae63 100644 --- a/Src/CSharpier.Rider/CONTRIBUTING.md +++ b/Src/CSharpier.Rider/CONTRIBUTING.md @@ -8,4 +8,11 @@ Local testing - there may be a way to run it in rider - https://jetbrains-platform.slack.com/archives/C5NMWKBJ4/p1640080931056300 - Run .\gradlew.bat :buildPlugin to create plugin so that it can be used in rider, - may need to change version number in gradle.properties - - go to settings - plugins - install manually - Src\CSharpier.Rider\build\distributions \ No newline at end of file + - go to settings - plugins - install manually - Src\CSharpier.Rider\build\distributions + +Publishing +- Update version in gradle.properties +- Run .\gradlew.bat :buildPlugin +- Login to https://plugins.jetbrains.com/plugin/18243-csharpier using github account +- upload file from build/distributions +- Automate this if we release a lot \ No newline at end of file diff --git a/Src/CSharpier.Rider/gradle.properties b/Src/CSharpier.Rider/gradle.properties index 83c4be216..8d5ae5406 100644 --- a/Src/CSharpier.Rider/gradle.properties +++ b/Src/CSharpier.Rider/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.intellij.csharpier pluginName = csharpier # SemVer format -> https://semver.org -pluginVersion = 1.0.3 +pluginVersion = 1.0.4 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. diff --git a/Src/CSharpier.VisualStudio/CONTRIBUTING.md b/Src/CSharpier.VisualStudio/CONTRIBUTING.md new file mode 100644 index 000000000..a7355af1e --- /dev/null +++ b/Src/CSharpier.VisualStudio/CONTRIBUTING.md @@ -0,0 +1,11 @@ +Local Testing +- I have run into cases of the extension not working. Uninstalling both csharpier and +csharpier 2019 from the test instance and restarting seems to fix it. Maybe it happens because both seem to +to installed? + +Publishing +- Update version in BOTH files at CSharpier.VisualStudio[2019]/source.extension.vsixmanifest +- build solution in release (can this happen via command line?) +- go to https://marketplace.visualstudio.com/manage/publishers/csharpier (with personal microsoft account) +- three dots - edit - add new vsix +- Automate this if we release a lot diff --git a/Src/CSharpier.VisualStudio/CSharpier.VisualStudio/source.extension.vsixmanifest b/Src/CSharpier.VisualStudio/CSharpier.VisualStudio/source.extension.vsixmanifest index 728118a47..351123a4a 100644 --- a/Src/CSharpier.VisualStudio/CSharpier.VisualStudio/source.extension.vsixmanifest +++ b/Src/CSharpier.VisualStudio/CSharpier.VisualStudio/source.extension.vsixmanifest @@ -1,7 +1,7 @@ - + CSharpier CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules. https://github.com/belav/csharpier diff --git a/Src/CSharpier.VisualStudio/CSharpier.VisualStudio2019/source.extension.vsixmanifest b/Src/CSharpier.VisualStudio/CSharpier.VisualStudio2019/source.extension.vsixmanifest index 8d6765b5b..e1504cf98 100644 --- a/Src/CSharpier.VisualStudio/CSharpier.VisualStudio2019/source.extension.vsixmanifest +++ b/Src/CSharpier.VisualStudio/CSharpier.VisualStudio2019/source.extension.vsixmanifest @@ -1,7 +1,7 @@ - + CSharpier 2019 CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules. https://github.com/belav/csharpier