Skip to content

Releases: codevogel/godot_doctor

Godot Doctor v2.1.3

15 May 14:16
c541c1e

Choose a tag to compare

New in this release:

One major bugfix which ignored the 'default validation ignore list',
A minor bugfixes, including a non-crucial memory leak in CLI mode
Added some niceties that hint on how to use the gd-script only mode, and that the asset library may lag behind the GitHub release (as it has to be approved first).

Fixes:

Documentation:

  • add tip to delete c# code in non-mono godot to welcome dialogue by @codevogel in #48
  • add hint that asset library may lag behind GitHub) by @codevogel in 540d373

Full Changelog: 2.1.2...2.1.3

2.1.2

21 Apr 17:59
488eb90

Choose a tag to compare

New in this release:

A new built-in ValidationCondition: array_matches_count_by_predicate, which makes it easy to count the number of values in an array that match a given predicate.
Also introduces a bugfix which solves an issue where Godot Doctor did not create actual working instances for placeholder nodes that were referenced by other placeholder nodes through their properties.

Features:

  • Added new built-in ValidationCondition: add array_matches_count_by_predicate by @codevogel in #42

Fixes:

  • Recursively create placeholder instances in _copy_properties by @codevogel in #41

Full Changelog: 2.1.1...2.1.2

Godot Doctor v2.1.1

11 Apr 12:22
d53b489

Choose a tag to compare

New in this release:

Minor update to address a bug when scene roots reported errors.

Please refer to https://github.com/codevogel/godot_doctor/releases/tag/2.1.0 for more notable changes if you're upgrading from an older version.

Documentation:

  • docs: add extra screenshot examples to readme by @codevogel in #36

Fixes:

  • fix: fall back to scene root when getting node through empty relative path in dock by @codevogel in #37

Full Changelog: 2.1.0...2.1.1

Godot Doctor v2.1.0

06 Apr 15:05
da560bb

Choose a tag to compare

New in this release:

Most notably, Godot Doctor now supports C#! Validation still happens on the gdscript side of things, but a native C# API is now exposed to make Godot Doctor work with C# straight out of the box.

Note that C# support should be treated as beta. I've tested what I can, and had some community members test this out on their end. So while everything seems to work just fine. You might still encounter some bugs. If you do, please create an issue

Features:

Major features:

Minor features:

  • Added inheritance search strategies for PackedScene validation, useful for when the PackedScene might inherit from other scenes by @codevogel in #33

Documentation:

Fixes:

  • Copy over the name when making a placeholder instance from a node, resulting in better validation messages by @codevogel in #32

Full Changelog: 2.0.0...2.1.0

Godot Doctor v2.0.0

22 Mar 14:22
7c0d96e

Choose a tag to compare

New in this release:

This is a major change to the plugin structure to support a new major feature: running Godot Doctor on the CLI! This allows you to integrate Godot Doctor with your CI/CD pipeline.

Because the codebase overhaul has changed so much, this has upgraded Godot Doctor to a new a major version.

End users should experience no changes in functionality during this release, though three method names have been deprecated (functionality hasn't changed, just the method name). There are no breaking changes in this release, as the new method names provide overloads using the old method names for now. In the future, this will be a breaking change, so upgrade them now!

Features:

Major features:

  • Added support for running Godot Doctor on the CLI, allowing you to integrate Godot Doctor with your Ci/CD pipeline! by @codevogel in #10

Minor features:

Documentation:

Fixes:

Deprecation

  • string_not_empty is now named is_string_not_empty. Functionality remains the same. Old method calls will now push a warning to upgrade to the new name.
  • stripped_string_not_empty is now named is_stripped_string_not_empty. Functionality remains the same. Old method calls will now push a warning to upgrade to the new name.
  • scene_is_of_type is now named is_scene_of_type. Functionality remains the same. Old method calls will now push a warning to upgrade to the new name.

Full Changelog: 1.2.0...2.0.0

Godot Doctor v1.2.0

19 Feb 19:23

Choose a tag to compare

New in this release:

Features:

  • Added support for setting the severity level of a ValidationCondition (#3)

Documentation:

  • Extended the examples with a generalistic example
  • Updated the demo gif to include the validation severities

Fixes:

  • Fixed a bug where resources without scripts such as Materials weren't properly guarded, causing Godot Doctor to try and validate them, which resulted in errors.

Full Changelog: 1.1.1...1.2.0

Godot Doctor v1.1.1

13 Feb 15:14

Choose a tag to compare

New in this release:

Features:

  • Added a script ignore list to the settings asset, which turns off the default no-code validations for any scripts that are added to it. (Thanks, @drmgc #2)

Documentation:

  • Extended example for default validations with script ignore list.

Fixes:

  • Godot Doctor now looks at the grandparent scene when validating the type of PackedScene, ensuring that inherited scenes now get properly validated.

Full Changelog: 1.1.0...1.1.1

Godot Doctor v1.1.0

07 Feb 14:50

Choose a tag to compare

New in this release:

Features:

  • Added default no-code validations. Godot Doctor now automatically verifies for unassigned objects and empty strings, without needing to write a single line of code.
  • Added toggle to turn off default validations to the plugin settings.
  • Update example project configuration to Godot 4.6.

Documentation:

  • Added example for default validations.
  • Improved documentation for plugin code.

Fixes:

  • Corrected behaviour for ValidationCondition.string_is_empty.
  • Made ClassNameQueryResult extend from Refcounted rather than Node.
  • Style: Fixed gdlint issues and adhere to Godot styleguides.

Full Changelog: 1.0.1...1.1.0

Godot Doctor v1.0.1

06 Oct 14:49

Choose a tag to compare

New in this release:

Features:

  • Added two new primitives that help write validations:
    • RangeInt: A Range helper that helps with conditions such as value >= min and value <= max for integers.
    • RangeFloat: A Range helper that helps with conditions such as value >= min and value <= max for floats.
  • Added new static function that helps write validations:
    • GodotDoctor.is_approx_equal(): Emulates built-in is_approx_equal, but lets you set a custom epsilon.
  • Added new helper methods for frequently used validations
    • is_instance_valid: Checks whether the provided object or instance is valid (not None and of the expected type).
    • string_not_empty: Verifies that a given string is not empty ("") or None.
    • 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

03 Oct 17:01

Choose a tag to compare

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