|
| 1 | +## [v5.0.0](https://github.com/voxpupuli/puppet-php/tree/v5.0.0) (2017-08-07) |
| 2 | +### Summary |
| 3 | +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`. |
| 4 | + |
| 5 | +### Changed |
| 6 | +- Drop puppet 3 compatibility. |
| 7 | +- Bumped puppetlabs-apt lower bound to 4.1.0 |
| 8 | +- Bumped puppetlabs-stdlib lower bound to 4.13.1 |
| 9 | + |
| 10 | +### Removed |
| 11 | +- Deprecated `php::extension` define parameters `pecl_source`. Use `source` instead. |
| 12 | +- PHP 5.5 support on ubuntu. |
| 13 | + |
| 14 | +### Added |
| 15 | +- `php` class parameters `fpm_user` and `fpm_group` to customize php-fpm user/group. |
| 16 | +- `php::fpm` class parameters `user` and `group`. |
| 17 | +- `php::fpm::pool` define parameter `pm_process_idle_timeout` and pool.conf `pm.process_idle_timeout` directive. |
| 18 | +- `php::extension` class parameters `ini_prefix` and `install_options`. |
| 19 | +- Archlinux compatibility. |
| 20 | +- Bumped puppetlabs-apt upper bound to 5.0.0 |
| 21 | + |
| 22 | +### Fixed |
| 23 | +- Replaced validate functions with data types. |
| 24 | +- Linting issues. |
| 25 | +- Replace legacy facts with facts hash. |
| 26 | +- Simplify `php::extension` |
| 27 | +- Only apt dependency when `manage_repos => true` |
| 28 | +- No more example42/yum dependency |
| 29 | + |
| 30 | +## 2017-02-11 Release [4.0.0] |
| 31 | + |
| 32 | +This is the last release with Puppet3 support! |
| 33 | +* Fix a bug turning `manage_repos` off on wheezy |
| 34 | +* Fix a deprecation warning on `apt::key` when using `manage_repos` on wheezy (#110). This change requires puppetlabs/apt at >= 1.8.0 |
| 35 | +* Allow removal of config values (#124) |
| 36 | +* Add `phpversion` fact, for querying through PuppetDB or Foreman (#119) |
| 37 | +* Allow configuring the fpm pid file (#123) |
| 38 | +* Add embedded SAPI support (#115) |
| 39 | +* Add options to fpm config and pool configs (#139) |
| 40 | +* Add parameter logic for PHP 7 on Ubuntu/Debian (#180) |
| 41 | +* add SLES PHP 7.0 Support (#220) |
| 42 | +* allow packaged extensions to be loaded as zend extensions |
| 43 | +* Fix command to enable php extensions (#226) |
| 44 | +* Fix many rucocop warnings |
| 45 | +* Update module Ubuntu 14.04 default to official repository setup |
| 46 | +* Fix dependency for extentions with no package source |
| 47 | +* Allow packaged extensions to be loaded as Zend extensions |
| 48 | +* Support using an http proxy for downloading composer |
| 49 | +* Refactor classes php::fpm and php::fpm:service |
| 50 | +* Manage apache/PHP configurations on Debian and RHEL systems |
| 51 | +* use voxpupuli/archive to download composer |
| 52 | +* respect $manage_repos, do not include ::apt if set to false |
| 53 | +* Bump min version_requirement for Puppet + deps |
| 54 | +* allow pipe param for pecl extensions |
| 55 | +* Fix: composer auto_update: exec's environment must be array |
| 56 | + |
| 57 | +### Breaking Changes |
| 58 | + * Deep merge `php::extensions` the same way as `php::settings`. This technically is a |
| 59 | + breaking change but should not affect many people. |
| 60 | + * PHP 5.6 is the default version on all systems now (except Ubuntu 16.04, where 7.0 is the default). |
| 61 | + * There's a php::globals class now, where global paramters (like the PHP version) are set. (#132) |
| 62 | + * Removal of php::repo::ubuntu::ppa (#218) |
| 63 | + |
| 64 | +## 3.4.2 |
| 65 | + * Fix a bug that changed the default of `php::manage_repos` to `false` on |
| 66 | + Debian-based operating systems except wheezy. It should be turned on by |
| 67 | + default. (#116) |
| 68 | + * Fix a bug that prevented reloading php-fpm on Ubuntu in some cases. |
| 69 | + (#117, #107) |
| 70 | + |
| 71 | +## 3.4.1 |
| 72 | + * Fix reloading php-fpm on Ubuntu trusty & utopic (#107) |
| 73 | + |
| 74 | +## 3.4.0 |
| 75 | + * New parameter `ppa` for class `php::repo::ubuntu` to specify the ppa |
| 76 | + name to use. We default to `ondrej/php5-oldstable` for precise and |
| 77 | + `ondrej/php5` otherwise. |
| 78 | + * New parameter `include` for `php::fpm::pool` resources to specify |
| 79 | + custom configuration files. |
| 80 | + |
| 81 | +## 3.3.1 |
| 82 | + * Make `systemd_interval` parameter for class `php::fpm::config` optional |
| 83 | + |
| 84 | +## 3.3.0 |
| 85 | + * `php::extension` resources: |
| 86 | + * New boolean parameter `settings_prefix` to automatically prefix all |
| 87 | + settings keys with the extensions names. Defaults to false to ensurre |
| 88 | + the current behaviour. |
| 89 | + * New string parameter `so_name` to set the DSO name of an extension if |
| 90 | + it doesn't match the package name. |
| 91 | + * New string parameter `php_api_version` to set a custom api version. If |
| 92 | + not `undef`, the `so_name` is prefixed with the full module path in the |
| 93 | + ini file. Defaults to `undef`. |
| 94 | + * The default of the parameter `listen_allowed_clients` of `php::fpm::pool` |
| 95 | + resources is now `undef` instead of `'127.0.0.1'`. This way it is more |
| 96 | + intuitive to change the default tcp listening socket at `127.0.0.1:9000` |
| 97 | + to a unix socket by only setting the `listen` parameter instead of |
| 98 | + additionally needing to unset `listen_allowed_clients`. This has no |
| 99 | + security implications. |
| 100 | + * New parameters for the `php::fpm::config` class: |
| 101 | + * `error_log` |
| 102 | + * `syslog_facility` |
| 103 | + * `syslog_ident` |
| 104 | + * `systemd_interval` |
| 105 | + * A bug that prevented merging the global `php::settings` parameter into |
| 106 | + SAPI configs for `php::cli` and `php::fpm` was fixed. |
| 107 | + * The dotdeb repos are now only installed for Debian wheezy as Debian jessie |
| 108 | + has a sufficiently recent PHP version. |
| 109 | + |
| 110 | +## 3.2.2 |
| 111 | + * Fix a typo in hiera keys `php::settings` & `php::fpm::settings` (#83) |
| 112 | + |
| 113 | +## 3.2.1 |
| 114 | + * Fixed default `yum_repo` key in `php::repo::redhat` |
| 115 | + * On Ubuntu precise we now use the ondrej/php5-oldstable ppa. This can be |
| 116 | + manually enabled with by setting `$php::repo::ubuntu::oldstable` to |
| 117 | + `true`. |
| 118 | + * `$php::ensure` now defaults to `present` instead of `latest`. Though, |
| 119 | + strictly speaking, this represents a functional change, we consider this |
| 120 | + to be a bugfix because automatic updates should be enabled explicitely. |
| 121 | + * `$php::ensure` is not anymore passed to `php::extension` resources as |
| 122 | + default ensure parameter because this doesn't make sense. |
| 123 | + |
| 124 | +## 3.2.0 |
| 125 | + * Support for FreeBSD added by Frank Wall |
| 126 | + * RedHat now uses remi-php56 yum repo by default |
| 127 | + * The resource `php::fpm::pool` is now public, you can use it in your |
| 128 | + manifests without using `$php::fpm::pools` |
| 129 | + * We now have autogenerated documentation using `puppetlabs/strings` |
| 130 | + |
| 131 | +## 3.1.0 |
| 132 | + * New parameter `pool_purge` for `php::extension` to remove files not |
| 133 | + managed by puppet from the pool directory. |
| 134 | + * The `pecl_source` parameter for `php::extension` was renamend to |
| 135 | + `source` because it is also useful for PEAR extensions. |
| 136 | + `pecl_source` can still be used but is deprecated and will be |
| 137 | + removed in the next major release. |
| 138 | + * Parameters referring to time in `php::fpm::config` can now be |
| 139 | + specified with units (i.e. `'60s'`, `'1d'`): |
| 140 | + * `emergency_restart_threshold` |
| 141 | + * `emergency_restart_interval` |
| 142 | + * `process_control_timeout` |
| 143 | + * The PEAR version is not independant of `$php::ensure` and can be |
| 144 | + configured with `$php::pear_ensure` |
| 145 | + * Give special thanks to the contributors of this release: |
| 146 | + * Petr Sedlacek |
| 147 | + * Sherlan Moriah |
| 148 | + |
| 149 | +## 3.0.1 |
| 150 | + * Fix typo in package suffix for php-fpm on RHEL in params.pp |
| 151 | + |
| 152 | +## 3.0.0 |
| 153 | + * Removes `$php::fpm::pool::error_log`. Use the `php_admin_flag` and |
| 154 | + `php_admin_value` parameters to set the php settings `log_errors` and |
| 155 | + `error_log` instead. |
| 156 | + * Removes support for PHP 5.3 on Debian-based systems. See the notes in the |
| 157 | + README for more information. |
| 158 | + * Removes the `php_version` fact which had only worked on the later puppet runs. |
| 159 | + * Moves CLI-package handling to `php::packages` |
| 160 | + * Allows changing the package prefix via `php::package_prefix`. |
| 161 | + * Moves FPM-package handling from `php::fpm::package` to `php::fpm` |
| 162 | + * Changes `php::packages`, so that `php::packages::packages` becomes |
| 163 | + `php::packages::names` and are installed and `php::packages::names_to_prefix` |
| 164 | + are installed prefixed by `php::package_prefix`. |
| 165 | + * PHPUnit is now installed as phar in the same way composer is installed, |
| 166 | + causing all parameters to change |
| 167 | + * The `php::extension` resource has a new parameter: `zend`. If set to true, |
| 168 | + exenstions that were installed with pecl are loaded with `zend_extension`. |
| 169 | + |
| 170 | +## 2.0.4 |
| 171 | + * Style fixes all over the place |
| 172 | + * Module dependencies are now bound to the current major version |
| 173 | + |
| 174 | +## 2.0.3 |
| 175 | + * Some issues & bugs with extensions were fixed |
| 176 | + * If you set the `provider` parameter of an extension to `"none"`, no |
| 177 | + extension packages will be installed |
| 178 | + * The EPEL yum repo has been added for RedHat systems |
| 179 | + |
| 180 | +## 2.0.2 |
| 181 | + * Adds support for `header_packages` on all extensions |
| 182 | + * Adds `install_options` to pear package provider |
| 183 | + |
| 184 | +## 2.0.1 |
| 185 | + * This is a pure bug fix release |
| 186 | + * Fix for CVE 2014-0185 (https://bugs.php.net/bug.php?id=67060) |
| 187 | + |
| 188 | +## 2.0.0 |
| 189 | + * Remove augeas and switch to puppetlabs/inifile for configs |
| 190 | + * Old: `settings => [‘set PHP/short_open_tag On‘]` |
| 191 | + * New: `settings => {‘PHP/short_open_tag’ => ‘On‘}` |
| 192 | + * Settings parmeter cleanups |
| 193 | + * The parameter `config` of `php::extension` resources is now called `settings` |
| 194 | + * The parameters `user` and `group` of `php::fpm` have been moved to `php::fpm::config` |
| 195 | + * New parameter `php::settings` for global settings (i.e. CLI & FPM) |
| 196 | + * New parameter `php::cli` to disable CLI if supported |
| 197 | + |
| 198 | +## 1.1.2 |
| 199 | + * SLES: PHP 5.5 will now be installed |
| 200 | + * Pecl extensions now autoload the .so based on $name instead of $title |
| 201 | + |
| 202 | +## 1.1.1 |
| 203 | + * some nasty bugs with the pecl php::extension provider were fixed |
| 204 | + * php::extension now has a new pecl_source parameter for specifying custom |
| 205 | + source channels for the pecl provider |
| 206 | + |
| 207 | +## 1.1.0 |
| 208 | + * add phpunit to main class |
| 209 | + * fix variable access for augeas |
| 210 | + |
| 211 | +## 1.0.2 |
| 212 | + * use correct suse apache service name |
| 213 | + * fix anchoring of augeas |
| 214 | + |
| 215 | +## 1.0.1 |
| 216 | + * fixes #9 undefined pool_base_dir |
| 217 | + |
| 218 | +## 1.0.0 |
| 219 | +Initial release |
| 220 | + |
| 221 | +[4.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v4.0.0...v4.1.0 |
| 222 | +[4.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v3.4.2...v4.0.0 |
0 commit comments