Skip to content

Latest commit

 

History

History
1492 lines (1327 loc) · 109 KB

CHANGELOG.md

File metadata and controls

1492 lines (1327 loc) · 109 KB

P H I N G

Mar. 23, 2018 - Phing 3.0.0 alpha 1

The following issues were closed in this release:

  • fixed typos in error messages #888
  • Refactor SassTask tests #882
  • The is_executable check in the Which method when run on Windows is unnecessary. #880
  • Fixed #712 #879
  • Added missing method DataType::getDataTypeName() #864
  • Removed unused methods in StringHelper #863
  • Fixed ConsoleInputHandler for symfony 4 #862
  • Fixed regression test 309 for win #860
  • Fixed FileUtils::contentEquals #859
  • ConsoleInputHandler isn't Symfony 4 compatible #858
  • Added multiple property file inclusion. #856
  • Fixed wrong init value #855
  • Fixed FatalError in ZendGuardFileSet #854
  • Optimized api build file #852
  • Fixed grammar for phpdoc2 task. #851
  • Removed more include statements #850
  • Removed includes/requires from test sources. #849
  • Removed unused ident #846
  • Added SvnProp* tasks #845
  • Updated supported php version #844
  • Added ClasspathAware trait. #843
  • Get rid of FunctionParam class. #842
  • Added selectors to the grammar file. #841
  • Removed hhvm build from travis - added php nightly #839
  • Removed unused methods. #838
  • Fixed method call on duplicated targets. #837
  • Removed includes for phing own classes #836
  • Removed IterableFileSet #835
  • Removed settings of deprecated ini options #834
  • Simplified Character::isLetter() #833
  • Made DateSelector::setMillis() public #832
  • Improved error/exception reporting in Task::perform() #831
  • Added public setter/getter to reference object. #830
  • Target attrib of PhingTask must not be empty. #827
  • Included Listener/Logger chapter in master.xml #822
  • Updated documentation - FileSyncTask #820
  • Fixed call to a private member var. #819
  • Fixed exclude/include groups for phpunit 6. #818
  • Git branch #817
  • GitBranchTask failes with git >= 2.15.0 #816
  • Fixed composer install issue #815
  • Bump minimum PHP version to 7.0+ #813
  • PharPackageTask wrong format of path in webstub and/or clistub when building on Windows #809
  • Cannot make work PHPUnit 6 #802
  • Can't install dev-master version using Composer #799
  • Fixed generation of html reportfiles. #798
  • Init feature #796
  • Added type aware traits. #783
  • Added regex attrib to the filename selector. #782
  • Added casesensitive and handledirsep attribs to the regexp mapper. #781
  • Added casesensitive and handledirsep attribs to the glob mapper. #780
  • Added multline attribute to containsregexp selector. #779
  • Added negate, regexp, casesensitive attribs to linecontainsregexp filter #778
  • Added negate attribute to the linecontains filter. #777
  • Fixed log method - HttpGetTask. #771
  • Added stopwatch name to log output. #767
  • feature request: stopwatch should show name as well #765
  • stopwatch includes autoloader #764
  • Fix: php.ini variable evaluation and "Notice: A non well formed numeric value encountered" #761
  • Added ability logging exceptions. #760
  • Added location setting to all task defined. #759
  • Added DependSet task. #757
  • Added FileList support to the TouchTask #756
  • Added osfamily attribute to ExecTask #755
  • Fixed usage of filelist if PathConvert uses a reference. #754
  • Superseded #302 Remove S3 PEAR dependency #748
  • Added relentless task. #746
  • StatisticsListener #744
  • Default exclude task #740
  • Fixed PropertyConditions behavior. #739
  • Fixed deprecated function calls. #737
  • SCA with Php Inspections (EA Extended) #731
  • Added PHPLoc ^4 support. #729
  • PHPLoc Task: Wrong class name in CSV Formatter #725
  • PHPLoc task Wrong class name for XML Logger class #724
  • HttpRequestTask doesn't support POST application/json #715
  • SassTask: Consider removing/embeding the dependency on Pear::System #710
  • Parallel Task: Call to a member function push() on null in ... Manager.php:237 #706
  • Dynamic path for composer task #701
  • patchTask not shell escaping file paths #693
  • Relative Symlinks #684
  • NullPointerException when phploc is used without a formatter #683
  • Always interpret basedir as relative to project's root #668
  • phpunit task is not compatible with PHPUnit 6.0 #659
  • symfony/yaml dependency improvemnt #658
  • Deprecate the PEAR channel #657
  • Making phing compatible with phive (https://phar.io) #633
  • Phing Strict Build Mode #626
  • Adding 0 and 1 strings as true and false values in StringHelper. #590
  • PHPUnitReportTask fails with XSLTProcessor::importStylesheet() unable to read phar:/usr/local/bin/phing/etc/str.replace.function.xsl (Trac #1240) #584
  • Unit test for various Git and SVN related tasks fails if locale is not 'en' or 'C' (Trac #1213) #577
  • Phingcall should have the options returnProperty (Trac #1209) #576
  • add task for git archive or git checkout-index (Trac #1182) #573
  • Error overwriting symlinks on copy or move (Trac #1096) #562
  • Support in chmod, chown, delete, echo, copy, foreach and move tasks (Trac #1026) #559
  • ComposerTask when composer is installed in the system (Trac #1008) #558
  • phing should get a strict mode (Trac #918) #554
  • Add 'hide input' attribute to InputTask (Trac #885) #553
  • Find build.xml file in parent directory tree (Trac #864) #551
  • includePath using project.basedir is failing under certain conditions (Trac #586) #537
  • Properties not being set on subsequent sets. (Trac #511) #535
  • Build Progress Bar (Trac #305) #532
  • Document that in a FileSet include/exclude "foo/" means "foo/**" #367
  • Make basedir property (including its default value) a path relative to the buildfile #358
  • Remove S3 PEAR dependency #302
  • Consider the strings "1" and "0" to be true and false, respectively. #261
  • Phing Strict Build Mode #159

The following pull requests were merged in this release:

  • fixed typos in error messages #888
  • Refactor SassTask tests #882
  • The is_executable check in the Which method when run on Windows is unnecessary. #880
  • Fixed #712 #879
  • Added missing method DataType::getDataTypeName() #864
  • Removed unused methods in StringHelper #863
  • Fixed ConsoleInputHandler for symfony 4 #862
  • Fixed regression test 309 for win #860
  • Fixed FileUtils::contentEquals #859
  • Added multiple property file inclusion. #856
  • Fixed wrong init value #855
  • Fixed FatalError in ZendGuardFileSet #854
  • Optimized api build file #852
  • Fixed grammar for phpdoc2 task. #851
  • Removed more include statements #850
  • Removed includes/requires from test sources. #849
  • Removed unused ident #846
  • Added SvnProp* tasks #845
  • Updated supported php version #844
  • Added ClasspathAware trait. #843
  • Get rid of FunctionParam class. #842
  • Added selectors to the grammar file. #841
  • Removed hhvm build from travis - added php nightly #839
  • Removed unused methods. #838
  • Fixed method call on duplicated targets. #837
  • Removed includes for phing own classes #836
  • Removed IterableFileSet #835
  • Removed settings of deprecated ini options #834
  • Simplified Character::isLetter() #833
  • Made DateSelector::setMillis() public #832
  • Improved error/exception reporting in Task::perform() #831
  • Added public setter/getter to reference object. #830
  • Target attrib of PhingTask must not be empty. #827
  • Included Listener/Logger chapter in master.xml #822
  • Updated documentation - FileSyncTask #820
  • Fixed call to a private member var. #819
  • Fixed exclude/include groups for phpunit 6. #818
  • Git branch #817
  • Fixed composer install issue #815
  • Fixed generation of html reportfiles. #798
  • Added type aware traits. #783
  • Added regex attrib to the filename selector. #782
  • Added casesensitive and handledirsep attribs to the regexp mapper. #781
  • Added casesensitive and handledirsep attribs to the glob mapper. #780
  • Added multline attribute to containsregexp selector. #779
  • Added negate, regexp, casesensitive attribs to linecontainsregexp filter #778
  • Added negate attribute to the linecontains filter. #777
  • Fixed log method - HttpGetTask. #771
  • Added stopwatch name to log output. #767
  • Fix: php.ini variable evaluation and "Notice: A non well formed numeric value encountered" #761
  • Added ability logging exceptions. #760
  • Added DependSet task. #757
  • Added FileList support to the TouchTask #756
  • Added osfamily attribute to ExecTask #755
  • Fixed usage of filelist if PathConvert uses a reference. #754
  • Superseded #302 Remove S3 PEAR dependency #748
  • Added relentless task. #746
  • StatisticsListener #744
  • Default exclude task #740
  • Fixed PropertyConditions behavior. #739
  • Fixed deprecated function calls. #737
  • SCA with Php Inspections (EA Extended) #731
  • Added PHPLoc ^4 support. #729
  • Dynamic path for composer task #701
  • Phing Strict Build Mode #626
  • Adding 0 and 1 strings as true and false values in StringHelper. #590
  • Document that in a FileSet include/exclude "foo/" means "foo/**" #367
  • Make basedir property (including its default value) a path relative to the buildfile #358

Jan. 25, 2018 - Phing 2.16.1

This patch release fixes the following issue:

  • Allow Symfony 4 #807

Dec. 22, 2016 - Phing 2.16.0

This release contains the following new or improved functionality:

  • Append, Property, Sleep, Sonar and Truncate tasks
  • Improved PHP 7.1 compatibility
  • Various typo and bug fixes, documentation updates

This release will most likely be the last minor update in the 2.x series. Phing 3.x will drop support for PHP < 5.6.

The following issues were closed in this release:

  • phing should get a strict mode (Trac #918) #554
  • Can not delete git folders on windows (Trac #956) #556
  • Relative symlinks (Trac #1124) #567
  • Tests fail under windows (Trac #1215) #578
  • stripphpcomments matches links in html (Trac #1219) #579
  • OS detection fails on OSX (Trac #1227) #581
  • JsHintTask fails when reporter attribute is not set (Trac #1230) #582
  • An issue with 'file' attribute of 'append' task (v2.15.1) #595
  • An issue with 'append' task when adding a list of files in a directory (v2.15.1) #597
  • Git auto modified file with phing vendor #613
  • phar file not working - \Symfony\Component\Yaml\Parser' not found #614
  • JSHint - Support of specific config file path #615
  • PHP notice on 7.1: A non well formed numeric value encountered #622
  • Sass task fails when PEAR is not installed #624
  • sha-512 hash for phing-latest.phar #629

Oct. 13, 2016 - Phing 2.15.2

This release fixes a regression introduced in 2.15.1:

  • #593 - Changed behavior in filtering in 2.15.1

Oct. 11, 2016 - Phing 2.15.1

This release fixes a missing include and two bugs:

Sep. 14, 2016 - Phing 2.15.0

This release contains the following new or improved functionality:

  • PHP 7.0 compatibility was improved
  • Phing grammar was updated
  • Tasks to work with Mercurial were added
  • Various typo and bug fixes, documentation updates

The following tickets were closed in this release:

Mar. 10, 2016 - Phing 2.14.0

This release contains the following new or improved functionality:

  • Phing can now emit a specific status code on exit after failing
  • Added IsPropertyTrue/IsPropertyFalse conditions
  • Added IsWritable / IsReadable selectors
  • Added GitDescribe task
  • Added CutDirs mapper
  • Line breaks in property files on Windows machines fixed
  • FileSync task now supports excluding multiple files/directories
  • Various typo and bug fixes, documentation updates

The following tickets were closed in this release:

Dec. 4, 2015 - Phing 2.13.0

This release contains the following new or improved functionality:

  • '-listener' command line argument
  • SSL connections in FtpDeploy task
  • IsFailure condition
  • Crap4J PHPUnit formatter
  • FirstMatch mapper
  • PhpArrayMapLines filter
  • NotifySend, Attrib tasks
  • Json and Xml command line loggers
  • Property parser now supports YAML files
  • PHPUnit 5.x supported
  • PHP 7 fixes
  • Updated Apigen support
  • PhpCodeSniffer task can now populate a property with used sniffs
  • PHPMD and PhpCodeSniffer task can now cache results to speed up subsequent runs
  • Various typo and bug fixes, documentation updates

The following tickets were closed in this release:

Aug. 24, 2015 - Phing 2.12.0

This release contains the following new or improved functionality:

  • Retry, Tempfile, Inifile tasks
  • 'keepgoing' command line mode
  • Fileset support in the Import task
  • EscapeUnicode, Concat filters
  • Profile logger
  • Composite mapper
  • Various typo and bug fixes

The following tickets were closed in this release:

May 20, 2015 - Phing 2.11.0

This release contains the following new or improved functionality:

  • PharData and EchoProperties tasks
  • 'silent' and 'emacs' command line modes
  • Improvements to FileHash and FtpDeploy tasks
  • SuffixLines and Sort filters

The following tickets were closed in this release:

Feb. 19, 2015 - Phing 2.10.1

This release fixes the following tickets:

Feb. 9, 2015 - Phing 2.10.0

This release contains the following new or improved functionality:

  • 'user.home' property on Windows fixed
  • Various documentation updates
  • Added support for listeners configured via phpunit.xml config
  • Basename task
  • Dirname task
  • Diagnostics task
  • FilesMatch condition
  • HasFreeSpace condition
  • PathToFileSet task
  • PhingVersion task/condition
  • PropertyRegex task
  • Recorder task
  • Socket condition
  • Xor condition

The following tickets were closed in this release:

Dec. 3, 2014 - Phing 2.9.1

This releases fixes a Windows regression and adds the following new functionality:

  • Http condition
  • Switch task
  • Throw task

The following tickets were closed in this release:

Nov. 25, 2014 - Phing 2.9.0

This release contains the following new or improved functionality:

  • Phing now supports HHVM
  • Stopwatch task added
  • Unit test coverage increased
  • Source code formatted to PSR-2
  • Various bugs and documentation errors fixed

Additionally, the following Trac tickets (see www.phing.info) were fixed in this release:

Jul. 18, 2014 - Phing 2.8.2

This patch release fixes two regressions.

Jul. 1, 2014 - Phing 2.8.1

This patch release fixes a regression preventing Phing from being used on machines where PEAR is not installed, as well as another (unrelated) issue.

Jun. 30, 2014 - Phing 2.8.0

New or improved functionality:

  • The rsync task can now handle remote connections without specifying a username
  • The rsync task now creates remote directories as needed by default
  • Support for PHP MD 2.*
  • Various tasks now support dependencies loaded through composer
  • AutoloaderTask added
  • Various bugs and documentation errors fixed

Additionally, the following Trac tickets (see www.phing.info) were fixed in this release:

Feb. 13, 2014 - Phing 2.7.0

New or improved functionality:

  • Support for PHP CodeSniffer 1.5, PHP Copy&Paste Detector 2.0 and PHPLOC 2.0
  • Composer support for PHPCPD and PhpDocumentor tasks
  • Fixed / improved error handling in various places
  • More unit / regression tests added
  • Various bugs and documentation errors fixed

Additionally, the following Trac tickets (see www.phing.info) were fixed in this release:

Aug. 27, 2013 - Phing 2.6.1

This patch release fixes a regression when setting properties in then/else blocks.

Note: the fix currently disables support for custom conditions, full support will be restored in Phing 2.7.0.

Aug. 21, 2013 - Phing 2.6.0

New or improved functionality:

  • Docbook5 documentation is now the main documentation; output targets are 'hlhtml', 'chunkhtml', 'hlpdf', 'epub' and 'webhelp'
  • HttpRequest task supports POST request
  • PharPackage task supports PKCS#12 certificate stores
  • WikiPublish task was added
  • Smarty task is now compatible with Smarty 3
  • A new logger 'TargetLogger' was added, displaying the execution time for each target
  • Composer task and package were updated
  • More unit / regression tests added
  • Various bugs and documentation errors fixed

Additionally, the following Trac tickets (see www.phing.info) were fixed in this release:

Feb. 16, 2013 - Phing 2.5.0

This release addresses the following issues:

Nov. 29, 2012 - Phing 2.4.14

This release addresses the following issues:

Starting from this version, Phing releases and release numbers will follow the Semantic Versioning (www.semver.org) principle.

Nov. 20, 2012 - Phing 2.4.13

This release updates the composer package, adds a phploc task and improved support for phpDocumentor 2 and IonCube 7, improves the unit tests, clarifies the documentation in a number of places, and addresses the following issues:

Apr. 6, 2012 - Phing 2.4.12

Apr. 4, 2012 - Phing 2.4.11

Apr. 3, 2012 - Phing 2.4.10

Dec. 29, 2011 - Phing 2.4.9

Nov. 2, 2011 - Phing 2.4.8

Aug. 19, 2011 - Phing 2.4.7.1

This is a hotfix release.

Aug. 18, 2011 - Phing 2.4.7

This release fixes and improves several tasks (particularly the DocBlox task), adds OCI/ODBC support to the dbdeploy task and introduces a task to render reStructuredText.

Jul. 12, 2011 - Phing 2.4.6

This release fixes a large number of issues, improves a number of tasks and adds several new tasks (SVN log/list, DocBlox and LoadFile).

Mar. 3, 2011 - Phing 2.4.5

This release fixes several issues, and reverts the changes that introduced the ComponentHelper class.

Dec. 2, 2010 - Phing 2.4.4

This release fixes several issues.

Nov. 12, 2010 - Phing 2.4.3

This release adds tasks to interface with Git and Amazon S3, adds support for PHPUnit 3.5, and fixes numerous issues.

Jul. 28, 2010 - Phing 2.4.2

Mar. 10, 2010 - Phing 2.4.1

Jan. 17, 2010 - Phing 2.4.0

Dec. 17, 2009 - Phing 2.4.0 RC3

Oct. 20, 2009 - Phing 2.4.0 RC2

Sep. 14, 2009 - Phing 2.4.0 RC1

Dec. 8, 2008 - Phing 2.3.3

Oct. 16, 2008 - Phing 2.3.2

Oct. 16, 2008 - Phing 2.3.1

Nov. 3, 2007 - Phing 2.3.0

Aug. 21, 2006 - Phing 2.2.0

  • Refactored parser to support many tags as children of base tag (HL)
  • Added new IfTask (HL)
  • Added "spawn" attribute to ExecTask (only applies to *nix)
  • Several bugfixes & behavior imporvements to ExecTask (HL, MR, Ben Gollmer)
  • Bugfixes & refactoring for SVNLastRevisionTask (MR, Knut Urdalen)
  • Fixed reference copy bug (HL, Matthias Pigulla)
  • Added SvnExportTask (MR)
  • Added support for FileList in DeleteTask. (HL)
  • Added support for using setting Properties using CDATA value of tag. (HL)
  • Added ReferenceExistsCondition (Matthias Pigulla)
  • Added Phing::log() static method & integrated PHP error handling with Phing logging (HL)
  • Added new task to run the ionCube Encoder (MR)
  • Added new HTML Tidy filter (HL)
  • Added PhpLintTask (Knut Urdalen)
  • Added XmlLintTask (Knut Urdalen)
  • Added ZendCodeAnalyzerTask (Knut Urdalen)
  • Removed CoverageFormatter class (MR). NOTE: This changes the usage of the collection of PHPUnit2 code coverage reports, see the updated documentation for the CoverageSetupTask
  • Added Unzip and Untar tasks contributed by Joakim Bodin
  • [https://www.phing.info/trac/ticket/8], [49] Fixed bugs in TarTask related to including empty directories (HL)
  • [https://www.phing.info/trac/ticket/44] Fixed bug related to copying empty dirs. (HL)
  • [https://www.phing.info/trac/ticket/32] Fixed PHPUnit2 tasks to work with PHPUnit2-3.0.0 (MR)
  • [https://www.phing.info/trac/ticket/31] Fixed bug with using PHPDocumentor 1.3.0RC6 (MR)
  • [https://www.phing.info/trac/ticket/43] Fixed top-level (no target) IfTask behavior (Matthias Pigulla)
  • [https://www.phing.info/trac/ticket/41] Removed some lingering E_STRICT errors, bugs with 5.1.x and PHP >= 5.0.5 (HL)
  • [https://www.phing.info/trac/ticket/25] Fixed 'phing' script to also run on non-bash unix /bin/sh
  • Numerous documentation improvements by many members of the community (Thanks!)

Sept. 18, 2005 - Phing 2.1.1

  • Added support for specifying 4-char mask (e.g. 1777) to ChmodTask. (Hans Lellelid)
  • Added .svn files to default excludes in DirectoryScanner.
  • Updated PHPUnit2 BatchTest to use class detection and non-dot-path loader. (Michiel Rook)
  • Added support for importing non dot-path files (Michiel Rook)
  • Add better error message when build fails with exception (Hans Lellelid)
  • Fixed runtime error when errors were encountered in AppendTask (Hans Lellelid)

June 17, 2005 - Phing 2.1.0

Oct 16, 2004 - Phing 2.0.0

  • Minor fixes to make Phing run under E_STRICT/PHP5.
  • Fix to global/system properties not being set in project. (Matt Zandstra)
  • Fixes to deprecated return by reference issues w/ PHP5.0.0

June 8, 2004 - Phing 2.0.0b3

  • Brought up-to-date w/ PHP5.0.0RC3
  • Fixed several bugs in ForeachTask
  • Fixed runtime errors and incomplete inheriting of properties in PhingTask
  • Added support to AppendTask

March 19, 2004 - Phing 2.0.0b2

  • Brought up-to-date w/ PHP5.0.0RC1 (Hans)
  • Fixed bug in seting XSLT params using XSLTask (Hans, Jeff Moss)
  • Fixed PHPUnit test framework for PHPUnit-2.0.0alpha3
  • Added "Adhoc" tasks, which allow for defining PHP task or type classes within the buildfile. (Hans)
  • Added PhpEvalTask which allows property values to be set to simple PHP evaluations or the results of function/method calls. (Hans)
  • Added new phing.listener.PearLogger listener (logger). Also, the -logfile arg is now supported. (Hans)
  • Fixed broken ForeachTask task. (Manuel)

Dec 24, 2003 - Phing 2.0.0b1

  • Added PEAR installation framework & ability to build Phing into PEAR package.
  • Added TarTask using PEAR Archive_Tar
  • Added PearPackageTask which creates a PEAR package.xml (using PEAR_PackageFileManager).
  • Added ResolvePathTask which converts relative paths into absolute paths.
  • Removed System class, due to namespace collision w/ PEAR.
  • Basic "working?" tests performed with all selectors.
  • Added selectors: TypeSelector, ContainsRegexpSelector
  • CreoleSQLExec task is now operational.
  • Corrected non-fatal bugs in: DeleteTask, ReflexiveTask
  • All core Phing classes now in PHP5 syntax (no "var" used, etc.)
  • CopyTask will not stop build execution if a file cannot be copied (will log and continue to next file).
  • New abstract MatchingTask task makes it easier to create your own tasks that use selectors.
  • Removed redundant calls in DirectoryScanner ( scanning now much faster).
  • Fixed fatal errors in File::equals()

Nov 24, 2003 - Phing 2.0.0a2

  • Fixed ReplaceTokens filter to correctly replace matched tokens
  • Changed "project.basedir" property to be absolute path of basedir
  • Made IntrospectionHelper more tollerant of add*() and addConfigured*() signatures
  • New CvsTask and CvsPassTask for working with CVS repositories
  • New TranslateGettext filter substitutes _("hello!") with "hola!" / "bonjour!" / etc.
  • More consistent use of classhints to enable auto-casting by IntrospectionHelper
  • Fixed infinite loop bug in FileUtils::normalize() for paths containing "/./"
  • Fixed bug in CopyFile/fileset that caused termination of copy operation on encounter of unreadable file

Nov 6, 20003 - Phing 2.0.0a1

  • First release of Phing 2, an extensive rewrite and upgrade.
  • Refactored much of codebase, using new PHP5 features (e.g. Interfaces, Exceptions!)
  • Many, many, many bugfixes to existing functionality
  • Restructuring for more intuitive directory layout, change the parser class names.
  • Introduction of new tasks: AppendTask, ReflexiveTask, ExitTask, Input, PropertyPrompt
  • Introduction of new types: Path, FileList, DirSet, selectors, conditions
  • Introduction of new filters: ReplaceRegexp
  • Introduction of new logger: AnsiColorLogger
  • Many features from ANT 1.5 added to existing Tasks/Types
  • New "Register Slot" functionality allows for tracking "inner" dynamic variables.