Skip to content

Releases: Scony/godot-gdscript-toolkit

4.3.3

02 Nov 11:34
Compare
Choose a tag to compare

Changed

  • Fixed false-positive expression-not-assigned linter check on lambdas
  • Fixed erroneous DedentError raised in case of inline lambas

4.3.2

20 Oct 18:31
Compare
Choose a tag to compare

Added

  • Added support for multi-statement lambdas (#191)
  • Added support for typed dictionaries (#322)

Changed

  • Removed private-method-call linter check due to false positives when calling super._foo()
  • Fixed support for get_node syntax to accommodate for $/(...)
  • Fixed gd2py and gdradon to support latest GDScript
  • Changed formatting of some uni-statement lambdas
  • Changed formatting of multi-statement, inline lambdas
  • Changed formatting of dot-chains containing a lambda(s)
  • Changed linter check class-definitions-order in a way that static class variables are recommended to be placed just after constants

3.6.0

20 Oct 18:19
Compare
Choose a tag to compare

Added

  • Added support for missing network-related keywords (#209)

Changed

  • Fixed max-public-methods linter check disabling (#222)

4.3.1

24 Aug 21:01
Compare
Choose a tag to compare

Added

  • Added support for is not type test

4.3.0

18 Aug 14:44
Compare
Choose a tag to compare

Added

  • Added gdformatrc configuration file to gdformat
  • Added support for Allman-style enum definitions to parser
  • Added support for string-based unique node names
  • Added support for properties in gd2py
  • Added support for get(): property syntax
  • Added support for multiline arrays and dictionaries in match statement branches
  • Added support for guarded match branches

Changed

  • Fixed support for breakpoint statement in formatter

4.2.2

11 Dec 21:48
Compare
Choose a tag to compare

Changed

  • Fixed support for r-strings

4.2.1

10 Dec 18:11
Compare
Choose a tag to compare

Added

  • Added support for multiline patterns within match statement branches
  • Added support for r-strings

4.2.0

30 Nov 21:57
Compare
Choose a tag to compare

Added

  • Added support for breakpoint statement
  • Added support for function-level annotations
  • Added support for typed for loop iterator (#241)
  • Added the --use-spaces=<int> option to gdformat so that space-based indentations can be used instead of tab-based ones

Changed

  • Fixed max-public-methods linter check disabling (#222)
  • Default regex for names of constants now allows underscore as a prefix to denote private contants (#223)
  • Fixed parsing of files without newline at the end of file ending with comment (#237)
  • Fixed linter support for docstrings (#233)
  • Fixed linter support for trailing comma in function's args list (#206)
  • Fixed linter support for static variables and classnames bundled with extends (#242)
  • Enforced function statement annotations to be formatted to separate lines (#252)

4.1.0

06 Jul 21:18
Compare
Choose a tag to compare

Added

  • Added support for not in operator
  • Added support for static class variables

Changed

  • Improved exceptions formatting

4.0.1

22 Apr 08:50
Compare
Choose a tag to compare

Added

  • Added support for user-defined types in type hints
  • Added support for annotations with empty argument list (e.g. @onready())
  • Added support for power operator **

Fixed

  • Fixed max-returns check's message
  • Fixed formatting of static functions