Jac3km4 Redscript Versions Save

Compiler/decompiler toolkit for redscript

v0.5.19

1 month ago

[0.5.19] - 2024-03-26

Bug Fixes

  • Parse annotations for data types (5c35e1b735c308fb477581ed9790529478562859)
  • Remove extra space from message (f2a743c6d56bac04dcb938304f2fd1d5243dca44)

Contributors

  • jekky

v0.5.18

2 months ago

[0.5.18] - 2024-03-09

Bug Fixes

  • Evaluate @if annotation for class members (4902d108ab226c6ed29a8f14a87d9ed96d9e287a)
  • Only resolve direct class members in annotations (19c42a2e3fff350758642edbd14e94d2e05eb153)
    • This will now reject code that annotates a method with the wrong class (a class that happens to be a subtype of something that has the right method), leading to this error: no method with this name exists on the target type. This kind of annotation used to be allowed but it leads to surprising behavior, so it is now rejected and scripts should be updated to refer to the correct class (the class where the method is actually declared).
  • Fix detection of super vs this in the decompiler (eea9a2aa56a498d3f047ae8c56aca2124530cdde)

Features

  • Add diagnostics for incorrect usage of temporaries and switch fallthrough (f0318432ec24a47a4be9708c81aa5f1a9ff3faeb)
  • Add a warning for problematic usage of addMethod (984541f2b0654301e3b994eecfc6fedb183e44b2)
  • Support writing to a separate cache file (d635455f151da90cd783eca2cc07f42c7be49fe1)

Contributors

  • jekky

v0.5.17

5 months ago

[0.5.17] - 2023-12-17

Bug Fixes

  • Fix handling of an unknown function field (a1dde399f203949682d754228aa2804181cc153a)
  • Add fallback for script path retrieval in the error report (39e48b450eea05c7c1b98e9f08f9b5092b6b403d)

Features

  • Extract a shared scc library to be used in red4ext to detect scripts that prevent the game from starting (aadbeda71a74ad878b24841f3ecb1436d4c424a7)
  • Improve error reporting for corrupted cache (72ec7c41ba91424c556f76d1de75ffb0c5b7e46f)

Contributors

  • jekky

v0.6.0-M8

6 months ago

[0.6.0-M8] - 2023-11-05

Bug Fixes

  • Fix an autobox issue (8431f2f65f0eabfd61848b10fc2c47824db4b6df)
  • Type inference tweaks (6cc0835b32b60cf8f934ca29fd59f8ae56e5aa6a)
  • Display syntax errors correctly (bd0ce73d82516fe41519fc3e89183450cfdc5895)

Features

  • Handling for early type validation errors (71f589be4eacf706c0c1b91d009664117368c180)

Contributors

  • jekky

DO NOT INSTALL THIS UNLESS YOU'RE A MOD DEVELOPER (INSTEAD GO HERE)

v0.6.0-M7

6 months ago

[0.6.0-M7] - 2023-11-05

Bug Fixes

  • Resolve another wrap crash issue (71de5645e1a1ea16ea459b58c84b747fda5f8af8)

Features

  • Support block lambdas (ac8f55d1ced34a446fb58dc511aea4ae5326402a)

Contributors

  • jekky

DO NOT INSTALL THIS UNLESS YOU'RE A MOD DEVELOPER (INSTEAD GO HERE)

v0.6.0-M6

6 months ago

[0.6.0-M6] - 2023-11-04

Bug Fixes

  • Fix many issues which would cause crashes with wrapMethod (24ad510d325488af34128b7331ff163b9f048025)
  • Feature gate error formatting to prevent log encoding issues (68b9ceba16da1cdb66bff674037413040ec54c7e)
  • Port a few fixes from 0.5.x (f8689c6fa5314b4b22ce041171f4439fe47effb0)

Features

  • Line numbers in the decompiler (8d3df9b81595bf11fc72b602ede35a9585abf968)
  • Add missing bits for for-in, @addField and @replaceGlobal (e2caff25e5f6c5a35a1c83b376bf9d3f471fb2a4)

Contributors

  • jekky

DO NOT INSTALL THIS UNLESS YOU'RE A MOD DEVELOPER (INSTEAD GO HERE)

v0.5.16

7 months ago

[0.5.16] - 2023-09-27

Bug Fixes

  • Handle new CLI params passed by the game (this bug forced users to install cybercmd which shouldn't be necessary) (1ce39ad60e98d0b52f46a4e9a6047a8fee106146)

Contributors

  • jekky

v0.5.15

7 months ago

[0.5.15] - 2023-09-21

Bug Fixes

  • Make typecheck public for the LSP (1446afc09079ce27b83a969521cf1c57a1c4732c)
  • Several minor parse error improvements (2aff597224fcf6ff3cd0a45e6d751e8795936a5f)

Features

  • Initial support for storing source references (889089972ec934a5920eeab654db1d5d629c81c1)
  • Improve some parse errors (826b21a8b71b516e819de3282d61ce55876252be)
  • Support for 2.0 patch (fcbc29eef82a411ca7989c80f3753ec61bfc961b)

Contributors

  • jekky

v0.5.14

1 year ago

[0.5.14] - 2023-05-08

Bug Fixes

  • Fixes all arg parsing, adds defaults for Opts (#92) (60b5db04509225d0971333519d481e8bfb6e5f1f)

Features

  • Adds the -compilePathsFile arg (#91) (6cbaf767fab4141972cfcec152b7ed445e3c83a5)
  • Allow multiple source arguments (#93) (4af854a8e9cfa52362d3b08dd7533b735299c7a8)

Contributors

  • Jack Humbert

v0.5.13

1 year ago

[0.5.13] - 2023-04-29

Bug Fixes

  • Handle cybercmd format (35085fa3d5c44cb4359b45294195e1c1996ae9ec)

Contributors

  • jekky