开源的 PHP 框架,Symfony v2.3.42 v3.1.0 发布
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/2d72b21387185280a086dae66e632a36.png" /></p> <p>Symfony是一个基于MVC模式的面向对象的PHP5框架。Symfony允许在一个web应用中分离事务控制,服务逻辑和表示层。简单的模板功能symfony是一个开源的PHP Web框架。</p> <h2>更新日志</h2> <h3>v2.3.42</h3> <ul> <li>bug <a href="/misc/goto?guid=4958990992841035841">#18908</a> [DependencyInjection] force enabling the external XML entity loaders (xabbuh)</li> <li>bug <a href="/misc/goto?guid=4958990992952839974">#18893</a> [DependencyInjection] Skip deep reference check for 'service_container' (RobertMe)</li> <li>bug <a href="/misc/goto?guid=4958990993057574096">#18812</a> Catch Throwable (fprochazka)</li> <li>bug <a href="/misc/goto?guid=4958990993175062123">#18821</a> [Form] Removed UTC specification with timestamp (francisbesset)</li> <li>bug <a href="/misc/goto?guid=4958990993316795572">#18861</a> Fix for <a href="/misc/goto?guid=4958990993446252445">#18843</a> (inso)</li> <li>bug <a href="/misc/goto?guid=4958990993578195397">#18907</a> [Routing] Fix the annotation loader taking a class constant as a beginning of a class name (jakzal, nicolas-grekas)</li> <li>bug <a href="/misc/goto?guid=4958990993721785100">#18864</a> [Console][DX] Fixed ambiguous error message when using a duplicate option shortcut (peterrehm)</li> <li>bug <a href="/misc/goto?guid=4958990993847310900">#18844</a> [Yaml] fix exception contexts (xabbuh)</li> <li>bug <a href="/misc/goto?guid=4958990993986524970">#18840</a> [Yaml] properly handle unindented collections (xabbuh)</li> <li>bug <a href="/misc/goto?guid=4958990994120462855">#18839</a> People - person singularization (Keeo)</li> <li>bug <a href="/misc/goto?guid=4958990994256127981">#18828</a> [Yaml] chomp newlines only at the end of YAML documents (xabbuh)</li> <li>bug <a href="/misc/goto?guid=4958990994379436857">#18635</a> [Console] Prevent fatal error when calling Command::getHelper without helperSet (chalasr)</li> <li>bug <a href="/misc/goto?guid=4958990994512805969">#18761</a> [Form] Modified iterator_to_array's 2nd parameter to false in ViolationMapper (issei-m)</li> </ul> <p>警告:2.3.42是2.3分支的最后一个版本。如果某些项目仍然在使用这个版本,可以考虑尽快升级。如果您不能升级,SensioLabs提供了Symfony的2.3的扩展支持。 </p> <h3>v3.1.0</h3> <p><strong>New Components</strong></p> <ul> <li><strong>Cache</strong>: Symfony 3.1 comes with an implementation of the cache PSR (PSR-6). The new component is also automatically wired in FrameworkBundle and Symfony Standard Edition (nicolas-grekas) (<a href="/misc/goto?guid=4958990994645622180">17408</a>)</li> <li><strong>Inflector</strong> (move from the StringUtil class of PropertyAccess) (teohhanhui) (<a href="/misc/goto?guid=4958990994782294389">18260</a>)</li> </ul> <p><strong>LDAP</strong></p> <p>The LDAP component was introduced in Symfony 3.0 but marked as being internal. For Symfony 3.1, the component has been reworked from the ground up and it is not marked as being internal anymore:</p> <ul> <li>Improving the LDAP component (csarrazi) (<a href="/misc/goto?guid=4958990994904543000">17560</a>)</li> <li>Added the possibility to configure all available Ldap options for connection (csarrazi) (<a href="/misc/goto?guid=4958990995039034438">18725</a>)</li> <li>Check whether an entry attribute exists (hiddewie) (<a href="/misc/goto?guid=4958990995167295389">18492</a>)</li> <li>Added default service name for the Security component's Ldap providers (csarrazi) (<a href="/misc/goto?guid=4958990995301084756">18387</a>)</li> <li>Add write support for the Ldap component (csarrazi) (<a href="/misc/goto?guid=4958990995422442114">17817</a>)</li> </ul> <p><strong>YAML</strong></p> <p>The YAML component was one of the most active component during the 3.1 development phase with many improvements:</p> <ul> <li><strong>introduced flags to customize the parser behavior</strong> (xabbuh) (<a href="/misc/goto?guid=4958990995555861239">17730</a>)</li> <li>added support to dump non UTF-8 encoded strings as binary data (xabbuh) (<a href="/misc/goto?guid=4958990995689276415">18294</a>)</li> <li>added option to dump multi line strings as scalar blocks (xabbuh) (<a href="/misc/goto?guid=4958990995808801031">17943</a>)</li> <li>added option to dump objects as maps (xabbuh) (<a href="/misc/goto?guid=4958990995935302818">17728</a>)</li> <li>added support for parsing the !!binary tag (xabbuh) (<a href="/misc/goto?guid=4958990996052139870">17863</a>)</li> <li>added support to parse and dump DateTime objects (xabbuh) (<a href="/misc/goto?guid=4958990996176764553">17836</a>)</li> <li>deprecated starting plain scalars with characters (xabbuh) (<a href="/misc/goto?guid=4958990996285716587">17809</a>)</li> <li>added dumper flag for enabling exceptions on invalid type (xabbuh) (<a href="/misc/goto?guid=4958990996379097287">17743</a>)</li> <li>allowed dump customization option with dumper flags (xabbuh) (<a href="/misc/goto?guid=4958990996478228032">17578</a>)</li> <li>deprecated parsing the !!php/object tag (xabbuh) (<a href="/misc/goto?guid=4958990996584656142">17462</a>)</li> </ul> <p><strong>Process</strong></p> <ul> <li>implemented IteratorAggregate to stream output (nicolas-grekas) (<a href="/misc/goto?guid=4958990996668524767">18414</a>)</li> <li>added InputStream to seamlessly feed running processes (nicolas-grekas) (<a href="/misc/goto?guid=4958990996758642753">18386</a>)</li> <li>added support for Traversable input (nicolas-grekas) (<a href="/misc/goto?guid=4958990996841689822">18350</a>)</li> <li>allowed a callback whenever the output is disabled (romainneutron) (<a href="/misc/goto?guid=4958990996930384989">17427</a>)</li> </ul> <p><strong>Serializer</strong></p> <ul> <li>integrated the PropertyInfo Component (recursive denormalization and hardening) (mihai-stancu, dunglas) (<a href="/misc/goto?guid=4958990997012947051">17660</a>)</li> <li>made XmlEncoder load flags configurable (dunglas) (<a href="/misc/goto?guid=4958990997101760848">18036</a>)</li> <li>added a normalizer that support JsonSerializable objects (mcfedr) (<a href="/misc/goto?guid=4958990997176860906">17603</a>)</li> <li>added a MaxDepth option (dunglas) (<a href="/misc/goto?guid=4958990997269453349">17113</a>)</li> <li>added a data: URI normalizer (dunglas) (<a href="/misc/goto?guid=4958990997350425840">16164</a>)</li> <li>added a new DateTime normalizer (dunglas) (<a href="/misc/goto?guid=4958990997427184180">17411</a>)</li> </ul> <p><strong>Web Profiler</strong></p> <ul> <li>added forward and redirection detection in wdt (HeahDude) (<a href="/misc/goto?guid=4958990997513483220">17589</a>)</li> <li>added more information in the security profiler (javiereguiluz) (<a href="/misc/goto?guid=4958990997602367528">17887</a>)</li> <li>added status code to search form (oktapodia) (<a href="/misc/goto?guid=4958990997690002265">17125</a>)</li> <li>added HTTP return code in the Ajax request list table (kucharovic) (<a href="/misc/goto?guid=4958990997774011852">17540</a>)</li> </ul> <p><strong>Console</strong></p> <ul> <li>allowed to register commands privately (Ener-Getick) (<a href="/misc/goto?guid=4958990997854997803">18101</a>)</li> <li>added applicationTester support to test stdout and stderr (SpacePossum) (<a href="/misc/goto?guid=4958990997942210122">17255</a>)</li> <li>added non-auto column width functionality (akeeman) (<a href="/misc/goto?guid=4958990998021822509">17761</a>)</li> <li>added truncate method to FormatterHelper (mheki) (<a href="/misc/goto?guid=4958990998114588214">16652</a>)</li> </ul> <p><strong>HttpKernel</strong></p> <ul> <li>deprecated passing objects as URI attributes to the ESI and SSI renderers (jakzal) (<a href="/misc/goto?guid=4958990998192401809">17611</a>)</li> <li>added the kernel.controller_arguments event (stof) (<a href="/misc/goto?guid=4958990998275291072">18440</a>)</li> <li>added an ArgumentResolver with clean extension point (iltar, HeahDude) (<a href="/misc/goto?guid=4958990998364338155">18308</a>)</li> </ul> <p><strong>Form</strong></p> <ul> <li>optimized LazyChoiceList and DoctrineChoiceLoader (HeahDude) (<a href="/misc/goto?guid=4958990998448364053">18359</a>)</li> <li>deprecated form types as services (HeahDude) (<a href="/misc/goto?guid=4958990998527734830">18356</a>)</li> <li>deprecated the "choices_as_values" option of ChoiceType (nicolas-grekas) (<a href="/misc/goto?guid=4958990998616816347">16994</a>)</li> </ul> <p><strong>Security</strong></p> <ul> <li>use auth trust resolver to determine anonymous in ContextListener (WouterJ) (<a href="/misc/goto?guid=4958990998710184694">18211</a>)</li> <li>added new TargetPathTrait to get/set the authentication "target_path" (weaverryan) (<a href="/misc/goto?guid=4958990998782035247">17714</a>)</li> </ul> <p><strong>Miscellaneous</strong></p> <ul> <li>added "disabled" mode to SYMFONY_DEPRECATIONS_HELPER (nicolas-grekas) (<a href="/misc/goto?guid=4958990998864494348">18232</a>)</li> <li>added mock DNS functions to PhpUnitBridge (nicolas-grekas) (<a href="/misc/goto?guid=4958990998962902532">18181</a>)</li> <li>deprecated absolute template paths (jakzal) (<a href="/misc/goto?guid=4958990999087076738">18034</a>)</li> <li>added strict image validation (Koc) (<a href="/misc/goto?guid=4958990999199194652">17458</a>)</li> <li>added calls support for debug:container (JhonnyL) (<a href="/misc/goto?guid=4958990999315243371">18416</a>)</li> <li>improved debug:container command (voronkovich) (<a href="/misc/goto?guid=4958990999461020361">17726</a>)</li> <li>added support for sending raw cookies in the response (jakzal) (<a href="/misc/goto?guid=4958990999580085321">18105</a>)</li> <li>added Controller::json method to make it easy to send json (mcfedr) (<a href="/misc/goto?guid=4958990999708086361">17642</a>)</li> <li>added a format option to the DateTime constraint (dosten) (<a href="/misc/goto?guid=4958990999833771562">17553</a>)</li> <li>abstracted URI logic and added crawl images to DomCrawler (valeriangalliat) (<a href="/misc/goto?guid=4958990999957936169">17585</a>)</li> <li>added version as service for assets (ewgRa) (<a href="/misc/goto?guid=4958991000086296268">17532</a>)</li> <li>added flags to VarDumper to allow fine tuning of dump representations (nicolas-grekas) (<a href="/misc/goto?guid=4958991000224663732">17305</a>)</li> <li>allowed to get all the mime types associated to a format in the Request (Ener-Getick) (<a href="/misc/goto?guid=4958991000358732472">17318</a>)</li> </ul> <h2>下载</h2> <h3>v2.3.42</h3> <ul> <li><a href="/misc/goto?guid=4958991000484410976" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991000622839008" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <h3>v3.1.0</h3> <ul> <li><a href="/misc/goto?guid=4958991000738747067" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991000868226159" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul>