Repository navigation
v1.1.1 — Comment preservation and reliability fixes #14
ericodx
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Patch release fixing how
fixhandles comments and line layout when members move, and a hang when the CLI runs from a deleted directory.What's changed
Comments stay with their members (#12)
fixtreated its leading comments as belonging to the position instead of the member. Comments could be lost, attached to the wrong member, or moved onto another member. This affected//comments,// MARK:sections and///doc commentsfixno longer inserts a blank line right after the opening{when the first member changescheckwas not affected; onlyfixrewrote triviaLine layout when reordering
{{now moves onto its own line, indented like the other membersMembers sharing a line
struct Foo { func a() {}; init() {} }is now rewritten tostruct Foo { init() {}; func a() {}; }, with a;added where Swift requires oneRunning from a deleted directory
checkandfixno longer hang when the current directory has been deleted, for example after switching branches or removing the directory from another terminal. The configuration search now always terminates, and the default configuration is usedinitfails with a clear error instead of trying to write/.swift-marshal.yamlTests and tooling
BUILDING.mdwith instructions to build, test, and run the project locallyRequirements
Installation
See the Installation Guide for Homebrew, pre-built binary, build from source, SPM plugin, and pre-commit hook setup.
What's Changed
Full Changelog: v1.1.0...v1.1.1
This discussion was created from the release v1.1.1 — Comment preservation and reliability fixes.
All reactions