Skip to content

Releases: crwlrsoft/crwl-extension-utils

v2.4.2

08 Dec 22:54

Choose a tag to compare

Fixed

  • Support crwlr/crawler v3.0.

v2.4.1

06 Nov 22:50

Choose a tag to compare

Fixed

  • Support illuminate/support 11.x.

v2.4.0

15 Oct 15:14

Choose a tag to compare

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.

v2.3.1

18 Jun 12:51

Choose a tag to compare

Fixed

  • It tries to cast step config values based on their configured type when using StepBuilder::getValueFromConfigArray().

v2.3.0

18 Mar 15:23
5049ff9

Choose a tag to compare

Added

  • New config param type multi line string (ConfigParam::multiLineString() / ConfigParamTypes::MultiLineString).

v2.2.0

22 Feb 12:21

Choose a tag to compare

Added

  • New config param type float (ConfigParam::float() / ConfigParamTypes::Float).

v2.1.0

14 Feb 15:51

Choose a tag to compare

Added

  • 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.

v2.0.0

07 Feb 18:06

Choose a tag to compare

Changed

  • Require illuminate/support, register ExtensionPackageManager as a singleton via a new ServiceProvider and remove ExtensionPackageManager::singleton() and ExtensionPackageManager::new() methods.

v1.1.0

06 Feb 23:43

Choose a tag to compare

Added

  • 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.

v1.0.0

31 Jan 23:33

Choose a tag to compare

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).