/
UPGRADE
56 lines (40 loc) · 2.16 KB
/
UPGRADE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
_________________________
P H I N G
Upgrading to 2.4.0
------------------
This release of Phing contains numerous significant enhancements over
previous versions, such as new tasks (SSH, SCP, JsMin, SVN and many
more), documentation fixes and various bug fixes.
There were also some changes that might break backwards compatibility,
or change the behavior of Phing in such a way that requires changes
to your build file(s).
Backwards compatibility
-----------------------
This release drops or introduces functionality, which may have
impact on your build process and require changes to your build files:
* The way the "basedir" attribute (part of the "project" element in
a build file) has changed. Phing now uses the current directory
(getcwd()) to resolve relative base directories (such as ".").
When the attribute is not present, the parent directory of the
build file is used instead.
* PHPUnit2 compatibility is dropped, Phing now requires at least
PHPUnit 3.4 to run tests
* The way Phing treats symbolic links was changed. Phing now considers
symbolic links to be files, regardless of whether they point to an
existing file or directory. Consequently, directory operations on
symbolic links will fail.
* By default, Phing no longer automatically de-references symbolic
links. In other words, the CopyTask will now copy symbolic links
"as is", not duplicate the contents as with previous versions of Phing.
To emulate the old behavior, the <fileset> element now accepts the
boolean argument 'expandsymboliclinks'.
PEAR package
------------
This release splits the PEAR package in two packages, the existing
'phing' and the new (and optional) 'phingdocs'. The latter package
is listed as an optional dependency in the 'phing' package, and allows
installation on deployment/production machines without the additional
footprint of the documentation.
More information
----------------
For more information, please refer to the 'CHANGELOG' file.