3.9.9: tag dumping++ & snippet rework
ProbeJS Legacy 3.2.0 -> 3.9.9
tag dumping++ & snippet rework
What's new?
- all available tag types will now be dumped
- e.g. slurry tag dumping when you have Mekanism installed:
type slurry = "mekanism:dirty"|"mekanism:clean";
- e.g. slurry tag dumping when you have Mekanism installed:
- new snippet format
- e.g.
{some modid}.item.tag
->item_tag
- the usage of
.
in snippet is removed because.
will actually break snippets. - snippet name is now much shorter, and with modid removed. Should be more accessible.
vanillaOrder
config is removed because of this.
- e.g.
- fix multiple reference names for global class only have one applied
- an example:
Vec3d
andVec3
are linked to the same class, and now ProbeJS will provide type alias for them. declare const Vec3d = Vec3
- This was previously done by manually adding alias via raw docs, and was incomplete
- an example:
- better underscore handling for types
- impl jsconfig merging
- config values added to jsconfig will be preserved after jsconfig dumping
- e.g.
"checkJs": true
in"compilerOptions"
scope will not be removed after jsconfig dumping.
- ProbeJS Legacy will now make JS type check targeting ES6 instead of ES5.
- comment improvements
- the format of comments, actually. Comments marks at the front of each line will look much better.
- some more fail-safe for horribly malformed json file
- confusing "hybrid" type is removed
- previously used for FunctionalInterfaces type checking, but we have lambda type alias for it.
- return type of onEvent/onForgeEvent is now explicitly marked as
void
- ProbeJS Legacy will now walk types in constructors
- Some more type docs to support PonderJS better.
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 for the overall code structure of 4.0.0
Full Changelog: 3.2.0...3.9.9