Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ZZZank committed May 12, 2024
1 parent 29a2c71 commit bf3bf7a
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,30 @@ 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";`
- 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.
- fix multiple reference names for global class only have one applied
- an example: `Vec3d` and `Vec3` 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
- 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.
- all available tag types will now be dumped
- e.g. slurry tag dumping when you have Mekanism installed: `type slurry = "mekanism:dirty"|"mekanism:clean";`
- 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.
- fix multiple reference names for global class only have one applied
- an example: `Vec3d` and `Vec3` 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
- 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](https://github.com/ZZZank/ProbeJS-Forge/blob/1.16.5/dev_note.md) for the overall code structure of 4.0.0

Expand Down

0 comments on commit bf3bf7a

Please sign in to comment.