##2015-04-14 - Supported Release 4.6.0
###Summary
Adds functions and function argument abilities, and improves compatibility with the new puppet parser
####Features
- MODULES-444:
concat()
can now take more than two arrays
basename()
added to have Ruby File.basename functionality
delete()
can now take an array of items to remove
prefix()
can now take a hash
upcase()
can now take a hash or array of upcaseable things
validate_absolute_path()
can now take an array
validate_cmd()
can now use % in the command to embed the validation file argument in the string
- MODULES-1473: deprecate
type()
function in favor of type3x()
- MODULES-1473: Add
type_of()
to give better type information on future parser
- Deprecate
private()
for assert_private()
due to future parser
- Adds
ceiling()
to take the ceiling of a number
- Adds
fqdn_rand_string()
to generate random string based on fqdn
- Adds
pw_hash()
to generate password hashes
- Adds
validate_integer()
- Adds
validate_numeric()
(like validate_integer()
but also accepts floats)
####Bugfixes
- Fix seeding of
fqdn_rotate()
ensure_resource()
is more verbose on debug mode
- Stricter argument checking for
dirname()
- Fix
is_domain_name()
to better match RFC
- Fix
uriescape()
when called with array
- Fix
file_line
resource when using the after
attribute with match
##2015-01-14 - Supported Release 4.5.1
###Summary
This release changes the temporary facter_dot_d cache locations outside of the /tmp directory due to a possible security vunerability. CVE-2015-1029
####Bugfixes
- Facter_dot_d cache will now be stored in puppet libdir instead of tmp
##2014-12-15 - Supported Release 4.5.0
###Summary
This release improves functionality of the member function and adds improved future parser support.
####Features
- MODULES-1329: Update member() to allow the variable to be an array.
- Sync .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md via modulesync
####Bugfixes
- Fix range() to work with numeric ranges with the future parser
- Accurately express SLES support in metadata.json (was missing 10SP4 and 12)
- Don’t require
line
to match the match
parameter
##2014-11-10 - Supported Release 4.4.0
###Summary
This release has an overhauled readme, new private manifest function, and fixes many future parser bugs.
####Features
- All new shiny README
- New
private()
function for making private manifests (yay!)
####Bugfixes
- Code reuse in
bool2num()
and zip()
- Fix many functions to handle
generate()
no longer returning a string on new puppets
concat()
no longer modifies the first argument (whoops)
- strict variable support for
getvar()
, member()
, values_at
, and has_interface_with()
to_bytes()
handles PB and EB now
- Fix
tempfile
ruby requirement for validate_augeas()
and validate_cmd()
- Fix
validate_cmd()
for windows
- Correct
validate_string()
docs to reflect non-handling of undef
- Fix
file_line
matching on older rubies
##2014-07-15 - Supported Release 4.3.2
###Summary
This release merely updates metadata.json so the module can be uninstalled and
upgraded via the puppet module command.
##2014-07-14 - Supported Release 4.3.1
Summary
This supported release updates the metadata.json to work around upgrade behavior of the PMT.
Bugfixes
- Synchronize metadata.json with PMT-generated metadata to pass checksums
##2014-06-27 - Supported Release 4.3.0
Summary
This release is the first supported release of the stdlib 4 series. It remains
backwards-compatible with the stdlib 3 series. It adds two new functions, one bugfix, and many testing updates.
Features
- New
bool2str()
function
- New
camalcase()
function
Bugfixes
- Fix
has_interface_with()
when interfaces fact is nil
##2014-06-04 - Release 4.2.2
Summary
This release adds PE3.3 support in the metadata and fixes a few tests.
2014-05-08 - Release - 4.2.1
Summary
This release moves a stray symlink that can cause problems.
2014-05-08 - Release - 4.2.0
Summary
This release adds many new functions and fixes, and continues to be backwards compatible with stdlib 3.x
Features
- New
base64()
function
- New
deep_merge()
function
- New
delete_undef_values()
function
- New
delete_values()
function
- New
difference()
function
- New
intersection()
function
- New
is_bool()
function
- New
pick_default()
function
- New
union()
function
- New
validate_ipv4_address
function
- New
validate_ipv6_address
function
- Update
ensure_packages()
to take an option hash as a second parameter.
- Update
range()
to take an optional third argument for range step
- Update
validate_slength()
to take an optional third argument for minimum length
- Update
file_line
resource to take after
and multiple
attributes
Bugfixes
- Correct
is_string
, is_domain_name
, is_array
, is_float
, and is_function_available
for parsing odd types such as bools and hashes.
- Allow facts.d facts to contain
=
in the value
- Fix
root_home
fact on darwin systems
- Fix
concat()
to work with a second non-array argument
- Fix
floor()
to work with integer strings
- Fix
is_integer()
to return true if passed integer strings
- Fix
is_numeric()
to return true if passed integer strings
- Fix
merge()
to work with empty strings
- Fix
pick()
to raise the correct error type
- Fix
uriescape()
to use the default URI.escape list
- Add/update unit & acceptance tests.
##2014-03-04 - Supported Release - 3.2.1
###Summary
This is a supported release
####Bugfixes
- Fixed
is_integer
/is_float
/is_numeric
for checking the value of arithmatic expressions.
####Known bugs
- (#20582) Restore facter_dot_d to stdlib for PE users (3b887c8)
- (maint) Update Gemfile with GEM_FACTER_VERSION (f44d535)
- Terser method of string to array conversion courtesy of ethooz. (d38bce0)
- Refactor ensure_resource expectations (b33cc24)
- Changed str-to-array conversion and removed abbreviation. (de253db)
- (#20548) Allow an array of resource titles to be passed into the ensure_resource function (e08734a)
- Add a dirname function (2ba9e47)
- (maint) Fix a small typo in hash() description (928036a)
- Update user information in gemspec to make the intent of the Gem clear.
- Fix README function documentation (ab3e30c)
- stdlib 4.0 drops support with Puppet 2.7
- stdlib 4.0 preserves support with Puppet 3
- Add ability to use puppet from git via bundler (9c5805f)
- (maint) Make stdlib usable as a Ruby GEM (e81a45e)
- Add a count function (f28550e)
- (#19998) Implement any2array (7a2fb80)
2013-03-29 - Steve Huff shuff@vecna.org - 4.0.0
- (19864) num2bool match fix (8d217f0)
- Allow comparisons of Numeric and number as String (ff5dd5d)
- add suffix function to accompany the prefix function (88a93ac)
- Add floor function implementation and unit tests (0527341)
- (#13610) Add is_function_available to stdlib (961dcab)
2012-12-17 - Justin Lambert jlambert@eml.cc - 4.0.0
- str2bool should return a boolean if called with a boolean (5d5a4d4)
- Fix number of arguments check in flatten() (e80207b)
- Add contributing document (96e19d0)
- Add missing documentation for validate_augeas and validate_cmd to README.markdown (a1510a1)
2013-02-14 - Joshua Hoblitt jhoblitt@cpan.org - 4.0.0
- (#19272) Add has_element() function (95cf3fe)
- validate_cmd(): Use Puppet::Util::Execution.execute when available (69248df)
- Add validate_augeas function (3a97c23)
- Add validate_cmd function (6902cc5)
2013-01-14 - David Schmitt david@dasz.at - 4.0.0
- Add geppetto project definition (b3fc0a3)
- Add getparam function to get defined resource parameters (20e0e07)
- (maint) Add Travis CI Support (d082046)
- Clarify that stdlib 3 supports Puppet 3 (3a6085f)
- maint: style guideline fixes (7742e5f)
- puppet-lint cleanup (88acc52)
- Add function, uriescape, to URI.escape strings. Redmine #17459 (fd52b8d)
- Add an ensure_packages function. (8a8c09e)
- (#17797) min() and max() functions (9954133)
- (#14670) autorequire a file_line resource’s path (dfcee63)
- Add join_keys_to_values function (ee0f2b3)
- Extend delete function for strings and hashes (7322e4d)
- Add the pick() function (ba6dd13)
2012-03-20 - Wil Cooley wcooley@pdx.edu - 3.2.0
- (#13974) Add predicate functions for interface facts (f819417)
- Add function, uriescape, to URI.escape strings. Redmine #17459 (70f4a0e)
- (maint) Fix spec failures resulting from Facter API changes (97f836f)
- Add PE facts to stdlib (cdf3b05)
- Fix accidental removal of facts_dot_d.rb in 3.0.0 release
- stdlib 3.0 drops support with Puppet 2.6
- stdlib 3.0 preserves support with Puppet 2.7
- Add function ensure_resource and defined_with_params (ba789de)
- (#2157) Remove facter_dot_d for compatibility with external facts (f92574f)
- (#13693) moving logic from local spec_helper to puppetlabs_spec_helper (85f96df)
- (maint) Fix spec failures resulting from Facter API changes (97f836f)
- Add PE facts to stdlib (cdf3b05)
- Explicitly load functions used by ensure_resource (9fc3063)
- Add better docs about duplicate resource failures (97d327a)
- Handle undef for parameter argument (4f8b133)
- Add function ensure_resource and defined_with_params (a0cb8cd)
- Disable tests that fail on 2.6.x due to #15912 (c81496e)
- (Maint) Fix mis-use of rvalue functions as statements (4492913)
- Add .rspec file to repo root (88789e8)
- Add support for a ‘match’ parameter to file_line (a06c0d8)
- (#15872) Add to_bytes function (247b69c)
- (Maint) use PuppetlabsSpec::PuppetInternals.scope (master) (deafe88)
- (#2157) Make facts_dot_d compatible with external facts (5fb0ddc)
- (#13205) Rotate array/string randomley based on fqdn, fqdn_rotate() (fef247b)
- fix regression in #11017 properly (f0a62c7)
- Fix spec tests using the new spec_helper (7d34333)
- Make file_line default to ensure => present (1373e70)
- Memoize file_line spec instance variables (20aacc5)
- Fix spec tests using the new spec_helper (1ebfa5d)
- (#13595) initialize_everything_for_tests couples modules Puppet ver (3222f35)
- (#13439) Fix MRI 1.9 issue with spec_helper (15c5fd1)
- (#13439) Fix test failures with Puppet 2.6.x (665610b)
- (#13439) refactor spec helper for compatibility with both puppet 2.7 and master (82194ca)
- (#13494) Specify the behavior of zero padded strings (61891bb)
- (#11607) Add Rakefile to enable spec testing
- (#12377) Avoid infinite loop when retrying require json
- (#13091) Fix LoadError bug with puppet apply and puppet_vardir fact
- Add a large number of new Puppet functions
- Backwards compatibility preserved with 2.2.x
- Documentation only release for the Forge
- Documentation only release for PE 2.0.x
- #10285 - Refactor json to use pson instead.
- Maint - Add watchr autotest script
- Maint - Make rspec tests work with Puppet 2.6.4
- #9859 - Add root_home fact and tests
- Change facts.d paths to match Facter 2.0 paths.
- /etc/facter/facts.d
- /etc/puppetlabs/facter/facts.d
- Add R.I. Pienaar’s facts.d custom facter fact
- facts defined in /etc/facts.d and /etc/puppetlabs/facts.d are
automatically loaded now.
- Rename whole_line to file_line
- This is an API change and as such motivating a 2.0.0 release according to semver.org.
- Rename append_line to whole_line
- This is an API change and as such motivating a 1.1.0 release.
- Initial stable release
- Add validate_array and validate_string functions
- Make merge() function work with Ruby 1.8.5
- Add hash merging function
- Add has_key function
- Add loadyaml() function
- Add append_line native
- Add validate_hash() and getvar() functions
- Add anchor resource type to provide containment for composite classes
- Add validate_bool() function to stdlib
- Move most stages after main
- Add validate_re() function
- Update to add annotated tag
- Add stdlib::stages class with a standard set of stages