Skip to content

v0.6.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ogizanagi ogizanagi released this 15 Jul 09:13
· 283 commits to master since this release
53696ed

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.