Skip to content

Commit 8b1f644

Browse files
committed
4.5.0
1 parent 97c98bd commit 8b1f644

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# ProbeJS Legacy 4.4.2 -> 4.5.0
2+
3+
Auto Param Renaming
4+
5+
- Better Param Naming
6+
- param name that conflicts with TypeScript will now be renamed in a better way
7+
- param names in method/constructor, if in `arg123` format, will be renamed to a new name generated from its type
8+
- example: `"mayUseItemAt"(arg0: $BlockPos$$Type, arg1: $Direction$$Type, arg2: $ItemStack$$Type): boolean` will be renamed to
9+
`"mayUseItemAt"(blockPos0: $BlockPos$$Type, direction1: $Direction$$Type, itemStack2: $ItemStack$$Type): boolean`
10+
- method/fields in declaration files are now naturally sorted
11+
- remove 'ignore Context as first arg' since rhino does not have it
12+
- new JS side event: AddGlobalEventJS, allowing you to add global type declarations
13+
- fixed function in binding being recognized as `$ArrowFunction`
14+
- function in binding can now display its param count
15+
- changed how brackets are added to types for simplicity
16+
- added brackets to JSLambdaType to prevent TS syntax error
17+
- some helpers in JS event provided by ProbeJS Legacy
18+
- support enum wrapper of newest Rhizo (3.5.0)
19+
- fixed static methods present in interface (where it shouldn't be) and not present in static class variant (where it should be)
20+
- more debug message when error happens during typing generation
21+
- fix RecipeEventJS#custom() reporting error when `checkJs` is on
22+
- removed (some or all) invalid type assigning
23+
- fixed trying to read a non-exist config file on first run
24+
- skip `namespace` in config file if possible
25+
- get rid of the extra space in some methods and fields
26+
- config will be refreshed on joining world
27+
28+
---
29+
130
# ProbeJS Legacy 4.4.1 -> 4.4.2
231

332
registry objects filter

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ vineflower_version=1.10.1
2121
parchment_version=1.16.5:2022.03.06
2222

2323
# Mod Properties
24-
mod_version=4.4.2
24+
mod_version=4.5.0
2525
maven_group=com.prunoideae
2626
archives_base_name=probejs
2727
mod_id=probejs

0 commit comments

Comments
 (0)