You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boot-only @intrinsic:@intrinsic annotations are now reserved for the built-in boot library. Using @intrinsic in user or mod scripts now produces a clear BOOT_ONLY_ANNOTATION error.
Fewer false array-safety warnings: Pure expressions before array literals—such as arithmetic, comparison, logical, and unary operators, as well as side-effect-free nested array literals—no longer trigger false UNSAFE_ARRAY_EVALUATION warnings.
Type Checking
Generic overload resolution: Fixed method overload matching when parameter types depend on a generic receiver's type arguments.
Code Generation & Bundle I/O
Cleaner array initialization: Function-local arrays outside loops no longer emit redundant resets on entry, which also avoids false mutable-let warnings on empty const arrays in the decompiler.
Preserved operator metadata: Operator flags and names on free functions are now stored in and restored from compiled script bundles.
Performance & Parallelism
Parallel compilation: The redscript-cli and scc binaries now parse scripts, lower function bodies, and run validation/diagnostics in parallel, while loading base game symbols concurrently with source parsing.
Opt-in parallel library builds: Library embedders can now enable thread-safe and parallel compilation via the sync and parallel Cargo features.
General speedups: Reduced memory allocations and lock contention during type lookup, name resolution, and REDmod wildcard import resolution.
REDmod Transpiler
Cleaner generated names: Emits shorter unqualified names whenever imports make them unambiguous, including for enum values used in field defaults.
Consistent capability checks: Single-function query mode now enforces REDMOD_CAPABILITY errors for unsafe array evaluations just like full compilation.
IDE & Query Support
Targeted single-function analysis: Added query-mode analysis that type-checks and lowers only the function under the cursor while reusing base game symbols across queries for faster editor/LSP responsiveness.
SCC CLI & C API
Safer C API error handling: Invalid UTF-8 type names are now logged and ignored instead of aborting the host process, out-of-bounds source reference lookups return NULL, and error messages truncate cleanly on UTF-8 character boundaries.
CLI fixes: Fixed a small memory leak on early CLI errors and updated log timestamp formatting.