yard 0.9.28 → 0.9.30

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yard might be problematic. Click here for more details.

Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/LEGAL +29 -1
  3. data/docs/WhatsNew.md +2 -2
  4. data/lib/yard/autoload.rb +2 -1
  5. data/lib/yard/cli/command.rb +1 -1
  6. data/lib/yard/cli/yardoc.rb +1 -1
  7. data/lib/yard/code_objects/base.rb +4 -1
  8. data/lib/yard/docstring_parser.rb +1 -1
  9. data/lib/yard/handlers/ruby/attribute_handler.rb +1 -1
  10. data/lib/yard/handlers/ruby/legacy/attribute_handler.rb +1 -1
  11. data/lib/yard/handlers/ruby/mixin_handler.rb +13 -6
  12. data/lib/yard/i18n/locale.rb +1 -1
  13. data/lib/yard/i18n/message.rb +2 -2
  14. data/lib/yard/i18n/messages.rb +1 -1
  15. data/lib/yard/i18n/pot_generator.rb +1 -1
  16. data/lib/yard/options.rb +1 -1
  17. data/lib/yard/parser/ruby/ruby_parser.rb +8 -2
  18. data/lib/yard/registry_resolver.rb +2 -1
  19. data/lib/yard/server/commands/base.rb +1 -1
  20. data/lib/yard/server/http_utils.rb +512 -0
  21. data/lib/yard/server/rack_adapter.rb +24 -12
  22. data/lib/yard/tags/tag.rb +2 -2
  23. data/lib/yard/tags/types_explainer.rb +1 -1
  24. data/lib/yard/templates/helpers/html_helper.rb +1 -1
  25. data/lib/yard/version.rb +1 -1
  26. data/po/ja.po +19 -19
  27. metadata +5 -59
  28. data/.dockerignore +0 -2
  29. data/.gitattributes +0 -4
  30. data/.github/FUNDING.yml +0 -3
  31. data/.github/ISSUE_TEMPLATE.md +0 -33
  32. data/.github/PULL_REQUEST_TEMPLATE.md +0 -12
  33. data/.github/workflows/ci.yml +0 -30
  34. data/.github/workflows/gem.yml +0 -19
  35. data/.gitignore +0 -14
  36. data/.rspec +0 -2
  37. data/.rubocop.yml +0 -112
  38. data/.yardopts +0 -26
  39. data/.yardopts_guide +0 -19
  40. data/.yardopts_i18n +0 -23
  41. data/CHANGELOG.md +0 -836
  42. data/CODE_OF_CONDUCT.md +0 -15
  43. data/CONTRIBUTING.md +0 -140
  44. data/Dockerfile.samus +0 -28
  45. data/Gemfile +0 -34
  46. data/Rakefile +0 -36
  47. data/SECURITY.md +0 -26
  48. data/benchmarks/builtins_vs_eval.rb +0 -24
  49. data/benchmarks/concat_vs_join.rb +0 -13
  50. data/benchmarks/erb_vs_erubis.rb +0 -54
  51. data/benchmarks/format_args.rb +0 -47
  52. data/benchmarks/generation.rb +0 -38
  53. data/benchmarks/marshal_vs_dbm.rb +0 -64
  54. data/benchmarks/parsing.rb +0 -46
  55. data/benchmarks/pathname_vs_string.rb +0 -51
  56. data/benchmarks/rdoc_vs_yardoc.rb +0 -11
  57. data/benchmarks/registry_store_types.rb +0 -49
  58. data/benchmarks/ri_vs_yri.rb +0 -19
  59. data/benchmarks/ripper_parser.rb +0 -13
  60. data/benchmarks/splat_vs_flatten.rb +0 -13
  61. data/benchmarks/template_erb.rb +0 -23
  62. data/benchmarks/template_format.rb +0 -7
  63. data/benchmarks/template_profile.rb +0 -18
  64. data/benchmarks/yri_cache.rb +0 -20
  65. data/samus.json +0 -49
  66. data/tasks/prepare_tag.rake +0 -45
  67. data/tasks/update_error_map.rake +0 -53
  68. data/yard.gemspec +0 -25
data/CHANGELOG.md DELETED
@@ -1,836 +0,0 @@
1
- # main
2
-
3
- # [0.9.28] - June 1st, 2022
4
-
5
- [0.9.28]: https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28
6
-
7
- - Safe load config YAML files (#1385)
8
- - Handle empty string constants (#1415)
9
- - Pre-emptively support removal of `Object#taint` in Ruby 3.2 (#1419)
10
- - Fix Ruby 3.1 forward args Ripper change (#1431)
11
-
12
- # [0.9.27] - November 29th, 2021
13
-
14
- [0.9.27]: https://github.com/lsegal/yard/compare/v0.9.26...v0.9.27
15
-
16
- - Add support for Ruby 3.0 endless method definitions. (#1376, #1381)
17
- - Add existence check for README file (#1367)
18
- - Support module_function decorator (#1365)
19
- - Add CommonMarker markup support (`-m commonmarker`) (#1157, #1388)
20
- - Fix nested array parsing (#1389)
21
- - Add WEBrick as a runtime dependency for Ruby 3.0 support (#1400)
22
- - Support `fail_on_warning` option in `yard stats` command (#1392)
23
- - Better integration with Sorbet (#1401)
24
- - Handle include mixins on complex paths (#1386)
25
- - Fix `@!scope` maintaining state in lone comment blocks (#1411)
26
- - Remove support for Travis CI
27
-
28
- # [0.9.26] - December 26th, 2020
29
-
30
- [0.9.26]: https://github.com/lsegal/yard/compare/v0.9.25...v0.9.26
31
-
32
- - Add support for Ruby 3.0 and fix tests
33
- - Fix support for `frozen_string_literal: false` magic comments (#1363)
34
-
35
- # [0.9.25] - May 3rd, 2020
36
-
37
- [0.9.25]: https://github.com/lsegal/yard/compare/v0.9.24...v0.9.25
38
-
39
- - Fix parsing issue with conditional blocks mixed with conditional modifiers.
40
- (#1308, #1324, #1326, #1327)
41
- - Add table of contents IDs to redcarpet generated markdown. (#1323)
42
- - Backport fixes for Ruby 1.9 (#1320)
43
- - Fix parsing of checksums in yard server (#1301)
44
- - Map Ruby C variable error names to Ruby classes (#1270, #1275)
45
- - Fix initialization of RDocMarkup across threads (#1318)
46
- - Remove warning for Kernel#open (#1312)
47
- - Omit spec files in gem package (#1307)
48
- - README updates (#1322)
49
-
50
- # [0.9.24] - January 8th, 2020
51
-
52
- [0.9.24]: https://github.com/lsegal/yard/compare/v0.9.23...v0.9.24
53
-
54
- - Add {YARD::CodeObjects::NamespaceMapper.on_invalidate} callback when separator
55
- cache is changed.
56
- - Fix issue where Registry fails to resolve first-time lookups on instance methods.
57
-
58
- # [0.9.23] - January 5th, 2020
59
-
60
- [0.9.23]: https://github.com/lsegal/yard/compare/v0.9.22...v0.9.23
61
-
62
- - Fix issues with double encoded code blocks when highlighted from an extra
63
- file.
64
-
65
- # [0.9.22] - December 31st, 2019
66
-
67
- [0.9.22]: https://github.com/lsegal/yard/compare/v0.9.21...v0.9.22
68
-
69
- - Revert jquery update in last release since it requires more changes. (#1298)
70
-
71
- # [0.9.21] - December 31st, 2019
72
-
73
- [0.9.21]: https://github.com/lsegal/yard/compare/v0.9.20...v0.9.21
74
-
75
- - Updates to add support for Ruby 2.7.0 (#1290, #1296)
76
- - Fix parsing of multiline method signatures (#1220)
77
- - Remove RubyGems post install message (#1269)
78
- - Improve object deletion from RegistryStore (#1284)
79
- - Improve memory usage performance (#1260)
80
- - Handle include and extend calls with explicit receivers (#1274)
81
- - Fix deep nesting of TOC items (#1288)
82
- - Fix highlighting for Asciidoc markup code blocks (#1276)
83
- - Fix HTML formatting of script tags (#1263)
84
- - Update jquery to 3.4.1 (#1294)
85
- - Test fixes (#1244)
86
-
87
- # [0.9.20] - June 27th, 2019
88
-
89
- [0.9.20]: https://github.com/lsegal/yard/compare/v0.9.19...v0.9.20
90
-
91
- - Fix parsing of stringified Symbols in Ruby source (#1256).
92
- - Fix path traversal vulnerability in `yard server`. This bug would allow
93
- unsanitized HTTP requests to access arbitrary files on the machine of a
94
- `yard server` host under certain conditions. Thanks to CuongMX from
95
- Viettel Cyber Security for discovering this vulnerability.
96
-
97
- # [0.9.19] - April 2nd, 2019
98
-
99
- [0.9.19]: https://github.com/lsegal/yard/compare/v0.9.16...v0.9.19
100
-
101
- - Fixed bug in browser back button (#1071, #1228)
102
- - Fixed handling of ArgumentError in ExtraFileObject (#1198)
103
- - Fixed double return tag displaying on boolean methods (#1226)
104
- - Removed unused `Module#namespace_name` function (#1229)
105
- - Fixed parsing order of README files. YARD will now prefer README over
106
- README.md over README.x.md or README-x.md (and the like). READMEs will now
107
- also be ordered by filename; the first README is still chosen unless
108
- `--readme` is provided.
109
- - Updated AsciiDoc markup support to use non-deprecated calls.
110
-
111
- # [0.9.16] - August 11th, 2018
112
-
113
- [0.9.16]: https://github.com/lsegal/yard/compare/v0.9.15...v0.9.16
114
-
115
- - Documentation fixes (#1175, #1178).
116
- - Fixed stack overflow issue when parsing extremely large lists (#1176).
117
-
118
- # [0.9.15] - July 17th, 2018
119
-
120
- [0.9.15]: https://github.com/lsegal/yard/compare/v0.9.14...v0.9.15
121
-
122
- - Fixed security issue in parsing of Ruby code that could allow for arbitrary
123
- execution. Credit to Nelson Elhage <nelhage@nelhage.com> for discovering this
124
- issue.
125
-
126
- # [0.9.14] - June 2nd, 2018
127
-
128
- [0.9.14]: https://github.com/lsegal/yard/compare/v0.9.13...v0.9.14
129
-
130
- - Fixed a regression in symbol parsing (#1170).
131
-
132
- # [0.9.13] - May 28th, 2018
133
-
134
- [0.9.13]: https://github.com/lsegal/yard/compare/v0.9.12...v0.9.13
135
-
136
- - Added support for grouped constants via `@!group` directive (#1056).
137
- - Added support for quoted symbols (#1168).
138
- - Added support for i18n in tag text (#1169).
139
- - Fixed HTML rendering of inline code blocks (#1152).
140
- - Fixed rendering of anchor URLs in rendered HTML (#1154).
141
-
142
- # [0.9.12] - November 26th, 2017
143
-
144
- [0.9.12]: https://github.com/lsegal/yard/compare/v0.9.11...v0.9.12
145
-
146
- - Be more explicit about lack of support for absolute paths in extra files
147
- specified by `yard doc` command.
148
-
149
- # [0.9.11] - November 23rd, 2017
150
-
151
- [0.9.11]: https://github.com/lsegal/yard/compare/v0.9.10...v0.9.11
152
-
153
- - Fixed security issue in `--readme` that allowed for arbitrary file reads on
154
- disk. Credit to ztz <ztz@ztz.me> for discovering this issue.
155
- - Improved styling for inline code blocks (#1142).
156
-
157
- # [0.9.10] - November 18th, 2017
158
-
159
- [0.9.10]: https://github.com/lsegal/yard/compare/v0.9.9...v0.9.10
160
-
161
- - Added `--fail-on-warning` option for `yard doc` which exits with a non-zero
162
- code if there are any warnings (#1093).
163
- - Added support for parsing inside `Struct.new` blocks (#1099).
164
- - Added support new ripper AST tokens (#1104, #1124).
165
- - Fixed an issue where `@see (obj)` reference tags would fail (#1111)
166
- - Fix sorting in `yard stats` (#1123).
167
-
168
- # [0.9.9] - April 23rd, 2017
169
-
170
- [0.9.9]: https://github.com/lsegal/yard/compare/v0.9.8...v0.9.9
171
-
172
- - Added `gem uninstall` hooks to remove YARD documentation files. (#1083)
173
- - Added support for C++ namespaces. (#809)
174
- - Fixed issue where loading a .html page via an anchor would not scroll to
175
- the anchor section. (#1082)
176
- - Hide some Ruby warnings.
177
- - Improve progress indicator icons in terminal.
178
-
179
- # [0.9.8] - January 13th, 2017
180
-
181
- [0.9.8]: https://github.com/lsegal/yard/compare/v0.9.7...v0.9.8
182
-
183
- - Fixed installed gems not being correctly found in `yard server` and by plugins.
184
- - Fixed tokenization of `%w(...)` array syntax.
185
-
186
- # [0.9.7] - January 9th, 2017
187
-
188
- [0.9.7]: https://github.com/lsegal/yard/compare/v0.9.6...v0.9.7
189
-
190
- - Fixed resolution of absolute object paths with ambiguous names. (#1029)
191
-
192
- # [0.9.6] - January 7th, 2017
193
-
194
- [0.9.6]: https://github.com/lsegal/yard/compare/v0.9.5...v0.9.6
195
-
196
- - Removed official support for Ruby 1.x (1.8/1.9). YARD can still be installed
197
- in these versions, but support is not guaranteed. Simple bug fixes may still
198
- be considered via pull request only. Issues without code will be automatically
199
- closed.
200
- - Added {YARD::Tags::Tag#explain_types} returning a plain English summary
201
- of the type specification of a given tag. Also adds {YARD::Tags::TypesExplainer}
202
- as an implementation class for the method.
203
- - Added support for automatic linking of constants and method calls of
204
- Ruby syntax highlighted source code in generated HTML. Also adds the
205
- {YARD::Parser::Ruby::TokenResolver} implementation class to iterate over
206
- tokenized code with extra resolved object information.
207
- - Added support for compound constant assignments (`A::B::C = true`).
208
- - Added `LibraryVersion#yardoc_file_for_SOURCE` callback method for sources with
209
- a pre-determined yardoc file location. Implement this method instead of
210
- manually setting `library.yardoc_file = ...` in your load method (you can
211
- still assign the attribute manually).
212
- - Use RubyGems 2.x+ API to query gems when available instead of using backport.
213
- - Various bug fixes
214
-
215
- # [0.9.5] - July 22nd, 2016
216
-
217
- [0.9.5]: https://github.com/lsegal/yard/compare/v0.9.4...v0.9.5
218
-
219
- - `yard doc` will now generate `.yardoc/processing` and `.yardoc/complete` files
220
- to allow other tools to properly detect when YARD is in the middle of parsing
221
- source files, and when it has completed writing the database.
222
- - Added support for on-demand generation of LibraryVersion objects using the
223
- `:disk` source type. LibraryVersion objects pointing to a .yardoc database
224
- directory will now auto-generate if there is a `source_path` attached.
225
- - Added warning for macros attached to non-method objects.
226
- - Fixed a few more parsing errors.
227
-
228
- # [0.9.4] - July 21st, 2016
229
-
230
- [0.9.4]: https://github.com/lsegal/yard/compare/v0.9.3...v0.9.4
231
-
232
- - Minor Ruby file parsing and CSS bug fixes.
233
-
234
- # [0.9.3] - July 20th, 2016
235
-
236
- [0.9.3]: https://github.com/lsegal/yard/compare/v0.9.2...v0.9.3
237
-
238
- - Added support for {YARD::Server::RackAdapter} to be mounted under prefix URIs.
239
- - Fixed regression in `yard server -g` that caused static file assets on index
240
- page to return 404 errors.
241
- - Fixed regression in `yard server -g` index page that disabled scrolling and
242
- caused other HTML rendering glitches.
243
-
244
- # [0.9.2] - July 19th, 2016
245
-
246
- [0.9.2]: https://github.com/lsegal/yard/compare/v0.9.1...v0.9.2
247
-
248
- - Added `yard config --gem-install-[yri|yard]` commands which auto-configure
249
- your `~/.gemrc` file to run yri/yard instead of ri/rdoc on a `gem install`.
250
- - Added support for gemspec metadata key `"yard.run"`, which can be either
251
- `"yard"` or `"yri"` to run the respective commands on a `gem install`.
252
- - Added `yard doc --no-progress` to hide the progress bar.
253
- - Fix resolution error for compound proxy namespaces.
254
- - YRI will now search across all gem versions (latest first) for the .yardoc
255
- database.
256
-
257
- # [0.9.1] - July 18th, 2016
258
-
259
- [0.9.1]: https://github.com/lsegal/yard/compare/v0.9.0...v0.9.1
260
-
261
- - Added "Attributes" section to `yard stats`.
262
- - Added support for RubyGems 2.x `--document=yri,yard` flags. You can now run
263
- YARD documentation generation against installed gems by running:
264
- `gem install mygem --document=yard,yri`.
265
- - Added `/static/*` routing for library-specific routing. This enables static
266
- template files to be served on a per-library basis instead of globally shared
267
- across the `yard server`.
268
- - Added support for inlining of `{include:*}` syntax. Using this syntax in
269
- the middle of a docstring paragraph will no longer create a separate paragraph
270
- for the included text.
271
- - Added support for resolving `{}` syntax in text templates, specifically for
272
- use in `{include:*}` syntax.
273
- - Improved object resolution logic in `{Foo::Bar}` syntax and {YARD::Registry.resolve}.
274
- New resolution logic should now more accurately support resolving compound paths
275
- across namespaces and through the inheritance tree (as Ruby does).
276
- - The `frozen_string_literal: true` comment line in Ruby source files will now be
277
- excluded from docstrings.
278
- - Added a workaround for https://bugs.ruby-lang.org/issues/11485
279
- - Fixed an issue where type using a docstring reference on an `@!attribute` macro
280
- would be incorrectly parsed as a type specifier. This change updates the tag
281
- parser to disallow newlines between the tag name and opening bracket of the
282
- type specification.
283
- - Fixed an issue where `--embed-mixins` would improperly embed methods from
284
- inherited classes instead of modules.
285
- - Fixed various parsing errors and YARD exceptions.
286
- - Added a warning for modules or classes being redefined as constants.
287
- - Reverted stripping of HTML in {YARD::Docstring#summary}.
288
- - Added optimization to remove initial docstring parse on newly created code objects.
289
- - {YARD::CodeObjects::Base#format} now passes the :type parameter to templates.
290
- - Hide methods with filtered namespaces in Method Listing.
291
-
292
- # [0.9.0] - July 4th, 2016
293
-
294
- [0.9.0]: https://github.com/lsegal/yard/compare/v0.8.7.6...v0.9.0
295
-
296
- Special thanks to Alex Dowad, MSP-Greg, and Alex McLain for their extended
297
- contributions to this version.
298
-
299
- - (Breaking Change): Replaced default template with an updated "frameless" version.
300
- This change may affect backward compatibility if custom templates made modifications
301
- to `default/fulldoc/html`, specifically the index or navigation lists.
302
- - Added support for Ruby 2.1+ decorator style method declaration syntax. YARD now
303
- supports:
304
- private def foo(x, y) end
305
- - Metadata headers in extra files can now be escaped from rendering by enclosing them
306
- in HTML comment blocks (`<!--\n @metadata here... \n-->`). Ensure that the opening
307
- comment tag is alone on the first line of the file to use this functionality.
308
- - Improved parsing of various CRuby coding styles.
309
- - Fixed issue with binary image assets when using `yard server`.
310
- - Fixed deprecation warnings from Rake 10.x.
311
- - Tests updated for RSpec 3.
312
-
313
- # [0.8.7.6] - October 26, 2014
314
-
315
- [0.8.7.6]: https://github.com/lsegal/yard/compare/v0.8.7.5...v0.8.7.6
316
-
317
- - Support using `@option` tag on keyword arg splat parameter. (#729)
318
- - Add `.stats_options` for `YardocTask`. (#800, #801)
319
-
320
- # [0.8.7.5] - October 26, 2014
321
-
322
- [0.8.7.5]: https://github.com/lsegal/yard/compare/v0.8.7.4...v0.8.7.5
323
-
324
- - Fix linking of methods in top level namespace in method listing. (#776)
325
- - Support using C macros in function declarations. (#810)
326
- - YARD will no longer group comment blocks starting on the same column if they
327
- are preceded by code. (#798)
328
- - Handle anonymous lambda calls in toplevel scope. (#774)
329
- - Support I18n in `@overload` tags. (#794)
330
- - Support `yard stats` for objects with no file property. (#792)
331
- - Support for named arguments in Ruby >= 2.1. (#785)
332
- - Exclude README backup files from YARD generation. (#790)
333
- - Turned on the lax spacing option in Redcarpet to comply with the
334
- Markdown standard.
335
- - Escape HTML in YARD server search placeholder template.
336
- - Fix issue with `private_class_method` support. (#760, #767)
337
- - Enable tables support by default in Redcarpet Markdown provider. (#765)
338
-
339
- # 0.8.7.4 - March 22, 2014
340
-
341
- [0.8.7.4]: https://github.com/lsegal/yard/compare/v0.8.7.3...v0.8.7.4
342
-
343
- - Mark C methods as explicit but also remove explicit check in stats. (#727)
344
- - Report unresolved parent namespaces as undocumentable errors instead. (#753)
345
- - No longer ignore overridden methods from documentation check in stats (#719)
346
- - Fix JRuby throwing exception when remove_method called on non-existent method. (#732)
347
- - Add basic support for `private_class_method` (#747)
348
- - Ensure namespace is always set when parent module is not found. (#753)
349
- - Set overflow as auto on table of contents.
350
- - Report 100% documented if nothing is undocumented. (#754)
351
- - Added support for RubyGems 2.0.0+. (#742)
352
- - Allow users to enter their own YARD RakeTask name. (#705)
353
- - Fixed a typo that was causing Windows detection to always fail. (#715)
354
- - Add debug information when loading a plugin fails. (#711)
355
-
356
- # [0.8.7.3] - November 1, 2013
357
-
358
- [0.8.7.3]: https://github.com/lsegal/yard/compare/v0.8.7.2...v0.8.7.3
359
-
360
- - Handle Unicode method/class/file names in server URL encoding (lsegal/rubydoc.info#69).
361
- - Style keyword style hashes with same symbol color in code highlighting (#707).
362
- - Fix broken JS when visiting docs in file:// scheme (#706).
363
- - Add support for new AsciiDoc file extensions (#704).
364
- - Fix issues where non-Ruby code blocks would not display in Ruby 2 (#702).
365
- - Add support for extra Ruby 2 symbol types in Ripper (#701).
366
- - Ensure config directory exists before saving config file (#700).
367
-
368
- # [0.8.7.2] - September 18, 2013
369
-
370
- [0.8.7.2]: https://github.com/lsegal/yard/compare/v0.8.7.1...v0.8.7.2
371
-
372
- - Disallow absolute URLs when using frame anchor support.
373
- - Support casted functions in CRuby method declarations (#697)
374
-
375
- # [0.8.7.1] - September 11, 2013
376
-
377
- [0.8.7.1]: https://github.com/lsegal/yard/compare/v0.8.7...v0.8.7.1
378
-
379
- - Fix potential XSS issue with frame anchor support.
380
- - Add support for gettext 3.x gem.
381
-
382
- # [0.8.7] - July 26, 2013
383
-
384
- [0.8.7]: https://github.com/lsegal/yard/compare/v0.8.6.2...v0.8.7
385
-
386
- - Added `--hide-api API` option to hide objects with a given `@api` tag (#685).
387
- - Added "Returns ...." prefix to summary when a lone @return tag is used.
388
- - Fixed issue that caused ref tags to be added to a docstring twice (#678).
389
- - Fixed formatting issue in docstring summaries (#686)
390
-
391
- # [0.8.6.2] - June 27, 2013
392
-
393
- [0.8.6.2]: https://github.com/lsegal/yard/compare/v0.8.6.1...v0.8.6.2
394
-
395
- - Fixed issue where `yard graph` was not displaying methods
396
-
397
- # [0.8.6.1] - April 14, 2013
398
-
399
- [0.8.6.1]: https://github.com/lsegal/yard/compare/v0.8.6...v0.8.6.1
400
-
401
- - Fixed broken links in File menu on default HTML template
402
- - Added --layout switch to `yard display` to wrap output in layout template.
403
- - See {file:docs/WhatsNew.md} for more information on added features.
404
-
405
- # [0.8.6] - April 13, 2013
406
-
407
- [0.8.6]: https://github.com/lsegal/yard/compare/v0.8.5.2...v0.8.6
408
-
409
- - Various fixes and improved Ruby 2.x compatibility support
410
- - Added support for `asciidoc` markup type
411
- - Added `yard markups` command to list available markup types
412
- - Added `yard display` command to display and format an individual object
413
- - See {file:docs/WhatsNew.md} for more information on added features.
414
-
415
- # [0.8.5.2] - February 26, 2013
416
-
417
- [0.8.5.2]: https://github.com/lsegal/yard/compare/v0.8.5.1...v0.8.5.2
418
-
419
- - Support new keyword argument syntax in method signatures (Ruby 2.x)
420
-
421
- # [0.8.5.1] - February 25, 2013
422
-
423
- [0.8.5.1]: https://github.com/lsegal/yard/compare/v0.8.5...v0.8.5.1
424
-
425
- - Fix `yard diff` of gem files with RubyGems 2.x
426
-
427
- # [0.8.5] - February 24, 2013
428
-
429
- [0.8.5]: https://github.com/lsegal/yard/compare/v0.8.4.1...v0.8.5
430
-
431
- - Basic support for Ruby 2.0 (fix compat issues in RDoc 4.0, RubyGems 2.0)
432
- - Add CSS styling for tables in default HTML template
433
-
434
- # [0.8.4.1] - February 5, 2013
435
-
436
- [0.8.4.1]: https://github.com/lsegal/yard/compare/v0.8.4...v0.8.4.1
437
-
438
- - Fix regression that broke loading of existing yardoc dbs (#648)
439
-
440
- # [0.8.4] - February 4, 2013
441
-
442
- [0.8.4]: https://github.com/lsegal/yard/compare/v0.8.3...v0.8.4
443
-
444
- - Add `-B/--bind` switch to yard server (#593, #608)
445
- - Add CodeObjects::Base#title for plugins to customize how object
446
- links display (#646)
447
- - Disable linking objects filtered out by verifiers (#645)
448
- - Allow macro expansion on class methods (#632)
449
- - Expand newly attached macro on first DSL method call (#631)
450
- - Disable RubyGems plugin in Ruby 2.0 (#627)
451
- - Fix line range for class/module node bodies (#626)
452
- - Search extended modules for attached DSL macros (#553)
453
-
454
- # [0.8.3] - October 14, 2012
455
-
456
- [0.8.3]: https://github.com/lsegal/yard/compare/v0.8.2.1...v0.8.3
457
-
458
- - Add `--non-transitive-tag` to disable tag transitivity (#571)
459
- - Support --db inside .yardopts for graph/server commands (#583, #586)
460
- - Fix handling for =begin/=end docstrings (#577, #578)
461
- - Parser only sorts file lists when a glob is provided (#572)
462
- - Fix formatting in `{include:Object#method}` syntax (#569)
463
- - Fix @option tag inside of module functions (#563)
464
- - Fix to `--api` and `--no-api` support (#559)
465
- - Fix class nesting issues when path starts with "::" (#552)
466
-
467
- # [0.8.2.1] - June 9, 2012
468
-
469
- [0.8.2.1]: https://github.com/lsegal/yard/compare/v0.8.2...v0.8.2.1
470
-
471
- - Fix a set of regressions in yard server search and dynamic generation
472
-
473
- # [0.8.2] - June 7, 2012
474
-
475
- [0.8.2]: https://github.com/lsegal/yard/compare/v0.8.1...v0.8.2
476
-
477
- - Added progress style output in tty terminals
478
- - Embedded mixins should ignore methods defined on module (#539)
479
- - Fixed permalinks for embedded mixins in `yard server` (#540)
480
- - Improve parsing in CRuby code (#543)
481
- - Ensure Registry.resolve picks module when parsing mixins (#545)
482
- - Fixed regression that caused various commands to not show output (#548)
483
- - Respect current visibility when parsing class conditions (#551)
484
-
485
- # [0.8.1] - May 2, 2012
486
-
487
- [0.8.1]: https://github.com/lsegal/yard/compare/v0.8.0...v0.8.1
488
-
489
- - Added `--[no-]api` switch to generate docs for API sets (see {file:docs/WhatsNew.md} for details) (#532)
490
- - The `yard list` command now uses cache by default (#533)
491
- - Fix `yardoc` generating incorrectly named method list file (#528)
492
- - Fix HTML output occasionally showing trailing mdash on options list (#522)
493
-
494
- # [0.8.0] - April 30, 2012
495
-
496
- [0.8.0]: https://github.com/lsegal/yard/compare/v0.7.5...v0.8.0
497
-
498
- - See {file:docs/WhatsNew.md} for a list of added features
499
- - Over 20 bug fixes:
500
- - Properly filter hidden setter/getter attributes (#394)
501
- - Fix test failures in Linux environments (#397, #472, #473, #512, #513)
502
- - Fix attribute inheritance and @private (#432)
503
- - Fix attribute parsing (#435)
504
- - Allow aliases for attributes (#436)
505
- - Fix namespace fetching in `handle_alias()` (#437)
506
- - Fix overwritten attributes marked as inherited (#442)
507
- - Fix documenting constants defined from C code with `rb_define_const()` (#443)
508
- - Do not escape snippets twice (#445)
509
- - Ajax method/class search should not fire when a non-printable character is pressed (#446)
510
- - Fix yard server crashing when RDoc is not installed (#456)
511
- - Fix tags ignored when `(see #foo)` is used (#457)
512
- - Fix three "Returns" for two `@overload` tags (#458)
513
- - Do not auto-detect DSL methods as method objects if parameter name is not a valid method name (#464)
514
- - Fix attaching of macros to Object (#465)
515
- - Fix handling of `%w()` source in `[]/[]=` parsed context. (#461, pull in #468)
516
- - Don't add default `@return` if `@overload` has `@return`. (#458, pull in #469)
517
- - Don't discard tags by (see ...). (#457, pull in #470)
518
- - Fix constants listed as inherited when overwritten (#474)
519
- - Fix `yardoc --asset` behaving differently on first and subsequent calls. (#477)
520
- - `!!!lang` code blocks should set the lang in `<pre>`'s class. (#478, #479)
521
- - Fix "File List" search tab error. (#502)
522
- - Fix search bar not redirecting to method page. (#509)
523
- - Fix server returning exception message bodies as String (#518)
524
-
525
- # [0.7.5] - January 31, 2012
526
-
527
- [0.7.5]: https://github.com/lsegal/yard/compare/v0.7.4...v0.7.5
528
-
529
- - Various minor bug fixes
530
-
531
- # [0.7.4] - December 2, 2011
532
-
533
- [0.7.4]: https://github.com/lsegal/yard/compare/v0.7.3...v0.7.4
534
-
535
- - Redcarpet is now the default Markdown formatting library. GFM now works out-of-box (#404)
536
- - Fix server side searching for elements that are marked private (#420)
537
- - Add 'textile_strict' and 'pre' markup types, reorganize text and none (#416)
538
- - Improve encoding line detection (#415)
539
- - Add support for `rb_define_alias` in CRuby code (#413)
540
- - Fix rendering of some keywords in source view (#410)
541
- - Add support for RDoc 3.10+ (#406, #407)
542
- - Fix typewriter text being processed in code blocks (#403)
543
- - Improve support for has_rdoc in RubyGems 1.8.x (#401)
544
- - See the {file:docs/WhatsNew.md} document for details on added features
545
-
546
- # [0.7.3] - October 15, 2011
547
-
548
- [0.7.3]: https://github.com/lsegal/yard/compare/v0.7.2...v0.7.3
549
-
550
- - Improve support for parsing under Ruby 1.9.2p290 and 1.9.3 (#365, #370)
551
- - Add support for SWIG generated CRuby code (#369)
552
- - Add support for `rb_define_attr` calls in CRuby code (#362)
553
- - Handle file pointers in CRuby code (#358)
554
-
555
- # [0.7.2] - June 14, 2011
556
-
557
- [0.7.2]: https://github.com/lsegal/yard/compare/v0.7.1...v0.7.2
558
-
559
- - Fix `yard --help` not showing proper output
560
- - YARD now expands path to `.yardoc` file in daemon mode for server (#328)
561
- - Fix `@overload` tag linking to wrong method (#330)
562
- - Fix incorrect return type when using `@macro` (#334)
563
- - YARD now requires 'thread' to support RubyGems 1.7+ (#338)
564
- - Fix bug in constant documentation when using `%w()` (#348)
565
- - Fix YARD style URL links when using autolinking markdown (#353)
566
-
567
- # [0.7.1] - May 18, 2011
568
-
569
- [0.7.1]: https://github.com/lsegal/yard/compare/v0.7.0...v0.7.1
570
-
571
- - Fixes a bug in `yard server` not displaying class list properly.
572
-
573
- # [0.7.0] - May 17, 2011
574
-
575
- [0.7.0]: https://github.com/lsegal/yard/compare/v0.6.8...v0.7.0
576
-
577
- - See the {file:docs/WhatsNew.md} document for details on added features
578
- - Make sure that Docstring#line_range is filled when possible (#243)
579
- - Set #verifier in YardocTask (#282)
580
- - Parse BOM in UTF-8 files (#288)
581
- - Fix instance attributes not showing up in method list (#302)
582
- - Fix rendering of %w() literals in constants (#306)
583
- - Ignore keyboard shortcuts when an input is active (#312)
584
- - And more...
585
-
586
- # [0.6.8] - April 14, 2011
587
-
588
- [0.6.8]: https://github.com/lsegal/yard/compare/v0.6.7...v0.6.8
589
-
590
- - Fix regression in RDoc 1.x markup loading
591
- - Fix regression in loading of markup libraries for `yard server`
592
-
593
- # [0.6.7] - April 6, 2011
594
-
595
- [0.6.7]: https://github.com/lsegal/yard/compare/v0.6.6...v0.6.7
596
-
597
- - Fix has_rdoc gem specification issue with new RubyGems plugin API (oops!)
598
-
599
- # [0.6.6] - April 6, 2011
600
-
601
- [0.6.6]: https://github.com/lsegal/yard/compare/v0.6.5...v0.6.6
602
-
603
- - Fix error message when RDoc is not present (#270)
604
- - Add markup type 'none' to perform basic HTML translation (fallback when RDoc is not present)
605
- - Add support for RubyGems 1.7.x (#272)
606
- - Fix rendering of `{url description}` syntax when description contains newline
607
-
608
- # [0.6.5] - March 13, 2011
609
-
610
- [0.6.5]: https://github.com/lsegal/yard/compare/v0.6.4...v0.6.5
611
-
612
- - Support `ripper` gem in Ruby 1.8.7
613
- - Upgrade jQuery to 1.5.1
614
- - Fix handling of alias statements with quoted symbols (#262)
615
- - Add CSS styles (#260)
616
- - Unhandled exception in YARD::Handlers::Ruby::MixinHandler indexing documentation for eventmachine (#248)
617
- - Splice any alias references on method re-definitions into separate methods (#247)
618
- - Fix "yard graph" (#245)
619
- - Don't process ++ typewriter text inside of HTML attributes (#244)
620
- - Prioritize loading of Kramdown before Maruku (#241)
621
- - Skip shebang encoding in docstrings (#238)
622
- - Fix truncation of references in @deprecated (#232)
623
- - Show @api private note when no other tags are present (#231)
624
- - Detect docstrings starting with "##" as `Docstring#hash_flag` (#230)
625
- - Remove trailing whitespace from freeform tags (#229)
626
- - Fix line through for deprecated methods (#225)
627
- - Mistake in Tags.md (#223)
628
- - Improve database storage by being more efficient with filesystem usage (#222)
629
- - Make Registry thread local (#221)
630
- - Support `private_constant` class method for 1.9.3 (#219)
631
- - Do not assume RDoc is installed (#214)
632
-
633
- # [0.6.4] - December 21, 2010
634
-
635
- [0.6.4]: https://github.com/lsegal/yard/compare/v0.6.3...v0.6.4
636
-
637
- - Fix yri tool crashing with new Config class (gh-217)
638
- - Fix support for ::TopLevelConstants (gh-216)
639
- - YARD's test suite is now RSpec2 compatible (gh-215)
640
- - Improved documentation for YARD::Server features (gh-207)
641
- - Fix displaying of collaped method summary lists (gh-204)
642
- - Fix automatic loading of markup providers (gh-206)
643
- - Fix keyboard shortcuts for Chrome (gh-203)
644
- - Disallow `extend self` inside of a class (gh-202)
645
- - Constants now recognized in C extensions (gh-201)
646
-
647
- # [0.6.3] - November 21, 2010
648
-
649
- [0.6.3]: https://github.com/lsegal/yard/compare/v0.6.2...v0.6.3
650
-
651
- - Fixed regression that caused `yardoc --markup` to silently exit
652
-
653
- # [0.6.2] - November 15, 2010
654
-
655
- [0.6.2]: https://github.com/lsegal/yard/compare/v0.6.1...v0.6.2
656
-
657
- - **Plugins no longer automatically load, use `--plugin` to load a plugin**
658
- - Added YARD::Config and ~/.yard/config YAML configuration file
659
- - Added `yard config` command to view/edit YARD configuration file
660
- - Fixes for YARD in 1.8.6 (gh-178)
661
- - Various HTML template adjustments and fixes (gh-198,199,200)
662
- - Improved `yard server -m` multi-project stability (gh-193)
663
- - Fixed handling of `yardoc --no-private` with missing class definitions (gh-197)
664
- - Added support for constants defined in C extensions (gh-177)
665
- - Added support for Structs defined as "Klass = Struct.new(...)" (gh-187)
666
- - Improved parsing support for third-party gems (gh-174,180)
667
- - Improved support for JRuby 1.6.4+. YARD now passes all specs in JRuby (gh-185)
668
- - Improved YARD documentation (gh-172,191,196)
669
-
670
- # [0.6.1] - September 06, 2010
671
-
672
- [0.6.1]: https://github.com/lsegal/yard/compare/v0.6.0...v0.6.1
673
-
674
- - Fixed TOC showing on top of class/method list in no-frames view
675
- - A message now displays when running `yard server` with Rack/Mongrel installed
676
- - Improved performance of JS inline search for large class/method lists
677
- - Improved link titles for relative object links
678
- - Removed `String#camelcase` and `String#underscore` for better Rails compat.
679
- - Fixed support for loading .yardoc files under Windows
680
- - Fixed inheritance tree arrows not displaying in certain environments
681
-
682
- # [0.6.0] - August 29, 2010
683
-
684
- [0.6.0]: https://github.com/lsegal/yard/compare/v0.5.8...v0.6.0
685
-
686
- - Added dynamic local documentation server
687
- - Added @group/@endgroup declarations to organize methods into groups
688
- - Added `yard` executable to serve as main CLI tool with pluggable commands
689
- - Added `--asset` switch to `yardoc` to copy files/dirs to output dir
690
- - Added ability to register/manipulate tags via CLI (`--tag`, etc.)
691
- - Added `yard diff` command
692
- - Added statistics to `yardoc` output (and `yard stats` command)
693
- - Added Javascript generated Table of Contents to file pages
694
- - Updated various APIs
695
- - Removed `yard-graph` executable
696
- - See more changes in the {file:docs/WhatsNew.md what's new document}
697
-
698
- # [0.5.8] - June 22, 2010
699
-
700
- [0.5.8]: https://github.com/lsegal/yard/compare/v0.5.7...v0.5.8
701
-
702
- - Merge fix from 0.6 branch for --no-private visibility checking
703
-
704
- # [0.5.7] - June 21, 2010
705
-
706
- [0.5.7]: https://github.com/lsegal/yard/compare/v0.5.6...v0.5.7
707
-
708
- - Fixed visibility flag parsing in `yardoc`
709
- - Updated Parser Architecture documentation with new SourceParser API
710
- - Improved Registry documentation for new load commands
711
- - Fix loading of .yardoc file as cache (and preserving aliases)
712
- - Fix "lib" directory missing when running YARD on installed gems
713
-
714
- # [0.5.6] - June 12, 2010
715
-
716
- [0.5.6]: https://github.com/lsegal/yard/compare/v0.5.5...v0.5.6
717
-
718
- - Bug fixes for RubyGems plugin, `has_rdoc=false` should now work
719
- - New API for registering custom parsers. See {file:docs/WhatsNew.md}
720
-
721
- # [0.5.5] - May 22, 2010
722
-
723
- [0.5.5]: https://github.com/lsegal/yard/compare/v0.5.4...v0.5.5
724
-
725
- - Various bug fixes
726
-
727
- # [0.5.4] - March 22, 2010
728
-
729
- [0.5.4]: https://github.com/lsegal/yard/compare/v0.5.3...v0.5.4
730
-
731
- - See {file:docs/WhatsNew.md what's new document} for changes
732
-
733
- # [0.5.3] - January 11, 2010
734
-
735
- [0.5.3]: https://github.com/lsegal/yard/compare/v0.5.2...v0.5.3
736
-
737
- - See {file:docs/WhatsNew.md what's new document} for changes
738
-
739
- # [0.5.2] - December 16, 2009
740
-
741
- [0.5.2]: https://github.com/lsegal/yard/compare/v0.5.1...v0.5.2
742
-
743
- - See {file:docs/WhatsNew.md what's new document} for changes
744
-
745
- # [0.5.1] - December 15, 2009
746
-
747
- [0.5.1]: https://github.com/lsegal/yard/compare/v0.5.0...v0.5.1
748
-
749
- - See {file:docs/WhatsNew.md what's new document} for changes
750
-
751
- # [0.5.0] - December 13, 2009
752
-
753
- [0.5.0]: https://github.com/lsegal/yard/compare/v0.4.0...v0.5.0
754
-
755
- - See {file:docs/WhatsNew.md what's new document} for changes
756
-
757
- # [0.4.0] - November 15, 2009
758
-
759
- [0.4.0]: https://github.com/lsegal/yard/compare/v0.2.3.5...v0.4.0
760
-
761
- - Added new templating engine based on [tadpole](http://github.com/lsegal/tadpole)
762
- - Added YARD queries (`--query` CLI argument to yardoc)
763
- - Greatly expanded YARD documentation
764
- - Added plugin support
765
- - New `@abstract` and `@private` tags
766
- - Changed default rake task to `rake yard`
767
- - Read about changes in {file:docs/WhatsNew.md}
768
-
769
- # [0.2.3.5] - August 13, 2009
770
-
771
- [0.2.3.5]: https://github.com/lsegal/yard/compare/v0.2.3.4...v0.2.3.5
772
-
773
- - Minor bug fixes.
774
-
775
- # [0.2.3.4] - August 07, 2009
776
-
777
- [0.2.3.4]: https://github.com/lsegal/yard/compare/v0.2.3.3...v0.2.3.4
778
-
779
- - Minor bug fixes.
780
-
781
- # [0.2.3.3] - July 26, 2009
782
-
783
- [0.2.3.3]: https://github.com/lsegal/yard/compare/v0.2.3.2...v0.2.3.3
784
-
785
- - Minor bug fixes.
786
-
787
- # [0.2.3.2] - July 06, 2009
788
-
789
- [0.2.3.2]: https://github.com/lsegal/yard/compare/v0.2.3.1...v0.2.3.2
790
-
791
- - Fix Textile hard-break issues
792
- - Add description for @see tag to use as link title in HTML docs.
793
- - Add --title CLI option to specify a title for HTML doc files.
794
- - Add custom.css file that can be overridden with various custom
795
- styelsheet declarations. To use this, simply add `default/fulldoc/html/custom.css`
796
- inside your code directory and use the `-t` template directory yardoc CLI
797
- option to point to that template directory (the dir holding 'default').
798
- - Add support in `yardoc` CLI to specify extra files (formerly --files)
799
- by appending "- extra files here" after regular source files. Example:
800
-
801
- yardoc --private lib/**/*.rb - FAQ LICENSE
802
-
803
- # [0.2.3.1] - June 13, 2009
804
-
805
- [0.2.3.1]: https://github.com/lsegal/yard/compare/v0.2.3...v0.2.3.1
806
-
807
- - Add a RubyGems 1.3.2+ plugin to generate YARD documentation instead of
808
- RDoc. To take advantage of this plugin, set `has_rdoc = 'yard'` in your
809
- .gemspec file.
810
-
811
- # [0.2.3] - June 07, 2009
812
-
813
- [0.2.3]: https://github.com/lsegal/yard/compare/v0.2.2...v0.2.3
814
-
815
- - See the {file:docs/WhatsNew.md} file for a list of important new features.
816
-
817
- # [0.2.2] - Jun 16, 2008
818
-
819
- [0.2.2]: https://github.com/lsegal/yard/compare/v0.2.1...v0.2.2
820
-
821
- - This is the largest changset since yard's conception and involves a complete
822
- overhaul of the parser and API to make it more robust and far easier to
823
- extend and use for the developer.
824
-
825
- # [0.2.1] - February 20, 2008
826
-
827
- [0.2.1]: https://github.com/lsegal/yard/compare/v0.1a...v0.2.1
828
-
829
- - See the {file:docs/WhatsNew.md} file for a list of important new features.
830
-
831
- # 0.1a - February 24, 2007
832
-
833
- - Released 0.1a experimental version for testing. The goal here is
834
- to get people testing YARD on their code because there are too many possible
835
- code styles to fit into a sane amount of test cases. It also demonstrates the
836
- power of YARD and what to expect from the syntax (Yardoc style meta tags).