Skip to content

Releases: gwigz/slua

@gwigz/slua-types@1.4.3

21 Jun 10:37
4814d52

Choose a tag to compare

Patch Changes

  • af56963 Thanks @gwigz! - allow "" on gltf prim-param overrides (base color, emissive, normal, metallic roughness) to clear/keep them

@gwigz/slua-create@0.2.1

21 Jun 11:57
bb02dbe

Choose a tag to compare

Patch Changes

  • 6453e2b Thanks @gwigz! - fix directory prompt validate type to accept undefined so the package builds

@gwigz/slua-types@1.4.2

18 Jun 21:27

Choose a tag to compare

Patch Changes

@gwigz/slua-tstl-plugin@1.6.0

18 Jun 21:27

Choose a tag to compare

Minor Changes

  • 0fa449d Thanks @gwigz! - add simplifyNilChecks optimize flag to rewrite not (x ~= nil) as x == nil

  • 2de3436 Thanks @gwigz! - optimized string transforms for literal needles:

    • drop the 1, true plain-text args from string.find (indexOf/includes/startsWith) when the needle is a magic-free string literal (#69)
    • compile startsWith/endsWith with a literal needle to a string.sub comparison, empty literal folds to true (#68)

Patch Changes

  • 0b86fd0 Thanks @gwigz! - generate the minifier's reserved global-name set from the SLua definitions

  • 5869ca1 Thanks @gwigz! - transpile variable str.endsWith(x) to a native suffix compare instead of the __TS__StringEndsWith lualib helper

  • 02ca356 Thanks @gwigz! - extend shortenTemps to cover all plugin-generated ____<name>_<n> temps, not just TSTL destructuring results

  • Updated dependencies [6225982, b09c9b3]:

    • @gwigz/slua-types@1.4.1

@gwigz/slua-oxlint-config@0.2.0

18 Jun 21:27

Choose a tag to compare

Minor Changes

  • 8b146e3 Thanks @gwigz! - add strict-boolean-expressions rule to catch numbers and strings used as conditions

@gwigz/slua-modules@0.5.0

18 Jun 21:27

Choose a tag to compare

Minor Changes

  • be8cebb Thanks @gwigz! - add utilities module with debounce, throttle, and cooldown

Patch Changes

  • 3ce1aa6 Thanks @gwigz! - use sync notecard reading in yield module with async fallback on cache miss

  • Updated dependencies [6225982, b09c9b3]:

    • @gwigz/slua-types@1.4.1

@gwigz/slua-types@1.4.0

07 Apr 12:05
de68c1c

Choose a tag to compare

Minor Changes

  • f1decd2 Thanks @gwigz! - add setGltfOverrides fluent builder for gltf material override parameter lists

  • 02eb635 Thanks @gwigz! - BREAKING: replace castRay and httpRequest fluent builders with options-object overloads that compile to flat parameter lists at build time, enabling use as expressions

  • 19fbb83 Thanks @gwigz! - BREAKING: prefix plugin globals with $ to avoid collisions with user code (setPrimParams$setPrimParams, castRay$castRay, etc.)

  • 7ecee67 Thanks @gwigz! - typed return tuples for getter functions based on flags passed in (GetObjectDetails, GetParcelDetails, GetPrimitiveParams, GetLinkPrimitiveParams, GetPrimMediaParams, GetLinkMedia, ParcelMediaQuery, GetEnvironment), plus fixed tuples for GetExperienceDetails, DetectedDamage, GetPhysicsMaterial, GetParcelPrimOwners

Patch Changes

  • #24 6d9a857 Thanks @github-actions! - Update SLua definitions submodule to latest upstream

  • bf54421 Thanks @gwigz! - compile-time constant folding for bitwise expressions with inline comment annotation

@gwigz/slua-tstl-plugin@1.5.0

07 Apr 12:05
de68c1c

Choose a tag to compare

Minor Changes

  • f1decd2 Thanks @gwigz! - add setGltfOverrides fluent builder for gltf material override parameter lists

  • 02eb635 Thanks @gwigz! - BREAKING: replace castRay and httpRequest fluent builders with options-object overloads that compile to flat parameter lists at build time, enabling use as expressions

  • 19fbb83 Thanks @gwigz! - BREAKING: prefix plugin globals with $ to avoid collisions with user code (setPrimParams$setPrimParams, castRay$castRay, etc.)

  • bf54421 Thanks @gwigz! - compile-time constant folding for bitwise expressions with inline comment annotation

Patch Changes

@gwigz/slua-modules@0.4.0

07 Apr 12:05
de68c1c

Choose a tag to compare

Minor Changes

  • 9c932fa Thanks @gwigz! - rename yield httpRequest to fetch with options object matching the plugin's httpRequest global

Patch Changes

@gwigz/slua-types@1.3.0

05 Apr 16:19
6b8c0a2

Choose a tag to compare

Minor Changes

  • bf433d8 Thanks @gwigz! - zero-cost fluent builder chains for prim, particle, camera, http, cast-ray, character, and rez parameter lists