Migration notes: godot-gdscript-mastery
Incremental upgrade for topics this skill covers. Apply one hop, stabilize/test, then next. Never skip hops.
If the project is < 4.0, follow godot-version-migration era bridges (legacy → 3→4) until 4.0, then these hops. Official 3→4: Upgrading from Godot 3 to Godot 4.
3.x → 4.0
Official: Upgrading from Godot 3 to Godot 4
- Lifecycle
_ready/_processno longer auto-call parent — usesuper(). - Setters/getters syntax only partially converted — fix manually.
tool→@toolon built-in scripts often missed.StringvsStringName(&"name");instance()→instantiate(); Arrayempty→is_empty,invert→reverse.call_groupis immediate by default — useGROUP_CALL_DEFERREDwhen needed.
4.0 → 4.1
Official: Upgrading to Godot 4.1
Object.get_meta_listreturn type isArray[StringName](was PackedStringArray).WorkerThreadPool.wait_for_task_completionnow returnsError.
4.1 → 4.2
Official: Upgrading to Godot 4.2
NOTIFICATION_NODE_RECACHE_REQUESTEDremoved from Node.
4.2 → 4.3
Official: Upgrading to Godot 4.3
- Binary serialization of scripted Objects/typed Arrays changed — re-test save/load of custom Resources.
PackedByteArraymay use compact base64 storage; older editors may not open 4.3 resources with large byte arrays.
4.3 → 4.4
Official: Upgrading to Godot 4.4
@export_fileInspector assignments becomeuid://— scripts expectingres://strings must resolve UIDs or use@export_file_path(4.5+).FileAccess.store_*methods returnboolsuccess.Curveenforcesmin_value/max_value— adjust curves that used points outside[0, 1].OS.read_string_from_stdinrequiresbuffer_size.
4.4 → 4.5
Official: Upgrading to Godot 4.5
Resource.duplicate(true)deep-duplicates only internal resources; useduplicate_deep(DEEP_DUPLICATE_ALL)for old behavior.Node.get_rpc_configrenamed toget_node_rpc_config.JSONRPC.set_scopereplaced byset_method.ProjectSettings.add_property_infowarns on invalid/usagekeys.
4.5 → 4.6
Official: Upgrading to Godot 4.6
- TSCN gains unique node IDs (large VCS diffs on first 4.6 save — expected).
FileAccess.get_as_textdropsskip_crparameter.Performance.add_custom_monitorgains optionaltype.
4.6 → 4.7
Official: Upgrading to Godot 4.7
- Setting an element of a packed array property no longer calls the property setter for the whole array.
- Overrides of methods with typed returns must actually
return(addreturn nullif needed). Object.is_classtakesStringName.