]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/stdlib/CHANGELOG.md
upgrade to stdlib 4.6.1
[dsa-puppet.git] / 3rdparty / modules / stdlib / CHANGELOG.md
1 ##2015-04-14 - Supported Release 4.6.0
2 ###Summary
3
4 Adds functions and function argument abilities, and improves compatibility with the new puppet parser
5
6 ####Features
7 - MODULES-444: `concat()` can now take more than two arrays
8 - `basename()` added to have Ruby File.basename functionality
9 - `delete()` can now take an array of items to remove
10 - `prefix()` can now take a hash
11 - `upcase()` can now take a hash or array of upcaseable things
12 - `validate_absolute_path()` can now take an array
13 - `validate_cmd()` can now use % in the command to embed the validation file argument in the string
14 - MODULES-1473: deprecate `type()` function in favor of `type3x()`
15 - MODULES-1473: Add `type_of()` to give better time information on future parser
16 - Deprecate `private()` for `assert_private()` due to future parser
17 - Adds `ceiling()` to take the ceiling of a number
18 - Adds `fqdn_rand_string()` to generate random string based on fqdn
19 - Adds `pw_hash()` to generate password hashes
20 - Adds `validate_integer()`
21 - Adds `validate_numeric()` (like `validate_integer()` but also accepts floats)
22
23 ####Bugfixes
24 - Fix seeding of `fqdn_rotate()`
25 - `ensure_resource()` is more verbose on debug mode
26 - Stricter argument checking for `dirname()`
27 - Fix `is_domain_name()` to better match RFC
28 - Fix `uriescape()` when called with array
29 - Fix `file_line` resource when using the `after` attribute with `match`
30
31 ##2015-01-14 - Supported Release 4.5.1
32 ###Summary
33
34 This release changes the temporary facter_dot_d cache locations outside of the /tmp directory due to a possible security vunerability. CVE-2015-1029
35
36 ####Bugfixes
37 - Facter_dot_d cache will now be stored in puppet libdir instead of tmp
38
39 ##2014-12-15 - Supported Release 4.5.0
40 ###Summary
41
42 This release improves functionality of the member function and adds improved future parser support.
43
44 ####Features
45 - MODULES-1329: Update member() to allow the variable to be an array.
46 - Sync .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md via modulesync
47
48 ####Bugfixes
49 - Fix range() to work with numeric ranges with the future parser
50 - Accurately express SLES support in metadata.json (was missing 10SP4 and 12)
51 - Don't require `line` to match the `match` parameter
52
53 ##2014-11-10 - Supported Release 4.4.0
54 ###Summary
55 This release has an overhauled readme, new private manifest function, and fixes many future parser bugs.
56
57 ####Features
58 - All new shiny README
59 - New `private()` function for making private manifests (yay!)
60
61 ####Bugfixes
62 - Code reuse in `bool2num()` and `zip()`
63 - Fix many functions to handle `generate()` no longer returning a string on new puppets
64 - `concat()` no longer modifies the first argument (whoops)
65 - strict variable support for `getvar()`, `member()`, `values_at`, and `has_interface_with()`
66 - `to_bytes()` handles PB and EB now
67 - Fix `tempfile` ruby requirement for `validate_augeas()` and `validate_cmd()`
68 - Fix `validate_cmd()` for windows
69 - Correct `validate_string()` docs to reflect non-handling of `undef`
70 - Fix `file_line` matching on older rubies
71
72
73 ##2014-07-15 - Supported Release 4.3.2
74 ###Summary
75
76 This release merely updates metadata.json so the module can be uninstalled and
77 upgraded via the puppet module command.
78
79 ##2014-07-14 - Supported Release 4.3.1
80 ### Summary
81 This supported release updates the metadata.json to work around upgrade behavior of the PMT.
82
83 #### Bugfixes
84 - Synchronize metadata.json with PMT-generated metadata to pass checksums
85
86 ##2014-06-27 - Supported Release 4.3.0
87 ### Summary
88 This release is the first supported release of the stdlib 4 series. It remains
89 backwards-compatible with the stdlib 3 series. It adds two new functions, one bugfix, and many testing updates.
90
91 #### Features
92 - New `bool2str()` function
93 - New `camalcase()` function
94
95 #### Bugfixes
96 - Fix `has_interface_with()` when interfaces fact is nil
97
98 ##2014-06-04 - Release 4.2.2
99 ### Summary
100
101 This release adds PE3.3 support in the metadata and fixes a few tests.
102
103 ## 2014-05-08 - Release - 4.2.1
104 ### Summary
105 This release moves a stray symlink that can cause problems.
106
107 ## 2014-05-08 - Release - 4.2.0
108 ### Summary
109 This release adds many new functions and fixes, and continues to be backwards compatible with stdlib 3.x
110
111 #### Features
112 - New `base64()` function
113 - New `deep_merge()` function
114 - New `delete_undef_values()` function
115 - New `delete_values()` function
116 - New `difference()` function
117 - New `intersection()` function
118 - New `is_bool()` function
119 - New `pick_default()` function
120 - New `union()` function
121 - New `validate_ipv4_address` function
122 - New `validate_ipv6_address` function
123 - Update `ensure_packages()` to take an option hash as a second parameter.
124 - Update `range()` to take an optional third argument for range step
125 - Update `validate_slength()` to take an optional third argument for minimum length
126 - Update `file_line` resource to take `after` and `multiple` attributes
127
128 #### Bugfixes
129 - Correct `is_string`, `is_domain_name`, `is_array`, `is_float`, and `is_function_available` for parsing odd types such as bools and hashes.
130 - Allow facts.d facts to contain `=` in the value
131 - Fix `root_home` fact on darwin systems
132 - Fix `concat()` to work with a second non-array argument
133 - Fix `floor()` to work with integer strings
134 - Fix `is_integer()` to return true if passed integer strings
135 - Fix `is_numeric()` to return true if passed integer strings
136 - Fix `merge()` to work with empty strings
137 - Fix `pick()` to raise the correct error type
138 - Fix `uriescape()` to use the default URI.escape list
139 - Add/update unit & acceptance tests.
140
141
142 ##2014-03-04 - Supported Release - 3.2.1
143 ###Summary
144 This is a supported release
145
146 ####Bugfixes
147 - Fixed `is_integer`/`is_float`/`is_numeric` for checking the value of arithmatic expressions.
148
149 ####Known bugs
150 * No known bugs
151
152 ---
153
154 ##### 2013-05-06 - Jeff McCune <jeff@puppetlabs.com> - 4.1.0
155
156  * (#20582) Restore facter\_dot\_d to stdlib for PE users (3b887c8)
157  * (maint) Update Gemfile with GEM\_FACTER\_VERSION (f44d535)
158
159 ##### 2013-05-06 - Alex Cline <acline@us.ibm.com> - 4.1.0
160
161  * Terser method of string to array conversion courtesy of ethooz. (d38bce0)
162
163 ##### 2013-05-06 - Alex Cline <acline@us.ibm.com> 4.1.0
164
165  * Refactor ensure\_resource expectations (b33cc24)
166
167 ##### 2013-05-06 - Alex Cline <acline@us.ibm.com> 4.1.0
168
169  * Changed str-to-array conversion and removed abbreviation. (de253db)
170
171 ##### 2013-05-03 - Alex Cline <acline@us.ibm.com> 4.1.0
172
173  * (#20548) Allow an array of resource titles to be passed into the ensure\_resource function (e08734a)
174
175 ##### 2013-05-02 - Raphaël Pinson <raphael.pinson@camptocamp.com> - 4.1.0
176
177  * Add a dirname function (2ba9e47)
178
179 ##### 2013-04-29 - Mark Smith-Guerrero <msmithgu@gmail.com> - 4.1.0
180
181  * (maint) Fix a small typo in hash() description (928036a)
182
183 ##### 2013-04-12 - Jeff McCune <jeff@puppetlabs.com> - 4.0.2
184
185  * Update user information in gemspec to make the intent of the Gem clear.
186
187 ##### 2013-04-11 - Jeff McCune <jeff@puppetlabs.com> - 4.0.1
188
189  * Fix README function documentation (ab3e30c)
190
191 ##### 2013-04-11 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
192
193  * stdlib 4.0 drops support with Puppet 2.7
194  * stdlib 4.0 preserves support with Puppet 3
195
196 ##### 2013-04-11 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
197
198  * Add ability to use puppet from git via bundler (9c5805f)
199
200 ##### 2013-04-10 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
201
202  * (maint) Make stdlib usable as a Ruby GEM (e81a45e)
203
204 ##### 2013-04-10 - Erik Dalén <dalen@spotify.com> - 4.0.0
205
206  * Add a count function (f28550e)
207
208 ##### 2013-03-31 - Amos Shapira <ashapira@atlassian.com> - 4.0.0
209
210  * (#19998) Implement any2array (7a2fb80)
211
212 ##### 2013-03-29 - Steve Huff <shuff@vecna.org> - 4.0.0
213
214  * (19864) num2bool match fix (8d217f0)
215
216 ##### 2013-03-20 - Erik Dalén <dalen@spotify.com> - 4.0.0
217
218  * Allow comparisons of Numeric and number as String (ff5dd5d)
219
220 ##### 2013-03-26 - Richard Soderberg <rsoderberg@mozilla.com> - 4.0.0
221
222  * add suffix function to accompany the prefix function (88a93ac)
223
224 ##### 2013-03-19 - Kristof Willaert <kristof.willaert@gmail.com> - 4.0.0
225
226  * Add floor function implementation and unit tests (0527341)
227
228 ##### 2012-04-03 - Eric Shamow <eric@puppetlabs.com> - 4.0.0
229
230  * (#13610) Add is\_function\_available to stdlib (961dcab)
231
232 ##### 2012-12-17 - Justin Lambert <jlambert@eml.cc> - 4.0.0
233
234  * str2bool should return a boolean if called with a boolean (5d5a4d4)
235
236 ##### 2012-10-23 - Uwe Stuehler <ustuehler@team.mobile.de> - 4.0.0
237
238  * Fix number of arguments check in flatten() (e80207b)
239
240 ##### 2013-03-11 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
241
242  * Add contributing document (96e19d0)
243
244 ##### 2013-03-04 - Raphaël Pinson <raphael.pinson@camptocamp.com> - 4.0.0
245
246  * Add missing documentation for validate\_augeas and validate\_cmd to README.markdown (a1510a1)
247
248 ##### 2013-02-14 - Joshua Hoblitt <jhoblitt@cpan.org> - 4.0.0
249
250  * (#19272) Add has\_element() function (95cf3fe)
251
252 ##### 2013-02-07 - Raphaël Pinson <raphael.pinson@camptocamp.com> - 4.0.0
253
254  * validate\_cmd(): Use Puppet::Util::Execution.execute when available (69248df)
255
256 ##### 2012-12-06 - Raphaël Pinson <raphink@gmail.com> - 4.0.0
257
258  * Add validate\_augeas function (3a97c23)
259
260 ##### 2012-12-06 - Raphaël Pinson <raphink@gmail.com> - 4.0.0
261
262  * Add validate\_cmd function (6902cc5)
263
264 ##### 2013-01-14 - David Schmitt <david@dasz.at> - 4.0.0
265
266  * Add geppetto project definition (b3fc0a3)
267
268 ##### 2013-01-02 - Jaka Hudoklin <jakahudoklin@gmail.com> - 4.0.0
269
270  * Add getparam function to get defined resource parameters (20e0e07)
271
272 ##### 2013-01-05 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
273
274  * (maint) Add Travis CI Support (d082046)
275
276 ##### 2012-12-04 - Jeff McCune <jeff@puppetlabs.com> - 4.0.0
277
278  * Clarify that stdlib 3 supports Puppet 3 (3a6085f)
279
280 ##### 2012-11-30 - Erik Dalén <dalen@spotify.com> - 4.0.0
281
282  * maint: style guideline fixes (7742e5f)
283
284 ##### 2012-11-09 - James Fryman <james@frymanet.com> - 4.0.0
285
286  * puppet-lint cleanup (88acc52)
287
288 ##### 2012-11-06 - Joe Julian <me@joejulian.name> - 4.0.0
289
290  * Add function, uriescape, to URI.escape strings. Redmine #17459 (fd52b8d)
291
292 ##### 2012-09-18 - Chad Metcalf <chad@wibidata.com> - 3.2.0
293
294  * Add an ensure\_packages function. (8a8c09e)
295
296 ##### 2012-11-23 - Erik Dalén <dalen@spotify.com> - 3.2.0
297
298  * (#17797) min() and max() functions (9954133)
299
300 ##### 2012-05-23 - Peter Meier <peter.meier@immerda.ch> - 3.2.0
301
302  * (#14670) autorequire a file\_line resource's path (dfcee63)
303
304 ##### 2012-11-19 - Joshua Harlan Lifton <lifton@puppetlabs.com> - 3.2.0
305
306  * Add join\_keys\_to\_values function (ee0f2b3)
307
308 ##### 2012-11-17 - Joshua Harlan Lifton <lifton@puppetlabs.com> - 3.2.0
309
310  * Extend delete function for strings and hashes (7322e4d)
311
312 ##### 2012-08-03 - Gary Larizza <gary@puppetlabs.com> - 3.2.0
313
314  * Add the pick() function (ba6dd13)
315
316 ##### 2012-03-20 - Wil Cooley <wcooley@pdx.edu> - 3.2.0
317
318  * (#13974) Add predicate functions for interface facts (f819417)
319
320 ##### 2012-11-06 - Joe Julian <me@joejulian.name> - 3.2.0
321
322  * Add function, uriescape, to URI.escape strings. Redmine #17459 (70f4a0e)
323
324 ##### 2012-10-25 - Jeff McCune <jeff@puppetlabs.com> - 3.1.1
325
326  * (maint) Fix spec failures resulting from Facter API changes (97f836f)
327
328 ##### 2012-10-23 - Matthaus Owens <matthaus@puppetlabs.com> - 3.1.0
329
330  * Add PE facts to stdlib (cdf3b05)
331
332 ##### 2012-08-16 - Jeff McCune <jeff@puppetlabs.com> - 3.0.1
333
334  * Fix accidental removal of facts\_dot\_d.rb in 3.0.0 release
335
336 ##### 2012-08-16 - Jeff McCune <jeff@puppetlabs.com> - 3.0.0
337
338  * stdlib 3.0 drops support with Puppet 2.6
339  * stdlib 3.0 preserves support with Puppet 2.7
340
341 ##### 2012-08-07 - Dan Bode <dan@puppetlabs.com> - 3.0.0
342
343  * Add function ensure\_resource and defined\_with\_params (ba789de)
344
345 ##### 2012-07-10 - Hailee Kenney <hailee@puppetlabs.com> - 3.0.0
346
347  * (#2157) Remove facter\_dot\_d for compatibility with external facts (f92574f)
348
349 ##### 2012-04-10 - Chris Price <chris@puppetlabs.com> - 3.0.0
350
351  * (#13693) moving logic from local spec\_helper to puppetlabs\_spec\_helper (85f96df)
352
353 ##### 2012-10-25 - Jeff McCune <jeff@puppetlabs.com> - 2.5.1
354
355  * (maint) Fix spec failures resulting from Facter API changes (97f836f)
356
357 ##### 2012-10-23 - Matthaus Owens <matthaus@puppetlabs.com> - 2.5.0
358
359  * Add PE facts to stdlib (cdf3b05)
360
361 ##### 2012-08-15 - Dan Bode <dan@puppetlabs.com> - 2.5.0
362
363  * Explicitly load functions used by ensure\_resource (9fc3063)
364
365 ##### 2012-08-13 - Dan Bode <dan@puppetlabs.com> - 2.5.0
366
367  * Add better docs about duplicate resource failures (97d327a)
368
369 ##### 2012-08-13 - Dan Bode <dan@puppetlabs.com> - 2.5.0
370
371  * Handle undef for parameter argument (4f8b133)
372
373 ##### 2012-08-07 - Dan Bode <dan@puppetlabs.com> - 2.5.0
374
375  * Add function ensure\_resource and defined\_with\_params (a0cb8cd)
376
377 ##### 2012-08-20 - Jeff McCune <jeff@puppetlabs.com> - 2.5.0
378
379  * Disable tests that fail on 2.6.x due to #15912 (c81496e)
380
381 ##### 2012-08-20 - Jeff McCune <jeff@puppetlabs.com> - 2.5.0
382
383  * (Maint) Fix mis-use of rvalue functions as statements (4492913)
384
385 ##### 2012-08-20 - Jeff McCune <jeff@puppetlabs.com> - 2.5.0
386
387  * Add .rspec file to repo root (88789e8)
388
389 ##### 2012-06-07 - Chris Price <chris@puppetlabs.com> - 2.4.0
390
391  * Add support for a 'match' parameter to file\_line (a06c0d8)
392
393 ##### 2012-08-07 - Erik Dalén <dalen@spotify.com> - 2.4.0
394
395  * (#15872) Add to\_bytes function (247b69c)
396
397 ##### 2012-07-19 - Jeff McCune <jeff@puppetlabs.com> - 2.4.0
398
399  * (Maint) use PuppetlabsSpec::PuppetInternals.scope (master) (deafe88)
400
401 ##### 2012-07-10 - Hailee Kenney <hailee@puppetlabs.com> - 2.4.0
402
403  * (#2157) Make facts\_dot\_d compatible with external facts (5fb0ddc)
404
405 ##### 2012-03-16 - Steve Traylen <steve.traylen@cern.ch> - 2.4.0
406
407  * (#13205) Rotate array/string randomley based on fqdn, fqdn\_rotate() (fef247b)
408
409 ##### 2012-05-22 - Peter Meier <peter.meier@immerda.ch> - 2.3.3
410
411  * fix regression in #11017 properly (f0a62c7)
412
413 ##### 2012-05-10 - Jeff McCune <jeff@puppetlabs.com> - 2.3.3
414
415  * Fix spec tests using the new spec\_helper (7d34333)
416
417 ##### 2012-05-10 - Puppet Labs <support@puppetlabs.com> - 2.3.2
418
419  * Make file\_line default to ensure => present (1373e70)
420  * Memoize file\_line spec instance variables (20aacc5)
421  * Fix spec tests using the new spec\_helper (1ebfa5d)
422  * (#13595) initialize\_everything\_for\_tests couples modules Puppet ver (3222f35)
423  * (#13439) Fix MRI 1.9 issue with spec\_helper (15c5fd1)
424  * (#13439) Fix test failures with Puppet 2.6.x (665610b)
425  * (#13439) refactor spec helper for compatibility with both puppet 2.7 and master (82194ca)
426  * (#13494) Specify the behavior of zero padded strings (61891bb)
427
428 ##### 2012-03-29 Puppet Labs <support@puppetlabs.com> - 2.1.3
429
430 * (#11607) Add Rakefile to enable spec testing
431 * (#12377) Avoid infinite loop when retrying require json
432
433 ##### 2012-03-13 Puppet Labs <support@puppetlabs.com> - 2.3.1
434
435 * (#13091) Fix LoadError bug with puppet apply and puppet\_vardir fact
436
437 ##### 2012-03-12 Puppet Labs <support@puppetlabs.com> - 2.3.0
438
439 * Add a large number of new Puppet functions
440 * Backwards compatibility preserved with 2.2.x
441
442 ##### 2011-12-30 Puppet Labs <support@puppetlabs.com> - 2.2.1
443
444 * Documentation only release for the Forge
445
446 ##### 2011-12-30 Puppet Labs <support@puppetlabs.com> - 2.1.2
447
448 * Documentation only release for PE 2.0.x
449
450 ##### 2011-11-08 Puppet Labs <support@puppetlabs.com> - 2.2.0
451
452 * #10285 - Refactor json to use pson instead.
453 * Maint  - Add watchr autotest script
454 * Maint  - Make rspec tests work with Puppet 2.6.4
455 * #9859  - Add root\_home fact and tests
456
457 ##### 2011-08-18 Puppet Labs <support@puppetlabs.com> - 2.1.1
458
459 * Change facts.d paths to match Facter 2.0 paths.
460 * /etc/facter/facts.d
461 * /etc/puppetlabs/facter/facts.d
462
463 ##### 2011-08-17 Puppet Labs <support@puppetlabs.com> - 2.1.0
464
465 * Add R.I. Pienaar's facts.d custom facter fact
466 * facts defined in /etc/facts.d and /etc/puppetlabs/facts.d are
467   automatically loaded now.
468
469 ##### 2011-08-04 Puppet Labs <support@puppetlabs.com> - 2.0.0
470
471 * Rename whole\_line to file\_line
472 * This is an API change and as such motivating a 2.0.0 release according to semver.org.
473
474 ##### 2011-08-04 Puppet Labs <support@puppetlabs.com> - 1.1.0
475
476 * Rename append\_line to whole\_line
477 * This is an API change and as such motivating a 1.1.0 release.
478
479 ##### 2011-08-04 Puppet Labs <support@puppetlabs.com> - 1.0.0
480
481 * Initial stable release
482 * Add validate\_array and validate\_string functions
483 * Make merge() function work with Ruby 1.8.5
484 * Add hash merging function
485 * Add has\_key function
486 * Add loadyaml() function
487 * Add append\_line native
488
489 ##### 2011-06-21 Jeff McCune <jeff@puppetlabs.com> - 0.1.7
490
491 * Add validate\_hash() and getvar() functions
492
493 ##### 2011-06-15 Jeff McCune <jeff@puppetlabs.com> - 0.1.6
494
495 * Add anchor resource type to provide containment for composite classes
496
497 ##### 2011-06-03 Jeff McCune <jeff@puppetlabs.com> - 0.1.5
498
499 * Add validate\_bool() function to stdlib
500
501 ##### 0.1.4 2011-05-26 Jeff McCune <jeff@puppetlabs.com>
502
503 * Move most stages after main
504
505 ##### 0.1.3 2011-05-25 Jeff McCune <jeff@puppetlabs.com>
506
507 * Add validate\_re() function
508
509 ##### 0.1.2 2011-05-24 Jeff McCune <jeff@puppetlabs.com>
510
511 * Update to add annotated tag
512
513 ##### 0.1.1 2011-05-24 Jeff McCune <jeff@puppetlabs.com>
514
515 * Add stdlib::stages class with a standard set of stages