Releases: Scony/godot-gdscript-toolkit
Releases · Scony/godot-gdscript-toolkit
4.3.1
4.3.0
Added
- Added
gdformatrc
configuration file togdformat
- 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
4.2.1
4.2.0
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 togdformat
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
4.0.1
3.5.0
4.0.0
Added
- Added new GDScript
2.0
constructs to the core testcases - Added support for
await
- Added support for typed arrays
- Added support for annotations
- Added support for unique node names
- Added support for property etters
- Added support for inline-lambdas
- Added support for func-level constants
- Added support for typed signal arguments
Changed
- Removed support for legacy (Godot
3.x
) GDScript from core testcases - Updated
lark
dependency to the latest release -1.1.5
- Improved
subscr_expr
/getattr
/getattr_call
chains formatting
3.4.0
Added
- Added
no-elif-return
linter check - Added
no-else-return
linter check - Added
gd2py
(GDScript-to-python) converter tool - Added
gdradon
code metrics tool
Fixed
- Workarounded a lark error impacting pretty print in frontends
- Fixed lack of trailing comma handler in some corner cases
- Fixed lack of support for plus prefixed expressions
- Fixed lack of support for
Vector2/3()
inmatch
patterns - Fixed formatter's corner case in
func()