Releases: StenopePHP/Stenope
v0.9.0: Symfony 7 support
Important
The release allows Symfony 7 support but drops Symfony 5.4 and PHP < 8.1 support.
Changelog
[7183ad2] feature #186 Support symfony 7 (@Tom32i, @ogizanagi)
v0.8.0: configurable processors
Changelog
[f936b12] minor #157 [Tests] Remove unnecessary 6.2 config (ogizanagi)
[885a066] bug #165 Remove extra body tags from processed contents (ogizanagi)
[2e4154f] minor #166 Upgrade docs app & Makefile targets (ogizanagi)
[feda005] bug #170 [Builder] Decode URLs before dumping to file (ogizanagi)
[22b831e] feature #169 Add processors bundle configuration (ogizanagi)
v0.7.3
Changelog
[97c7b63] minor #147 docs: fix typos in documentation (ArnaudLigny)
[dc701a9] minor #151 [CI] Upgrades (ogizanagi)
[b4dfbc8] minor #150 [Deps] Add Stopwatch to the required deps (ogizanagi)
[07ff876] minor #149 [Docs] Add cookbook for exposing a 404 page (ogizanagi)
[f599b93] bug #152 Check project is a git dir before attempting to use last commit info for files (ogizanagi)
v0.7.2
Changelog
[9ccb3b3] bug #135 [Build] Fix erroneous time to build an URL (ogizanagi)
[1974fd1] bug #138 [Prism] Fix process timeouts between highlight calls for long building pages (ogizanagi)
[69086cc] minor #140 Use AsCommand PHP 8 attribute (ogizanagi)
[2b72c8f] minor #143 [ExpressionLanguage] Disable test case for conflicting function on Sf6.1 (ogizanagi)
[4a705cc] minor #141 [CI] Add Symfony 6.1 check (ogizanagi)
[9e70645] minor #144 [Doc] Deps upgrades (ogizanagi)
[dcf2cfb] bug #145 Fixing default URL root for documentation build. (Tom32i)
[367be4c] minor #146 [Docs] Upgrade to Symfony 6.1 stable (ogizanagi)
v0.7.1
v0.7.0
Changelog
[55fbca1] feature #106 Warn user about HTTP No-Index headers (Tom32i, ogizanagi)
[46933cb] feature #108 [Debug] Add a PHP8 attribute to suggest common queries per type (ogizanagi)
[26b4475] feature #109 [Debug] Interactively ask for class (ogizanagi)
[ec96497] feature #110 [Debug] Allow partial/short class name (ogizanagi)
[0fe2c10] feature #120 Allow Symfony 6 & update CI (ogizanagi)
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Changelog
[eac3453] security #103 Bump prismjs from 1.23.0 to 1.24.0 in /doc/app (dependabot[bot])
[2827425] feature #102 Remove property filter as string to promote expressions (ogizanagi)
[53696ed] feature #104 Add a ContentManagerInterface (ogizanagi)
Breaking Changes ⚠️
-
The
ContentManager::getContents()
method now accepts string based expressions as filter.
As a consequence, the ability to use a property name as filter directly as a string was removed. Use an expression instead:-$users = $contentManager->getContents(User::class, null, 'active'); +$users = $contentManager->getContents(User::class, null, '_.active');
-
The
ContentManagerAwareInterface
now usesContentManagerInterface
as its typehints instead ofContentManager
. That should not be an issue if you use theContentManagerAwareTrait
though.
v0.5.0: Debug, filters & last modification date improvments
You can now use any Symfony's ExpressionLanguage
expression to filter out your contents from the ContentManager
and the debug CLI command.
For the native local filesystem provider, git can now be used to fetch the last modification date of a content if available.
Changelog
[d8ee8cc] feature #100 Use Symfony's ExpressionLanguage component for filters (ogizanagi)
[f340be4] feature #101 Use git last commit date for a file as default last modified date (ogizanagi)
Breaking Changes ⚠️
The LastModifiedProcessor
now returns a \DateTimeImmutable
.
Use \DateTimeInterface
or \DateTimeImmutable
on your model objects:
- public ?\DateTime $lastModified = null;
+ public ?\DateTimeInterface $lastModified = null;
v0.4.0: Shared HTML crawlers
Changelog
Breaking Changes ⚠️
The second arguments $type
has been dropped in Stenope\Bundle\Behaviour\ProcessorInterface
:
- public function __invoke(array &$data, string $type, Content $content): void;
+ public function __invoke(array &$data, Content $content): void;
To access the type of content being processed, use:
$content->getType();