Migrations¶
Migration Guide: v1 to v2¶
This guide outlines the changes from version 1 to version 2 of the springbok-core package.
Interfaces
BuilderInterface::buildByXml- parameterarray $pipelinepipelinehas been replaced withDOMElement $parentNode.DataFrameBuilderInterface::buildDataFramehas been replaced withDataFrameBuilderInterface::buildDataFrameContainerand now returns\DataImport\Zed\Springbok\Business\Container\DataFrameContainerInterfaceinstead of\Flow\ETL\DataFrame. This change is necessary to support hooks.DataFrameContaineris a container for\Flow\ETL\DataFrameand\DataImport\Zed\Springbok\Dependency\Plugin\HookInterface.PipelineResolverInterface::resolvereturn statement has been replaced withDOMElementinstead ofarray.HookablePipelineInterfaceandSynchronousTracePipelinehave been removed.SynchronousPipelineofflow/etlis used instead of the custom one.For
ExtractorPluginInterface::build,HookPluginInterface::build,LoaderPluginInterface::build,TransformerPluginInterface::buildandSchemaAwareLoaderPluginInterface::getSchemaparameterarray $xmlhas been replaced withPipelineConfigurationElementInterface $pipelineConfig.Interface
Loader::loadnow requiresFlowContextas the second parameter.