github-actions
released this
27 Dec 18:47
·
12 commits
to refs/heads/main
since this release
Features
- FormatOps: use
exemptScope = notAssign
(#4696) @kitbellew - ScalafmtConfig: make format-on/off configurable (#4679) @kitbellew
- Router: add rules for new
given
syntax (#4656) @kitbellew - Config: add
configStyle.bracket{Call,Defn}Site
(#4627) @kitbellew
Configuration changes
With recent changes to metaconfig, some parameters or sections in configuration have been moved:
- OptIn: move annotation params to Newlines (#4686) @kitbellew
- ScalafmtConfig: combine all selectChains params (#4684) @kitbellew
- Newlines: move poorMansTrailingCommasInConfigStyle (#4685) @kitbellew
- ScalafmtConfig: move importSelectors to
binPack
(#4683) @kitbellew - ScalafmtConfig: more
rewriteTokens
torewrite
(#4682) @kitbellew - ScalafmtConfig: move indent params to
.indent.
(#4681) @kitbellew - Config: use SectionRename for renamed sections (#4625) @kitbellew
RedundantBraces improvements
- RedundantBraces: {} or () for any one-stat apply (#4636) @kitbellew
- FormatTokens: ignore additional tokens for span (#4670) @kitbellew
- FormatTokens: add a third way to compute offset (#4668) @kitbellew
- RedundantBraces: improve check around infix (#4677) @kitbellew
- RedundantBraces: remove block within parens (#4669) @kitbellew
- RedundantBraces: remove func body braces in parens (#4667) @kitbellew
- RedundantBraces: replace
(
with{
more often (#4665) @kitbellew - RedundantBraces: remove braces in block in parens (#4664) @kitbellew
- RedundantBraces: remove inner braces in argclause (#4663) @kitbellew
- RedundantBraces: move methods to companion (#4662) @kitbellew
- RedundantBraces: improve check stat OK in parens (#4658) @kitbellew
- RedundantBraces: replace
(
with nested-func{
(#4642) @kitbellew - RedundantBraces: refactor replacing
)
with}
(#4634) @kitbellew - RedundantBraces: remove right if left is removed (#4635) @kitbellew
- RedundantBraces: check
}
removal consistently (#4633) @kitbellew
Policy and BestFirstSearch improvements
- Policy: add methods
asAfter
andasUntil
(#4652) @kitbellew - Policy: add terminal, use in BestFirstSearch (#4661) @kitbellew
- Policy: re-order, group fields consistently (#4660) @kitbellew
- Policy: restore implicit FileLine in Clause (#4659) @kitbellew
- Policy: define
appliesOn
method (#4653) @kitbellew - BestFirstSearch: memorize SLB states separately (#4650) @kitbellew
- Policy: add maxEndPos (#4651) @kitbellew
- Policy: remove Proxy as unused (#4649) @kitbellew
- Policy: extract WithBeforeAfter for Relay, Switch (#4647) @kitbellew
- Policy: extract expire from Clause, use Expire (#4646) @kitbellew
- Policy: remove
Policy.
prefix withinPolicy
(#4644) @kitbellew - Policy: remove implicit FileLine from Relay (#4643) @kitbellew
- Router: remove redundant check in braces-to-parens (#4641) @kitbellew
Bug fixes
- SBT: use a compatible architecture in native image (#4676) @kitbellew
- RewriteTrailingCommas: remove for any close delim (#4675) @kitbellew
- FormatOps: in nested opens, check args in parens (#4673) @kitbellew
- FormatOps: allow blank around infix if in parens (#4671) @kitbellew
- RedundantParens: keep parens in
given
infix type (#4657) @kitbellew - Router: in startsInfix, always check for LHS (#4639) @kitbellew
- FormatOps: strip removed blocks from only arg (#4640) @kitbellew
- OptimizationEntities: clause rewritten w/ braces (#4638) @kitbellew
- Router: strip removed blocks from
onlyArgument
(#4632) @kitbellew - FormatOps: check for removed braces around block (#4631) @kitbellew
- FormatOps: match lambda skipping empty blocks (#4628) @kitbellew
- Router: for/infix before select like fewer-braces (#4618) @kitbellew
Miscellaneous
- FormatOps: simplify logic to skip infix indent (#4695) @kitbellew
- Use .isAny instead of multiple .is (#4688) @kitbellew
- FormatWriter: cosmetic, extract
ltext
(#4680) @kitbellew - CommunityTest: re-enable fold-rewrites in scalajs (#4678) @kitbellew
- RedundantParens: move breakBeforeOp to companion (#4672) @kitbellew
- LoggerOps: in
xxxTree
, default tonoStructure
(#4637) @kitbellew - Router: remove weird case of single enclosed arg (#4629) @kitbellew
- LoggerOps: optionally log without structure (#4630) @kitbellew
- Issue template: direct parsing issues to scalameta (#4622) @kitbellew
- Use wildcard imports for metaconfig (and others) (#4624) @kitbellew
- GitOpsTest: add implicit location, shown with fail (#4607) @kitbellew
- Scalafmt: expand Error.WithCode in external format (#4609) @kitbellew
- Router: refactor handling fewer braces in select (#4617) @kitbellew
Build and dependency updates
- Update munit, munit-diff to 1.0.3 (#4694) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.7 (#4693) @scalameta-bot
- Update scala-parallel-collections to 1.1.0 (#4692) @scalameta-bot
- Update jline to 3.28.0 (#4691) @scalameta-bot
- Update interface to 1.0.26 (#4690) @scalameta-bot
- Update sbt-ci-release to 1.9.2 (#4689) @scalameta-bot
- Scalameta: upgrade to v4.12.3 (#4687) @kitbellew
- Scalameta: upgrade to v4.12.2 (#4655) @kitbellew
- Scalameta: upgrade to v4.12.1 (#4626) @kitbellew
- Upgrade to metaconfig-0.14.0, mdoc-2.6.2 (#4623) @kitbellew
- SBT: get mdoc version from its plugin (#4616) @kitbellew
- SBT: cosmetic, re-group and re-format plugins (#4615) @kitbellew
- Formatting: enable all redundantXxx parameters (#4610) @kitbellew
- Formatting: update version to v3.8.4-RC3 (#4608) @kitbellew