module
Lapis::Docs::I_ARCHITECTURE_AND_EXTENSIONS::D_GODOT_VERSION_UPGRADE
Overview
Godot Engine Version Upgrade Guide
Step-by-step engineering runbook for upgrading Lapis to target a new Godot engine release, dumping API schemas, and updating the Crystal binding generator.
Executive Summary & Key Topics
| Topic | Method / Anchor | Description |
|---|---|---|
| The Upgrade Workflow | .topic_00_upgrade_steps |
Sequential steps to upgrade the targeted Godot engine version across Lapis. |
| Dumping Godot Extension API | .topic_01_dumping_api |
Extracting the JSON machine-readable API definition from Godot. |
Related Guides & Source References
- Engine Version Spec:
godot-version.yml - Binding Generator:
src/libgodot/generator/ - Setup Command:
tools/lapis/src/commands/setup.cr
Defined in:
libgodot/docs/i_architecture_and_extensions/d_godot_version_upgrade.crClass Method Summary
-
.topic_00_upgrade_steps : Nil
The Upgrade Workflow: Sequential steps to upgrade the targeted Godot engine version across Lapis.
-
.topic_01_dumping_api : Nil
Dumping Godot Extension API: Extracting the JSON machine-readable API definition from Godot.
Class Method Detail
The Upgrade Workflow: Sequential steps to upgrade the targeted Godot engine version across Lapis.
Key Topics & Information
-
- Update godot-version.yml with target version string and download URLs
-
- Run lapis setup engine to acquire the new engine binary
-
- Dump extension_api.json via godot.exe --dump-extension-api
-
- Regenerate Crystal class bindings via make generate
-
- Run make all to recompile bridge, test suites, and examples
Dumping Godot Extension API: Extracting the JSON machine-readable API definition from Godot.
# 1. Update version in godot-version.yml
# 2. Acquire new engine binary:
lapis setup engine
# 3. Dump fresh extension API:
./godot.exe --dump-extension-api
# 4. Regenerate Crystal bindings:
make generate