|
| 1 | +# ProbeJS Legacy 3.1.0 -> 3.9.9 |
| 2 | + |
| 3 | +tag dumping++ & snippet rework |
| 4 | + |
| 5 | +## What's new? |
| 6 | + |
| 7 | +- all available tag types will now be dumped |
| 8 | + - e.g. slurry tag dumping when you have Mekanism installed: `type slurry = "mekanism:dirty"|"mekanism:clean";` |
| 9 | +- new snippet format |
| 10 | + - e.g. `{some modid}.item.tag` -> `item_tag` |
| 11 | + - the usage of `.` in snippet is removed because `.` will actually break snippets. |
| 12 | + - snippet name is now much shorter, and with modid removed. Should be more accessible. |
| 13 | +- fix multiple reference names for global class only have one applied |
| 14 | + - an example: `Vec3d` and `Vec3` are linked to the same class, and now ProbeJS will provide type alias for them. |
| 15 | + - `declare const Vec3d = Vec3` |
| 16 | + - This was previously done by manually adding alias via raw docs, and was incomplete |
| 17 | +- better underscore handling for types |
| 18 | +- impl jsconfig merging |
| 19 | + - config values added to jsconfig will be preserved after jsconfig dumping |
| 20 | + - e.g. `"checkJs": true` in `"compilerOptions"` scope will not be removed after jsconfig dumping. |
| 21 | +- ProbeJS Legacy will now make JS type check targeting ES6 instead of ES5. |
| 22 | +- comment improvements |
| 23 | + - the format of comments, actually. Comments marks at the front of each line will look much better. |
| 24 | +- some more fail-safe for horribly malformed json file |
| 25 | +- confusing "hybrid" type is removed |
| 26 | + - previously used for FunctionalInterfaces type checking, but we have lambda type alias for it. |
| 27 | +- return type of onEvent/onForgeEvent is now explicitly marked as `void` |
| 28 | +- ProbeJS Legacy will now walk types in constructors |
| 29 | +- Some more type docs to support PonderJS better. |
| 30 | + |
| 31 | +NOTE: Most features in this version are initially for 4.0.0, a huge rewrite. If you're interested in it, you can see [dev note](https://github.com/ZZZank/ProbeJS-Forge/blob/1.16.5/dev_note.md) for the overall code structure of 4.0.0 |
| 32 | + |
| 33 | +--- |
| 34 | + |
1 | 35 | # ProbeJS Legacy 3.1.0 -> 3.2.0
|
2 | 36 |
|
3 | 37 | Rhizo(not typo) support
|
4 | 38 |
|
5 | 39 | ## What's new?
|
6 | 40 |
|
7 |
| -- Rhizo(not typo) support |
8 |
| - - ProbeJS Legacy now supports Rhizo, which adds method/field remapper for 1.16.5 |
9 |
| - - With Rhizo, you can access methods/fields using readable MCP names like `getOpPermissionLevel()` instead of SRG names like `func_110455_j()` |
10 |
| - - ProbeJS Legacy specially supports Rhizo's remapper, and can dump mapped MCP name for typing. |
11 |
| - - If you're not using Rhizo, ProbeJS Legacy will automatically skip remapper accessing, so old Rhino is still compatible. |
12 |
| -- ProbeJS Legacy will now walk type parameters of superclass/interfaces more completely. |
| 41 | +- Rhizo(not typo) support |
| 42 | + - ProbeJS Legacy now supports Rhizo, which adds method/field remapper for 1.16.5 |
| 43 | + - With Rhizo, you can access methods/fields using readable MCP names like `getOpPermissionLevel()` instead of SRG |
| 44 | + names like `func_110455_j()` |
| 45 | + - ProbeJS Legacy specially supports Rhizo's remapper, and can dump mapped MCP name for typing. |
| 46 | + - If you're not using Rhizo, ProbeJS Legacy will automatically skip remapper accessing, so old Rhino is still |
| 47 | + compatible. |
| 48 | +- ProbeJS Legacy will now walk type parameters of superclass/interfaces more completely. |
| 49 | +- Some more type docs to support PonderJS better. |
13 | 50 |
|
14 | 51 | ---
|
15 | 52 |
|
|
0 commit comments