Skip to content

Commit 666535c

Browse files
committed
changelog
1 parent b54c1e8 commit 666535c

2 files changed

Lines changed: 334 additions & 10 deletions

File tree

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"Bash(git checkout:*)",
3535
"Bash(gh run view:*)",
3636
"Bash(git rm:*)",
37-
"Bash(find:*)"
37+
"Bash(find:*)",
38+
"Bash(gh release list:*)",
39+
"Bash(gh release view:*)"
3840
],
3941
"deny": [],
4042
"ask": []

CHANGELOG.md

Lines changed: 331 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Changelog
22

3-
## [4.0.0-rc.0]
3+
All notable changes to "Mini TypeScript Hero" will be documented in this file.
44

5-
**Initial release** of Mini TypeScript Hero
5+
This project continues the legacy of [TypeScript Hero](https://github.com/buehler/typescript-hero) by Christoph Bühler. Version history prior to v4.0.0 is from the original extension.
6+
7+
---
8+
9+
## Mini TypeScript Hero
10+
11+
### [4.0.0-rc.0] - Unreleased
12+
13+
**Modernization release** - rebuilding Mini TypeScript Hero with a modern technology stack.
614

715
- Organize imports command (`Ctrl+Alt+O` / `Cmd+Alt+O`)
816
- Automatic removal of unused imports
@@ -32,14 +40,328 @@
3240
- Modern implementation using ts-morph (v27)
3341
- Built with esbuild for optimal performance
3442

35-
### Notes
43+
#### Notes
3644

37-
This extension is a modernized extraction of the "Organize Imports" feature from the original [TypeScript Hero](https://github.com/buehler/typescript-hero) extension by Christoph Bühler. TypeScript Hero is no longer actively maintained, so we've rescued this valuable feature with a modern 2025 technology stack.
45+
[TypeScript Hero](https://github.com/buehler/typescript-hero) by Christoph Bühler was well-known for its import organizer, but it went unmaintained. We picked it up, modernized everything, and added new features.
3846

39-
**Technology improvements over original:**
40-
- Replaced deprecated `typescript-parser` with modern `ts-morph` v27
47+
**Technology improvements:**
48+
- Replaced deprecated `typescript-parser` with modern `ts-morph`
4149
- Simplified architecture (removed InversifyJS DI container)
4250
- Native VSCode OutputChannel logging (replaced winston)
43-
- Modern esbuild bundling (replaced tsc)
44-
- TypeScript 5.7+ with strict mode
45-
- VSCode engine 1.104.0+ (required for modern VS Code APIs and stability improvements)
51+
- Modern esbuild bundling
52+
- Strict TypeScript
53+
- Modern VS Code APIs
54+
55+
---
56+
57+
## TypeScript Hero (Original Extension)
58+
59+
The following changelog documents the original TypeScript Hero extension by Christoph Bühler. Mini TypeScript Hero continues from v3.0.0.
60+
61+
### [3.0.0] - 2018-10-10
62+
63+
**Focused release**: The original author streamlined TypeScript Hero to focus solely on import organization, as VS Code's built-in features now handle the rest.
64+
65+
### [2.3.2] - 2018-04-04
66+
67+
#### Fixed
68+
- Bug fix for parser
69+
70+
### [2.3.1] - 2018-03-06
71+
72+
#### Fixed
73+
- Bug fix for parser
74+
75+
### [2.3.0] - 2018-03-06
76+
77+
#### Added
78+
- Code outline icons
79+
- Code completion improvements
80+
81+
#### Fixed
82+
- Exported elements handling
83+
- Shebang handling in files
84+
85+
### [2.2.0] - 2018-02-08
86+
87+
#### Added
88+
- Merge imports from same package (via libraryAlreadyImported check)
89+
90+
#### Fixed
91+
- Logging improvements
92+
93+
### [2.1.1] - 2018-01-26
94+
95+
#### Fixed
96+
- fs-extra package handling
97+
- Logger improvements
98+
99+
### [2.1.0] - 2018-01-26
100+
101+
#### Added
102+
- Add imports command
103+
- Import under cursor command
104+
105+
### [2.0.0] - 2018-01-18
106+
107+
**BREAKING CHANGES**: Major refactoring release
108+
109+
#### Changed
110+
- Major internal refactoring
111+
112+
#### Removed
113+
- Auto-import feature (recommended using VS Code built-in)
114+
115+
### [1.8.0] - 2017-12-11
116+
117+
#### Added
118+
- Regex groups are processed after keyword groups for proper precedence
119+
- First-specifier ordering option (`organizeSortsByFirstSpecifier`)
120+
121+
### [1.7.0] - 2017-10-31
122+
123+
#### Added
124+
- Multi-root workspace support (#325)
125+
- Improved logging and error handling (#326)
126+
127+
#### Fixed
128+
- Default exports and indexer properties not removed when used (#328)
129+
- File handler logging level
130+
- TypeScript parsing improvements (#327, #311)
131+
132+
### [1.6.0] - 2017-10-17
133+
134+
#### Added
135+
- Document outline: Show getters and setters (#314)
136+
- Setting to disable removal of unused imports (`disableImportRemovalOnOrganize`) (#315)
137+
- Default value for `organizeOnSave` changed to false
138+
139+
#### Changed
140+
- Upgraded TypeScript parser with default import generation improvements (#313, #227, #305)
141+
142+
### [1.5.0] - 2017-09-19
143+
144+
#### Added
145+
- Organize on save via workspace hook (#291)
146+
- Respect file header comments and JSDoc (#296)
147+
- Setting to disable prompting for aliases and default names (#298)
148+
149+
#### Fixed
150+
- Disable organize command when not in a code file (#295)
151+
- Don't add empty newline on organize imports (#297)
152+
- Fixed TypeScript version to 2.4.2 (#299, #292)
153+
154+
### [1.4.0] - 2017-08-11
155+
156+
#### Added
157+
- JavaScript mode to support JavaScript files for importing (#263)
158+
159+
#### Fixed
160+
- Imports with no specifiers generated correctly (#264)
161+
- TSX files are watched for indexing (#255)
162+
163+
### [1.3.0] - 2017-07-15
164+
165+
#### Added
166+
- Long-running task for indexing (#247, #246)
167+
168+
#### Fixed
169+
- Code completion text edits calculated in later stage (#248, #231)
170+
- Duplicate imports not generated anymore (#253, #226, #175)
171+
- Ignore imports to remove configuration (#252, #250)
172+
173+
### [1.2.0] - 2017-07-12
174+
175+
#### Added
176+
- Code outline window removal when disabled (#236)
177+
178+
#### Changed
179+
- Parser package changed with refactoring (#237)
180+
181+
#### Fixed
182+
- Implement interface/abstract adds optionals (#233)
183+
- Missing icons in code outline (#238)
184+
185+
### [1.1.0] - 2017-06-20
186+
187+
#### Added
188+
- Code outline view in Explorer with jump-to-code on click
189+
190+
#### Fixed
191+
- Boolean settings returned correctly (#222)
192+
- Code outline jumps to selected element (#219)
193+
- References in namespaces/modules recognized and not removed (#214)
194+
- Complex regex now possible in import groups (e.g., `/@angular|regex/core/?.*/`) (#218)
195+
196+
### [1.0.0] - 2017-06-15
197+
198+
**First stable release!**
199+
200+
#### Added
201+
- Import grouping with sorting (Plains, Modules, Workspace) (#102)
202+
- Trailing comma option for multiline imports (#100)
203+
204+
#### Changed
205+
- Multiline import threshold default changed to 125 characters
206+
207+
#### Removed
208+
- `newImportLocation` setting (obsolete with import grouping) (#102)
209+
210+
#### Fixed
211+
- Default imports removed regardless of usage (#149)
212+
- Generic interfaces and abstract classes for implement elements (#158)
213+
- Deprecation warnings during testing
214+
215+
### [0.13.0] - 2017-06-01
216+
217+
**Big refactoring release (#143)**
218+
219+
#### Added
220+
- Setting `disableImportsSorting` to disable sorting during organize
221+
222+
#### Changed
223+
- Setting `pathStringDelimiter` renamed to `stringQuoteStyle`
224+
- Extension split into extension part and language-server part (performance improvement)
225+
- Changed linting to airbnb style
226+
227+
#### Fixed
228+
- Imports from newly added TSX files (#169)
229+
- Imports from modules with index file same name as folder (Angular)
230+
- Files without exports no longer added to index
231+
232+
### [0.12.0] - 2017-01-03
233+
234+
#### Added
235+
- Setting `insertSemicolons` to disable semicolon emit
236+
237+
#### Changed
238+
- Default value of `ignorePatterns` no longer contains node_modules
239+
- Upgraded to TypeScript 2.1.4 (#148)
240+
241+
#### Fixed
242+
- "Flame" error state shown correctly during indexing
243+
- Duplicate declarations filtered (overloads) (#105)
244+
- Only workspace files filtered by exclude pattern (#103)
245+
- Variables sorted to top to reduce auto-import for `console` (#99)
246+
- Extension no longer crashes with prototype methods (#79)
247+
248+
### [0.11.0] - 2016-12-03
249+
250+
#### Added
251+
- Class manager for modifying classes in documents (#127)
252+
- Light-bulb feature support in TSX files (#128)
253+
- CodeFix for implementing missing methods/properties from interfaces and abstract classes (#114)
254+
255+
### [0.10.0] - 2016-11-12
256+
257+
#### Added
258+
- JSDoc support
259+
- Code action provider (light bulb) for importing missing imports (#11)
260+
- Add all missing imports command (#106)
261+
262+
#### Changed
263+
- Documents managed by controller that calculates edits before committing
264+
265+
#### Fixed
266+
- Extension and completion provider initialized for TSX files (#112)
267+
- Template literal strings (backticks) considered in autocompletion
268+
269+
### [0.9.0] - 2016-10-14
270+
271+
#### Added
272+
- TypeScript symbols know their positions
273+
- Statusbar item for debug restarter state (#85)
274+
- Default export import suggests a name (#71)
275+
- Support for `@types` style definitions (TypeScript 2.0) (#77)
276+
277+
#### Changed
278+
- Upgraded to TypeScript 2.0 (#88)
279+
- Default value of `insertSpaceBeforeAndAfterImportBraces` is now `true`
280+
281+
#### Fixed
282+
- New imports placed below `"use strict"` (#73)
283+
- Multiline imports respect `editor.tabSize` (#74)
284+
- Index reloaded when ignore patterns change (#75)
285+
- Autocomplete filters local file usages (#69)
286+
- Default exports don't break extension (#79)
287+
- Node paths correctly split (#76)
288+
- Exports from root index.ts not empty
289+
290+
### [0.8.0] - 2016-09-24
291+
292+
#### Added
293+
- Multiline import support (#60)
294+
- Setting for multiline threshold
295+
- Configurable new import location (top of file or cursor position) (#41)
296+
- Alias prompt when specifier already present (#44)
297+
298+
#### Fixed
299+
- Autocomplete doesn't suggest already imported items (#64)
300+
- Autocomplete doesn't suggest items from own file (#61)
301+
- No duplicates with multiline imports (#43)
302+
- Multiline imports work with multiple imports
303+
- Autocomplete doesn't add other classes from file
304+
305+
### [0.7.0] - 2016-09-15
306+
307+
#### Added
308+
- More tests (#8)
309+
- CodeCompletionProvider with auto-import (#5)
310+
- Support for `*.tsx` files (#42)
311+
312+
#### Changed
313+
- Import under cursor only imports exact matches (#35)
314+
- Own imports (workspace) sorted to top (#37)
315+
- Updated inversify to v2
316+
317+
#### Fixed
318+
- Forward slashes used on Windows (#19)
319+
- `export xxx as yyy` correctly uses alias (#36)
320+
- Build directories ignored by default (#48)
321+
- Substructures import parent index.ts correctly (#49)
322+
323+
### [0.6.0] - 2016-09-09
324+
325+
#### Added
326+
- Command to add import from symbol under cursor (#22)
327+
328+
#### Changed
329+
- Complete indexing/parsing engine rewritten
330+
- Adding import doesn't auto-organize afterward (#22, #23)
331+
332+
#### Fixed
333+
- Exports recursively merged (#25)
334+
- Imports added with forward slashes (#19)
335+
- Imports not vanishing with PropertyAssignments (#27)
336+
- Imports not vanishing on organize (#30)
337+
338+
### [0.5.0] - 2016-08-08
339+
340+
#### Added
341+
- Output channel for logging with configurable verbosity
342+
- Commands added to command GUI
343+
344+
#### Fixed
345+
- Tests on Travis CI
346+
- Typos
347+
348+
### [0.4.0] - 2016-08-05
349+
350+
**Initial public release**
351+
352+
#### Added
353+
- Organize imports
354+
- Add new imports
355+
- Debug restarter feature
356+
- Command palette (`Ctrl+Alt+G`)
357+
358+
#### Fixed
359+
- Various bugs in AST parsing
360+
361+
---
362+
363+
## Links
364+
365+
- [GitHub Repository](https://github.com/angular-schule/mini-typescript-hero)
366+
- [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=angular-schule.mini-typescript-hero)
367+
- [Original TypeScript Hero](https://github.com/buehler/typescript-hero)

0 commit comments

Comments
 (0)