Skip to content

Commit 29a2c71

Browse files
committed
3.9.9
1 parent f7e124e commit 29a2c71

File tree

3 files changed

+73
-12
lines changed

3 files changed

+73
-12
lines changed

CHANGELOG.md

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,52 @@
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+
135
# ProbeJS Legacy 3.1.0 -> 3.2.0
236

337
Rhizo(not typo) support
438

539
## What's new?
640

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.
1350

1451
---
1552

dev_note.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
11

2-
# steps
2+
# 4.0.0 steps
33

4-
- class
4+
- class capturing
55
- info
66
- document
77
- formatter
88
- compiler
9-
## class
10-
aka raw class fetching
9+
10+
## capture
11+
12+
- raw class fetching
13+
- event listening, in mixin package
14+
- binding event
15+
- cache IO
16+
- recipe holders, info or capture?
1117

1218
## info
1319

20+
- class walker
21+
- should add special handling for JS obj
22+
- mostly data class, immutable, like `record`
23+
- (maybe)no logic, except for class walker
24+
1425
## document
15-
generic applying should be here
26+
27+
- info -> doc, as base
28+
- read external doc
29+
- parse external doc and add into base
30+
- apply generics
31+
- method/field filtering
32+
33+
## formatter
34+
35+
just formatter, quite obvious :)
36+
37+
## compiler
38+
39+

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ lombok_version=1.18.32
2020
parchment_version=1.16.5:2022.03.06
2121

2222
# Mod Properties
23-
mod_version=3.2.0
23+
mod_version=3.9.9
2424
maven_group=com.prunoideae
2525
archives_base_name=probejs
2626
mod_id=probejs

0 commit comments

Comments
 (0)