Fabien Potencier
|
2862c6cce4
|
refactored configuration names
How to upgrade (have a look at the skeleton):
* the "web:config" namespace is now "app:config"
- <web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
- <web:router resource="%kernel.root_dir%/config/routing.xml" />
- <web:validation enabled="true" annotations="true" />
- </web:config>
+ <app:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
+ <app:router resource="%kernel.root_dir%/config/routing.xml" />
+ <app:validation enabled="true" annotations="true" />
+ </app:config>
* the "web:templating" namespace is now a sub-namespace of "app:config"
- <web:templating
- escaping="htmlspecialchars"
- />
+ <app:config>
+ <app:templating escaping="htmlspecialchars" />
+ </app:config>
* the "web:user" namespace is now a sub-namespace of "app:config"
- <web:user default-locale="fr">
- <web:session name="SYMFONY" type="Native" lifetime="3600" />
- </web:user>
+ <app:config>
+ <app:user default-locale="fr">
+ <app:session name="SYMFONY" type="Native" lifetime="3600" />
+ </app:user>
+ </app:config>
* the "web:test" namespace is now a sub-namespace of "app:config"
- <web:test />
+ <app:config error_handler="false">
+ <app:test />
+ </app:config>
* the "swift:mailer" namespace is now "swiftmailer:config"
- <swift:mailer
+ <swiftmailer:config
transport="smtp"
encryption="ssl"
auth_mode="login"
* the "zend:logger" namespace is now a sub-namespace of "zend:config"
- <zend:logger
- priority="info"
- path="%kernel.logs_dir%/%kernel.environment%.log"
- />
+ <zend:config>
+ <zend:logger priority="info" path="%kernel.logs_dir%/%kernel.environment%.log" />
+ </zend:config>
|
2010-09-20 21:08:18 +02:00 |
|
Fabien Potencier
|
d657adbfa2
|
removed Symfony\Framework
Things have been moved to Symfony\Component\HttpKernel
and Symfony\Bundle\FrameworkBundle
The kernel configuration namespace was removed and merged
with the main web configuration namespace (kernel:config => web:config,
kernel:test => web:test, and kernel:session => web:session):
Before:
<kernel:config charset="UTF-8" error_handler="null" />
<web:config csrf-secret="xxxxxxxxxx">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
After:
<web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
Renamed classes:
Symfony\{Framework => Bundle\FrameworkBundle}\Cache\Cache
Symfony\{Framework => Bundle\FrameworkBundle}\Client
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcher
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcherTraceableInterface
Symfony\{Framework => Bundle\FrameworkBundle}\EventDispatcher
Symfony\{Framework => Component\HttpFoundation}\UniversalClassLoader
Symfony\{Framework => Component\HttpKernel}\Bundle\Bundle
Symfony\{Framework => Component\HttpKernel}\Bundle\BundleInterface
Symfony\{Framework => Component\HttpKernel}\ClassCollectionLoader
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorException
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorHandler
Symfony\{Bundle\FrameworkBundle => Component\HttpKernel}\Debug\ExceptionListener
Symfony\{Framework => Component\HttpKernel}\Kernel
|
2010-09-17 12:58:24 +02:00 |
|
Fabien Potencier
|
72db4c7342
|
refactored Profiler and DataCollector classes (the WDT has been removed and will be re-added in the upcoming WebProfilerBundle)
|
2010-08-29 12:17:06 +02:00 |
|
Fabien Potencier
|
bf82cf42dd
|
renamed Symfony\Components to Symfony\Component
|
2010-08-20 23:09:55 +02:00 |
|
Fabien Potencier
|
955fd40dd8
|
moved Logger interfaces to a HttpKernel Log sub-namespace
|
2010-08-17 19:43:29 +02:00 |
|
Brandon Turner
|
84446fe0ec
|
[FrameworkBundle] Updated kernel test to create tmp directory on instantiation
|
2010-08-12 13:40:23 +02:00 |
|
Fabien Potencier
|
7b65956343
|
made classes compilation more configurable
|
2010-08-10 22:55:24 +02:00 |
|
Fabien Potencier
|
b8aa4361ad
|
[FrameworkBundle] fixed tests
|
2010-08-10 15:55:05 +02:00 |
|
Fabien Potencier
|
485400dd51
|
refactored the controller resolver (+ made a small routing optimization)
|
2010-08-09 15:21:59 +02:00 |
|
Fabien Potencier
|
3f270f5faa
|
[FrameworkBundle] added a skeleton for configuration in plain PHP
|
2010-07-20 16:34:40 +02:00 |
|
Fabien Potencier
|
c57cae7600
|
fixed test configuration and broken tests
|
2010-07-18 12:16:59 +02:00 |
|
Fabien Potencier
|
15d439809c
|
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
|
2010-07-09 10:25:52 +02:00 |
|