Skip to content

Releases: TechHog8984/luau-format

v1.9.0

21 Sep 20:23

Choose a tag to compare

only emit do end when necessary on optimizations

example:

local function a()
    if true then
        global = 1
    end
    if true then
        return
    end
    return
end

now becomes

local function a()
    global = 1
    do
        return
    end
    return
end

v1.8.2

17 Aug 19:52

Choose a tag to compare

Fix #6

v1.8.1

10 Aug 00:54

Choose a tag to compare

Fix #5

v1.8.0

03 Aug 23:12

Choose a tag to compare

string.char works with --lua_calls;
--optimize will turn string["char"] into string.char

v1.7.1

24 Jul 16:15

Choose a tag to compare

Fix issue #3

v1.7.0

23 Jun 23:33

Choose a tag to compare

fixed huge memory issue causing crashes

v1.6.2

22 Jun 22:57

Choose a tag to compare

--optimize on an if will emit do end to prevent double returns

v1.6.1

22 Jun 21:37

Choose a tag to compare

fix a bug where a table as an interpolated string value would lack spaces necessary to prevent double braces error

v1.6.0

12 Jun 22:42

Choose a tag to compare

--assume_globals option that will simplify expressions such as unpack or table.unpack -> unpack

v1.5.1

10 Jun 16:14

Choose a tag to compare

fix for semicolons getting appended inside tables