Skip to content

Releases: jac3km4/redscript

v0.5.23

28 May 00:32
Compare
Choose a tag to compare

[0.5.23] - 2024-05-28

Bug Fixes

  • Minor fix in Deref bytecode (f12f7ab)
  • Correct the types of ArrayFindFirst and ArrayFindLast (cbed943)
  • Correct invisible import handling (4a7f995)

Features

  • Add a NameOf intrinsic for type names (9a886d1)
  • Syntax sugar for calling static methods with a receiver (edf2689)

Contributors

  • jekky

v0.5.21

16 May 03:41
Compare
Choose a tag to compare

[0.5.21] - 2024-05-16

Bug Fixes

  • Recover from invalid type errors in define_function (4ac2862)
  • Fix excessive stack usage in else-if (8990d58)

Features

  • Reject duplicate fields within a type (d7a59ff)
  • Add function names to bytecode output in the decompiler (336d448)
  • More precise diagnostics for re-defined types (951a4d8)
  • Reject non-class types inside of ref/wref (92a2f59)
  • Reject class types without ref/wref (2d11150)

Contributors

  • jekky

v0.5.19

26 Mar 22:21
Compare
Choose a tag to compare

[0.5.19] - 2024-03-26

Bug Fixes

  • Parse annotations for data types (5c35e1b)
  • Remove extra space from message (f2a743c)

Contributors

  • jekky

v0.5.18

09 Mar 00:04
Compare
Choose a tag to compare

[0.5.18] - 2024-03-09

Bug Fixes

  • Evaluate @if annotation for class members (4902d10)
  • Only resolve direct class members in annotations (19c42a2)
    • 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 (eea9a2a)

Features

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

Contributors

  • jekky

v0.5.17

17 Dec 21:45
Compare
Choose a tag to compare

[0.5.17] - 2023-12-17

Bug Fixes

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

Features

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

Contributors

  • jekky

v0.6.0-M8

05 Nov 16:08
Compare
Choose a tag to compare
v0.6.0-M8 Pre-release
Pre-release

[0.6.0-M8] - 2023-11-05

Bug Fixes

  • Fix an autobox issue (8431f2f)
  • Type inference tweaks (6cc0835)
  • Display syntax errors correctly (bd0ce73)

Features

  • Handling for early type validation errors (71f589b)

Contributors

  • jekky

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

v0.6.0-M7

05 Nov 01:00
Compare
Choose a tag to compare
v0.6.0-M7 Pre-release
Pre-release

[0.6.0-M7] - 2023-11-05

Bug Fixes

  • Resolve another wrap crash issue (71de564)

Features

Contributors

  • jekky

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

v0.6.0-M6

04 Nov 19:42
Compare
Choose a tag to compare
v0.6.0-M6 Pre-release
Pre-release

[0.6.0-M6] - 2023-11-04

Bug Fixes

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

Features

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

Contributors

  • jekky

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

v0.5.16

27 Sep 17:37
Compare
Choose a tag to compare

[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) (1ce39ad)

Contributors

  • jekky

v0.5.15

21 Sep 21:18
Compare
Choose a tag to compare

[0.5.15] - 2023-09-21

Bug Fixes

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

Features

  • Initial support for storing source references (8890899)
  • Improve some parse errors (826b21a)
  • Support for 2.0 patch (fcbc29e)

Contributors

  • jekky