Skip to content

v2.4.0

Latest
Compare
Choose a tag to compare
@otsch otsch released this 15 Oct 15:14

Added

  • Support crwlr/crawler v2.0.
  • Method StepBuilder::outputType(), returning a Crwlr\Crawler\Steps\StepOutputType enum instance, informing about the possible output type of the underlying step. Currently, there is a default implementation in the abstract StepBuilder class, returning StepOutputType::Mixed. But this implementation will be removed in v3.0, so child classes should always explicitly define the possible output type. More info in the readme file. Attention: As Crwlr\Crawler\Steps\StepOutputType was introduced in crwlr/crawler v1.8.0, this is now the minimum required version of the crawler package.
  • Method StepBuilder::isLoadingStep(), so the crwl.io app knows if it's dealing with a loading step. Default implementation just returns false, so in loading steps you need to provide an implementation of this method, returning true.