Skip to content

Releases: StenopePHP/Stenope

v0.9.0: Symfony 7 support

04 Apr 09:21
Compare
Choose a tag to compare

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

01 Mar 10:11
Compare
Choose a tag to compare

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

06 Oct 08:09
Compare
Choose a tag to compare

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

16 Jun 13:08
Compare
Choose a tag to compare

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

23 Mar 12:55
Compare
Choose a tag to compare

Changelog

[738774b] minor #121 Update the demo to Symfony54 (benji07)
[fa793c9] minor #126 [PhpStan] Fix @template boundaries (ogizanagi)
[5b30196] bug #132 [Prism] Reset server on kernel.terminate (ogizanagi)

Full Changelog: v0.7.0...v0.7.1

v0.7.0

18 Nov 10:01
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

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

15 Jul 09:13
53696ed
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

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 uses ContentManagerInterface as its typehints instead of ContentManager. That should not be an issue if you use the ContentManagerAwareTrait though.

v0.5.0: Debug, filters & last modification date improvments

17 Jun 12:33
Compare
Choose a tag to compare

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

07 Jun 09:28
9b81e96
Compare
Choose a tag to compare
Pre-release

Changelog

Breaking Changes ⚠️

The second arguments $type has been dropped in Stenope\Bundle\Behaviour\ProcessorInterface:

- public function __invoke(array &amp;$data, string $type, Content $content): void;
+ public function __invoke(array &amp;$data, Content $content): void;

To access the type of content being processed, use:

$content->getType();

v0.3.0: Add debug CLI command

02 Jun 15:24
Compare
Choose a tag to compare
Pre-release

Changelog

[0a01b1b] feature #97 Add a debug CLI command (ogizanagi):

Breaking Changes ⚠️

[0a01b1b] Change your typehints from Headline[] to TableOfContent