Releases: codevogel/godot_doctor
Releases Β· codevogel/godot_doctor
Godot Doctor v1.0.1
New in this release:
Features:
- Added two new primitives that help write validations:
RangeInt: ARangehelper that helps with conditions such asvalue >= min and value <= maxfor integers.RangeFloat: ARangehelper that helps with conditions such asvalue >= min and value <= maxfor floats.
- Added new static function that helps write validations:
GodotDoctor.is_approx_equal(): Emulates built-inis_approx_equal, but lets you set a customepsilon.
- Added new helper methods for frequently used validations
is_instance_valid: Checks whether the provided object or instance is valid (notNoneand of the expected type).string_not_empty: Verifies that a given string is not empty ("") orNone.stripped_string_not_empty: Ensures a string remains non-empty after leading and trailing whitespace are removed.is_in_range_int: Validates that an integer value falls within a specified inclusive range.is_in_range_float: Validates that a floating-point value falls within a specified inclusive range.has_child_count: Checks if an object (e.g., a node, collection, or container) has an exact number of children or items.has_minimum_child_count: Ensures that an object has at least a specified minimum number of children or items.has_maximum_child_count: Ensures that an object has no more than a specified maximum number of children or items.has_no_children: Verifies that an object contains no children or items.has_node_path: Checks whether a given node or object exists at the specified path or hierarchy location.
- Altered examples to include these new helper methods
Fixes:
- Documentation: fix markdown links in table of contents
- Plugin Metadata: Update version number to correct version
Full Changelog: 1.0.0...1.0.1
1.0.0+docs
This version is the same as 1.0.0, other than a change to the README highlighting one of the key features of Godot Doctor: Verifying type of PackedScene
β¨ Features
- Scene validation without requiring
@tool - Verify type of PackedScene
- Automatic validation on scene save
- Dedicated dock for validation errors (click to jump to nodes)
- Support for validating both Nodes and Resources
- Declarative, test-driven syntax for validations
- Support for nested validation conditions
- Example scenes included for reference
π Documentation
- Full README with quickstart guide
- Example usage in
addons/godot_doctor/examples
βοΈ License
Released under MIT License
Full Changelog: 1.0.0...1.0.0+docs
Godot Doctor v1.0.0
β¨ Features
- Scene validation without requiring
@tool - Automatic validation on scene save
- Dedicated dock for validation errors (click to jump to nodes)
- Support for validating both Nodes and Resources
- Declarative, test-driven syntax for validations
- Support for nested validation conditions
- Example scenes included for reference
π Documentation
- Full README with quickstart guide
- Example usage in
addons/godot_doctor/examples
βοΈ License
Released under MIT License