feat(sdk): remove fallbacks, add deprecation warnings, bump v1.0.0 (#357) #365
Reference in New Issue
Block a user
Delete Branch "feat/gears-addon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Phase 8 (final) of the KCSDK epic (#346). Removes FreeCADGui fallback paths in SDK wrappers, adds deprecation warnings to superseded methods, and bumps the SDK to v1.0.0.
Changes
SDK v1.0.0
SDK_VERSIONto1.0.0inversion.pyandpackage.xml<pure_python>true</pure_python>frompackage.xml(kcsdk is C++)Fallback removal (require kcsdk)
FreeCADGui.*fallback branches; raiseRuntimeErrorif kcsdk unavailable_register_via_pyside()fallback entirelyinject_commands()fallback_SDKMenuManipulatorfallback classlist_origins,active_origin,set_active_origin,get_origin); keepregister_origin/unregister_originwhich still needFreeCADGui.addOrigin/removeOriginDeprecation warnings
Base::Console().warning()to 11 supersededFreeCADGui.*methods inApplicationPy.cppaddOrigin/removeOriginexcluded (not yet superseded)Net result
Testing
pixi run test-kindred: all 39 Tier 1 tests passCloses #357
Pull request closed