Releases: dangmai/prettier-plugin-apex
Releases · dangmai/prettier-plugin-apex
v1.6.0
- Handle new jorje structure for types in enhanced for loops.
- Clearer error message when failing to connect to standalone Apex parser server (issue).
- Handle SOQL Select Distance Expression (issue).
- Use alignment instead of indentation to provide clarity for ternary expressions (issue).
- Use uppercase TRUE, FALSE, NULL in SOQL expressions (issue).
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
Dependency Changes
- Prettier >= 1.19 is now required to be used with this plugin,
in order to support new option typestring
.
CLI Changes
- Add option
apexStandaloneHost
, default tolocalhost
.
Formatting Changes
v1.0.0
At long last, v1.0.0
has been released! It takes more than a year to go from scratch to here, and it wouldn't have been possible without the help from all the contributors (ideas/bug reports/pull requests are all appreciated), so thank you all!
API Changes
- Remove
--apex-anonymous
option, useapex-anonymous
parser instead (issue).
Formatting Changes
- By default, add curly bracket spacing for maps, lists and sets (issue).
- Fix extraneous linebreaks being added after
this
variable expression (issue). - Fix wrong comment position in a long method/variable chain (issue).
- Fix extraneous linebreaks for empty parameter list in long method declarations (issue).
- Fix SOQL query numbers losing negative value (issue).
- Fix method call expressions containing
this
andsuper
having an extra indentation level. - Fix trailing comment wrong location after last element in list/set/map init literals (issue).
v1.0.0-rc.6
One last rc before 1.0.0
!
- Fix incorrect format for decimals/doubles (issue).
- Add support for Number Expression in SOQL Geolocation Literal (issue).
- Fix duplicated trailing empty lines for multiple expressions on the same line (issue).
- Fix expressions in Name Value Parameters not being indented (issue).
- Fix SOQL queries in binaryish expressions having extraneous indentations (issue).
- Fix SOQL query number being printed as different types (
big-decimal
toint
) in certain situations.
v1.0.0-rc.5
v1.0.0-rc.4
- Add support for AnnotationString (issue).