- fix: windows support
- fix: regression in nested swift projects #29
- fix: respect nested swift projects #26
- fix: prefix absolute paths correctly on windows #21 @hf02
- fix: join paths correctly on windows #21
- fix: ignore some pipe errors we cannot do anything about
- fix: re-release
- fix: improved error message when swiftformat is missing
- docs: clarified
swiftformat.options
#17 - Added:
swiftformat.path
can now be an array of strings and defaults to[/usr/bin/env, swiftformat]
#17
- fix: on Linux, must also be linked
- Added: build SwiftFormat if needed
- Added:
swiftformat.onlyEnableWithConfig
to only enable SwiftFormat with a config #20 - Fixed:
swiftformat.onlyEnableOnSwiftPMProjects
didn't work correctly
- Fixed:
vsce publish
didn't rebuild the extension #19
- Fixed: accidentially always added
--header "// Created {created}"
#19
- Fixed: failed to apply
--header
option #18
- CVE-2021-28791: Fixes vulnerability which allowed malicous workspaces to execute code when opened by providing. Now the vulnerable configs cannot be overrided in workspaces anymore:
swiftformat.path
. Reported by @Ry0taK.
- Fixed:
swiftformat.options
were not always respected vknabel/vscode-swiftlint#14 - @vknabel
- Fixed:
configSearchPaths
did not support~
vknabel/vscode-swiftlint#8 - @vknabel
- End of newline was always stripped. #13 - @vknabel
- Removed missing linux support warning as it is officially supported now. #9 - thanks to @cgarciae
- Formatting new files lead to an error. #6 - @vknabel
- Automatically load SwiftFormat config files. #5 - @vknabel
- Documents not opened in workspaces lead to a crash. #3 - @vknabel
- Missing
break
within switch statement lead to reporting explicitly handled issues #4 - @vknabel
- Prefers release over debug builds of SwiftFormat - @segiddins
- Supports running on Swift PM projects which have a dependency on SwiftFormat - @orta
- Did print help when formatting empty document.
- Format selection did not work correctly.
- Had wrong issue reporting url.
- SwiftFormat now supports home directories with
~/
- SwiftFormat will now use vscode's indentation settings.
- Unknown errors can now be reported on GitHub.
- Initial release