1.0.0.rc1
版本发布时间: 2016-03-06 18:32:39
capistrano/symfony最新发布版本:2.0.0(2019-12-07 23:58:57)
1.0.0.rc1
This release focuses on making the new directory structure for Symfony 3 available (and on by default).
Add the following to your deploy.rb
if you are using the old directory structure (and distribution bundle)
set :symfony_directory_structure, 2
set :sensio_distribution_version, 4
The Symfony console has been wrapped in a DSL method, to allow for more natural capistrano syntax when creating console based tasks.
Before:
namespace :deploy do
task :migrate do
invoke 'symfony:console', 'doctrine:migrations:migrate', '--no-interaction', 'db'
end
end
After
namespace :deploy do
task :migrate do
on roles(:db) do
symfony_console "doctrine:migrations:migrate", "--no-interaction"
end
end
end
https://github.com/capistrano/symfony/compare/0.4.0...1.0.0.rc1
- Use file permissions gem v1
- Symfony 3 directory structure is on by default
- Remove
use_set_permission
variable - Remove
web/uploads
as a default linked directory - Remove support for Assetic (see: https://github.com/symfony/symfony-standard/pull/860)
- Support SensioLabsDistributionBundle 5 (#49)
- Support Symfony 3 directory structure (#31)
-
build_bootstrap_path
is now a DSL method -
symfony_console
is now a DSL method (use instead ofinvoke "symfony:console"
) - Paths DSL file has been moved to
lib/capistrano/dsl/symfony.rb
- Deprecated
symfony:command
task has been removed -
webserver_user
variable has been removed (#40) - Various typo fixes
Contributors
Thanks to everyone who has filed an issue or submitted a fix
- @kriswallsmith
- @zaerl
- @sandermarechal
- @pborreli
- @wideawake
- @issei-m
- @alafon