Skip to content

Releases: FPtje/GLuaFixer

1.18.2

03 Jul 16:37
Compare
Choose a tag to compare
  • Fix comment hiding end keyword (issue #106)
  • Deepseq contents before writing file (issue #105)
  • Install signal handlers for SIGINT and SIGTERM, wait for current operation to finish before exiting (also issue #105)

1.18.1

05 Jun 12:41
Compare
Choose a tag to compare

Fix: lint_inconsistentVariableStyle" config variable does not work #104

1.18.0

29 May 19:13
Compare
Choose a tag to compare
  • Add an option for inconsistent variable naming. Enable with "lint_inconsistentVariableStyle": true in your lint config. See #101
  • Make sure there's a newline at the end of pretty printed files
  • Add options for placing spaces in empty parentheses or brackets. Use the options named prettyprint_spaceEmptyParens and prettyprint_spaceEmptyBraces to configure this. Only applies when prettyprint_spaceAfter... is set to true.

1.17.3

07 Apr 15:11
Compare
Choose a tag to compare

Fix an issue with parsing strings containing escaped newlines and \z escaped whitespace.
See #100

1.17.2

21 Feb 10:59
Compare
Choose a tag to compare

Contains two fixes

  • #96 - Exit code 127 error when attempting to initiate linting
    This was a problem on Linux distributions that don't ship libffi.so.6. With an upgrade to glualint's dependencies, it now depends on libffi.so.7
  • #95 - Exit code when prettyprint_rejectInvalidCode is set to true

As a side effect of fixing #96, glualint on Linux is now compiled with GHC 8.8.4. This might make a difference in performance.

1.17.1

24 Jan 12:13
Compare
Choose a tag to compare

Fixed a bug where it was not possible to ignore based on directory.

1.17.0

18 Jan 19:18
Compare
Choose a tag to compare

This release is dedicated to GitHub actions. Thanks in great part due to the efforts of @saibotk
Also new is an entirely new command line interface. Try glualint --help to see the options! The old interface should still work, but it is now deprecated.

Full changelog:

  • Added output-format to the settings, and --output-format to the command line. Valid options are "auto", "standard" and "github". These are for GitHub Actions. See the README or pull request #92 for an explanation.
  • Added entirely new command line interface. Try glualint --help to see the available options! This should make glualint easier to use.
  • Fixed two bugs regarding analyse-globals: a crash from fromJust in rare cases, and inability to deal with Lua files containing fancy utf-8 characters.
  • Glualint on Windows is now compiled by the newer ghc 8.10 (as opposed to 8.0.0). This might make it faster. No stripped version of glualint is available for Windows at this moment.

1.16.4

31 Oct 14:47
Compare
Choose a tag to compare

Fixed the following code giving a warning on the top level var being unused:

local var = 1

do
  local var = var
  print(var) 
end

1.16.3

27 Sep 19:03
Compare
Choose a tag to compare

Fixed throwing shadow warning when localizing an upvalue

This means no warning is shown for the following snippet

local playerGetAll = player.GetAll

local function foo()
    local playerGetAll = playerGetAll -- No more warning here
    ...
end

1.16.2

05 Aug 18:58
Compare
Choose a tag to compare

Fixes for the Lexer!

  • Allow binary literals
  • Allow LL and ULL and imaginary number suffixes to number constants (that's a thing apparently 🤷‍♂️)
  • Allow emoji and other fancy characters in identifiers