|
1 | 1 | ## HEAD (unreleased) |
2 | 2 |
|
| 3 | +## 1.0.0 (Library renamed to syntax_suggest ) |
| 4 | + |
3 | 5 | - [Breaking] Output "Syntax OK" will no longer be output when `syntax_suggest` is fired due to a syntax error. (https://github.com/ruby/syntax_suggest/pull/158) |
4 | 6 | - [Breaking] Rename `dead_end` to `syntax_suggest` (https://github.com/zombocom/dead_end/pull/154) |
5 | 7 | - [Breaking] Lazy loading moved from `autoload` to manually checking for constants and requiring `dead_end/api`. To manually use any SyntaxSuggest internals you MUST require `dead_end/api`, otherwise it will be lazy loaded on syntax error (https://github.com/zombocom/dead_end/pull/148) |
|
9 | 11 | - Respect `highlight` kwarg in Ruby 3.2's `detailed_message` to enable/disable control characters (https://github.com/zombocom/dead_end/pull/147) |
10 | 12 | - Added workarounds for running on ruby/ruby repo (https://github.com/ruby/syntax_suggest/pull/156) |
11 | 13 |
|
12 | | -## 4.0.0 |
| 14 | +## dead_end 4.0.0 |
13 | 15 |
|
14 | 16 | - Code that does not have an associated file (eval and streamed) no longer produce a warning saying that the file could not be found. To produce a warning with these code types run with DEBUG=1 environment variable. (https://github.com/zombocom/dead_end/pull/143) |
15 | 17 | - [Breaking] Lazy load SyntaxSuggest internals only if there is a Syntax error. Use `require "dead_end"; require "dead_end/api"` to load eagerly all internals. Otherwise `require "dead_end"` will set up an autoload for the first time the SyntaxSuggest module is used in code. This should only happen on a syntax error. (https://github.com/zombocom/dead_end/pull/142) |
16 | 18 | - Monkeypatch `SyntaxError#detailed_message` in Ruby 3.2+ instead of `require`, `load`, and `require_relative` (https://github.com/zombocom/dead_end/pull/139) |
17 | 19 |
|
18 | | -## 3.1.2 |
| 20 | +## dead_end 3.1.2 |
19 | 21 |
|
20 | 22 | - Fixed internal class AroundBlockScan, minor changes in outputs (https://github.com/zombocom/dead_end/pull/131) |
21 | 23 |
|
22 | | -## 3.1.1 |
| 24 | +## dead_end 3.1.1 |
23 | 25 |
|
24 | 26 | - Fix case where Ripper lexing identified incorrect code as a keyword (https://github.com/zombocom/dead_end/pull/122) |
25 | 27 |
|
26 | | -## 3.1.0 |
| 28 | +## dead_end 3.1.0 |
27 | 29 |
|
28 | 30 | - Add support for Ruby 3.1 by updating `require_relative` logic (https://github.com/zombocom/dead_end/pull/120) |
29 | 31 | - Requiring `dead_end/auto` is now deprecated please require `dead_end` instead (https://github.com/zombocom/dead_end/pull/119) |
30 | 32 | - Requiring `dead_end/api` now loads code without monkeypatching core extensions (https://github.com/zombocom/dead_end/pull/119) |
31 | 33 | - The interface `SyntaxSuggest.handle_error` is declared public and stable (https://github.com/zombocom/dead_end/pull/119) |
32 | 34 |
|
33 | | -## 3.0.3 |
| 35 | +## dead_end 3.0.3 |
34 | 36 |
|
35 | 37 | - Expand explanations coming from additional Ripper errors (https://github.com/zombocom/dead_end/pull/117) |
36 | 38 | - Fix explanation involving shorthand syntax for literals like `%w[]` and `%Q{}` (https://github.com/zombocom/dead_end/pull/116) |
37 | 39 |
|
38 | | -## 3.0.2 |
| 40 | +## dead_end 3.0.2 |
39 | 41 |
|
40 | 42 | - Fix windows filename detection (https://github.com/zombocom/dead_end/pull/114) |
41 | 43 | - Update links on readme and code of conduct (https://github.com/zombocom/dead_end/pull/107) |
42 | 44 |
|
43 | | -## 3.0.1 |
| 45 | +## dead_end 3.0.1 |
44 | 46 |
|
45 | 47 | - Fix CLI parsing when flags come before filename (https://github.com/zombocom/dead_end/pull/102) |
46 | 48 |
|
47 | | -## 3.0.0 |
| 49 | +## dead_end 3.0.0 |
48 | 50 |
|
49 | 51 | - [Breaking] CLI now outputs to STDOUT instead of STDERR (https://github.com/zombocom/dead_end/pull/98) |
50 | 52 | - [Breaking] Remove previously deprecated `require "dead_end/fyi"` interface (https://github.com/zombocom/dead_end/pull/94) |
|
55 | 57 | - Parse errors emitted per-block rather than for the whole document (https://github.com/zombocom/dead_end/pull/94) |
56 | 58 | - The "banner" is now based on lexical analysis rather than parser regex (fix #68, fix #87) (https://github.com/zombocom/dead_end/pull/96) |
57 | 59 |
|
58 | | -## 2.0.2 |
| 60 | +## dead_end 2.0.2 |
59 | 61 |
|
60 | 62 | - Don't print terminal color codes when output is not tty (https://github.com/zombocom/dead_end/pull/91) |
61 | 63 |
|
62 | | -## 2.0.1 |
| 64 | +## dead_end 2.0.1 |
63 | 65 |
|
64 | 66 | - Reintroduce Ruby 2.5 support (https://github.com/zombocom/dead_end/pull/90) |
65 | 67 | - Support naked braces/brackets/parens, invert labels on banner (https://github.com/zombocom/dead_end/pull/89) |
66 | 68 | - Handle mismatched end when using rescue without begin (https://github.com/zombocom/dead_end/pull/83) |
67 | 69 | - CLI returns non-zero exit code when syntax error is found (https://github.com/zombocom/dead_end/pull/86) |
68 | 70 | - Let -v respond with gem version instead of 'unknown' (https://github.com/zombocom/dead_end/pull/82) |
69 | 71 |
|
70 | | -## 2.0.0 |
| 72 | +## dead_end 2.0.0 |
71 | 73 |
|
72 | 74 | - Support "endless" oneline method definitions for Ruby 3+ (https://github.com/zombocom/dead_end/pull/80) |
73 | 75 | - Reduce timeout to 1 second (https://github.com/zombocom/dead_end/pull/79) |
74 | 76 | - Logically consecutive lines (such as chained methods are now joined) (https://github.com/zombocom/dead_end/pull/78) |
75 | 77 | - Output improvement for cases where the only line is an single `end` (https://github.com/zombocom/dead_end/pull/78) |
76 | 78 |
|
77 | | -## 1.2.0 |
| 79 | +## dead_end 1.2.0 |
78 | 80 |
|
79 | 81 | - Output improvements via less greedy unmatched kw capture https://github.com/zombocom/dead_end/pull/73 |
80 | 82 | - Remove NoMethodError patching instead use https://github.com/ruby/error_highlight/ (https://github.com/zombocom/dead_end/pull/71) |
81 | 83 |
|
82 | | -## 1.1.7 |
| 84 | +## dead_end 1.1.7 |
83 | 85 |
|
84 | 86 | - Fix sinatra support for `require_relative` (https://github.com/zombocom/dead_end/pull/63) |
85 | 87 |
|
86 | | -## 1.1.6 |
| 88 | +## dead_end 1.1.6 |
87 | 89 |
|
88 | 90 | - Consider if syntax error caused an unexpected variable instead of end (https://github.com/zombocom/dead_end/pull/58) |
89 | 91 |
|
90 | | -## 1.1.5 |
| 92 | +## dead_end 1.1.5 |
91 | 93 |
|
92 | 94 | - Parse error once and not twice if there's more than one available (https://github.com/zombocom/dead_end/pull/57) |
93 | 95 |
|
94 | | -## 1.1.4 |
| 96 | +## dead_end 1.1.4 |
95 | 97 |
|
96 | 98 | - Avoid including demo gif in built gem (https://github.com/zombocom/dead_end/pull/53) |
97 | 99 |
|
98 | | -## 1.1.3 |
| 100 | +## dead_end 1.1.3 |
99 | 101 |
|
100 | 102 | - Add compatibility with zeitwerk (https://github.com/zombocom/dead_end/pull/52) |
101 | 103 |
|
102 | | -## 1.1.2 |
| 104 | +## dead_end 1.1.2 |
103 | 105 |
|
104 | 106 | - Namespace Kernel method aliases (https://github.com/zombocom/dead_end/pull/51) |
105 | 107 |
|
106 | | -## 1.1.1 |
| 108 | +## dead_end 1.1.1 |
107 | 109 |
|
108 | 110 | - Safer NoMethodError annotation (https://github.com/zombocom/dead_end/pull/48) |
109 | 111 |
|
110 | | -## 1.1.0 |
| 112 | +## dead_end 1.1.0 |
111 | 113 |
|
112 | 114 | - Annotate NoMethodError in non-production environments (https://github.com/zombocom/dead_end/pull/46) |
113 | 115 | - Do not count trailing if/unless as a keyword (https://github.com/zombocom/dead_end/pull/44) |
114 | 116 |
|
115 | | -## 1.0.2 |
| 117 | +## dead_end 1.0.2 |
116 | 118 |
|
117 | 119 | - Fix bug where empty lines were interpreted to have a zero indentation (https://github.com/zombocom/dead_end/pull/39) |
118 | 120 | - Better results when missing "end" comes at the end of a capturing block (such as a class or module definition) (https://github.com/zombocom/dead_end/issues/32) |
119 | 121 |
|
120 | | -## 1.0.1 |
| 122 | +## dead_end 1.0.1 |
121 | 123 |
|
122 | 124 | - Fix performance issue when evaluating multiple block combinations (https://github.com/zombocom/dead_end/pull/35) |
123 | 125 |
|
124 | | -## 1.0.0 |
| 126 | +## dead_end 1.0.0 |
125 | 127 |
|
126 | 128 | - Gem name changed from `syntax_search` to `dead_end` (https://github.com/zombocom/syntax_search/pull/30) |
127 | 129 | - Moved `syntax_search/auto` behavior to top level require (https://github.com/zombocom/syntax_search/pull/30) |
128 | 130 | - Error banner now indicates when missing a `|` or `}` in addition to `end` (https://github.com/zombocom/syntax_search/pull/29) |
129 | 131 | - Trailing slashes are now handled (joined) before the code search (https://github.com/zombocom/syntax_search/pull/28) |
130 | 132 |
|
131 | | -## 0.2.0 |
| 133 | +## dead_end 0.2.0 |
132 | 134 |
|
133 | 135 | - Simplify large file output so minimal context around the invalid section is shown (https://github.com/zombocom/syntax_search/pull/26) |
134 | 136 | - Block expansion is now lexically aware of keywords (def/do/end etc.) (https://github.com/zombocom/syntax_search/pull/24) |
135 | 137 | - Fix bug where not all of a source is lexed which is used in heredoc detection/removal (https://github.com/zombocom/syntax_search/pull/23) |
136 | 138 |
|
137 | | -## 0.1.5 |
| 139 | +## dead_end 0.1.5 |
138 | 140 |
|
139 | 141 | - Strip out heredocs in documents first (https://github.com/zombocom/syntax_search/pull/19) |
140 | 142 |
|
141 | | -## 0.1.4 |
| 143 | +## dead_end 0.1.4 |
142 | 144 |
|
143 | 145 | - Parser gem replaced with Ripper (https://github.com/zombocom/syntax_search/pull/17) |
144 | 146 |
|
145 | | -## 0.1.3 |
| 147 | +## dead_end 0.1.3 |
146 | 148 |
|
147 | 149 | - Internal refactor (https://github.com/zombocom/syntax_search/pull/13) |
148 | 150 |
|
149 | | -## 0.1.2 |
| 151 | +## dead_end 0.1.2 |
150 | 152 |
|
151 | 153 | - Codeblocks in output are now indented with 4 spaces and "code fences" are removed (https://github.com/zombocom/syntax_search/pull/11) |
152 | 154 | - "Unmatched end" and "missing end" not generate different error text instructions (https://github.com/zombocom/syntax_search/pull/10) |
153 | 155 |
|
154 | | -## 0.1.1 |
| 156 | +## dead_end 0.1.1 |
155 | 157 |
|
156 | 158 | - Fire search on both unexpected end-of-input and unexected end (https://github.com/zombocom/syntax_search/pull/8) |
157 | 159 |
|
158 | | -## 0.1.0 |
| 160 | +## dead_end 0.1.0 |
159 | 161 |
|
160 | 162 | - Initial release |
0 commit comments