Skip to content

Releases: Scony/godot-gdscript-toolkit

3.2.8

15 Sep 15:09
461532a
Compare
Choose a tag to compare

Added

  • Added support for legacy (godot 3.1) parenthesesless assert (e.g. assert 1 == 1)
  • Added support for recursive file finding in gdlint (e.g. gdlint dir1/ dir2/)
  • Added pre-commit hooks which can consumed by pre-commit project
  • Added a possibility to disable linter checks (e.g. # gdlint: ignore=function-name inline or in the line before)
  • Added support for underscored numeric literals such as 1_000_000, 1_000.000, and 0xff_99_00

Fixed

  • Introduced WA for Godot's preload bug
  • Improved formatter to remove trailing whitespaces also from comments
  • Added missing class_name (...) extends (...) statement support in grammar and formatter
  • Fixed false positive TreeInvariantViolation for neg_expr

Changed

  • var x = load('some.tres') is allowed since it may be custom resource instance loading

3.2.7

08 May 18:19
Compare
Choose a tag to compare

Fixed

  • Added missing expression operators (^=, >>=, and <<=)

3.2.6

05 Apr 14:52
Compare
Choose a tag to compare

Fixed

  • Improved comment parsing time by a tiny chunk
  • Improved formatting time due to loosen grammar removal
  • Improved formatting time due to grammar caching
  • Improved formatting time due to parse tree reuse in safety checks
  • Fixed bug in grammar causing func suite to consume statements from outer scope

Changed

  • Enum doesn't add trailing comma unless it was in place from the very beginning
  • Level-0 standalone comments are not indented anymore

3.2.5

09 Feb 19:03
Compare
Choose a tag to compare

Fixed

  • Formatting strings with hash inside
  • Fixed getattr call formatting bug
  • Fixed 'extends' formatting bug

3.2.4

06 Feb 20:17
Compare
Choose a tag to compare

Fixed

  • Fixed parent block comments in if-elif-else
  • Fixed parentheses handling in formatter
  • Improved fromatter's dedent lookup
  • Fixed 'extends' bug in grammar
  • Fixed grammar - types allow dots now

3.2.3

04 Feb 18:45
Compare
Choose a tag to compare

Fixed

  • Type inference in grammar
  • Improved linter exec user experience
  • Fixed linter hanging on config file not present

3.2.2

03 Feb 17:34
Compare
Choose a tag to compare

Fixed

  • Missing grammar file added

3.2.1

02 Feb 20:47
Compare
Choose a tag to compare

Fixed

  • Package metadata

3.2.0

02 Feb 20:28
Compare
Choose a tag to compare

Added

  • Grammar
  • Parser (gdparse)
  • Linter (gdlint) with some basic checks
  • Formatter (gdformat) which should work for most of real-life scenarios