Updating is try to document non-backward compatible updates which notice users the detail changes about pydolphinscheduler. It started after version 2.0.5 released
- Remove attribute tenant from pydolphinscheduler.core.workflow.workflow (#54)
and please change tenant name in
config.yamlinPYDS_HOME - Drop support of python3.6 and python3.7 (#126)
- Change parameter
http_paramsto dict type for easy to use in task http.(#130)
- Change Task attr
timeouttype from int to timedelta and use timeout determine attrtimeout_flagvalue (#41) - Remove the spark version of spark task (#11860).
- Change class name from process definition to workflow (#26)
- Deprecated class
ProcessDefinitiontoWorkflow - Deprecated class
SubProcesstoSubWorkflow, and change parameter name fromprocess_definition_nametoworkflow_name - Deprecated class
Dependentparameter fromprocess_definition_nametoworkflow_name - And all above deprecated will be remove in version 4.1.0
- Deprecated class
- Remove parameter
task_locationin process definition and Java Gateway service (#11681)
- Integrate Python gateway server into Dolphinscheduler API server, and you could start Python gateway service by command
./bin/dolphinscheduler-daemon.sh start api-serverinstead of independent command./bin/dolphinscheduler-daemon.sh start python-gateway-server. - Remove parameter
queuefrom classProcessDefinitionto avoid confuse user when it change but not work - Change
yaml_parser.pymethodto_stringto magic method__str__make it more pythonic. - Use package
ruamel.yamlreplacepyyamlfor write yaml file with comment. - Change variable about where to keep pydolphinscheduler configuration from
PYDOLPHINSCHEDULER_HOMEtoPYDS_HOMEwhich is same as other environment variable name.