rfbeam 0.5.1 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/.pre-commit-config.yaml +8 -0
  3. data/.tool-versions +1 -1
  4. data/CHANGELOG.md +39 -46
  5. data/Gemfile +10 -7
  6. data/Gemfile.lock +47 -44
  7. data/README.md +71 -113
  8. data/Rakefile +5 -9
  9. data/cliff.toml +74 -0
  10. data/cog.toml +7 -3
  11. data/exe/rfbeam +0 -1
  12. data/lib/rfbeam/cli.rb +37 -29
  13. data/lib/rfbeam/kld7/constants.rb +5 -4
  14. data/lib/rfbeam/kld7/detection_params.rb +149 -0
  15. data/lib/rfbeam/kld7/module_params.rb +96 -0
  16. data/lib/rfbeam/kld7/operation_params.rb +162 -0
  17. data/lib/rfbeam/kld7/radar_messages.rb +23 -39
  18. data/lib/rfbeam/kld7/serial_connection.rb +13 -14
  19. data/lib/rfbeam/kld7/streamer.rb +15 -14
  20. data/lib/rfbeam/version.rb +1 -1
  21. data/lib/rfbeam.rb +8 -7
  22. data/output.csv +257 -0
  23. data/rfbeam.gemspec +3 -8
  24. data/yarn.lock +221 -12
  25. metadata +12 -167
  26. data/.rubocop.yml +0 -25
  27. data/.streerc~1f4cd14e3c0a9afdf972aa5f3982d36a89869b72 +0 -2
  28. data/lib/rfbeam/kld7/cli_formatter.rb +0 -61
  29. data/lib/rfbeam/kld7/cli_output.rb +0 -141
  30. data/lib/rfbeam/kld7/radar_parameters.rb +0 -441
  31. data/node_modules/.bin/prettier +0 -1
  32. data/node_modules/.yarn-integrity +0 -19
  33. data/node_modules/@prettier/plugin-ruby/CHANGELOG.md +0 -1351
  34. data/node_modules/@prettier/plugin-ruby/CODE_OF_CONDUCT.md +0 -76
  35. data/node_modules/@prettier/plugin-ruby/CONTRIBUTING.md +0 -185
  36. data/node_modules/@prettier/plugin-ruby/LICENSE +0 -21
  37. data/node_modules/@prettier/plugin-ruby/README.md +0 -226
  38. data/node_modules/@prettier/plugin-ruby/docs/logo.png +0 -0
  39. data/node_modules/@prettier/plugin-ruby/node_modules/.bin/prettier +0 -1
  40. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/LICENSE +0 -5945
  41. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/README.md +0 -109
  42. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/bin-prettier.js +0 -62
  43. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/cli.js +0 -15136
  44. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/doc.js +0 -1473
  45. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-angular.mjs +0 -2
  46. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-babel.mjs +0 -29
  47. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-espree.mjs +0 -26
  48. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-flow.mjs +0 -35
  49. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-glimmer.mjs +0 -27
  50. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-graphql.mjs +0 -15
  51. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-html.mjs +0 -36
  52. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-markdown.mjs +0 -76
  53. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-meriyah.mjs +0 -19
  54. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-postcss.mjs +0 -76
  55. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-typescript.mjs +0 -257
  56. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-yaml.mjs +0 -150
  57. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/standalone.mjs +0 -116
  58. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/index.js +0 -37885
  59. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/package.json +0 -21
  60. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-angular.js +0 -2
  61. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-babel.js +0 -29
  62. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-espree.js +0 -26
  63. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-flow.js +0 -35
  64. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-glimmer.js +0 -27
  65. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-graphql.js +0 -15
  66. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-html.js +0 -36
  67. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-markdown.js +0 -76
  68. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-meriyah.js +0 -19
  69. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-postcss.js +0 -76
  70. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-typescript.js +0 -257
  71. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-yaml.js +0 -150
  72. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/standalone.js +0 -116
  73. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/third-party.js +0 -8978
  74. data/node_modules/@prettier/plugin-ruby/package.json +0 -64
  75. data/node_modules/@prettier/plugin-ruby/prettier.gemspec +0 -36
  76. data/node_modules/@prettier/plugin-ruby/rubocop.yml +0 -64
  77. data/node_modules/@prettier/plugin-ruby/src/getInfo.js +0 -23
  78. data/node_modules/@prettier/plugin-ruby/src/netcat.js +0 -13
  79. data/node_modules/@prettier/plugin-ruby/src/parseSync.js +0 -236
  80. data/node_modules/@prettier/plugin-ruby/src/plugin.js +0 -172
  81. data/node_modules/@prettier/plugin-ruby/src/server.rb +0 -199
  82. data/node_modules/prettier/LICENSE +0 -5970
  83. data/node_modules/prettier/README.md +0 -109
  84. data/node_modules/prettier/bin-prettier.js +0 -64
  85. data/node_modules/prettier/cli.js +0 -15364
  86. data/node_modules/prettier/doc.js +0 -1473
  87. data/node_modules/prettier/esm/parser-angular.mjs +0 -2
  88. data/node_modules/prettier/esm/parser-babel.mjs +0 -29
  89. data/node_modules/prettier/esm/parser-espree.mjs +0 -26
  90. data/node_modules/prettier/esm/parser-flow.mjs +0 -35
  91. data/node_modules/prettier/esm/parser-glimmer.mjs +0 -27
  92. data/node_modules/prettier/esm/parser-graphql.mjs +0 -15
  93. data/node_modules/prettier/esm/parser-html.mjs +0 -36
  94. data/node_modules/prettier/esm/parser-markdown.mjs +0 -76
  95. data/node_modules/prettier/esm/parser-meriyah.mjs +0 -19
  96. data/node_modules/prettier/esm/parser-postcss.mjs +0 -76
  97. data/node_modules/prettier/esm/parser-typescript.mjs +0 -49
  98. data/node_modules/prettier/esm/parser-yaml.mjs +0 -150
  99. data/node_modules/prettier/esm/standalone.mjs +0 -116
  100. data/node_modules/prettier/index.js +0 -38236
  101. data/node_modules/prettier/package.json +0 -21
  102. data/node_modules/prettier/parser-angular.js +0 -2
  103. data/node_modules/prettier/parser-babel.js +0 -29
  104. data/node_modules/prettier/parser-espree.js +0 -26
  105. data/node_modules/prettier/parser-flow.js +0 -35
  106. data/node_modules/prettier/parser-glimmer.js +0 -27
  107. data/node_modules/prettier/parser-graphql.js +0 -15
  108. data/node_modules/prettier/parser-html.js +0 -36
  109. data/node_modules/prettier/parser-markdown.js +0 -76
  110. data/node_modules/prettier/parser-meriyah.js +0 -19
  111. data/node_modules/prettier/parser-postcss.js +0 -76
  112. data/node_modules/prettier/parser-typescript.js +0 -49
  113. data/node_modules/prettier/parser-yaml.js +0 -150
  114. data/node_modules/prettier/standalone.js +0 -116
  115. data/node_modules/prettier/third-party.js +0 -8978
  116. data/package.json +0 -6
@@ -1,1351 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
-
7
- ## [Unreleased]
8
-
9
- ## [3.2.2] - 2022-09-20
10
-
11
- ### Changed
12
-
13
- - [#1276](https://github.com/prettier/plugin-ruby/pull/1276) - kddnewton - Fix the parsing for options being passed to the server process.
14
-
15
- ## [3.2.1] - 2022-09-19
16
-
17
- ### Changed
18
-
19
- - [#1274](https://github.com/prettier/plugin-ruby/pull/1274) - kddnewton - Support the next version of `syntax_tree-haml`.
20
-
21
- ## [3.2.0] - 2022-07-22
22
-
23
- ### Added
24
-
25
- - [#1250](https://github.com/prettier/plugin-ruby/issues/1250) - alexf101, kddnewton - Respect the `tabWidth` option.
26
-
27
- ### Changed
28
-
29
- - [#1255](https://github.com/prettier/plugin-ruby/pull/1255) - soberstadt - The rake task now runs check if write is false.
30
- - [#1237](https://github.com/prettier/plugin-ruby/issues/1237) - boris-petrov - Disable the style rules associated with quotes.
31
- - [#1248](https://github.com/prettier/plugin-ruby/pull/1248) - mhssmnn - Fix process waiting on STDIN.
32
-
33
- ## [3.1.2] - 2022-05-13
34
-
35
- ### Changed
36
-
37
- - [#1127](https://github.com/prettier/plugin-ruby/issues/1227) - mscrivo, kddnewton - Support passing the `printWidth` option.
38
-
39
- ## [3.1.1] - 2022-05-12
40
-
41
- ### Changed
42
-
43
- - [#1125](https://github.com/prettier/plugin-ruby/pull/1225) - kddnewton - Update the bundled rubocop config to be in sync with Syntax Tree.
44
-
45
- ## [3.1.0] - 2022-05-12
46
-
47
- ### Added
48
-
49
- - [#1224](https://github.com/prettier/plugin-ruby/pull/1224) - kddnewton - Support passing the `rubyPlugins` option to configure Syntax Tree.
50
-
51
- ## [3.0.0] - 2022-05-04
52
-
53
- ### Added
54
-
55
- - [#1190](https://github.com/prettier/plugin-ruby/pull/1190) - kddnewton - Encoding for source files is now guessed in a much better way.
56
-
57
- ### Changed
58
-
59
- - [#1198](https://github.com/prettier/plugin-ruby/issues/1198) - pas-f, kddnewton - Fix crashes on JRuby with do blocks.
60
- - [#1131](https://github.com/prettier/plugin-ruby/issues/1131) - hyrious, kddnewton - Ensure zombie processes are not left around when the server exits.
61
- - [#1206](https://github.com/prettier/plugin-ruby/pull/1206) - kddnewton - Switch back to plain JavaScript for development.
62
- - [#1190](https://github.com/prettier/plugin-ruby/pull/1190) - kddnewton - Switch over to using Syntax Tree for the backend.
63
-
64
- ### Removed
65
-
66
- - [#1190](https://github.com/prettier/plugin-ruby/pull/1190) - kddnewton - The configuration options have been removed. Instead, configuration is to be done through modifying Syntax Tree.
67
-
68
- ## [2.1.0] - 2022-04-04
69
-
70
- ### Added
71
-
72
- - [#1065](https://github.com/prettier/plugin-ruby/issues/1065) - langalex, kddnewton - The ability to set the `PRETTIER_RUBY_TIMEOUT_MS` environment variable to control how long to wait for the parser server to spin up.
73
- - [#1173](https://github.com/prettier/plugin-ruby/pull/1173) - dleavitt - Support for RBS 2.x on Ruby 3.1.
74
-
75
- ### Changed
76
-
77
- - [#1028](https://github.com/prettier/plugin-ruby/issues/1028) - levymetal, kddnewton - Fix up some nested formatting with very complicated RSpec assertions.
78
- - [#1035](https://github.com/prettier/plugin-ruby/issues/1035) - qcn, kddnewton - Ensure we don't try to print `return` incorrectly when multiple statements are contained within parentheses.
79
- - [#1048](https://github.com/prettier/plugin-ruby/pull/1048) - kddnewton - Completely refactor the Ruby parser to use classes instead of hashes. Also remove a lot of the `body` keys are replace them with actual names.
80
- - [#1042](https://github.com/prettier/plugin-ruby/issues/1042) - JoshuaKGoldberg, kddnewton - Ensure blocks are printed correctly when there are trailing comments on the `do` keyword.
81
- - [#1134](https://github.com/prettier/plugin-ruby/pull/1134) - mhssmnn - Fix piping for STDIN to the gem process.
82
- - [#1167](https://github.com/prettier/plugin-ruby/pull/1167) - dleavitt - More consistent assignment indentation.
83
- - [#1074](https://github.com/prettier/plugin-ruby/issues/1074) - wagenet, kddnewton - Fix up `return` when nodes return arrays of docs.
84
-
85
- ### Removed
86
-
87
- - [#1048](https://github.com/prettier/plugin-ruby/pull/1048) - kddnewton - Drop support for Ruby 2.5.
88
-
89
- ## [2.0.0] - 2021-10-28
90
-
91
- ### Changed
92
-
93
- - [#1018](https://github.com/prettier/plugin-ruby/issues/1018) - rindek, kddnewton - Ensure brackets are used when matching an array pattern with a single element.
94
- - [#906](https://github.com/prettier/plugin-ruby/issues/906) - Hansenq, kddnewton - Turn off the `Style/MultilineBlockChain` rubocop rule in our shipped configuration because multiple chained method calls with blocks can potentially conflict with rubocop's desired output.
95
-
96
- ## [2.0.0-rc4] - 2021-10-18
97
-
98
- ### Added
99
-
100
- - [#993](https://github.com/prettier/plugin-ruby/pull/993) - kddnewton - Nicer error message if you don't have the necessary JavaScript files to run prettier.
101
- - [#996](https://github.com/prettier/plugin-ruby/pull/996) - nbudin - Allow `@prettier/plugin-ruby` to run in yarn's plug'n'play mode.
102
-
103
- ### Changed
104
-
105
- - [#1000](https://github.com/prettier/plugin-ruby/pull/1000) - nbudin, kddnewton - Fix for rescuing single top-level exceptions in `rescue` clauses.
106
-
107
- ## [2.0.0-rc3] - 2021-10-01
108
-
109
- ### Changed
110
-
111
- - [#987](https://github.com/prettier/plugin-ruby/pull/9870) - valscion - Ignore stderr when checking for node <-> ruby connection clients, restoring the behavior of v1.x
112
- - [#989](https://github.com/prettier/plugin-ruby/issues/989) - hubertjakubiak, kddnewton - Make sure comments after the keyword/lbrace are not moved inside the body of the statements of do and brace blocks.
113
-
114
- ## [2.0.0-rc2] - 2021-09-30
115
-
116
- ### Added
117
-
118
- - [#979](https://github.com/prettier/plugin-ruby/issues/979) - ronocod, kddnewton - Alignment of `to_not` is explicitly allowed to not indent to better support rspec.
119
- - [#894](https://github.com/prettier/plugin-ruby/issues/894) - mister-what, kddnewton - Add a warning that this plugin will not function with the plug'n'play filesystem provided by yarn berry.
120
-
121
- ### Changed
122
-
123
- - [#943](https://github.com/prettier/plugin-ruby/issues/943) - valscion, kddnewton - Trailing call operators that are followed by comments should stay on the first line.
124
-
125
- ## [2.0.0-rc1] - 2021-09-30
126
-
127
- ### Added
128
-
129
- - [#949](https://github.com/prettier/plugin-ruby/pull/949) - kddnewton - Converted over to using TypeScript for development.
130
-
131
- ### Changed
132
-
133
- - [#958](https://github.com/prettier/plugin-ruby/issues/958) - mharris-figma, kddnewton - Handle optional `do` keyword in `for` loop expressions.
134
- - [#926](https://github.com/prettier/plugin-ruby/issues/926) - jscheid, kddnewton - Better error handling in case certain expected keywords or operators are missing.
135
- - [#819](https://github.com/prettier/plugin-ruby/issues/819) - coisnepe, kddnewton - Ensure that comments placed immediately after the left parenthesis of a method definition are not moved into the body of the methods.
136
- - [#957](https://github.com/prettier/plugin-ruby/issues/957) - azz, kddnewton - Make it so that the format pragma does not have to be on the first line of the file.
137
- - [#895](https://github.com/prettier/plugin-ruby/issues/895) - rsslldnphy, kddnewton - Ensure quotes are properly escaped in the content of a hash value for HAML attributes.
138
- - [#900](https://github.com/prettier/plugin-ruby/issues/900) - rsslldnphy, kddnewton - Ensure that in a HAML line where you have interpolation inside of a tag content that you print it properly.
139
- - [#929](https://github.com/prettier/plugin-ruby/issues/929) - ryanb, kddnewton - Deeply nested blocks should not break their call chains.
140
- - [#935](https://github.com/prettier/plugin-ruby/pull/935) - nbudin, mlauter - Ensure embedded formatting heredocs are properly indented.
141
- - [#975](https://github.com/prettier/plugin-ruby/pull/975) - kddnewton - Refactor the way we determine how to connect to the parser server.
142
-
143
- ### Removed
144
-
145
- - [#976](https://github.com/prettier/plugin-ruby/pull/976) - kddnewton - Remove the `rubyNetcatCommand` option, as it should no longer be necessary.
146
-
147
- ## [1.6.1] - 2021-06-30
148
-
149
- ### Changed
150
-
151
- - [#862](https://github.com/prettier/plugin-ruby/issues/862) - azz, kddnewton - Group together `.where.not` calls in method chains.
152
- - [#863](https://github.com/prettier/plugin-ruby/issues/863) - azz, kddnewton - Fix up Sorbet `sig` block formatting when chaining method calls.
153
- - [#908](https://github.com/prettier/plugin-ruby/issues/908) - Hansenq, kddnewton - Method chains with blocks should be properly indented.
154
- - [#916](https://github.com/prettier/plugin-ruby/issues/916) - pbrisbin, kddnewton - Ensure all of the necessary files are present in the gem.
155
- - [#917](https://github.com/prettier/plugin-ruby/issues/917) - jscheid, kddnewton - Ensure hash keys with dynamic symbols don't strip their quotes.
156
-
157
- ## [1.6.0] - 2021-06-23
158
-
159
- ### Added
160
-
161
- - [#859](https://github.com/prettier/plugin-ruby/issues/859) - azz, kddnewton - Support the `--insert-pragma` option for the incremental adoption workflow.
162
- - [#904](https://github.com/prettier/plugin-ruby/issues/904) - Hansenq, kddnewton - Support the `%s` symbol literal syntax.
163
- - [#833](https://github.com/prettier/plugin-ruby/issues/883) - kddnewton - Support for prettier >= v2.3.0.
164
-
165
- ### Changed
166
-
167
- - [#854](https://github.com/prettier/plugin-ruby/issues/854) - jflinter, kddnewton - Parentheses should not be stripped from optional RBS union types.
168
- - [#888](https://github.com/prettier/plugin-ruby/issues/888) - MaxNotarangelo, kddnewton - Ensure parentheses wrap conditionals that get transformed into the modifier form when they're used within a binary node.
169
- - [#874](https://github.com/prettier/plugin-ruby/issues/874) - yratanov, kddnewton - Ensure that method calls chained onto the ends of blocks still print their arguments.
170
- - [#897](https://github.com/prettier/plugin-ruby/pull/897) - Hansenq - Reenable the `Layout/LineLength` rubocop rule in our shipped config so that line lengths for other cops are calculated correctly.
171
-
172
- ## [1.5.5] - 2021-03-25
173
-
174
- ### Changed
175
-
176
- - [#841](https://github.com/prettier/plugin-ruby/issues/841) - LoganBarnett, kddnewton - Better error messaging for when unix sockets are not supported by netcat.
177
- - [#844](https://github.com/prettier/plugin-ruby/issues/844) - andyw8, kddnewton - Ensure we ship all of the parsers with the prettier gem so that `rbprettier` can parse other languages as well.
178
- - [#847](https://github.com/prettier/plugin-ruby/issues/847) - jflinter, kddnewton - Ensure parentheses are present on union return types in RBS.
179
- - [#850](https://github.com/prettier/plugin-ruby/issues/850) - maethub, kddnewton - Ensure double quotes are used even when single quotes are requested for HAML attribute values.
180
- - [#849](https://github.com/prettier/plugin-ruby/issues/849) - indirect, kddnewton - Support HAML version <= 5.1 multi-line attributes.
181
- - [#810](https://github.com/prettier/plugin-ruby/issues/810) - valscion, kddnewton - Make it so that brace blocks containing heredocs have the correct end line so that they format subsequent statements correctly.
182
-
183
- ## [1.5.4] - 2021-03-17
184
-
185
- ### Changed
186
-
187
- - [#835](https://github.com/prettier/plugin-ruby/issues/835) - valscion, kddnewton - Array splat operator should not get moved by leading comments.
188
- - [#836](https://github.com/prettier/plugin-ruby/issues/836) - valscion, kddnewton - Array splat operator should not get moved by trailing comments.
189
- - [#821](https://github.com/prettier/plugin-ruby/issues/821) - jscheid, kddnewton - Better error handling when using GNU netcat.
190
-
191
- ## [1.5.3] - 2021-02-28
192
-
193
- ### Changed
194
-
195
- - [#812](https://github.com/prettier/plugin-ruby/issues/812) - valscion, kddnewton - Splats and blocks within args that have comments attached should place their respective operators in the right place.
196
- - [#816](https://github.com/prettier/plugin-ruby/pull/816) - valscion - Document RuboCop's Style/Lambda should be disabled
197
- - [#814](https://github.com/prettier/plugin-ruby/issues/814) - jscheid, kddnewton - Provide better errors when the source location of the error is known.
198
-
199
- ## [1.5.2] - 2021-02-03
200
-
201
- ### Changed
202
-
203
- - kddnewton - Fix up `binary` node comparison operators so that it will handle either Symbol literals or the `@op` nodes which are incorrectly coming from JRuby (https://github.com/jruby/jruby/issues/6548).
204
-
205
- ## [1.5.1] - 2021-01-27
206
-
207
- ### Changed
208
-
209
- - [#799](https://github.com/prettier/plugin-ruby/issues/799) - jscheid, kddnewton - Multi-byte characters shouldn't give invalid source string bounds.
210
- - [#801](https://github.com/prettier/plugin-ruby/issues/801) - jscheid, kddnewton - When converting a conditional to the modifier form, make sure to add parentheses if there is a chained method call.
211
- - [#803](https://github.com/prettier/plugin-ruby/issues/803) - jscheid, kddnewton - Fix `formatWithCursor` support to match new parser format.
212
-
213
- ## [1.5.0] - 2021-01-21
214
-
215
- ### Added
216
-
217
- - kddnewton - Add `.rbi` as a file type that we support.
218
-
219
- ### Changed
220
-
221
- - [#795](https://github.com/prettier/plugin-ruby/issues/795) djrodgerspryor, kddnewton - Trailing comments attached to empty arrays should not multiply.
222
- - [#794](https://github.com/prettier/plugin-ruby/issues/794) djrodgerspryor, kddnewton - Fix embedded parser parsing by stripping common leading whitespace before passing on the content.
223
- - [#793](https://github.com/prettier/plugin-ruby/issues/793) djrodgerspryor, kddnewton - Do not include trailing commas on arguments within `arg_paren` nodes if they could not be parsed with them (`command` and `command_call`).
224
- - [#788](https://github.com/prettier/plugin-ruby/issues/788) clarkdave, kddnewton - Break child hashes within a multi-line hash regardless of whether or not they can fit on one line.
225
- - kddnewton - Stop using `;` to separate empty class definitions, module definitions, and loops.
226
-
227
- ## [1.4.0] - 2021-01-15
228
-
229
- ### Added
230
-
231
- - ianks, kddnewton - Use `netcat` to communicate to a parser server for better performance when formatting multiple files.
232
-
233
- ### Changed
234
-
235
- - jeffcarbs, kddnewton - Long strings with interpolated expressions should only break if the contents in the original source is broken.
236
- - johannesluedke, kddnewton - Fix for rescues with inline comments.
237
- - johncsnyder, kddnewton - Comments should not attach to nodes beyond a double newline.
238
- - blampe, kddnewton - Comments inside of a broken method chain get dropped.
239
- - clarkdave, kddnewton - Don't ignore Sorbet `sig` transformations.
240
-
241
- ## [1.3.0] - 2021-01-05
242
-
243
- ### Added
244
-
245
- - kddnewton - Handling of the RBS language.
246
- - kddnewton - Incorporate the HAML plugin.
247
-
248
- ## [1.2.5] - 2021-01-04
249
-
250
- ### Changed
251
-
252
- - nruth, kddnewton - Ensure unary operators on method calls that are sending operators get the correct scanner events.
253
- - cvoege, kddnewton - Do not add parentheses when they're not needed to non-breaking command_calls with ternary arguments.
254
- - valscion, kddnewton - Print method chains more nicely off array and hash literals.
255
-
256
- ## [1.2.4] - 2021-01-03
257
-
258
- ### Added
259
-
260
- - andyw8 - Explain usage with Rubocop, as well as shipping a rubocop.yml config.
261
-
262
- ### Changed
263
-
264
- - kddnewton - Reduce JSON size passing from Ruby process to node process by changing `char_start` -> `sc`, `char_end` -> `ec`, `start` -> `sl`, `end` -> `el`.
265
- - kddnewton - Up the max buffer size between the Ruby and node processes to 15K.
266
-
267
- ## [1.2.3] - 2021-01-02
268
-
269
- ### Changed
270
-
271
- - lukyth, kddnewton - Ensure if a ternary breaks into an `if..else..end` within a `command_call` node that parentheses are added.
272
- - AlanFoster, kddnewton - Ensure you consume the optional `do` keyword on `while` and `until` loops so that it doesn't confuse the parser.
273
- - AlanFoster, kddnewton - Ensure key-value pairs split on line when the key has a comment attached within a hash.
274
- - AlanFoster, kddnewton - Fix for `for` loops that have multiple index variables.
275
- - AlanFoster, kddnewton - Fix parsing very large files by reducing the size of the JSON output from the parser.
276
- - AlanFoster, kddnewton - Ensure you don't skip parentheses if you're returning a value with the `not` unary operator.
277
-
278
- ## [1.2.2] - 2021-01-01
279
-
280
- ### Changed
281
-
282
- - nathan-beam - Gem does not work with CMD/Powershell.
283
- - blampe, kddnewton - Comments inside keyword parameters in method declarations are not printed.
284
- - blampe, kddnewton - `command_call` nodes with unary operators incorrectly parse their operator.
285
- - blampe, kddnewton - Returning multiple values where the first has parentheses was incorrectly removing the remaining values.
286
- - johncsnyder, kddnewton - Call chains whose left-most receiver is a no-indent expression should not indent their entire chain.
287
-
288
- ## [1.2.1] - 2020-12-27
289
-
290
- ### Changed
291
-
292
- - kddnewton - Handle single-line method definitions with parameters.
293
- - kddnewton - Handle hash and array patterns nested within find patterns.
294
- - kddnewton - Handle rightward assignment.
295
- - kddnewton - Handle find patterns with named boundaries.
296
- - kddnewton - Handle rightward assignment in conditionals.
297
-
298
- ## [1.2.0] - 2020-12-26
299
-
300
- ### Added
301
-
302
- - kddnewton - Support for the `fndptn` node for Ruby 3.0 pattern matching.
303
- - kddnewton - Support for Ruby 3.0+ single-line method definitions.
304
-
305
- ## [1.1.0] - 2020-12-20
306
-
307
- ### Added
308
-
309
- - kddnewton - Now that the comments are all fixed up, we can support `# prettier-ignore` comments.
310
-
311
- ### Changed
312
-
313
- - rindek, kddnewton - Do not remove parentheses when receiver looks like a constant.
314
- - rindek, kddnewton - Do not remove parentheses when using the special `call` syntax with no arguments.
315
- - ykpythemind - Do not change regexp bounds if the body has certain content.
316
- - karanmandal, kddnewton - Correctly print for loops.
317
- - rafbm, kddnewton - If there are method chains with arguments only at the end, we should group the method chain and the method args.
318
-
319
- ## [1.0.1] - 2020-12-12
320
-
321
- ### Changed
322
-
323
- - steobrien, kddnewton - Ensure leading comments in empty array and hash literals do not duplicate.
324
-
325
- ## [1.0.0] - 2020-12-11
326
-
327
- ### Changed
328
-
329
- - kddnewton - Do not unescape double quotes in a single quote string.
330
- - kddnewton - Only force braces on regexp for spaces and equals if it's inside a command or command_call.
331
- - kddnewton - Leave Sorbet type annotations in place.
332
- - kddnewton - Don't group hash contents, just allow them to break with their parent node.
333
- - kddnewton - Honor the UTF-8 lang passed in through ENV vars.
334
-
335
- ## [1.0.0-rc2] - 2020-12-10
336
-
337
- ### Changed
338
-
339
- - kddnewton - Print hashes with consistent keys (e.g., if one key cannot be a hash label, use all hash rockets).
340
- - kddnewton - Respect using `o` or not using `o` for octal numbers.
341
- - kddnewton - Ensure `when` clauses with multiple predicates that can be split into multiple lines are split correctly.
342
- - kddnewton - Ensure hash literal is split correctly when only its contents would fit on one line.
343
- - kddnewton - Simplify `toProc` checks by not calling if the option is disabled.
344
- - johncsnyder, kddnewton - Add `method_add_block` to the potential like of method calls that can be chained.
345
- - kddnewton - Add the `rubyArrayLiteral` option for disabling automatically turning into array literals.
346
-
347
- ## [1.0.0-rc1] - 2020-12-09
348
-
349
- ### Changed
350
-
351
- - kddnewton - Rename options to prep for v1.0 release.
352
- - `addTrailingCommas` -> `trailingComma`, `"es5"` means `true`
353
- - `inlineConditionals` and `inlineLoops` -> `rubyModifier`
354
- - `preferHashLabels` -> `rubyHashLabel`
355
- - `preferSingleQuotes` -> `rubySingleQuote`
356
- - `toProcTransform` -> `rubyToProc`
357
- - andyw8, kddnewton - Fix for Ruby `2.5.1` dyna_symbols. Turns out they were previously incorrectly reported as `xstring` nodes.
358
- - andyw8, kddnewton - Fix for plain `rescue` nodes with only comments in the body.
359
- - andyw8, kddnewton - Move declaration-type comments up to the line in the original source, as in:
360
-
361
- ```ruby
362
- def foo # :nodoc:
363
- bar
364
- end
365
- ```
366
-
367
- The comment in the above example should stay in place.
368
-
369
- - janklimo - Respect special call syntax, e.g., `a.(1, 2, 3)` should remain the same.
370
- - kddnewton - Fix up a bug with `ensure` being used in a `bodystmt` and not a `begin`.
371
- - kddnewton - Fix up a bug with negative ranges, e.g., `-4..-3`.
372
- - kddnewton - Fix up a bug with operator aliases, e.g., `alias << push`.
373
- - kddnewton - Fix up a bug with calls and unary nodes, e.g., `!!foo&.bar`.
374
- - kddnewton - Fix up a bug with multiple rescue clauses and comments, e.g.,
375
-
376
- ```ruby
377
- begin
378
- rescue Foo, Bar
379
- # comment
380
- end
381
- ```
382
-
383
- - kddnewton - Handle string literals that start with `%Q`.
384
- - kddnewton - Handle question method methods in the predicate of an if with a comment in the body.
385
- - kddnewton - Fix bare `break` with comments immediately after.
386
- - kddnewton - Fix for heredocs with comments immediately after the declaration.
387
- - kddnewton - Fix for comments when you're defining a method whose name overlaps with a keyword.
388
- - kddnewton - Don't automatically indent inside interpolated expressions from within a heredoc.
389
- - kddnewton - Don't convert into string literal arrays if the elements have brackets.
390
- - kddnewton - Ensure you break the parent when there is an assignment in the predicate of a loop.
391
- - kddnewton - Fix up a bug with keyword aliases, e.g., `alias in within`.
392
- - kddnewton - Force using braces for regex if a regex starts with a blank space.
393
- - kddnewton - Force using braces for regex if a regex starts with an equals sign.
394
- - kddnewton - Fix up a bug with constant aliases, e.g., `alias in IN`.
395
- - andyw8, kddnewton - Ensure `rescue` comments stay on the same line as their declaration.
396
-
397
- ## [0.22.0] - 2020-12-08
398
-
399
- ### Changed
400
-
401
- - flyerhzm - Print method chains by one indentation.
402
- - mmcnl, kddnewton - Handle heredocs and blocks being passed to the same method.
403
- - johncsnyder, kddnewton - Ensure correct formatting when breaking up conditionals with `inlineConditionals: false`.
404
- - Rsullivan00 - Ensure that when ternaries as command arguments get broken into multiple lines we add the necessary parentheses.
405
- - jbielick - Maintain parse order during if/unless modifier expressions
406
- - flyerhzm - Slight prettifying of wrapped args if doc length is under a certain value.
407
- - github0013, kddnewton - Ensure `not` keeps parentheses if they are being used.
408
- - jbielick - Print heredocs consistently.
409
- - kddnewton - Completely revamp the way we handle comments.
410
- - kddnewton - Support `hshptn` and the remaining missing pattern matching syntax.
411
-
412
- ## [0.21.0] - 2020-12-02
413
-
414
- ### Changed
415
-
416
- - kddnewton, ryan-hunter-pc - Explicitly handle `break` and `next` keyword parentheses.
417
- - jbielick, kddnewton - Don't convert between `lambda {}` and `-> {}`. Technically it's breaking the semantics of the program. Also because lambda method call arguments can't handle everything that stabby lambda can.
418
- - kddnewton - Turn off the `Symbol#to_proc` transform by default.
419
- - janklimo, kddnewton - Properly handle trailing commas on hash arguments.
420
- - coiti, kddnewton - Properly handle parentheses when necessary on if/unless statements and while/until loops.
421
- - Rsullivan00 - Prevent `command` and `command_call` nodes from being turned into ternaries.
422
- - kddnewton - Better handling of the `alias` node with and without comments.
423
- - kddnewton - Better handling of the `BEGIN` and `END` nodes with and without comments.
424
- - kddnewton - Much better handling of heredocs where now there is a consistent `heredoc` node instead of multiple.
425
-
426
- ## [0.20.1] - 2020-09-04
427
-
428
- ### Changed
429
-
430
- - ftes, kddnewton - Properly escape HAML plain text statements that start with special HAML characters.
431
-
432
- ### Removed
433
-
434
- - kddnewton - I'm stripping out the HAML plugin and putting it into its own package (`@prettier/plugin-haml`). It's become too difficult to maintain within this repo, and it's confusing for contributors because there are some things that work with Ruby and some things that don't. This is going to simplify maintenance. This should probably be a major version bump but since we're still pre `1.0` I'm going to leave it as a patch.
435
-
436
- ## [0.20.0] - 2020-08-28
437
-
438
- ### Added
439
-
440
- - kddnewton - Allow embedded formatting on heredocs by the name placed at the start. For example,
441
-
442
- <!-- prettier-ignore -->
443
- ```ruby
444
- javascript = <<~JAVASCRIPT
445
- const a=1;
446
- const b=2;
447
- return a+b;
448
- JAVASCRIPT
449
- ```
450
-
451
- ### Changed
452
-
453
- - mmainz - Fix the encoding setting such that we're not overwriting the entire set of environment variables.
454
-
455
- ## [0.19.1] - 2020-08-21
456
-
457
- ### Changed
458
-
459
- - Rsullivan00 - Do not tranform word-literal arrays when there is an escape sequence.
460
- - steobrien, kddnewton - Do not indent heredocs with calls more than they should be.
461
- - jpickwell - Include .simplecov in filenames
462
- - github0013, kddnewton - Ensure we're parsing ruby files using UTF-8 regardless of the system encoding.
463
-
464
- ## [0.19.0] - 2020-07-03
465
-
466
- ### Added
467
-
468
- - ryan-hunter-pc - Add the option to disable the `Symbol#to_proc` transform.
469
- - ryan-hunter-pc], [@SViccari, kddnewton - Disable `Symbol#to_proc` transform when used as a key inside of a hash where the key is either `:if` or `:unless`.
470
-
471
- ## [0.18.2] - 2020-05-01
472
-
473
- ### Changed
474
-
475
- - alse - Support `vscodeLanguageIds` for HAML.
476
- - ShayDavidson, kddnewton - Don't allow replacing if/else with ternary if there's an assignment in the predicate.
477
- - janklimo - Do not add an empty line after `rescue` when the block is empty.
478
-
479
- ## [0.18.1] - 2020-04-05
480
-
481
- ### Changed
482
-
483
- - petevk, kddnewton - Use braces for block format iff it was originally a brace block, otherwise you could be changing precedence. For example:
484
-
485
- <!-- prettier-ignore -->
486
- ```ruby
487
- expect do
488
- field 1 do
489
- "foo"
490
- end
491
- end.to raise_error
492
- ```
493
-
494
- should maintain its `do...end` and not switch to inline braces otherwise the brace might get associated with the `1`.
495
-
496
- - flyerhzm - Rewrite operators binary parser, as in:
497
-
498
- <!-- prettier-ignore -->
499
- ```ruby
500
- [
501
- '1111111111111111111111111111111111111111111111111111111111111111111111111',
502
- 222
503
- ] +
504
- [1]
505
- ```
506
-
507
- - ftes, kddnewton - When old-form dynamic attributes are added to a `div` tag in HAML, it was previously skipping printing the `%div`, which led to it being incorrectly displayed.
508
- - ftes, kddnewton - Previously if you had a long tag declaration with attributes that made it hit the line limit, then the content of the tag would be pushed to the next line but indented one character too many.
509
- - ftes, kddnewton - Don't explicitly require JSON if it has already been loaded, as this can lead to rubygems activation errors.
510
- - mmainz, kddnewton - Handle heredocs as the receivers of call nodes, as in:
511
-
512
- <!-- prettier-ignore -->
513
- ```ruby
514
- foo = <<~TEXT.strip
515
- bar
516
- TEXT
517
- ```
518
-
519
- - github0013, kddnewton - Leave parentheses in place if the value of a return node contains a binary with low operator precedence, as in:
520
-
521
- <!-- prettier-ignore -->
522
- ```ruby
523
- return (a or b) if c?
524
- ```
525
-
526
- ## [0.18.0] - 2020-03-17
527
-
528
- ### Added
529
-
530
- - kddnewton - Support for the `nokw_param` node for specifying when methods should no accept keywords, as in:
531
-
532
- ```ruby
533
- def foo(**nil)
534
- end
535
- ```
536
-
537
- - kddnewton - Support for the `args_forward` node for forwarding all types of arguments, as in:
538
-
539
- ```ruby
540
- def foo(...)
541
- bar(...)
542
- end
543
- ```
544
-
545
- ### Changed
546
-
547
- - ftes, kddnewton - Handled 3 or more classes on a node in HAML, as in:
548
-
549
- ```haml
550
- %table.table.is-striped.is-hoverable
551
- ```
552
-
553
- - ftes, kddnewton - Better handling of indentation of `if/elsif/else`, `unless/elsif/else`, and `case/when` branches, as in:
554
-
555
- ```haml
556
- .column.is-12
557
- - if true
558
- TRUE
559
- - else
560
- FALSE
561
- ```
562
-
563
- - tobyndockerill - Format numbers with underscores after 4 digits, as opposed to 3.
564
- - ianks - Improve performance by using `--disable-gems`.
565
- - flyerhzm - Calls are grouped such that after an end parenthesis the following call will not be indented, as in:
566
-
567
- <!-- prettier-ignore -->
568
- ```ruby
569
- Config::Download.new(
570
- 'prettier',
571
- filename: 'prettier.yml', url: 'https://raw.githubusercontent.com/...'
572
- )
573
- .perform
574
- ```
575
-
576
- will now be printed as:
577
-
578
- ```ruby
579
- Config::Download.new(
580
- "prettier",
581
- filename: "prettier.yml",
582
- url: "https://raw.githubusercontent.com/..."
583
- ).perform
584
- ```
585
-
586
- - pje, kddnewton - Method definition bodies (on `defs` nodes) should dedent if a helper method is called. As in:
587
-
588
- <!-- prettier-ignore -->
589
- ```ruby
590
- private def self.foo
591
- 'bar'
592
- end
593
- ```
594
-
595
- should instead be indented as:
596
-
597
- <!-- prettier-ignore -->
598
- ```ruby
599
- private def self.foo
600
- 'bar'
601
- end
602
- ```
603
-
604
- - masqita, kddnewton - Inline variable assignment within a predicate should force the conditional to break, as in:
605
-
606
- ```ruby
607
- array.each do |element|
608
- if index = difference.index(element)
609
- difference.delete_at(index)
610
- end
611
- end
612
- ```
613
-
614
- - hafley66, kddnewton - Handle empty `while` and `until` blocks.
615
- - Fruetel, kddnewton - Simplify string escape pattern by locking on any escape sequence.
616
- - flyerhzm, kddnewton - Properly handle string quotes on symbols in hash keys.
617
-
618
- ## [0.17.0] - 2019-12-12
619
-
620
- ### Added
621
-
622
- - matt-wratt - Better support for explicit `return` nodes with empty arrays or arrays with a single element.
623
- - jrdioko, kddnewton - Alignment of `not_to` is explicitly allowed to not indent to better support rspec.
624
-
625
- ### Changed
626
-
627
- - gin0606 - The max buffer being passed into the Ruby process is now up to 10MB.
628
-
629
- ## [0.16.0] - 2019-11-14
630
-
631
- ### Added
632
-
633
- - mmainz, kddnewton - Support for extra commas in multiple assignment, as it changes the meaning. For example,
634
-
635
- <!-- prettier-ignore -->
636
- ```ruby
637
- a, = [1, 2, 3]
638
- ```
639
-
640
- would previously get printed as `a = [1, 2, 3]`, which changes the value of `a` from `1` to the value of the entire array.
641
-
642
- - kddnewton - Experimental support for the HAMtemplate language.
643
-
644
- ### Changed
645
-
646
- - github0013, kddnewton - Support proper string escaping when the original string in the source is wrapped in `%q|...|`. For example, `%q|\'|` should get printed as `"\'"`, where previously it was dropping the backslash.
647
- - jamescostian, kddnewton - Force ternary breaking when using the lower-precendence operators `and` and `or`. For example,
648
-
649
- <!-- prettier-ignore -->
650
- ```ruby
651
- if x.nil?
652
- puts 'nil' and return
653
- else
654
- x
655
- end
656
- ```
657
-
658
- the previous expression was being transformed into a ternary which was invalid ruby. Instead it now stays broken out into an if/else block.
659
-
660
- - localhostdotdev], [@joeyjoejoejr], [@eins78, kddnewton - Better support for embedded expressions inside heredocs. For example,
661
-
662
- <!-- prettier-ignore -->
663
- ```ruby
664
- <<-HERE
665
- foo bar baz
666
- #{qux}
667
- foo bar baz
668
- HERE
669
- ```
670
-
671
- should remain formatted as it is. Whereas previously due to the way the lines were split, you would sometimes end up with it breaking after `#{`.
672
-
673
- - jamescostian, kddnewton - Fix up `return` node printing. When returning multiple values, you need to return an array literal as opposed to using parentheses.
674
-
675
- ## [0.15.1] - 2019-11-05
676
-
677
- ### Changed
678
-
679
- - AlanFoster - Add `bin/lex` for viewing the tokenized result of Ripper on Ruby code.
680
- - jakeprime, kddnewton - When predicates from within an `if`, `unless`, `while`, or `until` loop break the line, they should be aligned together. For example,
681
-
682
- <!-- prettier-ignore -->
683
- ```ruby
684
- if foooooo || barrrrrr
685
- baz
686
- end
687
- ```
688
-
689
- If the line was set to very short, the binary node should be aligned to 3 spaces from the left of the file (which aligns with the `if`, it would be more for `unless`). So it would look like:
690
-
691
- <!-- prettier-ignore -->
692
- ```ruby
693
- if foooooo ||
694
- barrrrrr
695
- baz
696
- end
697
- ```
698
-
699
- - jamescostian], [@AlanFoster - Empty `if`, and `unless` conditionals are now handled gracefully:
700
-
701
- <!-- prettier-ignore -->
702
- ```ruby
703
- if foo?
704
- end
705
- ```
706
-
707
- - mmainz, kddnewton - Hash keys are not converted to keyword syntax if they would make invalid symbols. For example,
708
-
709
- <!-- prettier-ignore -->
710
- ```ruby
711
- { :[] => nil }
712
- ```
713
-
714
- cannot be translated into `[]:` as that is an invalid symbol. Instead, it stays with the hash rocket syntax.
715
-
716
- - cldevs, kddnewton - Do not attempt to format the insides of xstring literals (string that get sent to the command line surrounded by backticks or `%x`).
717
- - cldevs, kddnewton - When predicates for `if`, `unless`, `while`, or `until` nodes contain an assignment, we can't know for sure that it doesn't modify the body. In this case we need to always break and form a multi-line block.
718
- - MarcManiez, kddnewton - When the return value of `if`, `unless`, `while`, or `until` nodes are assigned to anything other than a local variable, we need to wrap them in parentheses if we're changing to the modifier form. This is because the following expressions have different semantic meaning:
719
-
720
- <!-- prettier-ignore -->
721
- ```ruby
722
- hash[:key] = break :value while false
723
- hash[:key] = while false do break :value end
724
- ```
725
-
726
- The first one will not result in an empty hash, whereas the second one will result in `{ key: nil }`. In this case what we need to do for the first expression to align is wrap it in parens, as in:
727
-
728
- <!-- prettier-ignore -->
729
- ```ruby
730
- hash[:key] = (break :value while false)
731
- ```
732
-
733
- That will guarantee that the expressions are equivalent.
734
-
735
- - AlanFoster - Fix crashes that were happening with `ignored_nl` nodes.
736
-
737
- ## [0.15.0] - 2019-08-06
738
-
739
- ### Changed
740
-
741
- - dudeofawesome, kddnewton - If xstring literals (command line calls surrounded by backticks) break, then we indent and place the command on a new line. Previously, this was resulting in new lines getting added each time the code was formatted. Now this happens correctly.
742
- - krachtstefan, kddnewton - When a `while` or `until` loop modifies a `begin...end` statement, it must remain in the modifier form or else it changes sematic meaning. For example,
743
-
744
- <!-- prettier-ignore -->
745
- ```ruby
746
- begin
747
- foo
748
- end while bar
749
- ```
750
-
751
- cannot be transformed into:
752
-
753
- <!-- prettier-ignore -->
754
- ```ruby
755
- while bar
756
- foo
757
- end
758
- ```
759
-
760
- because that would never execute `foo` if `bar` is falsy, whereas in the initial example it would have.
761
-
762
- - jviney], kddnewton - When transforming a block into the `Symbol#to_proc` syntax from within a list of arguments inside of an `aref` node (i.e., `foo[:bar.each`), we can't put the block syntax inside the brackets.
763
- - jakeprime, kddnewton - Values for the `return` keyword that broke the line were previously just printed as they were, which breaks if you have a block expression like an `if` or `while`. For example,
764
-
765
- <!-- prettier-ignore -->
766
- ```ruby
767
- return foo ? bar : baz
768
- ```
769
-
770
- if the line was set to very short would be printed as:
771
-
772
- <!-- prettier-ignore -->
773
- ```ruby
774
- return if foo
775
- bar
776
- else
777
- baz
778
- end
779
- ```
780
-
781
- which wouldn't work. Instead, they now get printed with parentheses around the value, as in:
782
-
783
- <!-- prettier-ignore -->
784
- ```ruby
785
- return(
786
- if foo
787
- bar
788
- else
789
- baz
790
- end
791
- )
792
- ```
793
-
794
- - jakeprime, kddnewton - When switching from a double-quoted string to a single-quoted string that contained escaped double quotes, the backslashes would stay in the string. As in:
795
-
796
- <!-- prettier-ignore -->
797
- ```ruby
798
- "Foo \"Bar\" Baz"
799
- ```
800
-
801
- would get formatted as:
802
-
803
- <!-- prettier-ignore -->
804
- ```ruby
805
- 'Foo \"Bar\" Baz'
806
- ```
807
-
808
- but now gets formatted as:
809
-
810
- <!-- prettier-ignore -->
811
- ```ruby
812
- 'Foo "Bar" Baz'
813
- ```
814
-
815
- ## [0.14.0] - 2019-07-17
816
-
817
- ### Added
818
-
819
- - kddnewton - Support for pattern matching for variables and array patterns. Currently waiting on Ripper support for hash patterns. For examples, check out the [test/js/patterns.test.js](test/js/patterns.test.js) file.
820
-
821
- ### Changed
822
-
823
- - jviney, kddnewton - if/else blocks that had method calls on the end of them that were also transformed into ternaries need to have parens added to them. For example,
824
-
825
- <!-- prettier-ignore -->
826
- ```ruby
827
- if foo
828
- 1
829
- else
830
- 2
831
- end.to_s
832
- ```
833
-
834
- now correctly gets transformed into:
835
-
836
- <!-- prettier-ignore -->
837
- ```ruby
838
- (foo ? 1 : 2).to_s
839
- ```
840
-
841
- - acrewdson, kddnewton - Fixed a bug where multiple newlines at the end of the file would cause a crash.
842
- - jviney, kddnewton - If a variable is assigned inside of the predicate of a conditional, then we can't change it into the single-line version as this breaks. For example,
843
-
844
- <!-- prettier-ignore -->
845
- ```ruby
846
- if foo = 1
847
- foo
848
- end
849
- ```
850
-
851
- must stay the same.
852
-
853
- ## [0.13.0] - 2019-07-05
854
-
855
- ### Added
856
-
857
- - kddnewton - Added `locStart` and `locEnd` functions to support `--cursor-offset`.
858
-
859
- ### Changed
860
-
861
- - xipgroc, kddnewton - Comments inside of `do...end` blocks that preceeded `call` nodes were associating the comment with the `var_ref` instead of the `call` itself. For example,
862
-
863
- <!-- prettier-ignore -->
864
- ```ruby
865
- foo.each do |bar|
866
- # comment
867
- bar.baz
868
- bar.baz
869
- end
870
- ```
871
-
872
- would get printed as
873
-
874
- <!-- prettier-ignore -->
875
- ```ruby
876
- foo.each do |bar|
877
- # comment
878
- bar
879
- .baz
880
- bar.baz
881
- end
882
- ```
883
-
884
- but now gets printed correctly.
885
-
886
- - petevk, kddnewton - Double splats inside a hash were previously failing to print. For example,
887
-
888
- <!-- prettier-ignore -->
889
- ```ruby
890
- { foo: "bar", **baz }
891
- ```
892
-
893
- would fail to print, but now works.
894
-
895
- ## [0.12.3] - 2019-05-16
896
-
897
- ### Changed
898
-
899
- - kddnewton - Move arg, assign, constant, flow, massign, operator, scope, and statement nodes into their own files.
900
- - kddnewton - Move `@int`, `access_ctrl`, `assocsplat`, `block_var`, `else`, `number_arg`, `super`, `undef`, `var_ref`, and `var_ref` as well as various call and symbol nodes into appropriate files.
901
- - kddnewton - Better support for excessed commas in block args. Previously `proc { |x,| }` would add an extra space, but now it does not.
902
- - kddnewton - Add a lot more documentation to the parser.
903
- - glejeune, kddnewton - Previously, the unary `not` operator inside a ternary (e.g., `a ? not(b) : c`) would break because it wouldn't add parentheses, but now it adds them.
904
- - kddnewton - `if` and `unless` nodes used to not be able to handle if a comment was the only statement in the body. For example,
905
-
906
- <!-- prettier-ignore -->
907
- ```ruby
908
- if foo
909
- # comment
910
- end
911
- ```
912
-
913
- would get printed as
914
-
915
- <!-- prettier-ignore -->
916
- ```ruby
917
- # comment if foo
918
- ```
919
-
920
- Now the `if` and `unless` printers check for the presence of single comments.
921
-
922
- - JoshuaKGoldberg, kddnewton - Fixes an error where `command` nodes within `def` nodes would fail to format if it was only a single block argument. For example,
923
-
924
- <!-- prettier-ignore -->
925
- ```ruby
926
- def curry(&block)
927
- new &block
928
- end
929
- ```
930
-
931
- would fail, but now works.
932
-
933
- - xipgroc, kddnewton - Comments on lines with array references were previously deleting the array references entirely. For example,
934
-
935
- <!-- prettier-ignore -->
936
- ```ruby
937
- array[index] # comment
938
- ```
939
-
940
- would previously result in `array[]`, but now prints properly.
941
-
942
- ## [0.12.2] - 2019-04-30
943
-
944
- ### Changed
945
-
946
- - kddnewton - When symbol literal hash keys end with `=`, they cannot be transformed into hash labels.
947
- - xipgroc, kddnewton - Fixed when blocks on methods with no arguments are transformed into `to_proc` syntax.
948
-
949
- ## [0.12.1] - 2019-04-22
950
-
951
- ### Changed
952
-
953
- - kddnewton - If a lambda literal is nested under a `command` or `command_call` node anywhere in the heirarchy, then it needs to use the higher-precedence `{ ... }` braces as opposed to the `do ... end` delimiters.
954
- - jpickwell, kddnewton - Calling `super` with a block and no args was causing the parser to fail when attempting to inspect lambda nodes.
955
- - kddnewton - Support better breaking within interpolation by grouping the interpolated content.
956
-
957
- ## [0.12.0] - 2019-04-18
958
-
959
- ### Added
960
-
961
- - kddnewton - Automatically convert `lambda { ... }` method calls into `-> { ... }` literals.
962
-
963
- ## [0.11.0] - 2019-04-18
964
-
965
- ### Added
966
-
967
- - kddnewton - Support for parsing things with a ruby shebang (e.g., `#!/usr/bin/env ruby` or `#!/usr/bin/ruby`).
968
- - kddnewton - Big tests refactor.
969
- - kddnewton - Make multiple `when` predicates break at 80 chars and then wrap to be inline with the other predicates.
970
- - kddnewton - Automatically add underscores in large numbers that aren't already formatted.
971
- - AlanFoster - Better support for inline access control modifiers.
972
- - jpickwell, kddnewton - Better support for heredocs in hash literals.
973
- - kddnewton - Better support for heredocs in array literals.
974
- - kddnewton - Support automatically transforming `def/begin/rescue/end/end` into `def/rescue/end`.
975
-
976
- ### Changed
977
-
978
- - deecewan - Fixed support for dynamic string hash keys.
979
- - kddnewton - Moved `case/when` into its own file and added better documentation.
980
- - kddnewton - Moved `begin/rescue` into its own file.
981
- - AlanFoster - Automatically add newlines around access modifiers.
982
- - kddnewton - Alignment of command calls with arguments is fixed.
983
- - aaronjensen, kddnewton - Alignment of `to` is explicitly allowed to not indent to better support rspec.
984
- - kddnewton - Fix up the `to_proc` transform so that it works with other argument handling appropriately.
985
- - kddnewton - Fixed regression on regexp comments.
986
- - CodingItWrong, kddnewton - Fix up block delimiters when nested inside a `command` or `command_call` node.
987
- - kddnewton - Moved hashes into its own file.
988
-
989
- ## [0.10.0] - 2019-03-25
990
-
991
- ### Added
992
-
993
- - kddnewton - Support for block-local variables.
994
- - kddnewton - Support for dyna-symbols that are using single quotes.
995
-
996
- ### Changed
997
-
998
- - kddnewton - Force method calls after arrays, blocks, hashes, and xstrings to hang onto the end of the previous nodes.
999
- - kddnewton - Check before anything else for an invalid ruby version.
1000
-
1001
- ## [0.9.1] - 2019-03-24
1002
-
1003
- ### Changed
1004
-
1005
- - kddnewton - Better support string quotes by favoring what the user chose if the string contains escape patterns.
1006
- - kddnewton - Better support heredocs within method calls.
1007
-
1008
- ## [0.9.0] - 2019-03-18
1009
-
1010
- ### Added
1011
-
1012
- - kddnewton - Support the `hasPragma` function.
1013
- - kddnewton - Support the new `number_arg` node type in Ruby 2.7.
1014
-
1015
- ### Changed
1016
-
1017
- - kddnewton - Limit the number of nodes that are allowed to turn into ternary expressions.
1018
-
1019
- ## [0.8.0] - 2019-03-08
1020
-
1021
- ### Added
1022
-
1023
- - kddnewton - Add `eslint` and fix up existing violations.
1024
- - AlanFoster - Add the infra for the `prettier` ruby gem.
1025
- - kddnewton - Add a `rake` task for easier process integration for the ruby gem.
1026
- - kddnewton - Handle direct interpolation of strings with %w array literals (i.e., `["#{foo}"]` should not be transformed into a %w array).
1027
-
1028
- ### Changed
1029
-
1030
- - kddnewton - Fix string escaping for hex digit bit patterns when there's only one character after the "x".
1031
- - AlanFoster - Don't allow line breaks between brace block params.
1032
- - johnschoeman - Switch over the array.rb test case to minitest.
1033
- - AlanFoster - Test improvements to allow running in parallel.
1034
- - johnschoeman - Switch over assign.rb test case to minitest.
1035
- - AlanFoster - Add a contributing guide.
1036
- - AlanFoster - Handle longer command nodes.
1037
- - kddnewton - Changed the ruby executable within the `prettier` gem to `rbprettier` for easier autocomplete.
1038
-
1039
- ### Removed
1040
-
1041
- - kddnewton - All instances of the spread (`...`) operator so that we can support older versions of node.
1042
-
1043
- ## [0.7.0] - 2019-02-24
1044
-
1045
- ### Changed
1046
-
1047
- - kddnewton - Support checking for escaping within strings to force double quotes (e.g., "\n").
1048
- - RossKinsella, kddnewton - Handle cases with empty class and module declarations that need to break.
1049
- - AlanFoster - Align the `bin/print` and `bin/sexp` APto support `bin/print` taking a filepath.
1050
- - AndrewRayCode, kddnewton - Support lambdas that don't break and are inline.
1051
- - AlanFoster - Switch over the numbers.rb test to minitest.
1052
- - AlanFoster - Switch over the kwargs.rb test to minitest.
1053
- - AlanFoster - Bail out early if the Ruby input is invalid.
1054
- - kddnewton - Support `__END__` content.
1055
- - AlanFoster - Fix up issue with whitespace being added within regexp that are multiline.
1056
- - AlanFoster - Better support for destructuring within multi assignment.
1057
- - kddnewton - Switch `next` test over to minitest.
1058
- - kddnewton - Handle multiple arguments to `next` with a space between.
1059
- - AndrewRayCode, kddnewton - Handle multi-line conditional predicate (should align with keyword).
1060
- - aaronjensen, kddnewton - Properly support adding trailing commas with and without blocks.
1061
- - AlanFoster, kddnewton - Fix regression of handling comments within arrays on array literals.
1062
- - AlanFoster - Support multiple arguments to `undef`.
1063
-
1064
- ## [0.6.3] - 2019-02-18
1065
-
1066
- ### Changed
1067
-
1068
- - kddnewton - Switch over `binary` fixture to minitest.
1069
- - kddnewton - Reconfigure parser into multiple layer modules so that it's easier to understand and manage.
1070
- - kddnewton - Handle comments from within `begin`, `rescue`, `ensure`, `while`, and `until` nodes.
1071
- - kddnewton - Properly indent heredocs without taking into account current indentation level.
1072
-
1073
- ## [0.6.2] - 2019-02-17
1074
-
1075
- ### Changed
1076
-
1077
- - AlanFoster - Handle regexp suffixes.
1078
- - kddnewton - Add support for testing the test fixtures with minitest.
1079
- - kddnewton - Switch over `alias` and `regexp` tests to minitest.
1080
- - aaronjensen, kddnewton - Break up method args to split into multiple lines.
1081
- - christoomey, kddnewton - Handle blocks args when trailing commas are on.
1082
-
1083
- ## [0.6.1] - 2019-02-15
1084
-
1085
- ### Changed
1086
-
1087
- - meleyal, kddnewton - Fix Ruby 2.5 inline comments on `args_add_block` nodes.
1088
- - meleyal, kddnewton - Support passing `super()` explicitly with no arguments.
1089
-
1090
- ## [0.6.0] - 2019-02-14
1091
-
1092
- ### Added
1093
-
1094
- - kddnewton - Handle non UTF-8 comments.
1095
- - kddnewton - Handle non UTF-8 identifiers.
1096
- - kddnewton - Handle non UTF-8 strings.
1097
- - kddnewton - Handle empty parens.
1098
- - kddnewton - Handle rescue with splats preceeding the exception names.
1099
-
1100
- ### Changed
1101
-
1102
- - kddnewton - Use `JSON::fast_generate` to get the s-expressions back from the parser.
1103
- - NoahTheDuke, kddnewton - Handle broken lambdas from within `command` and `command_call` nodes.
1104
-
1105
- ## [0.5.2] - 2019-02-13
1106
-
1107
- ### Changed
1108
-
1109
- - kddnewton - Support embedded expressions within strings that contain only keywords, as in `"#{super}"`.
1110
-
1111
- ## [0.5.1] - 2019-02-13
1112
-
1113
- ### Changed
1114
-
1115
- - yuki24, kddnewton - Force `do` blocks that we know have to be `do` blocks to break.
1116
- - kmcq, kddnewton - Handle `command` and `command_call` nodes `do` blocks by forcing them to break.
1117
- - ashfurrow, kddnewton - Attach comments to full hash association nodes, not just the value.
1118
-
1119
- ## [0.5.0] - 2019-02-13
1120
-
1121
- ### Added
1122
-
1123
- - kddnewton - Automatically convert arrays of all string literals to %w arrays.
1124
- - kddnewton - Automatically convert arrays of all symbol literals to %i arrays.
1125
-
1126
- ### Changed
1127
-
1128
- - kddnewton - Move the `args_add` and `args_new` handling into the parser.
1129
- - uri, kddnewton - Change `command_call` nodes to properly indent when broken and to not add a trailing comma.
1130
- - kddnewton - Rename the `trailingComma` option to `addTrailingCommas` to not conflict with the JS option.
1131
-
1132
- ## [0.4.1] - 2019-02-12
1133
-
1134
- ### Changed
1135
-
1136
- - kddnewton - Provide the `makeList` utility for the nodes that are lists from within ripper.
1137
- - awinograd, kddnewton - Again, this time for real, properly escape strings.
1138
- - kddnewton - Fix up trailing commas on command calls.
1139
-
1140
- ## [0.4.0] - 2019-02-12
1141
-
1142
- ### Added
1143
-
1144
- - Overload119, kddnewton - Support the `trailingComma` configuration option (defaults to `false`).
1145
-
1146
- ### Changed
1147
-
1148
- - NoahTheDuke, kddnewton - Pass the code to be formatted over `stdin`.
1149
-
1150
- ## [0.3.7] - 2019-02-11
1151
-
1152
- ### Changed
1153
-
1154
- - kddnewton - Split up statements even if they started on the same line with `;`s unless they are within an embedded expression.
1155
- - kddnewton - Properly handle escaped quotes within strings.
1156
-
1157
- ## [0.3.6] - 2019-02-10
1158
-
1159
- ### Changed
1160
-
1161
- - AlanFoster, kddnewton - Support the `not` operator properly.
1162
- - AlanFoster, kddnewton - Handle comments properly inside `if`, `unless`, and `when` nodes.
1163
-
1164
- ## [0.3.5] - 2019-02-09
1165
-
1166
- ### Changed
1167
-
1168
- - kddnewton - Handle lonely operators in Ruby `2.5`.
1169
-
1170
- ## [0.3.4] - 2019-02-09
1171
-
1172
- ### Changed
1173
-
1174
- - kddnewton - Comments are now properly attached inside `defs` nodes.
1175
- - kddnewton - Support multiple inline comments on nodes.
1176
- - kddnewton - Support inline comments from within the `EXPR_END|EXPR_LABEL` lexer state.
1177
- - cbothner - Stop transforming multistatement blocks with `to_proc`.
1178
- - kddnewton - `do` blocks necessarily need to break their parent nodes.
1179
- - eins78, kddnewton - Handle `next` node edge case with `args_add` as the body.
1180
-
1181
- ## [0.3.3] - 2019-02-09
1182
-
1183
- ### Changed
1184
-
1185
- - bugthing, kddnewton - Command nodes within conditionals now break parents to disallow them from being turned into ternary expressions.
1186
- - awinograd, kddnewton - Properly escape double quotes when using `preferSingleQuotes: false`.
1187
-
1188
- ## [0.3.2] - 2019-02-09
1189
-
1190
- ### Changed
1191
-
1192
- - kddnewton - Don't define duplicated methods in the parser.
1193
- - kddnewton - Let prettier know about `.rb` and `.rake` files so you don't have to specify the parser when running.
1194
- - kddnewton - Renamed the package to @prettier/plugin-ruby.
1195
-
1196
- ## [0.3.1] - 2019-02-07
1197
-
1198
- ### Changed
1199
-
1200
- - kddnewton - Automatically add parens to method declarations.
1201
- - kddnewton - Handle comments on bare hash assocs.
1202
- - kddnewton - Handle `method_add_block` nodes where the statements may be nested one more level.
1203
- - kddnewton - Handle heredocs nested no matter how many levels deep.
1204
-
1205
- ## [0.3.0] - 2019-02-07
1206
-
1207
- ### Added
1208
-
1209
- - kddnewton - Support squiggly heredocs.
1210
- - kddnewton - Support straight heredocs.
1211
-
1212
- ### Changed
1213
-
1214
- - kddnewton - Ignore current indentation when creating embdocs so that `=begin` is always at the beginning of the line.
1215
- - kddnewton - Move `regexp_add` and `regexp_new` handling into the parser.
1216
- - kddnewton - Move `xstring_add` and `xstring_new` handling into the parser.
1217
- - kddnewton - Move `string_add` and `string_content` handling into the parser.
1218
- - kddnewton - Move `mrhs_add` and `mrhs_new` handling into the parser.
1219
- - kddnewton - Move `mlhs_add` and `mlhs_new` handling into the parser.
1220
-
1221
- ## [0.2.1] - 2019-02-06
1222
-
1223
- ### Changed
1224
-
1225
- - kddnewton - Handle brace blocks on commands properly.
1226
- - kddnewton - Break parent and return `do` blocks when called from a `command` node.
1227
- - kddnewton - Handle edge cases with `if` statements where there is no body of the if (so it can't be converted to a ternary).
1228
-
1229
- ## [0.2.0] - 2019-02-06
1230
-
1231
- ### Added
1232
-
1233
- - kddnewton - Handle `methref` nodes from Ruby `2.7`.
1234
- - kddnewton - Allow `module` nodes to shorten using `;` when the block is empty.
1235
-
1236
- ### Changed
1237
-
1238
- - kddnewton - Handle splat within an array, as in `[1, 2, *foo]`.
1239
- - kddnewton - Disallow comments from being attached to intermediary regex nodes.
1240
- - kddnewton - Fix `to_proc` transforms to reference the method called as opposed to the parameter name.
1241
- - kddnewton - Change statement lists to be generated within the parser instead of the printer, thereby allowing finer control over comments.
1242
- - kddnewton - Completely revamp comment parsing by switching off the internal lexer state from `ripper`. This should drastically increase accuracy of comment parsing in general, and set us up for success in the future.
1243
- - kddnewton - Allow comments to be attached to `CHAR` nodes.
1244
- - kddnewton - Disallow comments from being attached to `args_new` nodes.
1245
- - kddnewton - Track start and end lines so we can better insert block comments.
1246
- - kddnewton - Handle intermediary array nodes in the parse for better comment handling.
1247
-
1248
- ## [0.1.2] - 2019-02-05
1249
-
1250
- ### Changed
1251
-
1252
- - kddnewton - Handle guard clauses that return with no parens.
1253
-
1254
- ## [0.1.1] - 2019-02-05
1255
-
1256
- ### Changed
1257
-
1258
- - kddnewton - Handle class method calls with the `::` operator.
1259
- - kddnewton - Handle strings with apostrophes when using `preferSingleQuote`.
1260
- - kddnewton - Have travis run multiple ruby versions.
1261
- - kddnewton - Explicitly fail if ruby version is < `2.5`.
1262
- - kddnewton - Disallow comments from being attached to intermediary string nodes.
1263
-
1264
- ## [0.1.0] - 2019-02-04
1265
-
1266
- ### Added
1267
-
1268
- - Initial release 🎉
1269
-
1270
- [unreleased]: https://github.com/prettier/plugin-ruby/compare/v3.2.2...HEAD
1271
- [3.2.2]: https://github.com/prettier/plugin-ruby/compare/v3.2.1...v3.2.2
1272
- [3.2.1]: https://github.com/prettier/plugin-ruby/compare/v3.2.0...v3.2.1
1273
- [3.2.0]: https://github.com/prettier/plugin-ruby/compare/v3.1.2...v3.2.0
1274
- [3.1.2]: https://github.com/prettier/plugin-ruby/compare/v3.1.1...v3.1.2
1275
- [3.1.1]: https://github.com/prettier/plugin-ruby/compare/v3.1.0...v3.1.1
1276
- [3.1.0]: https://github.com/prettier/plugin-ruby/compare/v3.0.0...v3.1.0
1277
- [3.0.0]: https://github.com/prettier/plugin-ruby/compare/v2.1.0...v3.0.0
1278
- [2.1.0]: https://github.com/prettier/plugin-ruby/compare/v2.0.0...v2.1.0
1279
- [2.0.0]: https://github.com/prettier/plugin-ruby/compare/v2.0.0-rc4...v2.0.0
1280
- [2.0.0-rc4]: https://github.com/prettier/plugin-ruby/compare/v2.0.0-rc3...v2.0.0-rc4
1281
- [2.0.0-rc3]: https://github.com/prettier/plugin-ruby/compare/v2.0.0-rc2...v2.0.0-rc3
1282
- [2.0.0-rc2]: https://github.com/prettier/plugin-ruby/compare/v2.0.0-rc1...v2.0.0-rc2
1283
- [2.0.0-rc1]: https://github.com/prettier/plugin-ruby/compare/v1.6.1...v2.0.0-rc1
1284
- [1.6.1]: https://github.com/prettier/plugin-ruby/compare/v1.6.0...v1.6.1
1285
- [1.6.0]: https://github.com/prettier/plugin-ruby/compare/v1.5.5...v1.6.0
1286
- [1.5.5]: https://github.com/prettier/plugin-ruby/compare/v1.5.4...v1.5.5
1287
- [1.5.4]: https://github.com/prettier/plugin-ruby/compare/v1.5.3...v1.5.4
1288
- [1.5.3]: https://github.com/prettier/plugin-ruby/compare/v1.5.2...v1.5.3
1289
- [1.5.2]: https://github.com/prettier/plugin-ruby/compare/v1.5.1...v1.5.2
1290
- [1.5.1]: https://github.com/prettier/plugin-ruby/compare/v1.5.0...v1.5.1
1291
- [1.5.0]: https://github.com/prettier/plugin-ruby/compare/v1.4.0...v1.5.0
1292
- [1.4.0]: https://github.com/prettier/plugin-ruby/compare/v1.3.0...v1.4.0
1293
- [1.3.0]: https://github.com/prettier/plugin-ruby/compare/v1.2.5...v1.3.0
1294
- [1.2.5]: https://github.com/prettier/plugin-ruby/compare/v1.2.4...v1.2.5
1295
- [1.2.4]: https://github.com/prettier/plugin-ruby/compare/v1.2.3...v1.2.4
1296
- [1.2.3]: https://github.com/prettier/plugin-ruby/compare/v1.2.2...v1.2.3
1297
- [1.2.2]: https://github.com/prettier/plugin-ruby/compare/v1.2.1...v1.2.2
1298
- [1.2.1]: https://github.com/prettier/plugin-ruby/compare/v1.2.0...v1.2.1
1299
- [1.2.0]: https://github.com/prettier/plugin-ruby/compare/v1.1.0...v1.2.0
1300
- [1.1.0]: https://github.com/prettier/plugin-ruby/compare/v1.0.1...v1.1.0
1301
- [1.0.1]: https://github.com/prettier/plugin-ruby/compare/v1.0.0...v1.0.1
1302
- [1.0.0]: https://github.com/prettier/plugin-ruby/compare/v1.0.0-rc2...v1.0.0
1303
- [1.0.0-rc2]: https://github.com/prettier/plugin-ruby/compare/v1.0.0-rc1...v1.0.0-rc2
1304
- [1.0.0-rc1]: https://github.com/prettier/plugin-ruby/compare/v0.22.0...v1.0.0-rc1
1305
- [0.22.0]: https://github.com/prettier/plugin-ruby/compare/v0.21.0...v0.22.0
1306
- [0.21.0]: https://github.com/prettier/plugin-ruby/compare/v0.20.1...v0.21.0
1307
- [0.20.1]: https://github.com/prettier/plugin-ruby/compare/v0.20.0...v0.20.1
1308
- [0.20.0]: https://github.com/prettier/plugin-ruby/compare/v0.19.1...v0.20.0
1309
- [0.19.1]: https://github.com/prettier/plugin-ruby/compare/v0.19.0...v0.19.1
1310
- [0.19.0]: https://github.com/prettier/plugin-ruby/compare/v0.18.2...v0.19.0
1311
- [0.18.2]: https://github.com/prettier/plugin-ruby/compare/v0.18.1...v0.18.2
1312
- [0.18.1]: https://github.com/prettier/plugin-ruby/compare/v0.18.0...v0.18.1
1313
- [0.18.0]: https://github.com/prettier/plugin-ruby/compare/v0.17.0...v0.18.0
1314
- [0.17.0]: https://github.com/prettier/plugin-ruby/compare/v0.16.0...v0.17.0
1315
- [0.16.0]: https://github.com/prettier/plugin-ruby/compare/v0.15.1...v0.16.0
1316
- [0.15.1]: https://github.com/prettier/plugin-ruby/compare/v0.15.0...v0.15.1
1317
- [0.15.0]: https://github.com/prettier/plugin-ruby/compare/v0.14.0...v0.15.0
1318
- [0.14.0]: https://github.com/prettier/plugin-ruby/compare/v0.13.0...v0.14.0
1319
- [0.13.0]: https://github.com/prettier/plugin-ruby/compare/v0.12.3...v0.13.0
1320
- [0.12.3]: https://github.com/prettier/plugin-ruby/compare/v0.12.2...v0.12.3
1321
- [0.12.2]: https://github.com/prettier/plugin-ruby/compare/v0.12.1...v0.12.2
1322
- [0.12.1]: https://github.com/prettier/plugin-ruby/compare/v0.12.0...v0.12.1
1323
- [0.12.0]: https://github.com/prettier/plugin-ruby/compare/v0.11.0...v0.12.0
1324
- [0.11.0]: https://github.com/prettier/plugin-ruby/compare/v0.10.0...v0.11.0
1325
- [0.10.0]: https://github.com/prettier/plugin-ruby/compare/v0.9.1...v0.10.0
1326
- [0.9.1]: https://github.com/prettier/plugin-ruby/compare/v0.9.0...v0.9.1
1327
- [0.9.0]: https://github.com/prettier/plugin-ruby/compare/v0.8.0...v0.9.0
1328
- [0.8.0]: https://github.com/prettier/plugin-ruby/compare/v0.7.0...v0.8.0
1329
- [0.7.0]: https://github.com/prettier/plugin-ruby/compare/v0.6.3...v0.7.0
1330
- [0.6.3]: https://github.com/prettier/plugin-ruby/compare/v0.6.2...v0.6.3
1331
- [0.6.2]: https://github.com/prettier/plugin-ruby/compare/v0.6.1...v0.6.2
1332
- [0.6.1]: https://github.com/prettier/plugin-ruby/compare/v0.6.0...v0.6.1
1333
- [0.6.0]: https://github.com/prettier/plugin-ruby/compare/v0.5.2...v0.6.0
1334
- [0.5.2]: https://github.com/prettier/plugin-ruby/compare/v0.5.1...v0.5.2
1335
- [0.5.1]: https://github.com/prettier/plugin-ruby/compare/v0.5.0...v0.5.1
1336
- [0.5.0]: https://github.com/prettier/plugin-ruby/compare/v0.4.1...v0.5.0
1337
- [0.4.1]: https://github.com/prettier/plugin-ruby/compare/v0.4.0...v0.4.1
1338
- [0.4.0]: https://github.com/prettier/plugin-ruby/compare/v0.3.7...v0.4.0
1339
- [0.3.7]: https://github.com/prettier/plugin-ruby/compare/v0.3.6...v0.3.7
1340
- [0.3.6]: https://github.com/prettier/plugin-ruby/compare/v0.3.5...v0.3.6
1341
- [0.3.5]: https://github.com/prettier/plugin-ruby/compare/v0.3.4...v0.3.5
1342
- [0.3.4]: https://github.com/prettier/plugin-ruby/compare/v0.3.3...v0.3.4
1343
- [0.3.3]: https://github.com/prettier/plugin-ruby/compare/v0.3.2...v0.3.3
1344
- [0.3.2]: https://github.com/prettier/plugin-ruby/compare/v0.3.1...v0.3.2
1345
- [0.3.1]: https://github.com/prettier/plugin-ruby/compare/v0.3.0...v0.3.1
1346
- [0.3.0]: https://github.com/prettier/plugin-ruby/compare/v0.2.1...v0.3.0
1347
- [0.2.1]: https://github.com/prettier/plugin-ruby/compare/v0.2.0...v0.2.1
1348
- [0.2.0]: https://github.com/prettier/plugin-ruby/compare/v0.1.2...v0.2.0
1349
- [0.1.2]: https://github.com/prettier/plugin-ruby/compare/v0.1.1...v0.1.2
1350
- [0.1.1]: https://github.com/prettier/plugin-ruby/compare/v0.1.0...v0.1.1
1351
- [0.1.0]: https://github.com/prettier/plugin-ruby/compare/61f675...v0.1.0