Skip to content

Releases: Prunoideae/ProbeJS

v4.2.0

05 Dec 14:08
Compare
Choose a tag to compare
  • Merged recent updates from 1.18.2 branch, hopefully fixed #11 and brought a few new features.

v4.0.0-1.18.2-fix3

05 Dec 13:29
Compare
Choose a tag to compare
  • Widened error catching and enum resolving in certain cases, made Probe to be more tolerant in dumps.
  • Added dynamic resolving of registry class and tags, all registries and relevant tags will now be dumped instead of a small set of predefined types and classes.
  • Builtin documents are now dynamically fetched from website when dumping. Downloads will occur once every time the game is started. A timestamp mechanism is added to prevent redundant downloads.
  • Stacktrace should be properly appended in latest.log now.

image
image

v4.0.0-1.18.2-fix1

08 Nov 14:41
Compare
Choose a tag to compare

v4.0.0 (1.18.2)

26 Oct 08:37
Compare
Choose a tag to compare
  • Rewrote the entire document generation system, documents now are at the same level as raw class data fetched in mod.
  • Rewrote all documents due to the change of document system.
  • Added JSON schema generation to provide suggestions/syntax checking for writing documents.
  • ProbeJS in 1.18.2 is considered as feature-completed, only bug fixes will be pushed out since this version.
  • Migration to 1.19 is on the way, but it might take some time.

v3.4.0

03 Sep 12:20
Compare
Choose a tag to compare
  • This update is made to fit with changes in the most recent KubeJS release.
  • Schema JSON now applies to lang files in KubeJS asset folder automatically.
  • Fixed Probe not dumping default methods of interfaces in concrete classes.
  • Made event dumps with sub-ids a bit clearer.
  • Constructors of Internal classes are exposed now, with a warning to tell you not use them without java().
  • Fixed some docs.
  • Any interface that extends interface with @FunctionalInterface will be considered as a possible @FunctionalInterface too. One and only one non-default method is still required for this method.
  • Added namespace and path for String prototype.
  • Added requirement of @FunctionalInterface for lambdas to be dumped again.
  • Added config options to allow output of obfuscated names.

v3.3.0

02 Aug 05:41
Compare
Choose a tag to compare
  • Added timing for ProbeJS dumps.
  • Added support for document system to parse JS Object as correct type.
  • Added support for Map-like and Array-like types, they support [] correctly now.
  • Added support for event types to show when the event will be fired, and if it's cancellable.
  • Added support for lang keys (Special.LangKey), and corresponding document support. (Mainly in Text.translate)
  • Added support for textures (Special.Texture and Special.RawTexture), and corresponding document support. (In blocks, items, etc.)
  • Json schema file of language json files is now dumped at kubejs/assets/kubejs/lang.
  • Class name resolving is now stable for Minecraft and KubeJS classes.
  • Classes are now dumped with their corresponding java class path.

For JSON schema, check this.

1
image
image
image
image

v3.2.0

10 Jul 02:30
Compare
Choose a tag to compare
  • Fixed the problem in dumping of extended enums, caused by normally impossible enum names.
  • Added docs for Mekanism, Immersive Engineering and Thermal Expansion.
  • Methods that returns same type of itself will now return this instead, to make the chain calling more flexible.
  • All registry types are now dumped and assigned.
  • Fixed some problems in dump due to interface resolving changes.
  • Failed registry dumping now will be never, to ensure typing is correct.
  • Mod in RecipeFilter now is correctly addressed.

v3.1.5-fix

05 Jul 13:07
Compare
Choose a tag to compare
  • Fixed problem when dumping enum extensions, especially Twilight Forest
  • Cleaned up code.

v3.1.5

03 Jul 09:57
Compare
Choose a tag to compare
  • Fixed a crash with Xaero's Minimap.
  • Fixed dump problems with Fabric, now Fabric should work the same as Forge.
  • Fixed problematic ClassLike type resolving.
  • Fixed any being given underscored type.
  • Fixed document errors in BlockStatePredicate.
  • Added dump for recipe ID and custom ingredient types.
  • .getId() of Item and ItemStackJS now resolves to Special.Item
  • Removed static on interface methods to prevent incompatible type in TS.

v3.0.5-1.18.2-hotfix

30 Jun 01:31
Compare
Choose a tag to compare
  • Fixed the problem crashing the game when having Xaero's Minimap installed.