tag:github.com,2008:https://github.com/nette/component-model/releases Release notes from component-model 2025-11-22T18:56:47Z tag:github.com,2008:Repository/17693979/v3.1.3 2025-11-22T18:58:22Z Released version 3.1.3 <p>support for PHP 8.5</p> dg tag:github.com,2008:Repository/17693979/v3.1.2 2025-08-06T22:49:00Z Released version 3.1.2 <ul> <li>support for PHP 8.5</li> <li>optimized global function calls</li> </ul> dg tag:github.com,2008:Repository/17693979/v3.1.1 2024-10-04T22:22:40Z Released version 3.1.1 <ul> <li>support for PHP 8.4</li> <li>improved phpDoc</li> </ul> dg tag:github.com,2008:Repository/17693979/v3.1.0 2024-02-08T20:26:03Z Released version 3.1.0 <ul> <li>requires PHP 8.1</li> <li>uses PHP 8.1 features</li> <li>added <code>Container::getComponentTree()</code></li> <li><code>Container::getComponents()</code> parameters are silently deprecated, returns array when $deep is false (BC break)</li> </ul> dg tag:github.com,2008:Repository/17693979/v3.0.3 2023-01-17T04:03:33Z Released version 3.0.3 <ul> <li>composer: allows nette/utils 4.0</li> <li>constants are PascalCase</li> </ul> dg tag:github.com,2008:Repository/17693979/v3.0.2 2021-10-07T01:52:41Z Released version 3.0.2 <ul> <li>support for PHP 8.1</li> </ul> dg tag:github.com,2008:Repository/17693979/v3.0.1 2020-04-21T13:53:00Z Released version 3.0.1 <ul> <li>Container: component name may be number or null</li> <li>Container: added const NAME_REGEXP</li> <li>added .phpstorm.meta.php</li> <li>fixed bugs reported by PHPStan</li> </ul> <p>For the details you can have a look at the <a href="https://github.com/nette/component-model/compare/v3.0.0...v3.0.1">diff</a>.</p> dg tag:github.com,2008:Repository/17693979/v3.0.0 2019-04-03T21:53:22Z Released version 3.0.0 🎉 <h2>Features</h2> <ul> <li>requires PHP 7.1</li> <li>uses declare(strict_types=1)</li> <li>uses PHP 7.1 scalar and return type hints</li> <li>Component::monitor accepts callbacks</li> <li>added trait ArrayAccess</li> <li>Component: More informative message in case that name is not available (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395806699" data-permission-text="Title is private" data-url="https://github.com/nette/component-model/issues/5" data-hovercard-type="pull_request" data-hovercard-url="/nette/component-model/pull/5/hovercard" href="https://github.com/nette/component-model/pull/5">#5</a>)</li> </ul> <h2>Changes</h2> <ul> <li>Component::__construct($parent) is deprecated (BC break)</li> <li>Container::getComponents(): removed child-first option (BC break)</li> <li>Component: removed constructor (BC break)</li> <li>Container: name must be string, int is allowed via ArrayAccess (BC break)</li> <li>Component: attached() and detached() marked as deprecated in favor of monitoring callbacks</li> </ul> dg tag:github.com,2008:Repository/17693979/v2.4.0 2018-03-20T16:33:16Z Released version 2.4.0 <ul> <li>Component::monitor() accepts callbacks</li> <li>Component: attached() and detached() marked as deprecated in favor of monitoring callbacks</li> <li>added trait ArrayAccess</li> <li>Component::__construct($parent, $name) is deprecated (BC break)</li> </ul> dg tag:github.com,2008:Repository/17693979/v2.3.1 2017-09-14T06:51:57Z Released version 2.3.1 <ul> <li>supports PHP up to 7.2</li> <li>coding style: fixes, lowercase true/false/null</li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/return/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/return">@return</a> self -&gt; static</li> <li>composer: accepts nette 3.0</li> <li>renamed parameter $need -&gt; $throw</li> </ul> <p>For the details you can have a look at the <a href="https://github.com/nette/component-model/compare/v2.3.0...v2.3.1">diff</a>.</p> dg