v0.0.7 — 내부 중복 감사 + charshape() deprecation
🔍 내부 API 중복·겹침 감사 릴리즈
Phase A/B/C 확장 이후 App 클래스 82개 멤버의 중복/겹침/기능 분산 을 체계적으로 정리.
🔴 Deprecated
App.charshape(...)— legacy 빌더 (unbound pset 반환 후 다시set_charshape에 넘기는 간접 API). DeprecationWarning 발생. v0.1.0 에서 제거.# ❌ Old cs = app.charshape(bold=True) app.set_charshape(cs) # ✅ New app.set_charshape(bold=True)
📝 Docstring 개선 (cross-reference 추가)
app.selection↔app.get_selected_text()alias 명시app.visible↔app.set_visible()— property form 권장app.new_document()↔app.documents.add()alias 명시app.rgb_color()↔Color.from_rgb()— 반환 타입 차이 설명- 단위 변환 섹션 주석 — App method (COM) vs functions.py (pure Python)
📄 신규 문서
docs/DUPLICATION_AUDIT.md — 210줄 전체 감사 리포트:
- 9개 중복 패턴 분류 (P0/P1/P2)
- 각 케이스의 정체 vs 의도 판정
- 통합 권장 vs 유지 판정
- v0.0.7 ~ v0.1.x 실행 로드맵
✅ 호환성
100% backward compatible. 경고만 추가되고 실제 동작은 그대로.
- 1,059 unit tests 통과
- 기존 사용자 코드 수정 불필요
🛣 남은 로드맵
- v0.0.8: Phase D/E (
app.styles,app.controls접근자) - v0.1.0:
app.charshape()제거 + CharShape 중복 해소 - v0.1.x:
app.py→core/ops/*delegate 분리
Full changelog: v0.0.6...v0.0.7