1.8.0 prep
[puppet-modules/puppetlabs-apt.git] / CHANGELOG.md
1 ##2015-03-17 - Supported Release 1.8.0
2 ###Summary
3
4 This is the last planned feature release of the 1.x series of this module. All new features will be evaluated for puppetlabs-apt 2.x.
5
6 This release includes many important features, including support for full fingerprints, and fixes issues where `apt_key` was not supporting user/password and `apt_has_updates` was not properly parsing the `apt-check` output.
7
8 ####Changes to default behavior
9 - The apt module will now throw warnings if you don't use full fingerprints for `apt_key`s
10
11 ####Features
12 - Use gpg to check keys to work around https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1409117 (MODULES-1675)
13 - Add 'oldstable' to the default update origins for wheezy
14 - Add utopic, vivid, and cumulus compatibility
15 - Add support for full fingerprints
16 - New parameter for `apt::source`
17   - `trusted_source`
18 - New parameters for `apt::ppa`
19   - `package_name`
20   - `package_manage`
21 - New parameter for `apt::unattended_upgrades`
22   - `legacy_origin`
23 - Separate `apt::pin` from `apt::backports` to allow pin by release instead of origin
24
25 ####Bugfixes
26 - Cleanup lint and future parser issues
27 - Fix to support username and passwords again for `apt_key` (MODULES-1119)
28 - Fix issue where `apt::force` `$install_check` didn't work with non-English locales (MODULES-1231)
29 - Allow 5 digit ports in `apt_key`
30 - Fix for `ensure => absent` in `apt_key` (MODULES-1661)
31 - Fix `apt_has_updates` not parsing `apt-check` output correctly
32 - Fix inconsistent headers across files (MODULES-1200)
33 - Clean up formatting for 50unattended-upgrades.erb
34
35 ##2014-10-28 - Supported Release 1.7.0
36 ###Summary
37
38 This release includes several new features, documentation and test improvements, and a few bug fixes.
39
40 ####Features
41 - Updated unit and acceptance tests
42 - Update module to work with Linux Mint
43 - Documentation updates
44 - Future parser / strict variables support
45 - Improved support for long GPG keys
46 - New parameters!
47   - Added `apt_update_frequency` to apt
48   - Added `cfg_files` and `cfg_missing` parameters to apt::force
49   - Added `randomsleep` to apt::unattended_upgrades
50 - Added `apt_update_last_success` fact
51 - Refactored facts for performance improvements
52
53 ####Bugfixes
54 - Update apt::builddep to require Exec['apt_update'] instead of notifying it
55 - Clean up lint errors
56
57 ##2014-08-20 - Supported Release 1.6.0
58 ###Summary
59
60 ####Features
61 - Allow URL or domain name for key_server parameter
62 - Allow custom comment for sources list
63 - Enable auto-update for Debian squeeze LTS
64 - Add facts showing available updates
65 - Test refactoring
66
67 ####Bugfixes
68 - Allow dashes in URL or domain for key_server parameter
69
70 ##2014-08-13 - Supported Release 1.5.3
71 ###Summary
72
73 This is a bugfix releases.  It addresses a bad regex, failures with unicode
74 characters, and issues with the $proxy_host handling in apt::ppa.
75
76 ####Features
77 - Synced files from Modulesync
78
79 ####Bugfixes
80 - Fix regex to follow APT requirements in apt::pin
81 - Fix for unicode characters
82 - Fix inconsistent $proxy_host handling in apt and apt::ppa
83 - Fix typo in README
84 - Fix broken acceptance tests
85
86 ##2014-07-15 - Supported Release 1.5.2
87 ###Summary
88
89 This release merely updates metadata.json so the module can be uninstalled and
90 upgraded via the puppet module command.
91
92 ##2014-07-10 - Supported Release 1.5.1
93 ###Summary
94
95 This release has added tests to ensure graceful failure on OSX.
96
97 ##2014-06-04 - Release 1.5.0
98 ###Summary
99
100 This release adds support for Ubuntu 14.04.  It also includes many new features 
101 and important bugfixes.  One huge change is that apt::key was replaced with
102 apt_key, which allows you to use puppet resource apt_key to inventory keys on
103 your system.
104
105 Special thanks to daenney, our intrepid unofficial apt maintainer!
106
107 ####Features
108 - Add support for Ubuntu Trusty!
109 - Add apt::hold define
110 - Generate valid *.pref files in apt::pin
111 - Made pin_priority configurable for apt::backports
112 - Add apt_key type and provider
113 - Rename "${apt_conf_d}/proxy" to "${apt_conf_d}/01proxy"
114 - apt::key rewritten to use apt_key type
115 - Add support for update_tries to apt::update
116
117 ####Bugfixes
118 - Typo fixes
119 - Fix unattended upgrades
120 - Removed bogus line when using purge_preferences
121 - Fix apt::force to upgrade allow packages to be upgraded to the pacakge from the specified release
122
123 ##2014-03-04 - Supported Release 1.4.2
124 ###Summary
125
126 This is a supported release. This release tidies up 1.4.1 and re-enables
127 support for Ubuntu 10.04
128
129 ####Features
130
131 ####Bugfixes
132 - Fix apt:ppa to include the -y Ubuntu 10.04 requires.
133 - Documentation changes.
134 - Test fixups.
135
136 ####Known Bugs
137
138 * No known issues.
139
140
141
142 ##2014-02-13 1.4.1
143 ###Summary
144 This is a bugfix release.
145
146 ####Bugfixes
147 - Fix apt::force unable to upgrade packages from releases other than its original
148 - Removed a few refeneces to aptitude instead of apt-get for portability
149 - Removed call to getparam() due to stdlib dependency
150 - Correct apt::source template when architecture is provided
151 - Retry package installs if apt is locked
152 - Use root to exec in apt::ppa
153 - Updated tests and converted acceptance tests to beaker
154
155 ##2013-10-08 - Release 1.4.0
156
157 ###Summary
158
159 Minor bugfix and allow the timeout to be adjusted.
160
161 ####Features
162 - Add an `updates_timeout` to apt::params
163
164 ####Bugfixes
165 - Ensure apt::ppa can read a ppa removed by hand.
166
167
168 ##2013-10-08 - Release 1.3.0
169 ###Summary
170
171 This major feature in this release is the new apt::unattended_upgrades class,
172 allowing you to handle Ubuntu's unattended feature.  This allows you to select
173 specific packages to automatically upgrade without any further user
174 involvement.
175
176 In addition we extend our Wheezy support, add proxy support to apt:ppa and do
177 various cleanups and tweaks.
178
179 ####Features
180 - Add apt::unattended_upgrades support for Ubuntu.
181 - Add wheezy backports support.
182 - Use the geoDNS http.debian.net instead of the main debian ftp server.
183 - Add `options` parameter to apt::ppa in order to pass options to apt-add-repository command.
184 - Add proxy support for apt::ppa (uses proxy_host and proxy_port from apt).
185
186 ####Bugfixes
187 - Fix regsubst() calls to quote single letters (for future parser).
188 - Fix lint warnings and other misc cleanup.
189
190
191 ##2013-07-03 - Release 1.2.0
192
193 ####Features
194 - Add geppetto `.project` natures
195 - Add GH auto-release
196 - Add `apt::key::key_options` parameter
197 - Add complex pin support using distribution properties for `apt::pin` via new properties:
198   - `apt::pin::codename`
199   - `apt::pin::release_version`
200   - `apt::pin::component`
201   - `apt::pin::originator`
202   - `apt::pin::label`
203 - Add source architecture support to `apt::source::architecture`
204
205 ####Bugfixes
206 - Use apt-get instead of aptitude in apt::force
207 - Update default backports location
208 - Add dependency for required packages before apt-get update
209
210
211 ##2013-06-02 - Release 1.1.1
212 ###Summary
213
214 This is a bug fix release that resolves a number of issues:
215
216 * By changing template variable usage, we remove the deprecation warnings
217   for Puppet 3.2.x
218 * Fixed proxy file removal, when proxy absent
219
220 Some documentation, style and whitespaces changes were also merged. This
221 release also introduced proper rspec-puppet unit testing on Travis-CI to help
222 reduce regression.
223
224 Thanks to all the community contributors below that made this patch possible.
225
226 #### Detail Changes
227
228 * fix minor comment type (Chris Rutter)
229 * whitespace fixes (Michael Moll)
230 * Update travis config file (William Van Hevelingen)
231 * Build all branches on travis (William Van Hevelingen)
232 * Standardize travis.yml on pattern introduced in stdlib (William Van Hevelingen)
233 * Updated content to conform to README best practices template (Lauren Rother)
234 * Fix apt::release example in readme (Brian Galey)
235 * add @ to variables in template (Peter Hoeg)
236 * Remove deprecation warnings for pin.pref.erb as well (Ken Barber)
237 * Update travis.yml to latest versions of puppet (Ken Barber)
238 * Fix proxy file removal (Scott Barber)
239 * Add spec test for removing proxy configuration (Dean Reilly)
240 * Fix apt::key listing longer than 8 chars (Benjamin Knofe)
241
242
243
244
245 ## Release 1.1.0
246 ###Summary
247
248 This release includes Ubuntu 12.10 (Quantal) support for PPAs.
249
250 ---
251
252 ##2012-05-25 - Puppet Labs <info@puppetlabs.com> - Release 0.0.4
253 ###Summary
254
255  * Fix ppa list filename when there is a period in the PPA name
256  * Add .pref extension to apt preferences files
257  * Allow preferences to be purged
258  * Extend pin support
259
260
261 ##2012-05-04 - Puppet Labs <info@puppetlabs.com> - Release 0.0.3
262 ###Summary
263  
264  * only invoke apt-get update once
265  * only install python-software-properties if a ppa is added
266  * support 'ensure => absent' for all defined types
267  * add apt::conf
268  * add apt::backports
269  * fixed Modulefile for module tool dependency resolution
270  * configure proxy before doing apt-get update
271  * use apt-get update instead of aptitude for apt::ppa
272  * add support to pin release
273
274
275 ##2012-03-26 - Puppet Labs <info@puppetlabs.com> - Release 0.0.2
276 ###Summary
277
278 * 41cedbb (#13261) Add real examples to smoke tests.
279 * d159a78 (#13261) Add key.pp smoke test
280 * 7116c7a (#13261) Replace foo source with puppetlabs source
281 * 1ead0bf Ignore pkg directory.
282 * 9c13872 (#13289) Fix some more style violations
283 * 0ea4ffa (#13289) Change test scaffolding to use a module & manifest dir fixture path
284 * a758247 (#13289) Clean up style violations and fix corresponding tests
285 * 99c3fd3 (#13289) Add puppet lint tests to Rakefile
286 * 5148cbf (#13125) Apt keys should be case insensitive
287 * b9607a4 Convert apt::key to use anchors
288
289
290 ##2012-03-07 - Puppet Labs <info@puppetlabs.com> - Release 0.0.1
291 ###Summary
292
293 * d4fec56 Modify apt::source release parameter test
294 * 1132a07 (#12917) Add contributors to README
295 * 8cdaf85 (#12823) Add apt::key defined type and modify apt::source to use it
296 * 7c0d10b (#12809) $release should use $lsbdistcodename and fall back to manual input
297 * be2cc3e (#12522) Adjust spec test for splitting purge
298 * 7dc60ae (#12522) Split purge option to spare sources.list
299 * 9059c4e Fix source specs to test all key permutations
300 * 8acb202 Add test for python-software-properties package
301 * a4af11f Check if python-software-properties is defined before attempting to define it.
302 * 1dcbf3d Add tests for required_packages change
303 * f3735d2 Allow duplicate $required_packages
304 * 74c8371 (#12430) Add tests for changes to apt module
305 * 97ebb2d Test two sources with the same key
306 * 1160bcd (#12526) Add ability to reverse apt { disable_keys => true }
307 * 2842d73 Add Modulefile to puppet-apt
308 * c657742 Allow the use of the same key in multiple sources
309 * 8c27963 (#12522) Adding purge option to apt class
310 * 997c9fd (#12529) Add unit test for apt proxy settings
311 * 50f3cca (#12529) Add parameter to support setting a proxy for apt
312 * d522877 (#12094) Replace chained .with_* with a hash
313 * 8cf1bd0 (#12094) Remove deprecated spec.opts file
314 * 2d688f4 (#12094) Add rspec-puppet tests for apt
315 * 0fb5f78 (#12094) Replace name with path in file resources
316 * f759bc0 (#11953) Apt::force passes $version to aptitude
317 * f71db53 (#11413) Add spec test for apt::force to verify changes to unless
318 * 2f5d317 (#11413) Update dpkg query used by apt::force
319 * cf6caa1 (#10451) Add test coverage to apt::ppa
320 * 0dd697d include_src parameter in example; Whitespace cleanup
321 * b662eb8 fix typos in "repositories"
322 * 1be7457 Fix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added
323 * 864302a Set the pin priority before adding the source (Fix #10449)
324 * 1de4e0a Refactored as per mlitteken
325 * 1af9a13 Added some crazy bash madness to check if the ppa is installed already. Otherwise the manifest tries to add it on every run!
326 * 52ca73e (#8720) Replace Apt::Ppa with Apt::Builddep
327 * 5c05fa0 added builddep command.
328 * a11af50 added the ability to specify the content of a key
329 * c42db0f Fixes ppa test.
330 * 77d2b0d reformatted whitespace to match recommended style of 2 space indentation.
331 * 27ebdfc ignore swap files.
332 * 377d58a added smoke tests for module.
333 * 18f614b reformatted apt::ppa according to recommended style.
334 * d8a1e4e Created a params class to hold global data.
335 * 636ae85 Added two params for apt class
336 * 148fc73 Update LICENSE.
337 * ed2d19e Support ability to add more than one PPA
338 * 420d537 Add call to apt-update after add-apt-repository in apt::ppa
339 * 945be77 Add package definition for python-software-properties
340 * 71fc425 Abs paths for all commands
341 * 9d51cd1 Adding LICENSE
342 * 71796e3 Heading fix in README
343 * 87777d8 Typo in README
344 * f848bac First commit