9.4.0
Potentially Breaking Changes
- The deprecated
wait_frames
and the newwait_idle_frames
,wait_physics_frames
now count frames when theSceneTree.process_frame
andSceneTree.physics_frame
signals are emitted. This may cause some of your awaits to wait a frame too long/short. This approach is more reliable as it occurs before the_process
or_physics_process
is called on anything in the tree. This means that tree order will not matter and all objects will have finished_process
/_physics_process
by the time the await ends.
Features
- Utilized the adapted Godot tools that generate HTML from code comments, moving some documentation to code comments. This makes more documentation easily accessible from the editor and cuts down on some duplicate documentation.
wait_idle_frames
added. This counts frames idle/process frames instead of_physics_process
.wait_frames
has been renamed (deprecated) towait_physics_frames
.wait_while
added. This waits while aCallable
returnstrue
.- New
class_name
s:GutInputFactory
forres://addons/gut/gut_input_factory.gd
static class.
- Signal related methods now accept a reference to a signal as well as an object/signal name:
get_signal_emit_count
,assert_connected
,assert_not_connected
,assert_signal_emitted
,assert_signal_not_emitted
,assert_signal_emitted_with_parameters
,assert_signal_emit_count
,get_signal_parameters
.
Deprecations
wait_frames
has been deprecated in lieu of the more specificwait_physics_frames
andwait_idle_frames
.
Changelog
- I192 in just under 5 years I moved the two lines of code up some to finally fix this.
- Remove editor config file warning by @bitwes in #682
- add default title to assert_not_freed by @bitwes in #683
- I639 by @bitwes in #684
- Gut test comments by @bitwes in #685
- Fix docs typo by @Curtis-Barnhart in #692
- include parameter list in passing test message by @bitwes in #698
- fixed issue by @bitwes in #699
- Refactor wait methods by @bitwes in #701
- I630 wait while by @bitwes in #703
- Add instructions for installing gut as a git submodule by @Curtis-Barnhart in #695
- Wrap failure and pending messages with CDATA by @bitwes in #707
- fix failing test_optparse.TestValuesDictionary test by @Curtis-Barnhart in #704
- add hold_frams and hold_seconds to input sender by @bitwes in #712
- Clear embedded font from OutputText.tscn by @gbrock in #713
- Optparse option aliases by @Curtis-Barnhart in #705
- Fix typo in the Awaiting documentation by @pupeno in #714
- Avoid global
Logger
as this conflicts with a native class in Godot 4.5 by @dreed-sd in #715 - Pass signals instead of strings by @bitwes in #717
New Contributors
- @Curtis-Barnhart made their first contribution in #692
- @gbrock made their first contribution in #713
- @pupeno made their first contribution in #714
- @dreed-sd made their first contribution in #715
Full Changelog: 9.3.1...v9.4.0