You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
New classes RequestTracker and TrackingGuzzleClientFactory. When steps need to execute HTTP requests without the HttpLoader from the crawler package (for example when using some REST API SDK), developers are encouraged to utilize either a Guzzle Client instance generated by the TrackingGuzzleClientFactory or invoke the trackHttpResponse() or trackHeadlessBrowserResponse() methods of the RequestTracker manually after each request. This enables seamless tracking of requests within the crwl.io app.
Require illuminate/support, register ExtensionPackageManager as a singleton via a new ServiceProvider and remove ExtensionPackageManager::singleton() and ExtensionPackageManager::new() methods.
New method StepBuilder::setFileStoragePath(). The app will call this method with the path where files can be stored, before the StepBuilder builds any step. So inside the builder, when building a step, you can rely on this path.
Nothing added. Just more tests, static analysis, code style fixing, CI pipeline on github and some documentation in the readme file, so it can be published (the package was still private until here).