Skip to content

Commit

Permalink
3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ZZZank committed Dec 13, 2024
1 parent b7207ab commit 4a18e4e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## Rhizo 3.3 -> 3.4

Generics & Better logging

- Generics support
- Rhizo now provides support for using Java generics to make type wrapper more precise
- For example, calling `list.add(3)` on `list` whose type is `List<Integer>` will now insert an integer 3 into this list
instead of inserting a `Double` which is very likely to cause problem. The same applies to Map and many more types
- better logging
- Rhizo can now extract correct file name and line number when using compiler mode, no more `Thread.java:123456` in your logging
- Performance improvement for `JS functions as Java interface`
- The invoking of interface proxy and abstract class proxy is simplified, reducing memory allocation and provides better
performance, because less object creations and computations are needed
- This improvement will be more apparent if you have lots of callbacks as Java method parameters, for example `event => {...}`
- more helper methods in NBTUtils

---

## Rhizo 3.2 -> 3.3

Perf++ && Rest Parameter
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enabled_platforms=fabric,forge

mod_id=rhino
mod_name=Rhizo
mod_version=3.3
mod_version=3.4
mod_package=dev.latvian.mods
mod_author=ZZZank&LatvianModder

Expand Down

0 comments on commit 4a18e4e

Please sign in to comment.