구 버전에서의 마이그레이션
9.0 -> 9.1
v9.1은 끊김 변경사항을 도입하지 않지만, 몇 가지 구성 옵션이 deprecated되었고 새로운 통합 형식으로의 마이그레이션이 권장됩니다. 또한 이전에 deprecated로 표시되었던 subscales 구성 옵션도 삭제되었습니다.
통합 자동 스케줄링 구성
이전에는 "Auto Scheduling" 동작을 제어하던 여러 속성이 deprecated되었고, 이제는 통합 auto_scheduling 구성 객체를 사용하는 것이 권장됩니다.
// v9.1 이전
gantt.config.auto_scheduling = true;
gantt.config.auto_scheduling_compatibility = true;
gantt.config.auto_scheduling_strict = true;
gantt.config.auto_scheduling_initial = false;
// v9.1 이후
gantt.config.auto_scheduling = {
enabled: true,
apply_constraints: false,
gap_behavior: "compress",
schedule_on_parse: false
};
더 이상 사용되지 않는 속성들은 하위 호환성을 위해 계속 작동하지만, 새로운 객체 형식으로의 전환이 권장됩니다.
다음 옵션들은 deprecated되었습니다:
- auto_scheduling_initial
- auto_scheduling_compatibility
- auto_scheduling_descendant_links
- auto_scheduling_move_projects
- auto_scheduling_project_constraint
- auto_scheduling_strict
- auto_scheduling_use_progress
통합 객체로의 deprecated 구성의 매핑
gantt.config.auto_scheduling_initial->schedule_on_parsegantt.config.auto_scheduling_descendant_links->descendant_linksgantt.config.auto_scheduling_move_projects->move_projectsgantt.config.auto_scheduling_project_constraint->project_constraintgantt.config.auto_scheduling_use_progress->use_progressgantt.config.auto_scheduling_compatibility = true->apply_constraints: falsegantt.config.auto_scheduling_compatibility = false->apply_constraints: truegantt.config.auto_scheduling_strict = true->gap_behavior: "compress"gantt.config.auto_scheduling_strict = false->gap_behavior: "preserve"
더 이상 사용되지 않는 subscales 구성 옵션은 삭제되었습니다
참고로 subscales 구성 옵션은 v6.2에서 deprecated로 표시되었음이었으며 v9.1에서 삭제되었습니다.
8.0 -> 9.0
v9.0 업데이트는 몇 가지Breaking Changes(호환성 깨지는 변경사항)를 도입합니다.