solargraph 0.46.0 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yml +41 -41
  3. data/.gitignore +9 -9
  4. data/.rspec +2 -2
  5. data/.travis.yml +19 -19
  6. data/CHANGELOG.md +1123 -1115
  7. data/Gemfile +0 -0
  8. data/LICENSE +0 -0
  9. data/README.md +128 -128
  10. data/Rakefile +0 -0
  11. data/SPONSORS.md +17 -18
  12. data/bin/solargraph +0 -0
  13. data/lib/solargraph/api_map/bundler_methods.rb +22 -22
  14. data/lib/solargraph/api_map/cache.rb +70 -70
  15. data/lib/solargraph/api_map/source_to_yard.rb +81 -81
  16. data/lib/solargraph/api_map/store.rb +256 -256
  17. data/lib/solargraph/api_map.rb +686 -686
  18. data/lib/solargraph/bench.rb +27 -27
  19. data/lib/solargraph/compat.rb +37 -37
  20. data/lib/solargraph/complex_type/type_methods.rb +130 -130
  21. data/lib/solargraph/complex_type/unique_type.rb +75 -75
  22. data/lib/solargraph/complex_type.rb +221 -221
  23. data/lib/solargraph/convention/base.rb +33 -33
  24. data/lib/solargraph/convention/gemfile.rb +15 -15
  25. data/lib/solargraph/convention/gemspec.rb +22 -22
  26. data/lib/solargraph/convention/rspec.rb +30 -30
  27. data/lib/solargraph/convention.rb +47 -47
  28. data/lib/solargraph/converters/dd.rb +12 -12
  29. data/lib/solargraph/converters/dl.rb +12 -12
  30. data/lib/solargraph/converters/dt.rb +12 -12
  31. data/lib/solargraph/converters/misc.rb +1 -1
  32. data/lib/solargraph/diagnostics/base.rb +29 -29
  33. data/lib/solargraph/diagnostics/require_not_found.rb +53 -53
  34. data/lib/solargraph/diagnostics/rubocop.rb +98 -98
  35. data/lib/solargraph/diagnostics/rubocop_helpers.rb +63 -63
  36. data/lib/solargraph/diagnostics/severities.rb +15 -15
  37. data/lib/solargraph/diagnostics/type_check.rb +54 -54
  38. data/lib/solargraph/diagnostics/update_errors.rb +41 -41
  39. data/lib/solargraph/diagnostics.rb +55 -55
  40. data/lib/solargraph/documentor.rb +76 -76
  41. data/lib/solargraph/environ.rb +45 -45
  42. data/lib/solargraph/language_server/completion_item_kinds.rb +35 -35
  43. data/lib/solargraph/language_server/error_codes.rb +20 -20
  44. data/lib/solargraph/language_server/host/cataloger.rb +56 -56
  45. data/lib/solargraph/language_server/host/diagnoser.rb +89 -89
  46. data/lib/solargraph/language_server/host/dispatch.rb +111 -111
  47. data/lib/solargraph/language_server/host/message_worker.rb +59 -59
  48. data/lib/solargraph/language_server/host/sources.rb +156 -156
  49. data/lib/solargraph/language_server/host.rb +865 -865
  50. data/lib/solargraph/language_server/message/base.rb +89 -89
  51. data/lib/solargraph/language_server/message/cancel_request.rb +13 -13
  52. data/lib/solargraph/language_server/message/client/register_capability.rb +15 -15
  53. data/lib/solargraph/language_server/message/client.rb +11 -11
  54. data/lib/solargraph/language_server/message/completion_item/resolve.rb +58 -58
  55. data/lib/solargraph/language_server/message/completion_item.rb +11 -11
  56. data/lib/solargraph/language_server/message/exit_notification.rb +13 -13
  57. data/lib/solargraph/language_server/message/extended/check_gem_version.rb +100 -100
  58. data/lib/solargraph/language_server/message/extended/document.rb +20 -20
  59. data/lib/solargraph/language_server/message/extended/document_gems.rb +32 -32
  60. data/lib/solargraph/language_server/message/extended/download_core.rb +23 -23
  61. data/lib/solargraph/language_server/message/extended/environment.rb +25 -25
  62. data/lib/solargraph/language_server/message/extended/search.rb +20 -20
  63. data/lib/solargraph/language_server/message/extended.rb +21 -21
  64. data/lib/solargraph/language_server/message/initialize.rb +162 -162
  65. data/lib/solargraph/language_server/message/initialized.rb +27 -27
  66. data/lib/solargraph/language_server/message/method_not_found.rb +16 -16
  67. data/lib/solargraph/language_server/message/method_not_implemented.rb +14 -14
  68. data/lib/solargraph/language_server/message/shutdown.rb +13 -13
  69. data/lib/solargraph/language_server/message/text_document/base.rb +19 -19
  70. data/lib/solargraph/language_server/message/text_document/code_action.rb +17 -17
  71. data/lib/solargraph/language_server/message/text_document/completion.rb +59 -59
  72. data/lib/solargraph/language_server/message/text_document/definition.rb +38 -38
  73. data/lib/solargraph/language_server/message/text_document/did_change.rb +15 -15
  74. data/lib/solargraph/language_server/message/text_document/did_close.rb +15 -15
  75. data/lib/solargraph/language_server/message/text_document/did_open.rb +15 -15
  76. data/lib/solargraph/language_server/message/text_document/did_save.rb +17 -17
  77. data/lib/solargraph/language_server/message/text_document/document_highlight.rb +16 -16
  78. data/lib/solargraph/language_server/message/text_document/document_symbol.rb +23 -23
  79. data/lib/solargraph/language_server/message/text_document/folding_range.rb +26 -26
  80. data/lib/solargraph/language_server/message/text_document/formatting.rb +126 -126
  81. data/lib/solargraph/language_server/message/text_document/hover.rb +56 -54
  82. data/lib/solargraph/language_server/message/text_document/on_type_formatting.rb +34 -34
  83. data/lib/solargraph/language_server/message/text_document/prepare_rename.rb +11 -11
  84. data/lib/solargraph/language_server/message/text_document/references.rb +16 -16
  85. data/lib/solargraph/language_server/message/text_document/rename.rb +19 -19
  86. data/lib/solargraph/language_server/message/text_document/signature_help.rb +29 -29
  87. data/lib/solargraph/language_server/message/text_document.rb +28 -28
  88. data/lib/solargraph/language_server/message/workspace/did_change_configuration.rb +30 -30
  89. data/lib/solargraph/language_server/message/workspace/did_change_watched_files.rb +33 -33
  90. data/lib/solargraph/language_server/message/workspace/did_change_workspace_folders.rb +24 -24
  91. data/lib/solargraph/language_server/message/workspace/workspace_symbol.rb +23 -23
  92. data/lib/solargraph/language_server/message/workspace.rb +14 -14
  93. data/lib/solargraph/language_server/message.rb +93 -93
  94. data/lib/solargraph/language_server/message_types.rb +14 -14
  95. data/lib/solargraph/language_server/request.rb +24 -24
  96. data/lib/solargraph/language_server/symbol_kinds.rb +36 -36
  97. data/lib/solargraph/language_server/transport/adapter.rb +53 -53
  98. data/lib/solargraph/language_server/transport/data_reader.rb +72 -72
  99. data/lib/solargraph/language_server/transport.rb +13 -13
  100. data/lib/solargraph/language_server/uri_helpers.rb +49 -49
  101. data/lib/solargraph/language_server.rb +19 -19
  102. data/lib/solargraph/library.rb +546 -546
  103. data/lib/solargraph/location.rb +37 -37
  104. data/lib/solargraph/logging.rb +27 -27
  105. data/lib/solargraph/page.rb +83 -83
  106. data/lib/solargraph/parser/comment_ripper.rb +52 -52
  107. data/lib/solargraph/parser/legacy/class_methods.rb +135 -135
  108. data/lib/solargraph/parser/legacy/flawed_builder.rb +16 -16
  109. data/lib/solargraph/parser/legacy/node_chainer.rb +148 -148
  110. data/lib/solargraph/parser/legacy/node_methods.rb +325 -325
  111. data/lib/solargraph/parser/legacy/node_processors/alias_node.rb +23 -23
  112. data/lib/solargraph/parser/legacy/node_processors/args_node.rb +35 -35
  113. data/lib/solargraph/parser/legacy/node_processors/begin_node.rb +15 -15
  114. data/lib/solargraph/parser/legacy/node_processors/block_node.rb +42 -42
  115. data/lib/solargraph/parser/legacy/node_processors/casgn_node.rb +25 -25
  116. data/lib/solargraph/parser/legacy/node_processors/cvasgn_node.rb +23 -23
  117. data/lib/solargraph/parser/legacy/node_processors/def_node.rb +63 -63
  118. data/lib/solargraph/parser/legacy/node_processors/defs_node.rb +36 -36
  119. data/lib/solargraph/parser/legacy/node_processors/gvasgn_node.rb +23 -23
  120. data/lib/solargraph/parser/legacy/node_processors/ivasgn_node.rb +38 -38
  121. data/lib/solargraph/parser/legacy/node_processors/lvasgn_node.rb +28 -28
  122. data/lib/solargraph/parser/legacy/node_processors/namespace_node.rb +39 -39
  123. data/lib/solargraph/parser/legacy/node_processors/orasgn_node.rb +16 -16
  124. data/lib/solargraph/parser/legacy/node_processors/resbody_node.rb +36 -36
  125. data/lib/solargraph/parser/legacy/node_processors/sclass_node.rb +21 -21
  126. data/lib/solargraph/parser/legacy/node_processors/send_node.rb +257 -257
  127. data/lib/solargraph/parser/legacy/node_processors/sym_node.rb +18 -18
  128. data/lib/solargraph/parser/legacy/node_processors.rb +54 -54
  129. data/lib/solargraph/parser/legacy.rb +12 -12
  130. data/lib/solargraph/parser/node_methods.rb +43 -43
  131. data/lib/solargraph/parser/node_processor/base.rb +77 -77
  132. data/lib/solargraph/parser/node_processor.rb +43 -43
  133. data/lib/solargraph/parser/region.rb +66 -66
  134. data/lib/solargraph/parser/rubyvm/class_methods.rb +144 -144
  135. data/lib/solargraph/parser/rubyvm/node_chainer.rb +160 -160
  136. data/lib/solargraph/parser/rubyvm/node_methods.rb +315 -315
  137. data/lib/solargraph/parser/rubyvm/node_processors/alias_node.rb +23 -23
  138. data/lib/solargraph/parser/rubyvm/node_processors/args_node.rb +85 -85
  139. data/lib/solargraph/parser/rubyvm/node_processors/begin_node.rb +15 -15
  140. data/lib/solargraph/parser/rubyvm/node_processors/block_node.rb +42 -42
  141. data/lib/solargraph/parser/rubyvm/node_processors/casgn_node.rb +22 -22
  142. data/lib/solargraph/parser/rubyvm/node_processors/cvasgn_node.rb +23 -23
  143. data/lib/solargraph/parser/rubyvm/node_processors/def_node.rb +63 -63
  144. data/lib/solargraph/parser/rubyvm/node_processors/defs_node.rb +57 -57
  145. data/lib/solargraph/parser/rubyvm/node_processors/gvasgn_node.rb +23 -23
  146. data/lib/solargraph/parser/rubyvm/node_processors/ivasgn_node.rb +38 -38
  147. data/lib/solargraph/parser/rubyvm/node_processors/kw_arg_node.rb +39 -39
  148. data/lib/solargraph/parser/rubyvm/node_processors/lit_node.rb +20 -20
  149. data/lib/solargraph/parser/rubyvm/node_processors/lvasgn_node.rb +27 -27
  150. data/lib/solargraph/parser/rubyvm/node_processors/namespace_node.rb +39 -39
  151. data/lib/solargraph/parser/rubyvm/node_processors/opt_arg_node.rb +26 -26
  152. data/lib/solargraph/parser/rubyvm/node_processors/orasgn_node.rb +15 -15
  153. data/lib/solargraph/parser/rubyvm/node_processors/resbody_node.rb +45 -45
  154. data/lib/solargraph/parser/rubyvm/node_processors/sclass_node.rb +21 -21
  155. data/lib/solargraph/parser/rubyvm/node_processors/scope_node.rb +15 -15
  156. data/lib/solargraph/parser/rubyvm/node_processors/send_node.rb +277 -277
  157. data/lib/solargraph/parser/rubyvm/node_processors/sym_node.rb +18 -18
  158. data/lib/solargraph/parser/rubyvm/node_processors.rb +63 -63
  159. data/lib/solargraph/parser/rubyvm.rb +40 -40
  160. data/lib/solargraph/parser/snippet.rb +13 -13
  161. data/lib/solargraph/parser.rb +26 -26
  162. data/lib/solargraph/pin/base.rb +296 -296
  163. data/lib/solargraph/pin/base_variable.rb +84 -84
  164. data/lib/solargraph/pin/block.rb +73 -72
  165. data/lib/solargraph/pin/class_variable.rb +8 -8
  166. data/lib/solargraph/pin/closure.rb +37 -37
  167. data/lib/solargraph/pin/common.rb +70 -70
  168. data/lib/solargraph/pin/constant.rb +43 -43
  169. data/lib/solargraph/pin/conversions.rb +96 -96
  170. data/lib/solargraph/pin/documenting.rb +105 -105
  171. data/lib/solargraph/pin/duck_method.rb +16 -16
  172. data/lib/solargraph/pin/global_variable.rb +8 -8
  173. data/lib/solargraph/pin/instance_variable.rb +30 -30
  174. data/lib/solargraph/pin/keyword.rb +15 -15
  175. data/lib/solargraph/pin/keyword_param.rb +8 -8
  176. data/lib/solargraph/pin/local_variable.rb +55 -55
  177. data/lib/solargraph/pin/method.rb +245 -245
  178. data/lib/solargraph/pin/method_alias.rb +31 -31
  179. data/lib/solargraph/pin/namespace.rb +91 -91
  180. data/lib/solargraph/pin/parameter.rb +201 -201
  181. data/lib/solargraph/pin/proxy_type.rb +29 -29
  182. data/lib/solargraph/pin/reference/extend.rb +10 -10
  183. data/lib/solargraph/pin/reference/include.rb +10 -10
  184. data/lib/solargraph/pin/reference/override.rb +29 -29
  185. data/lib/solargraph/pin/reference/prepend.rb +10 -10
  186. data/lib/solargraph/pin/reference/require.rb +14 -14
  187. data/lib/solargraph/pin/reference/superclass.rb +10 -10
  188. data/lib/solargraph/pin/reference.rb +14 -14
  189. data/lib/solargraph/pin/search.rb +56 -56
  190. data/lib/solargraph/pin/singleton.rb +11 -11
  191. data/lib/solargraph/pin/symbol.rb +47 -47
  192. data/lib/solargraph/pin.rb +37 -37
  193. data/lib/solargraph/position.rb +100 -100
  194. data/lib/solargraph/range.rb +95 -95
  195. data/lib/solargraph/server_methods.rb +16 -16
  196. data/lib/solargraph/shell.rb +230 -226
  197. data/lib/solargraph/source/chain/block_variable.rb +13 -13
  198. data/lib/solargraph/source/chain/call.rb +204 -204
  199. data/lib/solargraph/source/chain/class_variable.rb +13 -13
  200. data/lib/solargraph/source/chain/constant.rb +75 -75
  201. data/lib/solargraph/source/chain/global_variable.rb +13 -13
  202. data/lib/solargraph/source/chain/hash.rb +28 -28
  203. data/lib/solargraph/source/chain/head.rb +19 -19
  204. data/lib/solargraph/source/chain/instance_variable.rb +13 -13
  205. data/lib/solargraph/source/chain/link.rb +71 -71
  206. data/lib/solargraph/source/chain/literal.rb +23 -23
  207. data/lib/solargraph/source/chain/or.rb +23 -23
  208. data/lib/solargraph/source/chain/q_call.rb +11 -11
  209. data/lib/solargraph/source/chain/variable.rb +13 -13
  210. data/lib/solargraph/source/chain/z_super.rb +30 -30
  211. data/lib/solargraph/source/chain.rb +164 -164
  212. data/lib/solargraph/source/change.rb +79 -79
  213. data/lib/solargraph/source/cursor.rb +164 -164
  214. data/lib/solargraph/source/source_chainer.rb +191 -191
  215. data/lib/solargraph/source/updater.rb +54 -54
  216. data/lib/solargraph/source.rb +524 -522
  217. data/lib/solargraph/source_map/clip.rb +224 -224
  218. data/lib/solargraph/source_map/completion.rb +23 -23
  219. data/lib/solargraph/source_map/mapper.rb +239 -212
  220. data/lib/solargraph/source_map.rb +180 -180
  221. data/lib/solargraph/type_checker/checks.rb +99 -99
  222. data/lib/solargraph/type_checker/param_def.rb +35 -35
  223. data/lib/solargraph/type_checker/problem.rb +32 -32
  224. data/lib/solargraph/type_checker/rules.rb +57 -57
  225. data/lib/solargraph/type_checker.rb +543 -543
  226. data/lib/solargraph/version.rb +5 -5
  227. data/lib/solargraph/views/environment.erb +58 -58
  228. data/lib/solargraph/workspace/config.rb +231 -231
  229. data/lib/solargraph/workspace.rb +215 -215
  230. data/lib/solargraph/yard_map/cache.rb +19 -19
  231. data/lib/solargraph/yard_map/core_docs.rb +170 -170
  232. data/lib/solargraph/yard_map/core_fills.rb +208 -208
  233. data/lib/solargraph/yard_map/core_gen.rb +76 -76
  234. data/lib/solargraph/yard_map/helpers.rb +16 -16
  235. data/lib/solargraph/yard_map/mapper/to_constant.rb +25 -25
  236. data/lib/solargraph/yard_map/mapper/to_method.rb +78 -78
  237. data/lib/solargraph/yard_map/mapper/to_namespace.rb +27 -27
  238. data/lib/solargraph/yard_map/mapper.rb +77 -77
  239. data/lib/solargraph/yard_map/rdoc_to_yard.rb +140 -140
  240. data/lib/solargraph/yard_map/stdlib_fills.rb +43 -43
  241. data/lib/solargraph/yard_map/to_method.rb +79 -79
  242. data/lib/solargraph/yard_map.rb +460 -460
  243. data/lib/solargraph.rb +69 -69
  244. data/lib/yard-solargraph.rb +33 -33
  245. data/solargraph.gemspec +0 -0
  246. metadata +12 -12
data/CHANGELOG.md CHANGED
@@ -1,1115 +1,1123 @@
1
- ## 0.46.0
2
- - Ignore typecheck errors with @sg-ignore tag (#419)
3
- - Strict checks report undefined method calls on variables (#553)
4
- - Infer type from method arguments (#554)
5
- - Return nil value for empty hover contents (#543)
6
-
7
- ## 0.45.0 - May 23, 2022
8
- - Basic support for RSpec #describe and #it
9
- - fix: domain can complete private method (#490)
10
- - Update README.md (#533)
11
- - Doc: update readme.md for add solargraph support (#536)
12
- - Process DASGN node in Ruby 3
13
- - File.open core fill
14
- - replace with_unbundled_env with with_original_env (#489)
15
- - Require specific version of gem (#509)
16
- - Support URIs prefixed with single slashed file scheme (#529)
17
- - Fix typo in README.md (#549)
18
- - details on config behavior (#556)
19
- - Consider overloads in arity checks
20
- - ENV core fill for Hash-like methods (#537)
21
- - Fix string ranges with substitutions (#463)
22
-
23
- ## 0.44.3 - January 22, 2022
24
- - TypeChecker validates aliased namespaces (#497)
25
- - Always use reference YARD tags when resolving param types (#515) (#516)
26
- - Skip method aliases in strict type checking
27
-
28
- ## 0.44.2 - November 23, 2021
29
- - Scope local variables in class_eval blocks (#503)
30
- - Fix invalid UTF-8 in node comments (#504)
31
-
32
- ## 0.44.1 - November 18, 2021
33
- - Chain nil safety navigation operator (#420)
34
- - Update closure and context for class_eval receiver (#487)
35
- - SourceMap::Mapper handles invalid byte sequences (#474)
36
- - Special handle var= references, which may use as var = (have space) (#498)
37
- - Rebind define_method to self (#494)
38
-
39
- ## 0.44.0 - September 27, 2021
40
- - Allow opening parenthesis, space, and comma when using Diff::LCS (#465)
41
- - Support textDocument/documentHighlight
42
- - Library#references_from performs shallow matches
43
-
44
- ## 0.43.3 - September 25, 2021
45
- - Avoid Dir.chdir in Bundler processes (#481)
46
- - Check stdlib for gems with empty yardocs
47
- - Library#maybe_map checks for source in workspace
48
-
49
- ## 0.43.2 - September 23, 2021
50
- - Synchronize server requests (#461)
51
-
52
- ## 0.43.1 - September 20, 2021
53
- - Complete nested namespaces in open gates
54
- - SourceMap::Mapper reports filename for encoding errors (#474)
55
- - Handle request on a specific thread, and cancel completion when there has newer completion request (#459)
56
- - Fix namespace links generated by views/_method.erb (#472)
57
- - Source handles long squiggly heredocs (#460)
58
-
59
- ## 0.43.0 - July 25, 2021
60
- - Correct arity checks when restarg precedes arg (#418)
61
- - Improve the performance of catalog by 4 times (#457)
62
- - Type checker validates duck type variables and params (#453)
63
- - Kernel#raise exception type checker
64
- - Pin::Base#inspect includes path
65
- - Fix arity with combined restargs and kwrestargs (#396)
66
-
67
- ## 0.42.4 - July 11, 2021
68
- - Yardoc cache handling
69
- - Fix required_paths when gemspec is used (#451)
70
- - fix: yard stdout may break language client (#454)
71
-
72
- ## 0.42.3 - June 14, 2021
73
- - Require 'pathname' for Library
74
-
75
- ## 0.42.2 - June 14, 2021
76
- - Improve download-core command output
77
- - Ignore missing requests to client responses
78
- - Add automatically required gems to YardMap
79
- - Use closures to identify local variables
80
-
81
- ## 0.42.1 - June 11, 2021
82
- - YardMap#change sets new directory (#445)
83
-
84
- ## 0.42.0 - June 11, 2021
85
- - Improve YardMap efficiency
86
- - Bench includes Workspace for cataloging
87
- - Initialize confirms static features from options (#436)
88
- - Enable simple repairs without incremental sync (#416)
89
- - Discard unrecognized client responses
90
- - Notify on use of closest match for core (#390)
91
-
92
- ## 0.41.2 - June 9, 2021
93
- - Rescue InvalidOffset in async diagnosis
94
- - Remove erroneous escaping from Hover
95
-
96
- ## 0.41.1 - May 31, 2021
97
- - ApiMap handles required bundles (#443)
98
-
99
- ## 0.41.0 - May 30, 2021
100
- - Chain constant at last double colon with more than two nested namespaces
101
- - Fill Integer#times return type (#440)
102
- - Validate included modules in type checks (#424)
103
- - Faster language server initialization
104
- - Server response to initialize is near immediate
105
- - Workspace is mapped in a background thread
106
- - Supported clients report mapping progress
107
- - Log RuboCop corrections at info level (#426)
108
- - Allow configuring the version of RuboCop to require (#430)
109
- - Fix source of diagnostic (#434)
110
- - Fix file argument in RuboCop (#435)
111
- - Config ignores directories with .rb extension (#423)
112
-
113
- ## 0.40.4 - March 3, 2021
114
- - Fix optarg and blockarg ordering
115
- - Override specialization for #initialize
116
- - Find definitions with cursor after double colon
117
-
118
- ## 0.40.3 - February 7, 2021
119
- - Simplify and allow to configure rubocop formatter (#403)
120
- - Type checker shows tag in param type errors (#398)
121
- - Handle bare private_constant (#408)
122
- - Type checker handles splatted variables (#396)
123
-
124
- ## 0.40.2 - January 18, 2021
125
- - Type checker ignores splatted calls in arity (#396)
126
- - Allow Parser 3.0 (#400)
127
-
128
- ## 0.40.1 - December 28, 2020
129
- - Use temp directory for RuboCop formatting (#397)
130
- - NodeMethods reads splatted hashes (#396)
131
-
132
- ## 0.40.0 - December 14, 2020
133
- - Fix alias behavior
134
- - Consolidate method pin classes
135
- - Consolidate YARD pins
136
- - CheckGemVersion can use Bundler for updates
137
- - Tempfile fills
138
- - Support rubocop 1.0 (#381)
139
- - Require Ruby >= 2.4.0 (#394)
140
- - Map visibility calls with method arguments (#395)
141
- - Switch maruku to kramdown
142
- - Remove nokogiri dependency
143
- - Detect internal_or_core? for strict type checking
144
- - ApiMap#catalog merges environs for all sources in bench
145
-
146
- ## 0.39.17 - September 28, 2020
147
- - Handle YARD pins in alias resolution
148
-
149
- ## 0.39.16 - September 27, 2020
150
- - Include acts like extend inside sclass
151
- - Improved alias resolution
152
- - Parse args from YARD method objects
153
- - Resolve included namespaces with conflicts
154
- - Chains infer from multiple variable assignments
155
- - Array and Hash core fills
156
- - String.new core fill
157
-
158
- ## 0.39.15 - August 18, 2020
159
- - Backwards compatibility for typecheck subcommand
160
- - Handle dangling colons on tag hovers
161
- - NodeChainer handles chains with multiple blocks
162
-
163
- ## 0.39.14 - August 13, 2020
164
- - Fix return nodes from case statements (#350)
165
- - Treat for loops as closures (#349)
166
- - Array#zip core fill (#353)
167
- - Exit with 1 if type check finds problems (#354)
168
-
169
- ## 0.39.13 - August 3, 2020
170
- - YardPin::Method skips invalid parameters (#345)
171
- - Complete and define complex type tags
172
-
173
- ## 0.39.12 - July 18, 2020
174
- - Completion and hover on tags in comments (#247)
175
- - Formatting change in RuboCop 0.87.0
176
- - Use `ensure` block for File.unlink tempfile (#342)
177
- - Fix super handling in call_nodes_from
178
-
179
- ## 0.39.11 - July 3, 2020
180
- - Fix line numbering in bare parse directives
181
- - Bracket handling
182
-
183
- ## 0.39.10 - July 1, 2020
184
- - RDoc comments can be strings
185
-
186
- ## 0.39.9 - June 20, 2020
187
- - Fixed directive parsing
188
- - Relocate pins from @!parse macros
189
- - Return all symbols for empty queries (#328)
190
- - Log number of files
191
- - RdocToYard includes method line numbers
192
-
193
- ## 0.39.8 - May 26, 2020
194
- - File < IO reference
195
- - Updated yardoc archive
196
- - Chain integers with trailing periods
197
- - Map autoload paths
198
- - Set Encoding.default_external
199
- - Faster store index
200
- - ApiMap#catalog rebinds blocks
201
- - Fixed binder inheritance
202
- - Remove ApiMap mutex
203
- - Set overrides
204
-
205
- ## 0.39.7 - May 4, 2020
206
- - RubyVM convert_hash node check
207
- - File URI space encoding bug
208
-
209
- ## 0.39.6 - May 3, 2020
210
- - Workspace evaluates gem spec in toplevel binding (#316)
211
- - Rescue StandardError instead of Exception
212
- - Correct method parameter order
213
- - Gracefully handle misunderstood macros (#323)
214
-
215
- ## 0.39.5 - May 2, 2020
216
- - Nil check in name_type_tag template
217
- - Update obsolete method calls for Ruby 2.7
218
- - YardMap rejects external pins
219
- - RubyVM mapper handles Bundler.require calls
220
- - RDocToYard clears serialized cache
221
- - Workspace evaluates gem specs without binding
222
- - Documentor clears gem caches
223
-
224
- ## 0.39.4 - April 30, 2020
225
- - RDocToYard update and spec (#315)
226
- - Map function calls to visibility methods
227
- - Cache source code line arrays
228
- - Fix RuboCop errors
229
-
230
- ## 0.39.3 - April 28, 2020
231
- - Mapper handles private_class_method without arguments (#312)
232
- - Fix pin positions from YARD directives (#313)
233
- - Rescue errors from pin caches
234
-
235
- ## 0.39.2 - April 26, 2020
236
- - Fix legacy super/zsuper node processing
237
- - Map parameters to updated module functions
238
- - Include mass assignment in call nodes
239
-
240
- ## 0.39.1 - April 26, 2020
241
- - Additional return node checks from case statements in legacy
242
- - Check super call arity
243
-
244
- ## 0.39.0 - April 26, 2020
245
- - RubyVM parser for Ruby 2.6+
246
- - Lambda node processor
247
- - Faster CommentRipper
248
- - Implement TypeChecker levels
249
- - Type inference improvements
250
- - Prefer @return to @type in constant tags
251
- - Support @abstract tags
252
- - Improved recipient node detection
253
- - Host#diagnose rescues FileNotFoundError
254
- - Fuzzier inheritance checks
255
- - Refactored uri queue synchronization (#289)
256
- - Constant resolution finds nearest names (#287)
257
- - Arity checks
258
- - Additional CoreFills for numeric types and operators
259
- - Chains track splat arguments
260
- - Support case statements in type inference
261
- - Support prepended modules (#302)
262
- - TypeChecker validates constants
263
- - Rescue ENOENT errors when loading sources (#308)
264
- - Formatting message handles empty files
265
- - Avoid lazy initialization of Mutex
266
- - ApiMap inner queries use Set instead of Array
267
-
268
- ## 0.38.6 - March 22, 2020
269
- - Ignore Bundler warnings when parsing JSON (#273)
270
- - Chain inference stack uses pin identities (#293)
271
- - Fix super_and_sub? name collisions (#288, #290)
272
- - Fix various Bundler and Travis bugs
273
-
274
- ## 0.38.5 - January 26, 2020
275
- - Namespace conflict resolution
276
- - Pin context uses closure context in class scope
277
- - Format file without extension (#266)
278
-
279
- ## 0.38.4 - January 21, 2020
280
- - Literal link generates ComplexType
281
- - Remove pin cache from chain inference
282
- - Avoid duplicates in combined LSP documentation
283
- - YardMap skips workspace gems
284
-
285
- ## 0.38.3 - January 19, 2020
286
- - Refactored YardMap require processing
287
- - Object/BasicObject inheritance handling in method detection
288
- - StdlibFills and YardMap integration (#226)
289
- - Include scope gates in local variable detection
290
- - Reduce namespace pins in YARD pin generation
291
- - Support multiple return tags in method return types
292
- - File core fills
293
- - Benchmark stdlib fill
294
- - Redorder methods to include core after other classes
295
- - Method type inference uses chains and includes block nodes (#264)
296
- - Infer from overloaded methods with local variable arguments
297
- - Add Array#map! to core fills
298
-
299
- ## 0.38.2 - January 9, 2020
300
- - Include visibility in method documentation
301
- - Bundler >= 2.1 uses with_unbundled_env (#252)
302
- - Remove irb from dependencies (#258)
303
- - Update embedded docs (#259)
304
- - Object#inspect core fill
305
- - ApiMap finds constants in superclasses
306
- - STDIO constant variables
307
- - Filter duplicate pins in completionItem/resolve
308
- - Travis updates
309
-
310
- ## 0.38.1 - January 2, 2020
311
- - Hash#[]= type checking
312
- - Experimental @param_typle tag
313
- - TypeChecker argument checks inherit param tags from superclasses
314
- - Miscellaneous core overrides
315
- - Boolean literals and type checking
316
- - Update Thor (#254)
317
- - CI against Ruby 2.7 (#253)
318
-
319
- ## 0.38.0 - November 22, 2019
320
- - Drop htmlentities dependency (#224)
321
- - Blank lines do not affect indentation in documentation
322
- - Use backticks for code blocks in generated markdown
323
- - Register additional HTML tags in ReverseMarkdown
324
- - Guard against nil pin comments (#231)
325
- - Speedup Solargraph::ApiMap::Store#fqns_pin (#232)
326
- - RuboCop formatting integration through API (#239)
327
- - Qualify literal value types (#240)
328
- - Switch back to Maruku for documentation generation
329
- - Refactored dependencies to improve startup time
330
- - Test if ns is nil to avoid exception (#245)
331
- - Nil check when parsing comments (#243)
332
-
333
- ## 0.37.2 - August 25, 2019
334
- - Generate documentation without conversions
335
-
336
- ## 0.37.1 - August 19, 2019
337
- - No escape in completion item detail
338
-
339
- ## 0.37.0 - August 19, 2019
340
- - Replace Maruku with YARD RDocMarkup
341
- - Refactored Cursor#recipient
342
- - Remove HTML entity escaping
343
- - Messages check enablePages for links
344
- - Escape method for templates
345
- - Escape type tags with backslashes
346
- - Updated gem dependencies
347
-
348
- ## 0.36.0 - August 12, 2019
349
- - Replace redcarpet with maruku
350
- - Check for nil nodes in variable probes (#221)
351
-
352
- ## 0.35.2 - August 6, 2019
353
- - Chains resolve block variable types.
354
-
355
- ## 0.35.1 - July 29, 2019
356
- - Infer variable types from assignments with unparenthesized arguments
357
- - (#212)
358
-
359
- ## 0.35.0 - July 19, 2019
360
- - Track blocks in chain links
361
- - Array overloads
362
- - Fix NoMethodError for empty overload tags
363
- - TypeChecker validates block args
364
- - Object#to_s override
365
- - Pin::BaseVariable uses clips for probles
366
- - Add ability to read from a global config file (#210)
367
- - SourceChainer falls back to fixed phrases in repaired sources
368
- - Find return nodes in blocks
369
-
370
- ## 0.34.3 - July 14, 2019
371
- - Refactor to reduce frequent allocations
372
- - Only send renameOptions to clients with prepareSupport (#207)
373
- - Add pin locations to scans
374
- - TypeChecker finds params for hash args by name
375
- - Drop empty register/unregister events (#209)
376
- - Pin::Parameter type inference
377
- - Detect yielded blocks in calls
378
- - SourceMap::Mapper maps overrides
379
-
380
- ## 0.34.2 - July 3, 2019
381
- - Documentor uses an external process to collect specs
382
- - Bundle subcommand passes rebuild option to Documentor
383
- - Refactored bundle dependency reads
384
- - Fixed Travis issues
385
-
386
- ## 0.34.1 - June 26, 2019
387
- - Refactored bundler/require handling
388
- - Fix clip completion from repaired sources
389
- - Bundler issues in Travis
390
-
391
- ## 0.34.0 - June 25, 2019
392
- - Keyword argument names in autocomplete
393
- - `solargraph bundle` and related cache commands
394
- - RDoc to YARD conversion
395
- - More TypeChecker validation
396
- - Environs and Conventions
397
- - Core overrides
398
- - `@overload` tag support
399
- - Handle splats in overloads
400
- - Scope gates
401
- - Type Class/Module reduction hack
402
- - Duck type checking
403
- - frozen_string_literal
404
- - Faster YardMap loading
405
-
406
- ## 0.33.2 - June 20, 2019
407
- - Fixed resolution of `self` keyword
408
- - Chain inference depth limits
409
- - Source#references skips nodes without the requested symbol
410
- - Refactored Library without `checkout` method
411
- - Parameter merges require same closures
412
- - Completion item descriptions contain unique links
413
-
414
- ## 0.33.1 - June 18, 2019
415
- - Ignore attribute directives without names (castwide/vscode-solargraph#124)
416
- - Chain and/or/begin/kwbegin nodes
417
- - TypeCheck diagnostics run on workspace files only by default
418
- - Mapper updates directive positions (#176)
419
- - Track pins in TypeChecker problems.
420
-
421
- ## 0.33.0 - June 18, 2019
422
- - Deprecated plugin architecture
423
- - Closure pins for enhanced context and scope detection
424
- - Block resolution
425
- - Major Pin refactoring
426
- - Single parameter pin for blocks and methods
427
- - Major NodeProcessor refactoring
428
- - Block rebinding
429
- - Resolve method aliases
430
- - Namespace scope gates (WIP)
431
- - Improved ApiMap::Store indexing
432
- - ApiMap block recipient cache
433
- - Refactored pin and local mapping
434
- - Host synchronization fixes
435
- - Rebind instance_eval, class_eval, and module_eval blocks
436
- - Improved string detection
437
- - Use @param tags for parameter pin documentation
438
- - Go To Definition works on require paths (castwide/vscode-solagraph#104)
439
- - Mapper processes singleton method directives
440
- - Resolve self return types based on current context
441
- - Exclude inner node comments from documentation
442
- - Infer hash element types from value parameters
443
- - Pin::BaseMethod typifies from super methods
444
- - Ignore FileNotFoundError in textDocument/signatureHelp
445
- - Class#new and Class.new return types
446
- - Chain::Call resolves `self` return types
447
- - Deprecated Pin::Method#infer method
448
- - Pin::Method#probe returns unique tags
449
- - Errant dstr detection
450
- - Source does not detect string? at end of interpolation
451
- - String detection in unsynchronized sources
452
- - Reduced node comparisons in Source#string_at?
453
- - Superclass qualification for instance variables
454
- - Pin::Attribute#probe infers types from instance variables
455
- - First version of TypeChecker and its reporter
456
- - Strict type checking
457
- - Source::Chain::Call does not typify/probe/proxy pins
458
- - Probe for detail in hover and resolve
459
- - JIT pin probes
460
- - Command-line typecheck
461
- - Clip#complete skips unparsed sources
462
- - Check parameter types for super_and_sub?
463
- - Object#! CoreFill.
464
- - `scan` subcommand
465
- - Detect class variables by scope gates
466
- - Move METHODS_RETURNING_SELF to CUSTOM_RETURN_TYPES
467
- - Host::Dispatch catalogs attachments to implicit and generic libraries (#139)
468
- - Preliminary support for `@overload` tags
469
- - `self` resolution in ComplexTypes
470
-
471
- ## 0.32.4 - May 27, 2019
472
- - Backport update
473
-
474
- ## 0.32.3 - May 14, 2019
475
- - - ApiMap#get_namespace_type selects namespace pins (#183)
476
- - - Fixed type inference for Class.new and Class#new exceptions
477
-
478
- ## 0.32.2 - May 6, 2019
479
- - - Gemspec changes
480
- - - Recommend LanguageClient-neovim instead of vim-solargraph (#180)
481
- - - Added Eclipse plugin information (#181)
482
- - - Refactored cataloging
483
- - - workspace/didChangeWatchedFiles catalogs libraries (#139)
484
-
485
- ## 0.32.1 - April 7, 2019
486
- - completionItem/resolve returns nil for empty documentation
487
-
488
- ## 0.32.0 - April 4, 2019
489
- - Add implementation of textDocument/prepareRename (#158)
490
- - Update to Backport 1.0
491
- - Source handles comments that start with multiple hashes
492
- - Add Ruby 2.6.1 to CI
493
- - Updated JRuby version support
494
- - Infer return types from top-level references
495
- - SourceChainer handles ! and ? outside of method suffixes (#166)
496
- - CompletionItem uses MarkupContent for documentation (#173)
497
- - Add Object#tap to core documentation. (#172)
498
- - Source and Mapper handle invalid UTF-8 byte sequences (#33)
499
- - Exceptions while mapping emit warning messages
500
- - Process private_class_method for attributes (#171)
501
- - Qualify namespaces from includes in the root namespace (#170)
502
- - Faster YARD object location
503
-
504
- ## 0.31.3 - February 7, 2019
505
- - Location of directive context depends on tag name
506
- - Regenerated core docs
507
- - Don't escape colon in URI (#150)
508
- - Reduce file_to_uri conversions to avoid discrepancies
509
- - SourceMap::Clip#locals corrects cursor positions outside of the root context
510
- - Host::Sources notifies observers with URIs
511
- - Finish synchronizing sources with unbalanced lines
512
- - Use ComplexType.try_parse to avoid exceptions for syntax errors
513
-
514
- ## 0.31.2 - January 27, 2019
515
- - Use YARD documentation rules to associate directives with namespaces
516
- - Handle non-unique pin locations in completionItem/resolve
517
- - Clip#complete handles @yieldself and @yieldpublic contexts
518
- - Host::Dispatch filters library updates (castwide/vscode-solargraph#99)
519
- - Qualify included namespaces (#148)
520
-
521
- ## 0.31.1 - January 20, 2019
522
- - Unsynchronized sources can still try to use existing nodes for chains
523
- - Host filters document symbols for unique locations
524
- - Server response logging in debug
525
- - Host keeps deleted files open in sources
526
- - CoreGen tweaks
527
- - Fix negative argument error in Source#stringify_comment_array (#141)
528
- - Library#references_from includes parameter pins (#135)
529
- - Block nodes are foldable
530
- - Source detects comment positions past the range on the ending line
531
- - workspace/didChangeConfiguration ignores null settings (#144)
532
-
533
- ## 0.31.0 - January 13, 2019
534
- - Removed deprecated Library methods
535
- - Tweaked foldable comment ranges
536
- - Host::Dispatch module for managing open sources and libraries
537
- - YardMap::CoreGen module for generating documentation from Ruby source
538
- - Improved communication between hosts and adapters
539
- - Refactored Host methods
540
- - `@!domain` directive uses [type] syntax
541
- - Make SourceMap#query_symbols use fuzzy matching. (#132)
542
- - Threaded ApiMap cataloging
543
- - Fixed fencepost error in Position.from_offset
544
- - Lazy method alias resolution
545
- - Library#references_from returns unique locations
546
- - Additional info logs
547
- - Asynchronous source parsing
548
- - Unsychronized source support for faster completion requests (castwide/vscode-solargraph#95)
549
- - Faster source comment parsing
550
- - Host only diagnoses synchronized sources
551
-
552
- ## 0.30.2 - December 31, 2018
553
- - Workspace/library mapping errors (castwide/solargraph#124)
554
- - RuboCop diagnostics handle validation errors
555
- - Map visibility methods with parameters
556
- - Allow overriding core doc cache directory (castwide/solargraph#125)
557
-
558
- ## 0.30.1 - December 27, 2018
559
- - Library#catalog avoids rebuilding ApiMaps that are already synchronized
560
- - Host#locate_pin finds YARD pins
561
- - completionItem/resolve merges documentation from multiple pins
562
-
563
- ## 0.30.0 - December 22, 2018
564
- - Multi-root workspaces
565
- - Folding ranges
566
- - Logging with levels
567
- - Environment info
568
- - Replace EventMachine with Backport
569
- - Gems without yardocs fall back to stdlib
570
- - Formatting requires shellwords
571
- - Use Pathname to normalize require paths
572
-
573
- ## 0.29.5 - December 18, 2018
574
- - Source::Change repairs preceding periods and colons.
575
- - Pins use typify and probe methods for type inference.
576
- - NodeChainer supports or_asgn nodes.
577
- - NodeMethods.returns_from supports and/or nodes.
578
- - Library uses single source checkout.
579
- - ApiMap includes BasicObject and operators in method queries.
580
- - Refactored CheckGemVersion.
581
-
582
- ## 0.29.4 - December 7, 2018
583
- - Parameter type checks in implicit type inference.
584
- - Additional implicit method type detection cases.
585
- - Chains match constants on complete symbols.
586
-
587
- ## 0.29.3 - December 5, 2018
588
- - Missing parameter in send_notification call.
589
- - Typo in checkGemVersion message.
590
-
591
- ## 0.29.2 - December 5, 2018
592
- - Pin type checks for module_function, private_class_method, and private_constant.
593
- - ApiMap#catalog checks for added and removed sources.
594
-
595
- ## 0.29.1 - November 30, 2018
596
- - Alias method reference error.
597
-
598
- ## 0.29.0 - November 26, 2018
599
- - Map method aliases.
600
- - Removed coderay dependency.
601
- - Initial support for named macros.
602
- - First implementation of deep method inference.
603
- - See references in @return tags.
604
- - Literal regexp support.
605
- - Additional CoreFills.
606
- - Mapper uses NodeProcessor.
607
- - Pin::BlockParameter checks param tags by index.
608
- - Clip#complete handles unfinished constants with trailing nodes.
609
- - Library performs case-insensitive strips of symbol references.
610
- - Unparsed sources have nil nodes.
611
- - NodeProcessor recurses into nodes by default.
612
- - Namespace conflicts in method queries.
613
- - SourceMap::Clip#complete method visibility.
614
- - Enable gem dependency mapping.
615
-
616
- ## 0.28.4 - October 26, 2018
617
- - Pin::Documenting#documentation converts without RDoc (castwide/solargraph#97)
618
- - Rescue errors in gemspec evaluation (castwide/solargraph#100)
619
-
620
- ## 0.28.3 - October 21, 2018
621
- - Deprecated overwrite features.
622
- - Pin::MethodParameter finds unnamed param tags by index.
623
- - Workspace does not cache loaded gems.
624
- - Explicit range in textDocument/formatting result (castwide/vscode-solargraph#83).
625
- - SourceMap::Mapper maps alias and alias_method.
626
- - Source::Chain avoids recursive variable assignments (castwide/solargraph#96).
627
- - Pin scope reference in Chain::Head.
628
- - Clip does not define arbitrary comments.
629
-
630
- ## 0.28.2 - October 2, 2018
631
- - Map aliases.
632
- - Refactored diagnostics.
633
- - SourceChainer checks for nil source error ranges.
634
- - Clips handle partially completed constants.
635
- - ApiMap method queries return one pin for root methods.
636
- - Clip#complete detects unstarted inner constants.
637
-
638
- ## 0.28.1 - September 18, 2018
639
- - YardMap adds superclass, include, and extend references.
640
-
641
- ## 0.28.0 - September 16, 2018
642
- - ApiMap sorts constants by name within namespaces.
643
- - Simplified source parsing.
644
- - SourceChainer requires parsed and unrepaired source for node chaining.
645
- - Source#synchronize does not flag repaired sources unparsed.
646
- - References extend pins.
647
- - Source::Change#repair handles multiple periods and colons.
648
- - Chain::Constant uses chained context.
649
- - Chain rebased constants.
650
- - Deprecated Chain::Definition.
651
- - SourceMap::Mapper includes symbol pins in standard pin array.
652
- - YardMap ignores duplicate requires of the same gem.
653
- - textDocument/rename hack for variables.
654
- - Completing duck types searches for all duck-typed methods and includes Object.
655
-
656
- ## 0.27.1 - September 10, 2018
657
- - Default Host#library instance.
658
-
659
- ## 0.27.0 - September 9, 2018
660
- - New Cursor and Clip components replace Fragments.
661
- - Split Sources into Sources (text and nodes) and SourceMaps (pins and other map-related data).
662
- - Improved Source synchronization.
663
- - Standardized chain generation on NodeChainer.
664
- - Redesigned server threading.
665
- - Host::Cataloger is responsible for updating ApiMaps.
666
- - Host::Diagnoser is responsible for running diagnostics.
667
- - Server checks gem versions inline instead of running an external process.
668
- - New Library synchronization.
669
- - ApiMap#catalog uses Bundles for updates.
670
- - SourceMap::Mapper processes directives.
671
- - Improved SourceMap and Pin merging.
672
- - Chains support `super` and `self` keywords.
673
-
674
- ## 0.26.1 - August 31, 2018
675
- - Update variable pins when synchronizing sources.
676
-
677
- ## 0.26.0 - August 30, 2018
678
- - Major refactoring.
679
- - More ComplexType integration.
680
- - Use Chains for pin resolution and type inference.
681
- - Deprecated ApiMap::Probe for Chains.
682
- - Force UTF-8 encoding without normalizing.
683
- - CallChainer parses simple call chains.
684
- - Fragments are responsible for define, complete, and signify.
685
- - Method visibility in ApiMap#get_complex_type_methods.
686
-
687
- ## 0.25.1 - August 20, 2018
688
- - Revised hack in Host change thread for mismatches in version numbers and content changes
689
- - Mapper#code_for corrects for EOL conversions in parser
690
- - Fix TypeError on hover (castwide/solargraph#82)
691
- - All fragment components return strings
692
- - ComplexType supports fixed parameters
693
- - ComplexType supports hash parameters with key => value syntax
694
-
695
- ## 0.25.0 - August 17, 2018
696
- - RuboCop reporter uses an inline operation instead of an external process
697
- - Resolve class and instance variable types from signatures
698
- - Source attempts fast pin merges
699
- - Refactored docstring parsing
700
- - Pins can merge comments
701
- - Variable pins use complex return types
702
- - MethodParameter pin merges return types
703
- - Handle self in ApiMap#qualify
704
- - First implementation of new YardMap
705
- - ApiMap::Store does not delete yard pins on source updates
706
- - ApiMap changes to use new YardMap and store
707
- - RequireNotFound uses ApiMap#unresolved_requires
708
- - YardMap stdlib support
709
- - Synchronize required path changes
710
- - ComplexType ignores curly brackets
711
- - Synchronize YardMap with source updates
712
- - YardMap cache and ApiMap::Store synchronization
713
- - Method completion filter
714
- - ApiMap#define ignores keywords
715
- - Removed manual garbage collection
716
- - Docstring comparisons for pin merges
717
- - Removed extra whitespace from method pin documentation
718
- - textDocument/completion returns empty result marked incomplete while document is changing
719
- - YardMap generates stdlib pins in one pass and caches results
720
- - Disabled version order hack in Host change thread
721
- - textDocument/formatting uses nil ranges for overwriting
722
-
723
- ## 0.24.1 - August 9, 2018
724
- - No completion items for void return types
725
- - ApiMap#complete qualifies pin return types
726
- - Add space to = in attribute writer methods
727
- - Redirect YARD logger to stderr
728
-
729
- ## 0.24.0 - August 5, 2018
730
- - Complex types
731
- - Include duck-typed methods in completion items
732
- - Fragments correct EOL discrepancies in comment ranges
733
- - TypeNotDefined diagnostics
734
- - Mapper suppresses stdout while parsing docstrings
735
-
736
- ## 0.23.6 - August 2, 2018
737
- - Fragment signatures skip array brackets inside arguments and blocks
738
- - Disabled Host#save in DidSave
739
- - Source documentation and method visibility
740
- - YARD method object visibility
741
- - Probe#infer_signature_type qualifies return types
742
- - SourceToYard rakes method and attribute pins together
743
- - LSP Initialize method prefers rootUri to rootPath
744
-
745
- ## 0.23.5 - July 16, 2018
746
- - Source identifies files that raise exceptions
747
- - ApiMap recognizes self keyword
748
- - Refactored diagnostics reporters
749
- - Source#all_symbols ignores pins with empty names
750
- - Allow ? and ! in fragment signatures
751
- - Runtime process checks scope for methods
752
- - LiveMap returns constant pins
753
- - Probe includes locals when resolving block parameters
754
- - Probe resolves word types
755
-
756
- ## 0.23.4 - July 9, 2018
757
- - Pin::Attribute#parameters is an empty array.
758
- - Include attributes in Source method pins.
759
- - Removed alphanumeric condition for mapping def pins.
760
- - Refactored Source symbol query and pin location.
761
-
762
- ## 0.23.3 - July 4, 2018
763
- - Fixed workspace/symbol method references
764
- - Library#overwrite ignores out-of-sync requests
765
- - Dynamic registration fixed
766
-
767
- ## 0.23.2 - July 4, 2018
768
- - Fixed dynamic registration checks.
769
-
770
- ## 0.23.1 - July 4, 2018
771
- - Fixed initialize result for clients without dynamic registration.
772
-
773
- ## 0.23.0 - July 1, 2018
774
- - Dynamic registration for definitions, symbols, rename, and references
775
- - Fixed capability registration issues
776
- - First version of stdio transport
777
- - YardMap object cache
778
- - Pin::Attribute supports class method paths
779
- - File.realdirpath conversion bug (castwide/solargraph#64)
780
-
781
- ## 0.22.0 - May 28, 2018
782
- - Ruby 2.5 issues on Travis CI
783
- - Fixed in-memory cache issue
784
- - Fixed type inference from signatures for literal values
785
- - Infer local variable types derived from other local variables
786
- - textDocument/references support
787
- - textDocument/rename support
788
- - Probe infers word pins for nested namespaces
789
- - Attribute scopes
790
- - RuboCop command specifies config file
791
-
792
- ## 0.21.1 - May 13, 2018
793
- - Initial support for module_function method visibility.
794
- - Map `extend self` calls.
795
- - ApiMap#complete filters completion results on the current word.
796
- - Refactored YardMap stdlib handling.
797
- - Minor Message#send bug in socket transport that raised exceptions in Ruby 2.5.1.
798
- - Probe#infer_method_pins fully qualifies context_pin namespace.
799
-
800
- ## 0.21.0 - May 7, 2018
801
- - ApiMap reads additional required paths from the workspace config.
802
- - Source handles encoding errors.
803
- - Integrated Travis CI.
804
- - ApiMap#signify filters for method pins.
805
- - Default client configuration updates.
806
- - Fixed RuboCop formatting output.
807
- - Removed bundler dependency.
808
- - Removed legacy server and related dependencies.
809
- - Infer method parameter types.
810
- - Include solargraph.formatting in dynamic capability registration.
811
- - Class and module method visibility (e.g., Module#private and Module#module_function).
812
-
813
- ## 0.20.0 - April 22, 2018
814
- - YardMap tracks unresolved requires
815
- - More specs
816
- - Standardized diagnostics reporters
817
- - `rubocop` and `require_not_found` reporters
818
- - Unresolved requires are reportable diagnostics instead of errors
819
- - LSP handles gem features with extended methods
820
- - textDocument/onTypeFormatting completes brackets in string interpolation
821
- - Workspace uses gemspecs for require paths
822
- - Enabled domain support with @!domain directive in ApiMap and Source
823
- - Workaround for unavailable :rdoc markup class
824
- - Probe infers global variable pins
825
- - Source#all_symbols includes namespaces
826
- - Use kramdown instead of redcarpet for document pages
827
-
828
- ## 0.19.1 - April 16, 2018
829
- - YardMap finds yardocs for gems with or without the bundler.
830
-
831
- ## 0.19.0 - April 16, 2018
832
- - Major refactoring.
833
- - ApiMap does not require AST data.
834
- - Prefer line/character positions to offsets.
835
- - ApiMap::Probe class for inferring dynamic return types.
836
- - Improved local variable handling.
837
- - Max workspace size is 5000 files.
838
-
839
- ## 0.18.3 - April 10, 2018
840
- - castwide/solargraph#33 Enforce UTF-8 encoding when parsing source
841
-
842
- ## 0.18.2 - April 6, 2018
843
- - RuboCop avoids highlighting more than 1 line per offense.
844
- - LSP message synchronization issues.
845
- - Prefer non-nil variable assignments in results.
846
- - Check for nil assignment nodes in variable pins.
847
- - Fragments handle literal value detection for signatures.
848
- - Unresolved completion items do not emit errors.
849
- - Completion items do not send 'Invalid offset' errors to clients.
850
-
851
- ## 0.18.1 - April 5, 2018
852
- - First version of the language server.
853
-
854
- ## 0.17.3 - March 1, 2018
855
- - YardMap rescues Gem::LoadError instead of Gem::MissingSpecError
856
- - Server caches ApiMap for nil workspaces.
857
-
858
- ## 0.17.2 - February 15, 2018
859
- - Visibility tweaks
860
- - Refactored YardMap
861
- - Process require paths to bundled gems
862
- - Core method return type overrides
863
- - Server handles nil and empty workspaces
864
-
865
- ## 0.17.1 - February 4, 2018
866
- - Convert ERB templates to parsable code.
867
- - Improved relative constant detection.
868
- - Resolve file paths from symbols in required gems.
869
- - Use inner method suggestion methods to avoid infinite recursion.
870
-
871
- ## 0.17.0 - February 1, 2018
872
- - Support Solargraph configurations in workspace folders.
873
- - Use @yieldself tag to change block contexts.
874
- - Handle whitespace in signatures.
875
- - Convert 'self' when inferring signature types.
876
- - Handle bare periods without signatures.
877
- - Source#fix handles bare periods better.
878
- - Deprecate snippets.
879
- - Initial support for macro directives.
880
- - Changes to YardMap require path resolution.
881
- - Server provides /define endpoint for go to definition.
882
- - Removed deprecated methods from ApiMap and LiveMap.
883
-
884
- ## 0.16.0 - January 17, 2018
885
- - Watch and report workspace changes.
886
- - Arguments in Runtime method results.
887
- - Infer yieldparam types from method owner subtypes.
888
- - Select available port from shell.
889
-
890
- ## 0.15.4 - January 2, 2018
891
- - Include suggestion documentation in /signify response.
892
- - Derive unknown method return types from superclasses.
893
- - Support for extended modules.
894
- - Narrow visibility of private constants and methods.
895
- - Infer return types of method chains from variables.
896
-
897
- ## 0.15.3 - December 10, 2017
898
- - Suggestion has_doc attribute.
899
- - Fully qualified namespace in generated MethodObject paths.
900
- - Support for private_class_method and private_constant.
901
- - Stable suggestion sorting (e.g., local class method comes before superclass method).
902
- - Track files in workspace code objects.
903
-
904
- ## 0.15.2 - December 5, 2017
905
- - Patched critical bug in minimum documentation requirement.
906
-
907
- ## 0.15.1 - December 4, 2017
908
- - Fixed attribute -> code object mapping error.
909
-
910
- ## 0.15.0 - December 3, 2017
911
- - CodeMap is workspace-agnostic.
912
- - Use YARD code objects for workspace path documentation.
913
- - Map pins to code objects.
914
- - Infer return types from domain (DSL) methods.
915
- - Fixed visibility and results for superclasses.
916
- - Experimental @yieldself tag.
917
- - Improved syntax error handling in Source.fix.
918
- - Gem ships with Ruby 2.2.2 yardocs.
919
- - Experimental plugin architecture and Runtime plugin.
920
- - Experimental support for updating Ruby core documentation.
921
-
922
- ## 0.14.3 - November 30, 2017
923
- - * Namespace pins
924
- - * Required setting in config
925
- - * Ignore non-Ruby files in workspace
926
- - * Detect changes in workspace files
927
- - * Add return types to class and module suggestions
928
- - * Unique variable names in suggestions
929
- - * Look for variable nodes with non-nil assignments or type tags
930
- - * Server reverted from Puma back to WEBrick
931
- - * Stubbed bundler/(setup|require) dependency mapping
932
- - * Handle config parsing exceptions
933
- - * Disabled Runtime plugin pending further testing
934
- - * Handle exceptions in all server endpoints
935
-
936
- ## 0.14.2 - November 26, 2017
937
- - Heisenbug in Gem::Specification concealed by Bundler behavior.
938
-
939
- ## 0.14.1 - November 26, 2017
940
- - Disabled Runtime plugin.
941
-
942
- ## 0.14.0 - November 26, 2017
943
- - LiveMap plugin support.
944
- - Rebuild workspace yardoc if it exists (do not create).
945
- - Standardized code/filename argument order.
946
- - Internal Runtime plugin.
947
- - Infer typed from Kernel methods.
948
- - Removed unused dependencies.
949
- - Add locations to pins and suggestions.
950
- - Reduced size of /suggest response by default.
951
- - Use /resolve for suggestion detail.
952
- - Domain configuration option (experimental DSL support).
953
- - Identify constant types.
954
- - Optimized namespace type resolution.
955
- - Include stdlib in search and document requests.
956
- - Undefined variable bug in YardMap.
957
-
958
- ## 0.13.3 - November 7, 2017
959
- - First support for YARD directives in workspace code.
960
- - Experimental LiveMap plugins.
961
- - Changes for backwards compatibility to Ruby 2.2.2.
962
- - Generate config from default object.
963
-
964
- ## 0.13.2 - October 31, 2017
965
- - * ApiMap clears namespace map when processing virtual files (duplicate object bug).
966
- - * Exception for disagreement between root namespace and signature (root instance method bug).
967
-
968
- ## 0.13.1 - October 29, 2017
969
- - Added missing return types.
970
- - Fixed object(path) resolution.
971
- - Corrected docstrings assigned to attribute pins.
972
- - Server uses Puma.
973
- - Filter server suggestions by default.
974
- - Cache pin suggestions.
975
- - Improved caches.
976
- - YardMap crawls up the scope to find constants.
977
- - Use local variable pins to reduce node browsing.
978
- - Preparing the workspace also prepares the YardMap.
979
- - Deprecated experimental bind tag.
980
- - Include restargs (e.g., def foo *bar) in method arguments.
981
- - Avoid inferring from signatures in top-level suggestions.
982
- - Global variable support.
983
- - Remove virtual source's existing pins in ApiMap updates.
984
- - Improved performance of signature type inference.
985
-
986
- ## 0.13.0 - October 3, 2017
987
- - Constant and symbol detection.
988
- - Major code refactoring.
989
- - Update single files instead of entire workspace.
990
- - Eliminated local yardoc generation.
991
-
992
- ## 0.12.2 - September 14, 2017
993
- - Fixed instance variable scoping bug.
994
- - Partial support for constant method suggestions.
995
-
996
- ## 0.12.1 - September 12, 2017
997
- - More literal value exceptions.
998
- - Skip literal strings when building signatures.
999
- - Improved ApiMap processing.
1000
-
1001
- ## 0.12.0 - September 12, 2017
1002
- - ApiMap config excludes test directory by default.
1003
- - Fixed literal value detection.
1004
- - Consolidated processes for inferring signatures.
1005
- - Object resolution detects class methods.
1006
- - ApiMap collects method and variable pins while processing maps.
1007
- - Removed bundler requirement.
1008
- - Avoid preparing workspaces without explicit requests.
1009
-
1010
- ## 0.11.2 - September 5, 2017
1011
- - Include square brackets in signatures for type inference.
1012
- - Semi-colons terminate signatures.
1013
- - Detect literal values at the start of signatures.
1014
- - Eliminate threads in workspace preparation due to lag and sync issues.
1015
- - Classes only include instance methods from included modules one level deep.
1016
- - ApiMap recurses into children for constant nodes.
1017
-
1018
- ## 0.11.1 - August 24, 2017
1019
- - Find arguments node for singleton methods.
1020
- - Recurse into class << self when collecting singleton methods.
1021
- - Detect singleton method visibility.
1022
- - Find constants in ApiMap.
1023
- - Inferring signatures detects methods that return self.
1024
-
1025
- ## 0.11.0 - August 16, 2017
1026
- - Add space to = in attr_accessor suggestions.
1027
- - Refactored detection of assignment node types.
1028
- - ApiMap caches assignment node types.
1029
- - ApiMap checks method visibility.
1030
- - Smart switching between class and instance scope when inferring signature types.
1031
- - Private methods are available from included modules.
1032
- - Avoid infinite loops from variable assignments that reference themselves.
1033
- - Detect the self keyword when inferring signature types.
1034
- - Updated gemspec dependencies.
1035
-
1036
- ## 0.10.3 - August 13, 2017
1037
- - Return to master branch for releases.
1038
-
1039
- ## 0.10.2 - August 11, 2017
1040
- - Chained method call inference.
1041
- - Detect class and instance variables in signatures.
1042
- - ApiMap caches inferred signature types.
1043
-
1044
- ## 0.10.1 - August 11, 2017
1045
- - CodeMap signature typing detects method arguments.
1046
- - Miscellaneous nil checks.
1047
- - Fixed yieldparam detection.
1048
- - Clean namespace strings for return types with subtypes.
1049
-
1050
- ## 0.10.0 - August 9, 2017
1051
- - YardMap#get_constants filters for classes, modules, and constants.
1052
- - Suggestions allow Constant as a kind attribute.
1053
- - Class variable support.
1054
- - Detect variables that directly references classes instead of instances.
1055
- - Detect and infer types for yield params.
1056
-
1057
- ## 0.9.2 - August 7, 2017
1058
- - Add block parameter variables to suggestions.
1059
-
1060
- ## 0.9.1 - August 1, 2017
1061
- - YardMap fixes.
1062
- - Workaround for paths in HTML helper.
1063
- - Extract default values for optional arguments from code.
1064
- - Parse param tags in suggestions.
1065
- - Show return types for method params.
1066
- - CodeMap detects comments.
1067
- - Solargraph config subcommand writes to .solargraph.yml.
1068
-
1069
- ## 0.9.0 - June 27, 2017
1070
- - Run GC after each server request.
1071
- - ApiMap appends all .rb files in workspace.
1072
- - Emulate YARD when parsing comments in ApiMap.
1073
- - Include modules in ApiMap inner instance methods.
1074
- - Configure ApiMap file options in .solargraph.yml.
1075
-
1076
- ## 0.8.6 - June 14, 2017
1077
- - ApiMap#update_yardoc sets workspace from thread. Retain docstring in suggestions.
1078
- - ApiMap#update_yardoc uses .yardopts directly for globs.
1079
- - CodeMap#filename path separator hack.
1080
- - Include all arguments in ApiMap instance method suggestions. Nil filename exception in CodeMap.
1081
-
1082
- ## 0.8.5 - June 12, 2017
1083
- - Exclude Kernel module when querying namespace instance methods.
1084
-
1085
- ## 0.8.4 - June 11, 2017
1086
- - Sort and filter for suggestions.
1087
- - CodeMap#namespace_from returns empty string instead of first node for nodes without locations.
1088
- - Improved error handling.
1089
- - Suggestions include return types.
1090
- - Convert RDoc to HTML in Suggestion#documentation.
1091
- - Instance methods in suggestions include superclass and mixin methods.
1092
-
1093
- ## 0.8.3 - June 8, 2017
1094
- - Improved detection of cursors inside strings.
1095
- - Property and Field kinds for suggestions.
1096
-
1097
- ## 0.8.2 - June 3, 2017
1098
- - Suggestions and inferences for method arguments.
1099
-
1100
- ## 0.8.1 - May 31, 2017
1101
- - Server uses Webrick.
1102
-
1103
- ## 0.8.0 - May 29, 2017
1104
- - Method suggestions include arguments.
1105
- - Use CodeMap#signature_at to get suggestions for method arguments.
1106
- - Server includes /signify endpoint for method arguments.
1107
- - First support for hover documentation.
1108
- - Handle multi-part constants in namespaces, e.g., "class Foo::Bar"
1109
- - Use #initialize documentation for #new methods.
1110
- - More HTML formatting helpers.
1111
- - Improved type detection for local variables.
1112
- - Long/complex signature handling.
1113
-
1114
- ## 0.7.5 - May 12, 2017
1115
- - Improved live error correction and instance variable suggestions.
1
+ ## 0.47.0 - September 25, 2022
2
+ - Completion candidates for union types (#507)
3
+ - Nullify Hover object instead of contents value (#583)
4
+ - Mapping workspace stuck in 0 (#587)
5
+ - Fix parsing of nested subtypes (#589)
6
+ - Update YARD tags on Pin::Block methods (#588)
7
+ - @!visibility directive support (#566)
8
+
9
+ ## 0.46.0 - August 22, 2022
10
+ - Ignore typecheck errors with @sg-ignore tag (#419)
11
+ - Strict checks report undefined method calls on variables (#553)
12
+ - Infer type from method arguments (#554)
13
+ - Return nil value for empty hover contents (#543)
14
+
15
+ ## 0.45.0 - May 23, 2022
16
+ - Basic support for RSpec #describe and #it
17
+ - fix: domain can complete private method (#490)
18
+ - Update README.md (#533)
19
+ - Doc: update readme.md for add solargraph support (#536)
20
+ - Process DASGN node in Ruby 3
21
+ - File.open core fill
22
+ - replace with_unbundled_env with with_original_env (#489)
23
+ - Require specific version of gem (#509)
24
+ - Support URIs prefixed with single slashed file scheme (#529)
25
+ - Fix typo in README.md (#549)
26
+ - details on config behavior (#556)
27
+ - Consider overloads in arity checks
28
+ - ENV core fill for Hash-like methods (#537)
29
+ - Fix string ranges with substitutions (#463)
30
+
31
+ ## 0.44.3 - January 22, 2022
32
+ - TypeChecker validates aliased namespaces (#497)
33
+ - Always use reference YARD tags when resolving param types (#515) (#516)
34
+ - Skip method aliases in strict type checking
35
+
36
+ ## 0.44.2 - November 23, 2021
37
+ - Scope local variables in class_eval blocks (#503)
38
+ - Fix invalid UTF-8 in node comments (#504)
39
+
40
+ ## 0.44.1 - November 18, 2021
41
+ - Chain nil safety navigation operator (#420)
42
+ - Update closure and context for class_eval receiver (#487)
43
+ - SourceMap::Mapper handles invalid byte sequences (#474)
44
+ - Special handle var= references, which may use as var = (have space) (#498)
45
+ - Rebind define_method to self (#494)
46
+
47
+ ## 0.44.0 - September 27, 2021
48
+ - Allow opening parenthesis, space, and comma when using Diff::LCS (#465)
49
+ - Support textDocument/documentHighlight
50
+ - Library#references_from performs shallow matches
51
+
52
+ ## 0.43.3 - September 25, 2021
53
+ - Avoid Dir.chdir in Bundler processes (#481)
54
+ - Check stdlib for gems with empty yardocs
55
+ - Library#maybe_map checks for source in workspace
56
+
57
+ ## 0.43.2 - September 23, 2021
58
+ - Synchronize server requests (#461)
59
+
60
+ ## 0.43.1 - September 20, 2021
61
+ - Complete nested namespaces in open gates
62
+ - SourceMap::Mapper reports filename for encoding errors (#474)
63
+ - Handle request on a specific thread, and cancel completion when there has newer completion request (#459)
64
+ - Fix namespace links generated by views/_method.erb (#472)
65
+ - Source handles long squiggly heredocs (#460)
66
+
67
+ ## 0.43.0 - July 25, 2021
68
+ - Correct arity checks when restarg precedes arg (#418)
69
+ - Improve the performance of catalog by 4 times (#457)
70
+ - Type checker validates duck type variables and params (#453)
71
+ - Kernel#raise exception type checker
72
+ - Pin::Base#inspect includes path
73
+ - Fix arity with combined restargs and kwrestargs (#396)
74
+
75
+ ## 0.42.4 - July 11, 2021
76
+ - Yardoc cache handling
77
+ - Fix required_paths when gemspec is used (#451)
78
+ - fix: yard stdout may break language client (#454)
79
+
80
+ ## 0.42.3 - June 14, 2021
81
+ - Require 'pathname' for Library
82
+
83
+ ## 0.42.2 - June 14, 2021
84
+ - Improve download-core command output
85
+ - Ignore missing requests to client responses
86
+ - Add automatically required gems to YardMap
87
+ - Use closures to identify local variables
88
+
89
+ ## 0.42.1 - June 11, 2021
90
+ - YardMap#change sets new directory (#445)
91
+
92
+ ## 0.42.0 - June 11, 2021
93
+ - Improve YardMap efficiency
94
+ - Bench includes Workspace for cataloging
95
+ - Initialize confirms static features from options (#436)
96
+ - Enable simple repairs without incremental sync (#416)
97
+ - Discard unrecognized client responses
98
+ - Notify on use of closest match for core (#390)
99
+
100
+ ## 0.41.2 - June 9, 2021
101
+ - Rescue InvalidOffset in async diagnosis
102
+ - Remove erroneous escaping from Hover
103
+
104
+ ## 0.41.1 - May 31, 2021
105
+ - ApiMap handles required bundles (#443)
106
+
107
+ ## 0.41.0 - May 30, 2021
108
+ - Chain constant at last double colon with more than two nested namespaces
109
+ - Fill Integer#times return type (#440)
110
+ - Validate included modules in type checks (#424)
111
+ - Faster language server initialization
112
+ - Server response to initialize is near immediate
113
+ - Workspace is mapped in a background thread
114
+ - Supported clients report mapping progress
115
+ - Log RuboCop corrections at info level (#426)
116
+ - Allow configuring the version of RuboCop to require (#430)
117
+ - Fix source of diagnostic (#434)
118
+ - Fix file argument in RuboCop (#435)
119
+ - Config ignores directories with .rb extension (#423)
120
+
121
+ ## 0.40.4 - March 3, 2021
122
+ - Fix optarg and blockarg ordering
123
+ - Override specialization for #initialize
124
+ - Find definitions with cursor after double colon
125
+
126
+ ## 0.40.3 - February 7, 2021
127
+ - Simplify and allow to configure rubocop formatter (#403)
128
+ - Type checker shows tag in param type errors (#398)
129
+ - Handle bare private_constant (#408)
130
+ - Type checker handles splatted variables (#396)
131
+
132
+ ## 0.40.2 - January 18, 2021
133
+ - Type checker ignores splatted calls in arity (#396)
134
+ - Allow Parser 3.0 (#400)
135
+
136
+ ## 0.40.1 - December 28, 2020
137
+ - Use temp directory for RuboCop formatting (#397)
138
+ - NodeMethods reads splatted hashes (#396)
139
+
140
+ ## 0.40.0 - December 14, 2020
141
+ - Fix alias behavior
142
+ - Consolidate method pin classes
143
+ - Consolidate YARD pins
144
+ - CheckGemVersion can use Bundler for updates
145
+ - Tempfile fills
146
+ - Support rubocop 1.0 (#381)
147
+ - Require Ruby >= 2.4.0 (#394)
148
+ - Map visibility calls with method arguments (#395)
149
+ - Switch maruku to kramdown
150
+ - Remove nokogiri dependency
151
+ - Detect internal_or_core? for strict type checking
152
+ - ApiMap#catalog merges environs for all sources in bench
153
+
154
+ ## 0.39.17 - September 28, 2020
155
+ - Handle YARD pins in alias resolution
156
+
157
+ ## 0.39.16 - September 27, 2020
158
+ - Include acts like extend inside sclass
159
+ - Improved alias resolution
160
+ - Parse args from YARD method objects
161
+ - Resolve included namespaces with conflicts
162
+ - Chains infer from multiple variable assignments
163
+ - Array and Hash core fills
164
+ - String.new core fill
165
+
166
+ ## 0.39.15 - August 18, 2020
167
+ - Backwards compatibility for typecheck subcommand
168
+ - Handle dangling colons on tag hovers
169
+ - NodeChainer handles chains with multiple blocks
170
+
171
+ ## 0.39.14 - August 13, 2020
172
+ - Fix return nodes from case statements (#350)
173
+ - Treat for loops as closures (#349)
174
+ - Array#zip core fill (#353)
175
+ - Exit with 1 if type check finds problems (#354)
176
+
177
+ ## 0.39.13 - August 3, 2020
178
+ - YardPin::Method skips invalid parameters (#345)
179
+ - Complete and define complex type tags
180
+
181
+ ## 0.39.12 - July 18, 2020
182
+ - Completion and hover on tags in comments (#247)
183
+ - Formatting change in RuboCop 0.87.0
184
+ - Use `ensure` block for File.unlink tempfile (#342)
185
+ - Fix super handling in call_nodes_from
186
+
187
+ ## 0.39.11 - July 3, 2020
188
+ - Fix line numbering in bare parse directives
189
+ - Bracket handling
190
+
191
+ ## 0.39.10 - July 1, 2020
192
+ - RDoc comments can be strings
193
+
194
+ ## 0.39.9 - June 20, 2020
195
+ - Fixed directive parsing
196
+ - Relocate pins from @!parse macros
197
+ - Return all symbols for empty queries (#328)
198
+ - Log number of files
199
+ - RdocToYard includes method line numbers
200
+
201
+ ## 0.39.8 - May 26, 2020
202
+ - File < IO reference
203
+ - Updated yardoc archive
204
+ - Chain integers with trailing periods
205
+ - Map autoload paths
206
+ - Set Encoding.default_external
207
+ - Faster store index
208
+ - ApiMap#catalog rebinds blocks
209
+ - Fixed binder inheritance
210
+ - Remove ApiMap mutex
211
+ - Set overrides
212
+
213
+ ## 0.39.7 - May 4, 2020
214
+ - RubyVM convert_hash node check
215
+ - File URI space encoding bug
216
+
217
+ ## 0.39.6 - May 3, 2020
218
+ - Workspace evaluates gem spec in toplevel binding (#316)
219
+ - Rescue StandardError instead of Exception
220
+ - Correct method parameter order
221
+ - Gracefully handle misunderstood macros (#323)
222
+
223
+ ## 0.39.5 - May 2, 2020
224
+ - Nil check in name_type_tag template
225
+ - Update obsolete method calls for Ruby 2.7
226
+ - YardMap rejects external pins
227
+ - RubyVM mapper handles Bundler.require calls
228
+ - RDocToYard clears serialized cache
229
+ - Workspace evaluates gem specs without binding
230
+ - Documentor clears gem caches
231
+
232
+ ## 0.39.4 - April 30, 2020
233
+ - RDocToYard update and spec (#315)
234
+ - Map function calls to visibility methods
235
+ - Cache source code line arrays
236
+ - Fix RuboCop errors
237
+
238
+ ## 0.39.3 - April 28, 2020
239
+ - Mapper handles private_class_method without arguments (#312)
240
+ - Fix pin positions from YARD directives (#313)
241
+ - Rescue errors from pin caches
242
+
243
+ ## 0.39.2 - April 26, 2020
244
+ - Fix legacy super/zsuper node processing
245
+ - Map parameters to updated module functions
246
+ - Include mass assignment in call nodes
247
+
248
+ ## 0.39.1 - April 26, 2020
249
+ - Additional return node checks from case statements in legacy
250
+ - Check super call arity
251
+
252
+ ## 0.39.0 - April 26, 2020
253
+ - RubyVM parser for Ruby 2.6+
254
+ - Lambda node processor
255
+ - Faster CommentRipper
256
+ - Implement TypeChecker levels
257
+ - Type inference improvements
258
+ - Prefer @return to @type in constant tags
259
+ - Support @abstract tags
260
+ - Improved recipient node detection
261
+ - Host#diagnose rescues FileNotFoundError
262
+ - Fuzzier inheritance checks
263
+ - Refactored uri queue synchronization (#289)
264
+ - Constant resolution finds nearest names (#287)
265
+ - Arity checks
266
+ - Additional CoreFills for numeric types and operators
267
+ - Chains track splat arguments
268
+ - Support case statements in type inference
269
+ - Support prepended modules (#302)
270
+ - TypeChecker validates constants
271
+ - Rescue ENOENT errors when loading sources (#308)
272
+ - Formatting message handles empty files
273
+ - Avoid lazy initialization of Mutex
274
+ - ApiMap inner queries use Set instead of Array
275
+
276
+ ## 0.38.6 - March 22, 2020
277
+ - Ignore Bundler warnings when parsing JSON (#273)
278
+ - Chain inference stack uses pin identities (#293)
279
+ - Fix super_and_sub? name collisions (#288, #290)
280
+ - Fix various Bundler and Travis bugs
281
+
282
+ ## 0.38.5 - January 26, 2020
283
+ - Namespace conflict resolution
284
+ - Pin context uses closure context in class scope
285
+ - Format file without extension (#266)
286
+
287
+ ## 0.38.4 - January 21, 2020
288
+ - Literal link generates ComplexType
289
+ - Remove pin cache from chain inference
290
+ - Avoid duplicates in combined LSP documentation
291
+ - YardMap skips workspace gems
292
+
293
+ ## 0.38.3 - January 19, 2020
294
+ - Refactored YardMap require processing
295
+ - Object/BasicObject inheritance handling in method detection
296
+ - StdlibFills and YardMap integration (#226)
297
+ - Include scope gates in local variable detection
298
+ - Reduce namespace pins in YARD pin generation
299
+ - Support multiple return tags in method return types
300
+ - File core fills
301
+ - Benchmark stdlib fill
302
+ - Redorder methods to include core after other classes
303
+ - Method type inference uses chains and includes block nodes (#264)
304
+ - Infer from overloaded methods with local variable arguments
305
+ - Add Array#map! to core fills
306
+
307
+ ## 0.38.2 - January 9, 2020
308
+ - Include visibility in method documentation
309
+ - Bundler >= 2.1 uses with_unbundled_env (#252)
310
+ - Remove irb from dependencies (#258)
311
+ - Update embedded docs (#259)
312
+ - Object#inspect core fill
313
+ - ApiMap finds constants in superclasses
314
+ - STDIO constant variables
315
+ - Filter duplicate pins in completionItem/resolve
316
+ - Travis updates
317
+
318
+ ## 0.38.1 - January 2, 2020
319
+ - Hash#[]= type checking
320
+ - Experimental @param_typle tag
321
+ - TypeChecker argument checks inherit param tags from superclasses
322
+ - Miscellaneous core overrides
323
+ - Boolean literals and type checking
324
+ - Update Thor (#254)
325
+ - CI against Ruby 2.7 (#253)
326
+
327
+ ## 0.38.0 - November 22, 2019
328
+ - Drop htmlentities dependency (#224)
329
+ - Blank lines do not affect indentation in documentation
330
+ - Use backticks for code blocks in generated markdown
331
+ - Register additional HTML tags in ReverseMarkdown
332
+ - Guard against nil pin comments (#231)
333
+ - Speedup Solargraph::ApiMap::Store#fqns_pin (#232)
334
+ - RuboCop formatting integration through API (#239)
335
+ - Qualify literal value types (#240)
336
+ - Switch back to Maruku for documentation generation
337
+ - Refactored dependencies to improve startup time
338
+ - Test if ns is nil to avoid exception (#245)
339
+ - Nil check when parsing comments (#243)
340
+
341
+ ## 0.37.2 - August 25, 2019
342
+ - Generate documentation without conversions
343
+
344
+ ## 0.37.1 - August 19, 2019
345
+ - No escape in completion item detail
346
+
347
+ ## 0.37.0 - August 19, 2019
348
+ - Replace Maruku with YARD RDocMarkup
349
+ - Refactored Cursor#recipient
350
+ - Remove HTML entity escaping
351
+ - Messages check enablePages for links
352
+ - Escape method for templates
353
+ - Escape type tags with backslashes
354
+ - Updated gem dependencies
355
+
356
+ ## 0.36.0 - August 12, 2019
357
+ - Replace redcarpet with maruku
358
+ - Check for nil nodes in variable probes (#221)
359
+
360
+ ## 0.35.2 - August 6, 2019
361
+ - Chains resolve block variable types.
362
+
363
+ ## 0.35.1 - July 29, 2019
364
+ - Infer variable types from assignments with unparenthesized arguments
365
+ - (#212)
366
+
367
+ ## 0.35.0 - July 19, 2019
368
+ - Track blocks in chain links
369
+ - Array overloads
370
+ - Fix NoMethodError for empty overload tags
371
+ - TypeChecker validates block args
372
+ - Object#to_s override
373
+ - Pin::BaseVariable uses clips for probles
374
+ - Add ability to read from a global config file (#210)
375
+ - SourceChainer falls back to fixed phrases in repaired sources
376
+ - Find return nodes in blocks
377
+
378
+ ## 0.34.3 - July 14, 2019
379
+ - Refactor to reduce frequent allocations
380
+ - Only send renameOptions to clients with prepareSupport (#207)
381
+ - Add pin locations to scans
382
+ - TypeChecker finds params for hash args by name
383
+ - Drop empty register/unregister events (#209)
384
+ - Pin::Parameter type inference
385
+ - Detect yielded blocks in calls
386
+ - SourceMap::Mapper maps overrides
387
+
388
+ ## 0.34.2 - July 3, 2019
389
+ - Documentor uses an external process to collect specs
390
+ - Bundle subcommand passes rebuild option to Documentor
391
+ - Refactored bundle dependency reads
392
+ - Fixed Travis issues
393
+
394
+ ## 0.34.1 - June 26, 2019
395
+ - Refactored bundler/require handling
396
+ - Fix clip completion from repaired sources
397
+ - Bundler issues in Travis
398
+
399
+ ## 0.34.0 - June 25, 2019
400
+ - Keyword argument names in autocomplete
401
+ - `solargraph bundle` and related cache commands
402
+ - RDoc to YARD conversion
403
+ - More TypeChecker validation
404
+ - Environs and Conventions
405
+ - Core overrides
406
+ - `@overload` tag support
407
+ - Handle splats in overloads
408
+ - Scope gates
409
+ - Type Class/Module reduction hack
410
+ - Duck type checking
411
+ - frozen_string_literal
412
+ - Faster YardMap loading
413
+
414
+ ## 0.33.2 - June 20, 2019
415
+ - Fixed resolution of `self` keyword
416
+ - Chain inference depth limits
417
+ - Source#references skips nodes without the requested symbol
418
+ - Refactored Library without `checkout` method
419
+ - Parameter merges require same closures
420
+ - Completion item descriptions contain unique links
421
+
422
+ ## 0.33.1 - June 18, 2019
423
+ - Ignore attribute directives without names (castwide/vscode-solargraph#124)
424
+ - Chain and/or/begin/kwbegin nodes
425
+ - TypeCheck diagnostics run on workspace files only by default
426
+ - Mapper updates directive positions (#176)
427
+ - Track pins in TypeChecker problems.
428
+
429
+ ## 0.33.0 - June 18, 2019
430
+ - Deprecated plugin architecture
431
+ - Closure pins for enhanced context and scope detection
432
+ - Block resolution
433
+ - Major Pin refactoring
434
+ - Single parameter pin for blocks and methods
435
+ - Major NodeProcessor refactoring
436
+ - Block rebinding
437
+ - Resolve method aliases
438
+ - Namespace scope gates (WIP)
439
+ - Improved ApiMap::Store indexing
440
+ - ApiMap block recipient cache
441
+ - Refactored pin and local mapping
442
+ - Host synchronization fixes
443
+ - Rebind instance_eval, class_eval, and module_eval blocks
444
+ - Improved string detection
445
+ - Use @param tags for parameter pin documentation
446
+ - Go To Definition works on require paths (castwide/vscode-solagraph#104)
447
+ - Mapper processes singleton method directives
448
+ - Resolve self return types based on current context
449
+ - Exclude inner node comments from documentation
450
+ - Infer hash element types from value parameters
451
+ - Pin::BaseMethod typifies from super methods
452
+ - Ignore FileNotFoundError in textDocument/signatureHelp
453
+ - Class#new and Class.new return types
454
+ - Chain::Call resolves `self` return types
455
+ - Deprecated Pin::Method#infer method
456
+ - Pin::Method#probe returns unique tags
457
+ - Errant dstr detection
458
+ - Source does not detect string? at end of interpolation
459
+ - String detection in unsynchronized sources
460
+ - Reduced node comparisons in Source#string_at?
461
+ - Superclass qualification for instance variables
462
+ - Pin::Attribute#probe infers types from instance variables
463
+ - First version of TypeChecker and its reporter
464
+ - Strict type checking
465
+ - Source::Chain::Call does not typify/probe/proxy pins
466
+ - Probe for detail in hover and resolve
467
+ - JIT pin probes
468
+ - Command-line typecheck
469
+ - Clip#complete skips unparsed sources
470
+ - Check parameter types for super_and_sub?
471
+ - Object#! CoreFill.
472
+ - `scan` subcommand
473
+ - Detect class variables by scope gates
474
+ - Move METHODS_RETURNING_SELF to CUSTOM_RETURN_TYPES
475
+ - Host::Dispatch catalogs attachments to implicit and generic libraries (#139)
476
+ - Preliminary support for `@overload` tags
477
+ - `self` resolution in ComplexTypes
478
+
479
+ ## 0.32.4 - May 27, 2019
480
+ - Backport update
481
+
482
+ ## 0.32.3 - May 14, 2019
483
+ - - ApiMap#get_namespace_type selects namespace pins (#183)
484
+ - - Fixed type inference for Class.new and Class#new exceptions
485
+
486
+ ## 0.32.2 - May 6, 2019
487
+ - - Gemspec changes
488
+ - - Recommend LanguageClient-neovim instead of vim-solargraph (#180)
489
+ - - Added Eclipse plugin information (#181)
490
+ - - Refactored cataloging
491
+ - - workspace/didChangeWatchedFiles catalogs libraries (#139)
492
+
493
+ ## 0.32.1 - April 7, 2019
494
+ - completionItem/resolve returns nil for empty documentation
495
+
496
+ ## 0.32.0 - April 4, 2019
497
+ - Add implementation of textDocument/prepareRename (#158)
498
+ - Update to Backport 1.0
499
+ - Source handles comments that start with multiple hashes
500
+ - Add Ruby 2.6.1 to CI
501
+ - Updated JRuby version support
502
+ - Infer return types from top-level references
503
+ - SourceChainer handles ! and ? outside of method suffixes (#166)
504
+ - CompletionItem uses MarkupContent for documentation (#173)
505
+ - Add Object#tap to core documentation. (#172)
506
+ - Source and Mapper handle invalid UTF-8 byte sequences (#33)
507
+ - Exceptions while mapping emit warning messages
508
+ - Process private_class_method for attributes (#171)
509
+ - Qualify namespaces from includes in the root namespace (#170)
510
+ - Faster YARD object location
511
+
512
+ ## 0.31.3 - February 7, 2019
513
+ - Location of directive context depends on tag name
514
+ - Regenerated core docs
515
+ - Don't escape colon in URI (#150)
516
+ - Reduce file_to_uri conversions to avoid discrepancies
517
+ - SourceMap::Clip#locals corrects cursor positions outside of the root context
518
+ - Host::Sources notifies observers with URIs
519
+ - Finish synchronizing sources with unbalanced lines
520
+ - Use ComplexType.try_parse to avoid exceptions for syntax errors
521
+
522
+ ## 0.31.2 - January 27, 2019
523
+ - Use YARD documentation rules to associate directives with namespaces
524
+ - Handle non-unique pin locations in completionItem/resolve
525
+ - Clip#complete handles @yieldself and @yieldpublic contexts
526
+ - Host::Dispatch filters library updates (castwide/vscode-solargraph#99)
527
+ - Qualify included namespaces (#148)
528
+
529
+ ## 0.31.1 - January 20, 2019
530
+ - Unsynchronized sources can still try to use existing nodes for chains
531
+ - Host filters document symbols for unique locations
532
+ - Server response logging in debug
533
+ - Host keeps deleted files open in sources
534
+ - CoreGen tweaks
535
+ - Fix negative argument error in Source#stringify_comment_array (#141)
536
+ - Library#references_from includes parameter pins (#135)
537
+ - Block nodes are foldable
538
+ - Source detects comment positions past the range on the ending line
539
+ - workspace/didChangeConfiguration ignores null settings (#144)
540
+
541
+ ## 0.31.0 - January 13, 2019
542
+ - Removed deprecated Library methods
543
+ - Tweaked foldable comment ranges
544
+ - Host::Dispatch module for managing open sources and libraries
545
+ - YardMap::CoreGen module for generating documentation from Ruby source
546
+ - Improved communication between hosts and adapters
547
+ - Refactored Host methods
548
+ - `@!domain` directive uses [type] syntax
549
+ - Make SourceMap#query_symbols use fuzzy matching. (#132)
550
+ - Threaded ApiMap cataloging
551
+ - Fixed fencepost error in Position.from_offset
552
+ - Lazy method alias resolution
553
+ - Library#references_from returns unique locations
554
+ - Additional info logs
555
+ - Asynchronous source parsing
556
+ - Unsychronized source support for faster completion requests (castwide/vscode-solargraph#95)
557
+ - Faster source comment parsing
558
+ - Host only diagnoses synchronized sources
559
+
560
+ ## 0.30.2 - December 31, 2018
561
+ - Workspace/library mapping errors (castwide/solargraph#124)
562
+ - RuboCop diagnostics handle validation errors
563
+ - Map visibility methods with parameters
564
+ - Allow overriding core doc cache directory (castwide/solargraph#125)
565
+
566
+ ## 0.30.1 - December 27, 2018
567
+ - Library#catalog avoids rebuilding ApiMaps that are already synchronized
568
+ - Host#locate_pin finds YARD pins
569
+ - completionItem/resolve merges documentation from multiple pins
570
+
571
+ ## 0.30.0 - December 22, 2018
572
+ - Multi-root workspaces
573
+ - Folding ranges
574
+ - Logging with levels
575
+ - Environment info
576
+ - Replace EventMachine with Backport
577
+ - Gems without yardocs fall back to stdlib
578
+ - Formatting requires shellwords
579
+ - Use Pathname to normalize require paths
580
+
581
+ ## 0.29.5 - December 18, 2018
582
+ - Source::Change repairs preceding periods and colons.
583
+ - Pins use typify and probe methods for type inference.
584
+ - NodeChainer supports or_asgn nodes.
585
+ - NodeMethods.returns_from supports and/or nodes.
586
+ - Library uses single source checkout.
587
+ - ApiMap includes BasicObject and operators in method queries.
588
+ - Refactored CheckGemVersion.
589
+
590
+ ## 0.29.4 - December 7, 2018
591
+ - Parameter type checks in implicit type inference.
592
+ - Additional implicit method type detection cases.
593
+ - Chains match constants on complete symbols.
594
+
595
+ ## 0.29.3 - December 5, 2018
596
+ - Missing parameter in send_notification call.
597
+ - Typo in checkGemVersion message.
598
+
599
+ ## 0.29.2 - December 5, 2018
600
+ - Pin type checks for module_function, private_class_method, and private_constant.
601
+ - ApiMap#catalog checks for added and removed sources.
602
+
603
+ ## 0.29.1 - November 30, 2018
604
+ - Alias method reference error.
605
+
606
+ ## 0.29.0 - November 26, 2018
607
+ - Map method aliases.
608
+ - Removed coderay dependency.
609
+ - Initial support for named macros.
610
+ - First implementation of deep method inference.
611
+ - See references in @return tags.
612
+ - Literal regexp support.
613
+ - Additional CoreFills.
614
+ - Mapper uses NodeProcessor.
615
+ - Pin::BlockParameter checks param tags by index.
616
+ - Clip#complete handles unfinished constants with trailing nodes.
617
+ - Library performs case-insensitive strips of symbol references.
618
+ - Unparsed sources have nil nodes.
619
+ - NodeProcessor recurses into nodes by default.
620
+ - Namespace conflicts in method queries.
621
+ - SourceMap::Clip#complete method visibility.
622
+ - Enable gem dependency mapping.
623
+
624
+ ## 0.28.4 - October 26, 2018
625
+ - Pin::Documenting#documentation converts without RDoc (castwide/solargraph#97)
626
+ - Rescue errors in gemspec evaluation (castwide/solargraph#100)
627
+
628
+ ## 0.28.3 - October 21, 2018
629
+ - Deprecated overwrite features.
630
+ - Pin::MethodParameter finds unnamed param tags by index.
631
+ - Workspace does not cache loaded gems.
632
+ - Explicit range in textDocument/formatting result (castwide/vscode-solargraph#83).
633
+ - SourceMap::Mapper maps alias and alias_method.
634
+ - Source::Chain avoids recursive variable assignments (castwide/solargraph#96).
635
+ - Pin scope reference in Chain::Head.
636
+ - Clip does not define arbitrary comments.
637
+
638
+ ## 0.28.2 - October 2, 2018
639
+ - Map aliases.
640
+ - Refactored diagnostics.
641
+ - SourceChainer checks for nil source error ranges.
642
+ - Clips handle partially completed constants.
643
+ - ApiMap method queries return one pin for root methods.
644
+ - Clip#complete detects unstarted inner constants.
645
+
646
+ ## 0.28.1 - September 18, 2018
647
+ - YardMap adds superclass, include, and extend references.
648
+
649
+ ## 0.28.0 - September 16, 2018
650
+ - ApiMap sorts constants by name within namespaces.
651
+ - Simplified source parsing.
652
+ - SourceChainer requires parsed and unrepaired source for node chaining.
653
+ - Source#synchronize does not flag repaired sources unparsed.
654
+ - References extend pins.
655
+ - Source::Change#repair handles multiple periods and colons.
656
+ - Chain::Constant uses chained context.
657
+ - Chain rebased constants.
658
+ - Deprecated Chain::Definition.
659
+ - SourceMap::Mapper includes symbol pins in standard pin array.
660
+ - YardMap ignores duplicate requires of the same gem.
661
+ - textDocument/rename hack for variables.
662
+ - Completing duck types searches for all duck-typed methods and includes Object.
663
+
664
+ ## 0.27.1 - September 10, 2018
665
+ - Default Host#library instance.
666
+
667
+ ## 0.27.0 - September 9, 2018
668
+ - New Cursor and Clip components replace Fragments.
669
+ - Split Sources into Sources (text and nodes) and SourceMaps (pins and other map-related data).
670
+ - Improved Source synchronization.
671
+ - Standardized chain generation on NodeChainer.
672
+ - Redesigned server threading.
673
+ - Host::Cataloger is responsible for updating ApiMaps.
674
+ - Host::Diagnoser is responsible for running diagnostics.
675
+ - Server checks gem versions inline instead of running an external process.
676
+ - New Library synchronization.
677
+ - ApiMap#catalog uses Bundles for updates.
678
+ - SourceMap::Mapper processes directives.
679
+ - Improved SourceMap and Pin merging.
680
+ - Chains support `super` and `self` keywords.
681
+
682
+ ## 0.26.1 - August 31, 2018
683
+ - Update variable pins when synchronizing sources.
684
+
685
+ ## 0.26.0 - August 30, 2018
686
+ - Major refactoring.
687
+ - More ComplexType integration.
688
+ - Use Chains for pin resolution and type inference.
689
+ - Deprecated ApiMap::Probe for Chains.
690
+ - Force UTF-8 encoding without normalizing.
691
+ - CallChainer parses simple call chains.
692
+ - Fragments are responsible for define, complete, and signify.
693
+ - Method visibility in ApiMap#get_complex_type_methods.
694
+
695
+ ## 0.25.1 - August 20, 2018
696
+ - Revised hack in Host change thread for mismatches in version numbers and content changes
697
+ - Mapper#code_for corrects for EOL conversions in parser
698
+ - Fix TypeError on hover (castwide/solargraph#82)
699
+ - All fragment components return strings
700
+ - ComplexType supports fixed parameters
701
+ - ComplexType supports hash parameters with key => value syntax
702
+
703
+ ## 0.25.0 - August 17, 2018
704
+ - RuboCop reporter uses an inline operation instead of an external process
705
+ - Resolve class and instance variable types from signatures
706
+ - Source attempts fast pin merges
707
+ - Refactored docstring parsing
708
+ - Pins can merge comments
709
+ - Variable pins use complex return types
710
+ - MethodParameter pin merges return types
711
+ - Handle self in ApiMap#qualify
712
+ - First implementation of new YardMap
713
+ - ApiMap::Store does not delete yard pins on source updates
714
+ - ApiMap changes to use new YardMap and store
715
+ - RequireNotFound uses ApiMap#unresolved_requires
716
+ - YardMap stdlib support
717
+ - Synchronize required path changes
718
+ - ComplexType ignores curly brackets
719
+ - Synchronize YardMap with source updates
720
+ - YardMap cache and ApiMap::Store synchronization
721
+ - Method completion filter
722
+ - ApiMap#define ignores keywords
723
+ - Removed manual garbage collection
724
+ - Docstring comparisons for pin merges
725
+ - Removed extra whitespace from method pin documentation
726
+ - textDocument/completion returns empty result marked incomplete while document is changing
727
+ - YardMap generates stdlib pins in one pass and caches results
728
+ - Disabled version order hack in Host change thread
729
+ - textDocument/formatting uses nil ranges for overwriting
730
+
731
+ ## 0.24.1 - August 9, 2018
732
+ - No completion items for void return types
733
+ - ApiMap#complete qualifies pin return types
734
+ - Add space to = in attribute writer methods
735
+ - Redirect YARD logger to stderr
736
+
737
+ ## 0.24.0 - August 5, 2018
738
+ - Complex types
739
+ - Include duck-typed methods in completion items
740
+ - Fragments correct EOL discrepancies in comment ranges
741
+ - TypeNotDefined diagnostics
742
+ - Mapper suppresses stdout while parsing docstrings
743
+
744
+ ## 0.23.6 - August 2, 2018
745
+ - Fragment signatures skip array brackets inside arguments and blocks
746
+ - Disabled Host#save in DidSave
747
+ - Source documentation and method visibility
748
+ - YARD method object visibility
749
+ - Probe#infer_signature_type qualifies return types
750
+ - SourceToYard rakes method and attribute pins together
751
+ - LSP Initialize method prefers rootUri to rootPath
752
+
753
+ ## 0.23.5 - July 16, 2018
754
+ - Source identifies files that raise exceptions
755
+ - ApiMap recognizes self keyword
756
+ - Refactored diagnostics reporters
757
+ - Source#all_symbols ignores pins with empty names
758
+ - Allow ? and ! in fragment signatures
759
+ - Runtime process checks scope for methods
760
+ - LiveMap returns constant pins
761
+ - Probe includes locals when resolving block parameters
762
+ - Probe resolves word types
763
+
764
+ ## 0.23.4 - July 9, 2018
765
+ - Pin::Attribute#parameters is an empty array.
766
+ - Include attributes in Source method pins.
767
+ - Removed alphanumeric condition for mapping def pins.
768
+ - Refactored Source symbol query and pin location.
769
+
770
+ ## 0.23.3 - July 4, 2018
771
+ - Fixed workspace/symbol method references
772
+ - Library#overwrite ignores out-of-sync requests
773
+ - Dynamic registration fixed
774
+
775
+ ## 0.23.2 - July 4, 2018
776
+ - Fixed dynamic registration checks.
777
+
778
+ ## 0.23.1 - July 4, 2018
779
+ - Fixed initialize result for clients without dynamic registration.
780
+
781
+ ## 0.23.0 - July 1, 2018
782
+ - Dynamic registration for definitions, symbols, rename, and references
783
+ - Fixed capability registration issues
784
+ - First version of stdio transport
785
+ - YardMap object cache
786
+ - Pin::Attribute supports class method paths
787
+ - File.realdirpath conversion bug (castwide/solargraph#64)
788
+
789
+ ## 0.22.0 - May 28, 2018
790
+ - Ruby 2.5 issues on Travis CI
791
+ - Fixed in-memory cache issue
792
+ - Fixed type inference from signatures for literal values
793
+ - Infer local variable types derived from other local variables
794
+ - textDocument/references support
795
+ - textDocument/rename support
796
+ - Probe infers word pins for nested namespaces
797
+ - Attribute scopes
798
+ - RuboCop command specifies config file
799
+
800
+ ## 0.21.1 - May 13, 2018
801
+ - Initial support for module_function method visibility.
802
+ - Map `extend self` calls.
803
+ - ApiMap#complete filters completion results on the current word.
804
+ - Refactored YardMap stdlib handling.
805
+ - Minor Message#send bug in socket transport that raised exceptions in Ruby 2.5.1.
806
+ - Probe#infer_method_pins fully qualifies context_pin namespace.
807
+
808
+ ## 0.21.0 - May 7, 2018
809
+ - ApiMap reads additional required paths from the workspace config.
810
+ - Source handles encoding errors.
811
+ - Integrated Travis CI.
812
+ - ApiMap#signify filters for method pins.
813
+ - Default client configuration updates.
814
+ - Fixed RuboCop formatting output.
815
+ - Removed bundler dependency.
816
+ - Removed legacy server and related dependencies.
817
+ - Infer method parameter types.
818
+ - Include solargraph.formatting in dynamic capability registration.
819
+ - Class and module method visibility (e.g., Module#private and Module#module_function).
820
+
821
+ ## 0.20.0 - April 22, 2018
822
+ - YardMap tracks unresolved requires
823
+ - More specs
824
+ - Standardized diagnostics reporters
825
+ - `rubocop` and `require_not_found` reporters
826
+ - Unresolved requires are reportable diagnostics instead of errors
827
+ - LSP handles gem features with extended methods
828
+ - textDocument/onTypeFormatting completes brackets in string interpolation
829
+ - Workspace uses gemspecs for require paths
830
+ - Enabled domain support with @!domain directive in ApiMap and Source
831
+ - Workaround for unavailable :rdoc markup class
832
+ - Probe infers global variable pins
833
+ - Source#all_symbols includes namespaces
834
+ - Use kramdown instead of redcarpet for document pages
835
+
836
+ ## 0.19.1 - April 16, 2018
837
+ - YardMap finds yardocs for gems with or without the bundler.
838
+
839
+ ## 0.19.0 - April 16, 2018
840
+ - Major refactoring.
841
+ - ApiMap does not require AST data.
842
+ - Prefer line/character positions to offsets.
843
+ - ApiMap::Probe class for inferring dynamic return types.
844
+ - Improved local variable handling.
845
+ - Max workspace size is 5000 files.
846
+
847
+ ## 0.18.3 - April 10, 2018
848
+ - castwide/solargraph#33 Enforce UTF-8 encoding when parsing source
849
+
850
+ ## 0.18.2 - April 6, 2018
851
+ - RuboCop avoids highlighting more than 1 line per offense.
852
+ - LSP message synchronization issues.
853
+ - Prefer non-nil variable assignments in results.
854
+ - Check for nil assignment nodes in variable pins.
855
+ - Fragments handle literal value detection for signatures.
856
+ - Unresolved completion items do not emit errors.
857
+ - Completion items do not send 'Invalid offset' errors to clients.
858
+
859
+ ## 0.18.1 - April 5, 2018
860
+ - First version of the language server.
861
+
862
+ ## 0.17.3 - March 1, 2018
863
+ - YardMap rescues Gem::LoadError instead of Gem::MissingSpecError
864
+ - Server caches ApiMap for nil workspaces.
865
+
866
+ ## 0.17.2 - February 15, 2018
867
+ - Visibility tweaks
868
+ - Refactored YardMap
869
+ - Process require paths to bundled gems
870
+ - Core method return type overrides
871
+ - Server handles nil and empty workspaces
872
+
873
+ ## 0.17.1 - February 4, 2018
874
+ - Convert ERB templates to parsable code.
875
+ - Improved relative constant detection.
876
+ - Resolve file paths from symbols in required gems.
877
+ - Use inner method suggestion methods to avoid infinite recursion.
878
+
879
+ ## 0.17.0 - February 1, 2018
880
+ - Support Solargraph configurations in workspace folders.
881
+ - Use @yieldself tag to change block contexts.
882
+ - Handle whitespace in signatures.
883
+ - Convert 'self' when inferring signature types.
884
+ - Handle bare periods without signatures.
885
+ - Source#fix handles bare periods better.
886
+ - Deprecate snippets.
887
+ - Initial support for macro directives.
888
+ - Changes to YardMap require path resolution.
889
+ - Server provides /define endpoint for go to definition.
890
+ - Removed deprecated methods from ApiMap and LiveMap.
891
+
892
+ ## 0.16.0 - January 17, 2018
893
+ - Watch and report workspace changes.
894
+ - Arguments in Runtime method results.
895
+ - Infer yieldparam types from method owner subtypes.
896
+ - Select available port from shell.
897
+
898
+ ## 0.15.4 - January 2, 2018
899
+ - Include suggestion documentation in /signify response.
900
+ - Derive unknown method return types from superclasses.
901
+ - Support for extended modules.
902
+ - Narrow visibility of private constants and methods.
903
+ - Infer return types of method chains from variables.
904
+
905
+ ## 0.15.3 - December 10, 2017
906
+ - Suggestion has_doc attribute.
907
+ - Fully qualified namespace in generated MethodObject paths.
908
+ - Support for private_class_method and private_constant.
909
+ - Stable suggestion sorting (e.g., local class method comes before superclass method).
910
+ - Track files in workspace code objects.
911
+
912
+ ## 0.15.2 - December 5, 2017
913
+ - Patched critical bug in minimum documentation requirement.
914
+
915
+ ## 0.15.1 - December 4, 2017
916
+ - Fixed attribute -> code object mapping error.
917
+
918
+ ## 0.15.0 - December 3, 2017
919
+ - CodeMap is workspace-agnostic.
920
+ - Use YARD code objects for workspace path documentation.
921
+ - Map pins to code objects.
922
+ - Infer return types from domain (DSL) methods.
923
+ - Fixed visibility and results for superclasses.
924
+ - Experimental @yieldself tag.
925
+ - Improved syntax error handling in Source.fix.
926
+ - Gem ships with Ruby 2.2.2 yardocs.
927
+ - Experimental plugin architecture and Runtime plugin.
928
+ - Experimental support for updating Ruby core documentation.
929
+
930
+ ## 0.14.3 - November 30, 2017
931
+ - * Namespace pins
932
+ - * Required setting in config
933
+ - * Ignore non-Ruby files in workspace
934
+ - * Detect changes in workspace files
935
+ - * Add return types to class and module suggestions
936
+ - * Unique variable names in suggestions
937
+ - * Look for variable nodes with non-nil assignments or type tags
938
+ - * Server reverted from Puma back to WEBrick
939
+ - * Stubbed bundler/(setup|require) dependency mapping
940
+ - * Handle config parsing exceptions
941
+ - * Disabled Runtime plugin pending further testing
942
+ - * Handle exceptions in all server endpoints
943
+
944
+ ## 0.14.2 - November 26, 2017
945
+ - Heisenbug in Gem::Specification concealed by Bundler behavior.
946
+
947
+ ## 0.14.1 - November 26, 2017
948
+ - Disabled Runtime plugin.
949
+
950
+ ## 0.14.0 - November 26, 2017
951
+ - LiveMap plugin support.
952
+ - Rebuild workspace yardoc if it exists (do not create).
953
+ - Standardized code/filename argument order.
954
+ - Internal Runtime plugin.
955
+ - Infer typed from Kernel methods.
956
+ - Removed unused dependencies.
957
+ - Add locations to pins and suggestions.
958
+ - Reduced size of /suggest response by default.
959
+ - Use /resolve for suggestion detail.
960
+ - Domain configuration option (experimental DSL support).
961
+ - Identify constant types.
962
+ - Optimized namespace type resolution.
963
+ - Include stdlib in search and document requests.
964
+ - Undefined variable bug in YardMap.
965
+
966
+ ## 0.13.3 - November 7, 2017
967
+ - First support for YARD directives in workspace code.
968
+ - Experimental LiveMap plugins.
969
+ - Changes for backwards compatibility to Ruby 2.2.2.
970
+ - Generate config from default object.
971
+
972
+ ## 0.13.2 - October 31, 2017
973
+ - * ApiMap clears namespace map when processing virtual files (duplicate object bug).
974
+ - * Exception for disagreement between root namespace and signature (root instance method bug).
975
+
976
+ ## 0.13.1 - October 29, 2017
977
+ - Added missing return types.
978
+ - Fixed object(path) resolution.
979
+ - Corrected docstrings assigned to attribute pins.
980
+ - Server uses Puma.
981
+ - Filter server suggestions by default.
982
+ - Cache pin suggestions.
983
+ - Improved caches.
984
+ - YardMap crawls up the scope to find constants.
985
+ - Use local variable pins to reduce node browsing.
986
+ - Preparing the workspace also prepares the YardMap.
987
+ - Deprecated experimental bind tag.
988
+ - Include restargs (e.g., def foo *bar) in method arguments.
989
+ - Avoid inferring from signatures in top-level suggestions.
990
+ - Global variable support.
991
+ - Remove virtual source's existing pins in ApiMap updates.
992
+ - Improved performance of signature type inference.
993
+
994
+ ## 0.13.0 - October 3, 2017
995
+ - Constant and symbol detection.
996
+ - Major code refactoring.
997
+ - Update single files instead of entire workspace.
998
+ - Eliminated local yardoc generation.
999
+
1000
+ ## 0.12.2 - September 14, 2017
1001
+ - Fixed instance variable scoping bug.
1002
+ - Partial support for constant method suggestions.
1003
+
1004
+ ## 0.12.1 - September 12, 2017
1005
+ - More literal value exceptions.
1006
+ - Skip literal strings when building signatures.
1007
+ - Improved ApiMap processing.
1008
+
1009
+ ## 0.12.0 - September 12, 2017
1010
+ - ApiMap config excludes test directory by default.
1011
+ - Fixed literal value detection.
1012
+ - Consolidated processes for inferring signatures.
1013
+ - Object resolution detects class methods.
1014
+ - ApiMap collects method and variable pins while processing maps.
1015
+ - Removed bundler requirement.
1016
+ - Avoid preparing workspaces without explicit requests.
1017
+
1018
+ ## 0.11.2 - September 5, 2017
1019
+ - Include square brackets in signatures for type inference.
1020
+ - Semi-colons terminate signatures.
1021
+ - Detect literal values at the start of signatures.
1022
+ - Eliminate threads in workspace preparation due to lag and sync issues.
1023
+ - Classes only include instance methods from included modules one level deep.
1024
+ - ApiMap recurses into children for constant nodes.
1025
+
1026
+ ## 0.11.1 - August 24, 2017
1027
+ - Find arguments node for singleton methods.
1028
+ - Recurse into class << self when collecting singleton methods.
1029
+ - Detect singleton method visibility.
1030
+ - Find constants in ApiMap.
1031
+ - Inferring signatures detects methods that return self.
1032
+
1033
+ ## 0.11.0 - August 16, 2017
1034
+ - Add space to = in attr_accessor suggestions.
1035
+ - Refactored detection of assignment node types.
1036
+ - ApiMap caches assignment node types.
1037
+ - ApiMap checks method visibility.
1038
+ - Smart switching between class and instance scope when inferring signature types.
1039
+ - Private methods are available from included modules.
1040
+ - Avoid infinite loops from variable assignments that reference themselves.
1041
+ - Detect the self keyword when inferring signature types.
1042
+ - Updated gemspec dependencies.
1043
+
1044
+ ## 0.10.3 - August 13, 2017
1045
+ - Return to master branch for releases.
1046
+
1047
+ ## 0.10.2 - August 11, 2017
1048
+ - Chained method call inference.
1049
+ - Detect class and instance variables in signatures.
1050
+ - ApiMap caches inferred signature types.
1051
+
1052
+ ## 0.10.1 - August 11, 2017
1053
+ - CodeMap signature typing detects method arguments.
1054
+ - Miscellaneous nil checks.
1055
+ - Fixed yieldparam detection.
1056
+ - Clean namespace strings for return types with subtypes.
1057
+
1058
+ ## 0.10.0 - August 9, 2017
1059
+ - YardMap#get_constants filters for classes, modules, and constants.
1060
+ - Suggestions allow Constant as a kind attribute.
1061
+ - Class variable support.
1062
+ - Detect variables that directly references classes instead of instances.
1063
+ - Detect and infer types for yield params.
1064
+
1065
+ ## 0.9.2 - August 7, 2017
1066
+ - Add block parameter variables to suggestions.
1067
+
1068
+ ## 0.9.1 - August 1, 2017
1069
+ - YardMap fixes.
1070
+ - Workaround for paths in HTML helper.
1071
+ - Extract default values for optional arguments from code.
1072
+ - Parse param tags in suggestions.
1073
+ - Show return types for method params.
1074
+ - CodeMap detects comments.
1075
+ - Solargraph config subcommand writes to .solargraph.yml.
1076
+
1077
+ ## 0.9.0 - June 27, 2017
1078
+ - Run GC after each server request.
1079
+ - ApiMap appends all .rb files in workspace.
1080
+ - Emulate YARD when parsing comments in ApiMap.
1081
+ - Include modules in ApiMap inner instance methods.
1082
+ - Configure ApiMap file options in .solargraph.yml.
1083
+
1084
+ ## 0.8.6 - June 14, 2017
1085
+ - ApiMap#update_yardoc sets workspace from thread. Retain docstring in suggestions.
1086
+ - ApiMap#update_yardoc uses .yardopts directly for globs.
1087
+ - CodeMap#filename path separator hack.
1088
+ - Include all arguments in ApiMap instance method suggestions. Nil filename exception in CodeMap.
1089
+
1090
+ ## 0.8.5 - June 12, 2017
1091
+ - Exclude Kernel module when querying namespace instance methods.
1092
+
1093
+ ## 0.8.4 - June 11, 2017
1094
+ - Sort and filter for suggestions.
1095
+ - CodeMap#namespace_from returns empty string instead of first node for nodes without locations.
1096
+ - Improved error handling.
1097
+ - Suggestions include return types.
1098
+ - Convert RDoc to HTML in Suggestion#documentation.
1099
+ - Instance methods in suggestions include superclass and mixin methods.
1100
+
1101
+ ## 0.8.3 - June 8, 2017
1102
+ - Improved detection of cursors inside strings.
1103
+ - Property and Field kinds for suggestions.
1104
+
1105
+ ## 0.8.2 - June 3, 2017
1106
+ - Suggestions and inferences for method arguments.
1107
+
1108
+ ## 0.8.1 - May 31, 2017
1109
+ - Server uses Webrick.
1110
+
1111
+ ## 0.8.0 - May 29, 2017
1112
+ - Method suggestions include arguments.
1113
+ - Use CodeMap#signature_at to get suggestions for method arguments.
1114
+ - Server includes /signify endpoint for method arguments.
1115
+ - First support for hover documentation.
1116
+ - Handle multi-part constants in namespaces, e.g., "class Foo::Bar"
1117
+ - Use #initialize documentation for #new methods.
1118
+ - More HTML formatting helpers.
1119
+ - Improved type detection for local variables.
1120
+ - Long/complex signature handling.
1121
+
1122
+ ## 0.7.5 - May 12, 2017
1123
+ - Improved live error correction and instance variable suggestions.