Mercurial > repos > other > Puppet
diff modules/php/CHANGELOG.md @ 386:3fce34f642f1
Add a PHP module to handle platform differences
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 03 Jan 2022 17:09:39 +0000 |
parents | |
children | adf6fe9bbc17 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/php/CHANGELOG.md Mon Jan 03 17:09:39 2022 +0000 @@ -0,0 +1,526 @@ +# Changelog + +All notable changes to this project will be documented in this file. +Each new release typically also includes the latest modulesync defaults. +These should not affect the functionality of the module. + +## [v8.0.2](https://github.com/voxpupuli/puppet-php/tree/v8.0.2) (2021-09-05) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v8.0.1...v8.0.2) + +**Fixed bugs:** + +- Allow 0 for pm\_start\_servers [\#642](https://github.com/voxpupuli/puppet-php/pull/642) ([jkroepke](https://github.com/jkroepke)) + +## [v8.0.1](https://github.com/voxpupuli/puppet-php/tree/v8.0.1) (2021-08-27) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v8.0.0...v8.0.1) + +**Fixed bugs:** + +- Allow empty string for setting value [\#640](https://github.com/voxpupuli/puppet-php/pull/640) ([smortex](https://github.com/smortex)) + +**Closed issues:** + +- String\[1\] forbids empty php::settings value [\#639](https://github.com/voxpupuli/puppet-php/issues/639) + +## [v8.0.0](https://github.com/voxpupuli/puppet-php/tree/v8.0.0) (2021-08-26) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v7.1.0...v8.0.0) + +**Breaking changes:** + +- Drop EOL FreeBSD 9 and 10 from metadata.json [\#591](https://github.com/voxpupuli/puppet-php/issues/591) +- Drop Debian 9/Ubuntu 16.04 support [\#636](https://github.com/voxpupuli/puppet-php/pull/636) ([root-expert](https://github.com/root-expert)) +- Drop support for Puppet 5 \(EOL\) [\#631](https://github.com/voxpupuli/puppet-php/pull/631) ([smortex](https://github.com/smortex)) +- Drop support for RedHat 6 / CentOS 6 \(EOL\) [\#630](https://github.com/voxpupuli/puppet-php/pull/630) ([smortex](https://github.com/smortex)) +- Drop EOL Debian 7/8 & Ubuntu 12/14 [\#592](https://github.com/voxpupuli/puppet-php/pull/592) ([bastelfreak](https://github.com/bastelfreak)) + +**Implemented enhancements:** + +- Add/Fix data types of all parameters [\#634](https://github.com/voxpupuli/puppet-php/pull/634) ([smortex](https://github.com/smortex)) +- Add support for Debian 11 [\#633](https://github.com/voxpupuli/puppet-php/pull/633) ([smortex](https://github.com/smortex)) +- Add support for Puppet 7 [\#632](https://github.com/voxpupuli/puppet-php/pull/632) ([smortex](https://github.com/smortex)) +- Add PHP 8 Support [\#627](https://github.com/voxpupuli/puppet-php/pull/627) ([bratucornel](https://github.com/bratucornel)) +- puppet/archive: allow 5.x [\#620](https://github.com/voxpupuli/puppet-php/pull/620) ([bastelfreak](https://github.com/bastelfreak)) +- php::globals: support Ubuntu 20.04 that ships php 7.4 [\#599](https://github.com/voxpupuli/puppet-php/pull/599) ([simondeziel](https://github.com/simondeziel)) +- php-fpm: Make service reload/restart configurable [\#598](https://github.com/voxpupuli/puppet-php/pull/598) ([bastelfreak](https://github.com/bastelfreak)) +- Add apparmor\_hat support to php::fpm::pool [\#524](https://github.com/voxpupuli/puppet-php/pull/524) ([simondeziel](https://github.com/simondeziel)) + +**Closed issues:** + +- remove puppet 5 support, introduce puppet 7 support [\#616](https://github.com/voxpupuli/puppet-php/issues/616) +- php reloading on each run [\#613](https://github.com/voxpupuli/puppet-php/issues/613) +- Is it possible to ensure the fpm service from hiera? [\#609](https://github.com/voxpupuli/puppet-php/issues/609) +- Restart service 'php-fpm' if socket owner / group changes [\#596](https://github.com/voxpupuli/puppet-php/issues/596) +- Support for Ondřej Surýs PPA on Ubuntu 18.04 [\#586](https://github.com/voxpupuli/puppet-php/issues/586) +- Unused variable 'log\_group\_final' [\#568](https://github.com/voxpupuli/puppet-php/issues/568) +- New Release 7.0.0+ ? [\#562](https://github.com/voxpupuli/puppet-php/issues/562) +- undesired service restart due to missing /var/run/php-fpm dir [\#501](https://github.com/voxpupuli/puppet-php/issues/501) +- New Release after Ubuntu 18.04 support is added? [\#442](https://github.com/voxpupuli/puppet-php/issues/442) +- Deprecate mayflower/php in favor for voxpupuli/php [\#348](https://github.com/voxpupuli/puppet-php/issues/348) + +**Merged pull requests:** + +- Allow up-to-date dependencies [\#635](https://github.com/voxpupuli/puppet-php/pull/635) ([smortex](https://github.com/smortex)) +- Update dependencies [\#629](https://github.com/voxpupuli/puppet-php/pull/629) ([saz](https://github.com/saz)) +- Remove duplicate mysqlnd from example in README [\#574](https://github.com/voxpupuli/puppet-php/pull/574) ([saz](https://github.com/saz)) +- remove www pool from defaults [\#572](https://github.com/voxpupuli/puppet-php/pull/572) ([bovy89](https://github.com/bovy89)) +- Cleanup fpm config class [\#570](https://github.com/voxpupuli/puppet-php/pull/570) ([paescuj](https://github.com/paescuj)) + +## [v7.1.0](https://github.com/voxpupuli/puppet-php/tree/v7.1.0) (2020-05-05) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v7.0.0...v7.1.0) + +**Implemented enhancements:** + +- add ability to define composer update channel [\#571](https://github.com/voxpupuli/puppet-php/pull/571) ([CyberLine](https://github.com/CyberLine)) +- add pool\_purge option to init.pp [\#557](https://github.com/voxpupuli/puppet-php/pull/557) ([bovy89](https://github.com/bovy89)) +- Improve package prefix selection on FreeBSD [\#552](https://github.com/voxpupuli/puppet-php/pull/552) ([oxc](https://github.com/oxc)) + +**Fixed bugs:** + +- Fix enabling of zend extensions [\#567](https://github.com/voxpupuli/puppet-php/pull/567) ([coreyralph](https://github.com/coreyralph)) +- Fix running apt update on Debian family [\#554](https://github.com/voxpupuli/puppet-php/pull/554) ([Hexta](https://github.com/Hexta)) +- Do a `deep` merge on `fpm` lookup [\#550](https://github.com/voxpupuli/puppet-php/pull/550) ([sigv](https://github.com/sigv)) + +**Closed issues:** + +- mod 'puppetlabs-inifile', '4.1.0' [\#566](https://github.com/voxpupuli/puppet-php/issues/566) +- Fpm config results in "expects a Hash value, got Tuple" [\#536](https://github.com/voxpupuli/puppet-php/issues/536) +- composer created as folder not binary file [\#535](https://github.com/voxpupuli/puppet-php/issues/535) +- Forge Release [\#528](https://github.com/voxpupuli/puppet-php/issues/528) +- Invalid tag '::php::config' on node ... [\#177](https://github.com/voxpupuli/puppet-php/issues/177) + +**Merged pull requests:** + +- delete legacy travis directory [\#556](https://github.com/voxpupuli/puppet-php/pull/556) ([bastelfreak](https://github.com/bastelfreak)) +- allow puppetlabs/inifile 4.x [\#553](https://github.com/voxpupuli/puppet-php/pull/553) ([bastelfreak](https://github.com/bastelfreak)) +- Clean up acceptance spec helper [\#551](https://github.com/voxpupuli/puppet-php/pull/551) ([ekohl](https://github.com/ekohl)) + +## [v7.0.0](https://github.com/voxpupuli/puppet-php/tree/v7.0.0) (2019-09-12) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v6.0.2...v7.0.0) + +**Breaking changes:** + +- Drop Ubuntu 14.04 [\#520](https://github.com/voxpupuli/puppet-php/pull/520) ([bastelfreak](https://github.com/bastelfreak)) +- Do not manage mysql.ini when using Ubuntu repo \(and fix CI\) [\#519](https://github.com/voxpupuli/puppet-php/pull/519) ([smortex](https://github.com/smortex)) +- modulesync 2.5.1 and drop Puppet 4 [\#507](https://github.com/voxpupuli/puppet-php/pull/507) ([bastelfreak](https://github.com/bastelfreak)) + +**Implemented enhancements:** + +- Remove hard dependency from apt-transport-https [\#454](https://github.com/voxpupuli/puppet-php/issues/454) +- use php::global::php\_version for php::repo::\* version [\#222](https://github.com/voxpupuli/puppet-php/issues/222) +- refactor ::php::repo::debian to use the version variable [\#219](https://github.com/voxpupuli/puppet-php/issues/219) +- push back hard dependency on hiera [\#215](https://github.com/voxpupuli/puppet-php/issues/215) +- Support PHP 7.0 on FreeBSD [\#207](https://github.com/voxpupuli/puppet-php/issues/207) +- set default version for debian buster and add support for buster [\#530](https://github.com/voxpupuli/puppet-php/pull/530) ([lelutin](https://github.com/lelutin)) +- Simplify php \(extension\) removal [\#526](https://github.com/voxpupuli/puppet-php/pull/526) ([TuningYourCode](https://github.com/TuningYourCode)) +- Rely more on puppetlabs-apt [\#494](https://github.com/voxpupuli/puppet-php/pull/494) ([ekohl](https://github.com/ekohl)) +- Add cli\_settings parameter to php class [\#491](https://github.com/voxpupuli/puppet-php/pull/491) ([sunnz](https://github.com/sunnz)) +- Allow `clear_env` to be disabled [\#483](https://github.com/voxpupuli/puppet-php/pull/483) ([joshuaspence](https://github.com/joshuaspence)) +- allow php 7.2 [\#455](https://github.com/voxpupuli/puppet-php/pull/455) ([cbergmann](https://github.com/cbergmann)) + +**Fixed bugs:** + +- Fixed repositories managed for all patch version of 7.x for Ubuntu. [\#505](https://github.com/voxpupuli/puppet-php/pull/505) ([Conzar](https://github.com/Conzar)) +- Fix php::fpm eternal reload for mysqli a simplexml extension [\#503](https://github.com/voxpupuli/puppet-php/pull/503) ([miranovy](https://github.com/miranovy)) + +**Closed issues:** + +- No default version for debian buster in globals [\#529](https://github.com/voxpupuli/puppet-php/issues/529) +- php module is not using hiera deep merge anymore. [\#500](https://github.com/voxpupuli/puppet-php/issues/500) +- Extension mysqli causes php7-fpm to reload [\#497](https://github.com/voxpupuli/puppet-php/issues/497) +- Cannot declare both php and php::cli classes [\#489](https://github.com/voxpupuli/puppet-php/issues/489) +- PHP modules are enabled even when ensure is absent [\#477](https://github.com/voxpupuli/puppet-php/issues/477) +- The "PHP 7.1 install from hell" on Debian 9 [\#459](https://github.com/voxpupuli/puppet-php/issues/459) +- PHP 7.1 on Debian 9 [\#457](https://github.com/voxpupuli/puppet-php/issues/457) +- Wrong merge behavior for settings, extensions, fpm\_pools, fpm\_global\_pool\_settings [\#434](https://github.com/voxpupuli/puppet-php/issues/434) +- Ubuntu 16 mysql extension so name with packages from ondrej PPA [\#309](https://github.com/voxpupuli/puppet-php/issues/309) + +**Merged pull requests:** + +- fix "cannot redefine $real\_settings" error [\#533](https://github.com/voxpupuli/puppet-php/pull/533) ([crispygoth](https://github.com/crispygoth)) +- hotfix:: updating key id for debian repo sury [\#532](https://github.com/voxpupuli/puppet-php/pull/532) ([caherrera](https://github.com/caherrera)) +- Fix deprecated Hiera lookup warnings. Add default www pool in YAML. [\#522](https://github.com/voxpupuli/puppet-php/pull/522) ([comport3](https://github.com/comport3)) +- Allow `puppetlabs/stdlib` 6.x and `puppet/archive` 4.x [\#521](https://github.com/voxpupuli/puppet-php/pull/521) ([alexjfisher](https://github.com/alexjfisher)) +- Allow puppetlabs/apt 7.x, puppetlabs/inifile 3.x [\#518](https://github.com/voxpupuli/puppet-php/pull/518) ([dhoppe](https://github.com/dhoppe)) +- Simplify ensure check [\#493](https://github.com/voxpupuli/puppet-php/pull/493) ([amateo](https://github.com/amateo)) + +## [v6.0.2](https://github.com/voxpupuli/puppet-php/tree/v6.0.2) (2018-10-14) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v6.0.1...v6.0.2) + +**Fixed bugs:** + +- allow `latest` for php extensions again [\#485](https://github.com/voxpupuli/puppet-php/pull/485) ([amateo](https://github.com/amateo)) + +**Closed issues:** + +- Ubuntu 18.04 issue just installing [\#475](https://github.com/voxpupuli/puppet-php/issues/475) + +**Merged pull requests:** + +- Remove readable permissions for others on fpm pool config file [\#484](https://github.com/voxpupuli/puppet-php/pull/484) ([l-lotz](https://github.com/l-lotz)) + +## [v6.0.1](https://github.com/voxpupuli/puppet-php/tree/v6.0.1) (2018-10-06) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v6.0.0...v6.0.1) + +**Fixed bugs:** + +- Fix enable extension when there is no module associated [\#479](https://github.com/voxpupuli/puppet-php/pull/479) ([amateo](https://github.com/amateo)) +- Remove config when module is ensured to absent [\#478](https://github.com/voxpupuli/puppet-php/pull/478) ([amateo](https://github.com/amateo)) + +**Closed issues:** + +- "php::manage\_repos: true" causes failure on Ubuntu 18.04, needs newer puppetlabs-apt version\(\>=5.0.0\) [\#467](https://github.com/voxpupuli/puppet-php/issues/467) + +**Merged pull requests:** + +- modulesync 2.1.0 and allow puppet 6.x [\#481](https://github.com/voxpupuli/puppet-php/pull/481) ([bastelfreak](https://github.com/bastelfreak)) +- Add acceptance tests for system php with extensions [\#476](https://github.com/voxpupuli/puppet-php/pull/476) ([bastelfreak](https://github.com/bastelfreak)) +- Allow puppetlabs/stdlib 5.x and puppetlabs/apt 6.x [\#472](https://github.com/voxpupuli/puppet-php/pull/472) ([bastelfreak](https://github.com/bastelfreak)) + +## [v6.0.0](https://github.com/voxpupuli/puppet-php/tree/v6.0.0) (2018-07-29) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v5.3.0...v6.0.0) + +**Breaking changes:** + +- Tests failing under debian8 [\#433](https://github.com/voxpupuli/puppet-php/issues/433) +- fixed hiera merge bug [\#435](https://github.com/voxpupuli/puppet-php/pull/435) ([c33s](https://github.com/c33s)) + +**Implemented enhancements:** + +- Compatibility with Software collections \(SCL\) [\#451](https://github.com/voxpupuli/puppet-php/pull/451) ([oranenj](https://github.com/oranenj)) +- Add Debian 9 support [\#440](https://github.com/voxpupuli/puppet-php/pull/440) ([SimonHoenscheid](https://github.com/SimonHoenscheid)) +- Add initial ubuntu 18.04 support [\#428](https://github.com/voxpupuli/puppet-php/pull/428) ([jkroepke](https://github.com/jkroepke)) + +**Fixed bugs:** + +- php.ini not updated [\#422](https://github.com/voxpupuli/puppet-php/issues/422) +- Error: Could not upgrade module 'puppet-php' \(v4.0.0 -\> v5.0.0\) [\#378](https://github.com/voxpupuli/puppet-php/issues/378) +- Fix paths for phpunit on FreeBSD [\#291](https://github.com/voxpupuli/puppet-php/pull/291) ([bitnexus](https://github.com/bitnexus)) + +**Closed issues:** + +- Debian 9 \(Stretch\) support [\#439](https://github.com/voxpupuli/puppet-php/issues/439) +- Repository class switch failing on Ubuntu [\#392](https://github.com/voxpupuli/puppet-php/issues/392) +- Next stable release? [\#352](https://github.com/voxpupuli/puppet-php/issues/352) +- PHP extensions loaded twice [\#341](https://github.com/voxpupuli/puppet-php/issues/341) +- PECL/Extension checks for beta packages [\#73](https://github.com/voxpupuli/puppet-php/issues/73) + +**Merged pull requests:** + +- Update README.md with working RHSCL example. [\#463](https://github.com/voxpupuli/puppet-php/pull/463) ([Tamerz](https://github.com/Tamerz)) +- enable ubuntu 18.04 acceptance tests [\#462](https://github.com/voxpupuli/puppet-php/pull/462) ([bastelfreak](https://github.com/bastelfreak)) +- drop EOL OSs; fix puppet version range [\#453](https://github.com/voxpupuli/puppet-php/pull/453) ([bastelfreak](https://github.com/bastelfreak)) +- Rely on beaker-hostgenerator for docker nodesets [\#452](https://github.com/voxpupuli/puppet-php/pull/452) ([ekohl](https://github.com/ekohl)) +- mark private classes with assert\_private\(\) [\#447](https://github.com/voxpupuli/puppet-php/pull/447) ([bastelfreak](https://github.com/bastelfreak)) +- migrate vars from topscope to relative scope [\#444](https://github.com/voxpupuli/puppet-php/pull/444) ([bastelfreak](https://github.com/bastelfreak)) +- bump puppet to latest supported version 4.10.0 [\#443](https://github.com/voxpupuli/puppet-php/pull/443) ([bastelfreak](https://github.com/bastelfreak)) +- Update puppet/archive dependency [\#438](https://github.com/voxpupuli/puppet-php/pull/438) ([marknl](https://github.com/marknl)) +- switch the dotdeb repo url to https [\#431](https://github.com/voxpupuli/puppet-php/pull/431) ([bastelfreak](https://github.com/bastelfreak)) + +## [v5.3.0](https://github.com/voxpupuli/puppet-php/tree/v5.3.0) (2018-03-06) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v5.2.0...v5.3.0) + +**Implemented enhancements:** + +- mark Ubuntu 16.04 as supported and fix its tests [\#221](https://github.com/voxpupuli/puppet-php/issues/221) +- Using the new facts hash instead of the global var in repo/debian.pp [\#425](https://github.com/voxpupuli/puppet-php/pull/425) ([c33s](https://github.com/c33s)) +- Add Acceptance tests [\#414](https://github.com/voxpupuli/puppet-php/pull/414) ([bastelfreak](https://github.com/bastelfreak)) + +**Fixed bugs:** + +- Fix Archlinux support [\#423](https://github.com/voxpupuli/puppet-php/pull/423) ([bastelfreak](https://github.com/bastelfreak)) +- Fix wrongly named parameters for apt::source/key [\#420](https://github.com/voxpupuli/puppet-php/pull/420) ([bitcrush](https://github.com/bitcrush)) +- manage software-properties-common on ubuntu [\#419](https://github.com/voxpupuli/puppet-php/pull/419) ([bastelfreak](https://github.com/bastelfreak)) + +**Merged pull requests:** + +- add examples for php-fpm/nginx [\#424](https://github.com/voxpupuli/puppet-php/pull/424) ([bastelfreak](https://github.com/bastelfreak)) +- add tests for php5.6 [\#418](https://github.com/voxpupuli/puppet-php/pull/418) ([bastelfreak](https://github.com/bastelfreak)) + +## [v5.2.0](https://github.com/voxpupuli/puppet-php/tree/v5.2.0) (2018-02-14) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v5.1.0...v5.2.0) + +**Implemented enhancements:** + +- add ubuntu 16.04 support [\#412](https://github.com/voxpupuli/puppet-php/pull/412) ([bastelfreak](https://github.com/bastelfreak)) +- Add PHP 7.1 support on Debian [\#293](https://github.com/voxpupuli/puppet-php/pull/293) ([fstr](https://github.com/fstr)) + +**Fixed bugs:** + +- Auto\_update not idempotent [\#402](https://github.com/voxpupuli/puppet-php/issues/402) +- use correct require arguments [\#415](https://github.com/voxpupuli/puppet-php/pull/415) ([bastelfreak](https://github.com/bastelfreak)) +- fix composer auto\_update idempotency in case no update is available [\#408](https://github.com/voxpupuli/puppet-php/pull/408) ([joekohlsdorf](https://github.com/joekohlsdorf)) +- Fixing wrong pear package name in Amazon Linux [\#399](https://github.com/voxpupuli/puppet-php/pull/399) ([gdurandvadas](https://github.com/gdurandvadas)) + +**Closed issues:** + +- Upgrade to work with Puppet5 [\#406](https://github.com/voxpupuli/puppet-php/issues/406) +- php 7.2 + ubuntu 16.04 - pdo-mysql extension not installing correctly [\#405](https://github.com/voxpupuli/puppet-php/issues/405) +- config\_root parameter does nothing on RHEL7 [\#397](https://github.com/voxpupuli/puppet-php/issues/397) + +**Merged pull requests:** + +- Deprecate hiera\_hash functions [\#410](https://github.com/voxpupuli/puppet-php/pull/410) ([minorOffense](https://github.com/minorOffense)) +- mark Puppet 5 as supported [\#407](https://github.com/voxpupuli/puppet-php/pull/407) ([joekohlsdorf](https://github.com/joekohlsdorf)) +- Change default RedHat params to use config\_root [\#398](https://github.com/voxpupuli/puppet-php/pull/398) ([DALUofM](https://github.com/DALUofM)) + +## [v5.1.0](https://github.com/voxpupuli/puppet-php/tree/v5.1.0) (2017-11-10) + +[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v5.0.0...v5.1.0) + +**Fixed bugs:** + +- Fix syntax issues with data types [\#385](https://github.com/voxpupuli/puppet-php/pull/385) ([craigwatson](https://github.com/craigwatson)) +- fix ubuntu 17.04 version for php7 [\#383](https://github.com/voxpupuli/puppet-php/pull/383) ([arudat](https://github.com/arudat)) +- Fix OS fact comparison for Ubuntu 12 and 14 [\#375](https://github.com/voxpupuli/puppet-php/pull/375) ([dbeckham](https://github.com/dbeckham)) +- Fix OS facts usage when selecting repo class for Ubuntu systems [\#374](https://github.com/voxpupuli/puppet-php/pull/374) ([dbeckham](https://github.com/dbeckham)) +- Confine pecl provider to where pear command is available [\#364](https://github.com/voxpupuli/puppet-php/pull/364) ([walkamongus](https://github.com/walkamongus)) +- fix default value of php::fpm::pool::access\_log\_format [\#361](https://github.com/voxpupuli/puppet-php/pull/361) ([lesinigo](https://github.com/lesinigo)) + +**Closed issues:** + +- Debian repository classes are being selected on Ubuntu systems [\#373](https://github.com/voxpupuli/puppet-php/issues/373) +- Changes in \#357 break Ubuntu version dependent resources [\#372](https://github.com/voxpupuli/puppet-php/issues/372) + +**Merged pull requests:** + +- Proposed fix for failing parallel spec tests [\#386](https://github.com/voxpupuli/puppet-php/pull/386) ([wyardley](https://github.com/wyardley)) +- update dependencies in metadata [\#379](https://github.com/voxpupuli/puppet-php/pull/379) ([mmoll](https://github.com/mmoll)) +- Bump metadata.json version to 5.0.1-rc [\#377](https://github.com/voxpupuli/puppet-php/pull/377) ([dhollinger](https://github.com/dhollinger)) +- bump dep on puppet/archive to '\< 3.0.0' [\#376](https://github.com/voxpupuli/puppet-php/pull/376) ([costela](https://github.com/costela)) +- Add missing php-fpm user and group class param docs [\#346](https://github.com/voxpupuli/puppet-php/pull/346) ([dbeckham](https://github.com/dbeckham)) + +## [v5.0.0](https://github.com/voxpupuli/puppet-php/tree/v5.0.0) (2017-08-07) +### Summary +This backwards-incompatible release drops puppet 3, PHP 5.5 on Ubuntu, and the deprecated `php::extension` parameter `pecl_source`. It improves much of the internal code quality, and adds several useful features the most interesting of which is probably the `php::extension` parameter `ini_prefix`. + +### Changed +- Drop puppet 3 compatibility. +- Bumped puppetlabs-apt lower bound to 4.1.0 +- Bumped puppetlabs-stdlib lower bound to 4.13.1 + +### Removed +- Deprecated `php::extension` define parameters `pecl_source`. Use `source` instead. +- PHP 5.5 support on ubuntu. + +### Added +- `php` class parameters `fpm_user` and `fpm_group` to customize php-fpm user/group. +- `php::fpm` class parameters `user` and `group`. +- `php::fpm::pool` define parameter `pm_process_idle_timeout` and pool.conf `pm.process_idle_timeout` directive. +- `php::extension` class parameters `ini_prefix` and `install_options`. +- Archlinux compatibility. +- Bumped puppetlabs-apt upper bound to 5.0.0 + +### Fixed +- Replaced validate functions with data types. +- Linting issues. +- Replace legacy facts with facts hash. +- Simplify `php::extension` +- Only apt dependency when `manage_repos => true` +- No more example42/yum dependency + +## 2017-02-11 Release [4.0.0] + +This is the last release with Puppet3 support! +* Fix a bug turning `manage_repos` off on wheezy +* Fix a deprecation warning on `apt::key` when using `manage_repos` on wheezy (#110). This change requires puppetlabs/apt at >= 1.8.0 +* Allow removal of config values (#124) +* Add `phpversion` fact, for querying through PuppetDB or Foreman (#119) +* Allow configuring the fpm pid file (#123) +* Add embedded SAPI support (#115) +* Add options to fpm config and pool configs (#139) +* Add parameter logic for PHP 7 on Ubuntu/Debian (#180) +* add SLES PHP 7.0 Support (#220) +* allow packaged extensions to be loaded as zend extensions +* Fix command to enable php extensions (#226) +* Fix many rucocop warnings +* Update module Ubuntu 14.04 default to official repository setup +* Fix dependency for extentions with no package source +* Allow packaged extensions to be loaded as Zend extensions +* Support using an http proxy for downloading composer +* Refactor classes php::fpm and php::fpm:service +* Manage apache/PHP configurations on Debian and RHEL systems +* use voxpupuli/archive to download composer +* respect $manage_repos, do not include ::apt if set to false +* Bump min version_requirement for Puppet + deps +* allow pipe param for pecl extensions +* Fix: composer auto_update: exec's environment must be array + +### Breaking Changes + * Deep merge `php::extensions` the same way as `php::settings`. This technically is a + breaking change but should not affect many people. + * PHP 5.6 is the default version on all systems now (except Ubuntu 16.04, where 7.0 is the default). + * There's a php::globals class now, where global paramters (like the PHP version) are set. (#132) + * Removal of php::repo::ubuntu::ppa (#218) + +## 3.4.2 + * Fix a bug that changed the default of `php::manage_repos` to `false` on + Debian-based operating systems except wheezy. It should be turned on by + default. (#116) + * Fix a bug that prevented reloading php-fpm on Ubuntu in some cases. + (#117, #107) + +## 3.4.1 + * Fix reloading php-fpm on Ubuntu trusty & utopic (#107) + +## 3.4.0 + * New parameter `ppa` for class `php::repo::ubuntu` to specify the ppa + name to use. We default to `ondrej/php5-oldstable` for precise and + `ondrej/php5` otherwise. + * New parameter `include` for `php::fpm::pool` resources to specify + custom configuration files. + +## 3.3.1 + * Make `systemd_interval` parameter for class `php::fpm::config` optional + +## 3.3.0 + * `php::extension` resources: + * New boolean parameter `settings_prefix` to automatically prefix all + settings keys with the extensions names. Defaults to false to ensurre + the current behaviour. + * New string parameter `so_name` to set the DSO name of an extension if + it doesn't match the package name. + * New string parameter `php_api_version` to set a custom api version. If + not `undef`, the `so_name` is prefixed with the full module path in the + ini file. Defaults to `undef`. + * The default of the parameter `listen_allowed_clients` of `php::fpm::pool` + resources is now `undef` instead of `'127.0.0.1'`. This way it is more + intuitive to change the default tcp listening socket at `127.0.0.1:9000` + to a unix socket by only setting the `listen` parameter instead of + additionally needing to unset `listen_allowed_clients`. This has no + security implications. + * New parameters for the `php::fpm::config` class: + * `error_log` + * `syslog_facility` + * `syslog_ident` + * `systemd_interval` + * A bug that prevented merging the global `php::settings` parameter into + SAPI configs for `php::cli` and `php::fpm` was fixed. + * The dotdeb repos are now only installed for Debian wheezy as Debian jessie + has a sufficiently recent PHP version. + +## 3.2.2 + * Fix a typo in hiera keys `php::settings` & `php::fpm::settings` (#83) + +## 3.2.1 + * Fixed default `yum_repo` key in `php::repo::redhat` + * On Ubuntu precise we now use the ondrej/php5-oldstable ppa. This can be + manually enabled with by setting `$php::repo::ubuntu::oldstable` to + `true`. + * `$php::ensure` now defaults to `present` instead of `latest`. Though, + strictly speaking, this represents a functional change, we consider this + to be a bugfix because automatic updates should be enabled explicitely. + * `$php::ensure` is not anymore passed to `php::extension` resources as + default ensure parameter because this doesn't make sense. + +## 3.2.0 + * Support for FreeBSD added by Frank Wall + * RedHat now uses remi-php56 yum repo by default + * The resource `php::fpm::pool` is now public, you can use it in your + manifests without using `$php::fpm::pools` + * We now have autogenerated documentation using `puppetlabs/strings` + +## 3.1.0 + * New parameter `pool_purge` for `php::extension` to remove files not + managed by puppet from the pool directory. + * The `pecl_source` parameter for `php::extension` was renamend to + `source` because it is also useful for PEAR extensions. + `pecl_source` can still be used but is deprecated and will be + removed in the next major release. + * Parameters referring to time in `php::fpm::config` can now be + specified with units (i.e. `'60s'`, `'1d'`): + * `emergency_restart_threshold` + * `emergency_restart_interval` + * `process_control_timeout` + * The PEAR version is not independant of `$php::ensure` and can be + configured with `$php::pear_ensure` + * Give special thanks to the contributors of this release: + * Petr Sedlacek + * Sherlan Moriah + +## 3.0.1 + * Fix typo in package suffix for php-fpm on RHEL in params.pp + +## 3.0.0 + * Removes `$php::fpm::pool::error_log`. Use the `php_admin_flag` and + `php_admin_value` parameters to set the php settings `log_errors` and + `error_log` instead. + * Removes support for PHP 5.3 on Debian-based systems. See the notes in the + README for more information. + * Removes the `php_version` fact which had only worked on the later puppet runs. + * Moves CLI-package handling to `php::packages` + * Allows changing the package prefix via `php::package_prefix`. + * Moves FPM-package handling from `php::fpm::package` to `php::fpm` + * Changes `php::packages`, so that `php::packages::packages` becomes + `php::packages::names` and are installed and `php::packages::names_to_prefix` + are installed prefixed by `php::package_prefix`. + * PHPUnit is now installed as phar in the same way composer is installed, + causing all parameters to change + * The `php::extension` resource has a new parameter: `zend`. If set to true, + exenstions that were installed with pecl are loaded with `zend_extension`. + +## 2.0.4 + * Style fixes all over the place + * Module dependencies are now bound to the current major version + +## 2.0.3 + * Some issues & bugs with extensions were fixed + * If you set the `provider` parameter of an extension to `"none"`, no + extension packages will be installed + * The EPEL yum repo has been added for RedHat systems + +## 2.0.2 + * Adds support for `header_packages` on all extensions + * Adds `install_options` to pear package provider + +## 2.0.1 + * This is a pure bug fix release + * Fix for CVE 2014-0185 (https://bugs.php.net/bug.php?id=67060) + +## 2.0.0 + * Remove augeas and switch to puppetlabs/inifile for configs + * Old: `settings => [‘set PHP/short_open_tag On‘]` + * New: `settings => {‘PHP/short_open_tag’ => ‘On‘}` + * Settings parmeter cleanups + * The parameter `config` of `php::extension` resources is now called `settings` + * The parameters `user` and `group` of `php::fpm` have been moved to `php::fpm::config` + * New parameter `php::settings` for global settings (i.e. CLI & FPM) + * New parameter `php::cli` to disable CLI if supported + +## 1.1.2 + * SLES: PHP 5.5 will now be installed + * Pecl extensions now autoload the .so based on $name instead of $title + +## 1.1.1 + * some nasty bugs with the pecl php::extension provider were fixed + * php::extension now has a new pecl_source parameter for specifying custom + source channels for the pecl provider + +## 1.1.0 + * add phpunit to main class + * fix variable access for augeas + +## 1.0.2 + * use correct suse apache service name + * fix anchoring of augeas + +## 1.0.1 + * fixes #9 undefined pool_base_dir + +## 1.0.0 +Initial release + +[4.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v4.0.0...v4.1.0 +[4.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v3.4.2...v4.0.0 + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*