Skip to content

Releases: MattiDragon/JsonPatcher

v2.0.0-beta.7 [1.21.1]

24 Sep 13:28

Choose a tag to compare

Pre-release
  • Fixed issue where JsonPatcher would fail to set up its data directories
  • Updated language to beta 8
    • Fixed various minor issues

v2.0.0-beta.6 [1.21.1]

24 Aug 14:00

Choose a tag to compare

Pre-release
  • Rerelease of beta 5 in order to fix jitpack deployment

v2.0.0-beta.5 [1.21.1]

24 Aug 13:39

Choose a tag to compare

Pre-release
  • Updated language to beta 7, with bugfixes and improvements
  • Added metapatch.searchFiles for looking up all files in a directory
  • Added jsonpatcher-workspace.json files to folder setup
  • Fixed a bug where certain patch targets are never checked
  • Added and updated docs for built-in code (metapatch and metadata tags)
  • The jsonpatcher:text library is once again available

v2.0.0-beta.4 [1.21.1]

28 Mar 20:08
7cc46d3

Choose a tag to compare

Pre-release
  • Fixed crash when loading global patches
  • Minor tweaks to generated class names to reduce crashing
  • When throw_on_failure is enabled, global patches now crash the game on failure

v2.0.0-beta.3 [1.21.1]

24 Mar 20:32
7cc46d3

Choose a tag to compare

Pre-release
  • Errors in global scripts now show up in the jsonpatcher log
    • The main log now only gets a summary
  • Updated lang module to beta 3
    • Fixed issues with resolving inner classes in reflection
  • Implemented loading of resource patches from global directory
  • Cleanup of dumping locations
  • Expose compiler error nicer

v2.0.0-beta.2 [1.21.1]

15 Mar 15:55
7cc46d3

Choose a tag to compare

Pre-release
  • Properly JiJ lang library
  • Docs are now emitted upon startup
  • Fixes to global patches
    • Files not ending in .jsonpatch are no longer loaded
    • Errors are now emitted to jsonpatcher logs, similarly to data patches
    • Entrypoints are now correctly loaded from the @init meta tag

v2.0.0-beta.1 [1.21.1]

15 Mar 07:39
7cc46d3

Choose a tag to compare

Pre-release

First beta of v2. This release has overhauled large parts of the language and not everything can be listed here.

Some highlights:

  • Replaced tree-walking interpreter with compiler for jvm bytecode
    • Noticeable performance uplift
  • Expanded standard library
    • Minor changes everywhere
    • More of the stdlib is now written in jsonpatcher code
  • Add reflection library for accessing java code
    • Locked by default to patches from mods and modpacks
    • Allows for more to be done in jsonpatcher without having to write wrappers in java
  • Global patch system for libraries and startup patches for mods and modpacks
  • Due to design limitations, metapatches now use a library instead of a global

Lots of improvements have also been done to tooling and the language server,
but they will mostly be released at a later time.

v1.1.1 [1.21.1]

31 Oct 13:47

Choose a tag to compare

  • Fix issue with sided mixin files

v1.1.0 [1.21.1]

10 Aug 11:09

Choose a tag to compare

  • Updated to 1.21.1

v1.1.0 [1.21]

28 Jun 17:36

Choose a tag to compare

  • Updated to 1.21
  • Use an alternative hook point in order
    • Provides better compatibility with mods reading resources outside of reloads
    • Only loads patches once per pack load
    • No longer warns when a file isn't being patched (most such cases should have been fixed anyway)
  • Renamed abort_reload_on_failure to throw_on_failure to better reflect its behaviour
  • Update language library
    • Made debug library functions that throw errors slightly cleaner
    • Added default arguments (no named arguments yet)
    • Added varargs support
    • Added objects library
    • Replaced arrays.mapped and arrays.filtered with arrays.replace and arrays.removeIf respectively
    • Added various other library functions
    • Cleaned up stack traces
    • Improved many error messages
  • Added option for metapatches to filter files using targets
  • There's now a VSCode Extension available!