Migration notes: godot-inventory-system
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.
4.0 → 4.1
Official: Upgrading to Godot 4.1
SubViewportContainer.mouse_filtermust be STOP/PASS for input to reach SubViewports (3D preview panes).- Layered SubViewportContainers needing mouse input may need Area2D replacements.
4.1 → 4.2
Official: Upgrading to Godot 4.2
PopupMenushortcut helpers gainallow_echo;cleargainsfree_submenus(context split/stack menus).- GraphEdit/GraphNode API moves — only if crafting trees use visual graphs.
4.2 → 4.3
Official: Upgrading to Godot 4.3
- Scripted Object / typed Array binary serialization changes — verify Item/Inventory Resource round-trips.
- Large
PackedByteArraystorage format may not open in older editors. - Default font outline color is black (was white) — retune slot count/quantity labels.
auto_translatedeprecated for Nodeauto_translate_mode(inherit semantics).
4.3 → 4.4
Official: Upgrading to Godot 4.4
@export_filestoresuid://paths from the Inspector — resolve UIDs in icon/effect Resource paths.FileAccess.store_*methods returnboolsuccess — handle stash save failures.Curveenforcesmin_value/max_value.
4.4 → 4.5
Official: Upgrading to Godot 4.5
Resource.duplicate(true)deep-duplicates only internal resources; useduplicate_deep(DEEP_DUPLICATE_ALL)when cloning full item stacks with external refs.- CanvasItem/Font/TextLine draw APIs gain optional
oversampling. TreeItem.add_buttongainsalt_text(equipment slot actions).
4.5 → 4.6
Official: Upgrading to Godot 4.6
- First save in 4.6 rewrites scenes with unique node IDs — expect large diffs on inventory UI scenes.
Control.grab_focus/has_focusgain hide-focus options (drag/drop focus rings).PopupMenu.submenu_popup_delaydefault 0.2 (was 0.3).
4.6 → 4.7
Official: Upgrading to Godot 4.7
- Confirm project stretch mode and
AudioStreamPlayer.area_maskafter opening in 4.7. - Re-validate Resource pipelines after packed-array setter and typed-return GDScript changes (stack counts, proc bindings).
CanvasItemno longer adds antialiasing feather that thickened lines — widen slot border strokes if needed.