Skip to content

Latest commit

 

History

History
1245 lines (813 loc) · 93.8 KB

CHANGELOG.md

File metadata and controls

1245 lines (813 loc) · 93.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v9.6.0 - 2024-04-03

Full Changelog

Added

  • Allow usage of file templates with stdlib::manage #1422 (tuxmea)

v9.5.0 - 2024-03-11

Full Changelog

Added

Fixed

Other

v9.4.1 - 2023-11-09

Full Changelog

Fixed

  • Correct casing of Stdlib::IP::Address #1406 (ekohl)

v9.4.0 - 2023-09-29

Full Changelog

Added

v9.3.0 - 2023-08-01

Full Changelog

Added

Fixed

  • Re-add block support to deprecated top-level merge #1385 (seanmil)

v9.2.0 - 2023-06-27

Full Changelog

Added

Fixed

  • Ignore Puppet's strict setting when calling function without namespace #1377 (alexjfisher)
  • Pass calling scope to stdlib::ensure_packages from shim #1366 (alexjfisher)

v9.1.0 - 2023-06-15

Full Changelog

Added

Fixed

v9.0.0 - 2023-05-30

Full Changelog

Changed

Added

Fixed

v8.6.0 - 2023-04-24

Full Changelog

Added

Fixed

v8.5.0 - 2022-10-13

Full Changelog

Added

Fixed

v8.4.0 - 2022-07-21

Full Changelog

Added

  • deferrable epp function simplifying deferred templates #1253 (binford2k)

v8.3.0 - 2022-07-11

Full Changelog

Added

Fixed

  • (MODULES-2892) Handle missing file in file_line #1251 (silug)
  • Simplify stdlib::manage #1250 (jcpunk)
  • Unbreak rake strings:generate:reference #1239 (smortex)
  • loadjson: do not send http_basic_authentication if not needed #1208 (chaen)

v8.2.0 - 2022-05-16

Full Changelog

Added

Fixed

v8.1.0 - 2021-10-04

Full Changelog

Added

Fixed

v8.0.0 - 2021-08-24

Full Changelog

Changed

  • Flip installed and present in Function ensure_packages #1196 (cocker-cc)

Added

Fixed

  • (MODULES-11099) Make merge parameter data types actually backwards compatible #1191 (LadyNamedLaura)

v7.1.0 - 2021-05-17

Full Changelog

Added

v7.0.1 - 2021-04-12

Full Changelog

Fixed

v7.0.0 - 2021-03-01

Full Changelog

Changed

  • pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 #1164 (carabasdaniel)

Added

Fixed

  • (bugfix) Setting stricter email validation #1163 (pmcmaw)
  • (IAC-1414) Throw error in range() function when step size invalid #1161 (sanfrancrisko)

v6.6.0 - 2021-02-02

Full Changelog

Added

Fixed

  • (IAC-1375) fix unit tests for pe_version fact, when using later facte… #1155 (tphoney)
  • seeded_rand: update funtion to ensure it returns an int not String #1139 (b4ldr)

v6.5.0 - 2020-09-30

Full Changelog

Added

  • Add parsehocon() function #1130 (reidmv)
  • Add new types for Stdlib::Ensure::File #1129 (b4ldr)
  • Add additional types Stdlib::Port::Dynamic,Ephemeral,Registered,User} #1128 (b4ldr)
  • Stdlib::Datasize: This CR adds a new data size type alias #1126 (b4ldr)

v6.4.0 - 2020-08-21

Full Changelog

Added

Fixed

v6.3.0 - 2020-04-16

Full Changelog

Added

Fixed

  • (MODULES-10623) explicitly top-scope calls to JSON methods #1101 (tkishel)
  • [IAC-547] Remove strftime from stdlib as it has already been replaced by the puppet agent since 4.8.0 #1097 (carabasdaniel)
  • Add correct namespace for start_with function #1095 (baurmatt)
  • intersection: show types in exception due to invalid arguments #1077 (runejuhl)
  • Make type aliases stricter #1066 (pegasd)

v6.2.0 - 2019-12-10

Full Changelog

Added

Fixed

v6.1.0 - 2019-09-20

Full Changelog

Added

Fixed

  • fix lib/puppet/parser/functions/fqdn_rand_string.rb:21: syntax error #1029 (pulecp)
  • Limit the maximum array size produced by range(). #1023 (mbaynton)

v6.0.0 - 2019-05-22

Full Changelog

Changed

Added

  • (MODULES-8760) Add iterative feature to merge() function #1008 (hlindberg)
  • Add a stdlib::ip_in_range() function #1003 (iglov)

5.2.0 - 2019-01-18

Full Changelog

Added

Fixed

  • pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3 #979 (tphoney)
  • fix ensure_packages duplicate checking #969 (netzvieh)

5.1.0 - 2018-10-01

Full Changelog

Added

  • pdksync - (MODULES-6805) metadata.json shows support for puppet 6 #958 (tphoney)
  • (maint) Convert from mocking with mocha to rspec-mocks #948 (rodjek)

Fixed

  • (FM-7388) - Fixing unit tests for puppet 4, 5 and 6 #962 (tphoney)
  • (MODULES-7768) Handle nil in delete_undef_values() function #954 (hlindberg)
  • Update docs for 'concat' to be correct #950 (rhowe-gds)

5.0.0 - 2018-08-22

Full Changelog

Added

Fixed

  • Make any2array return empty array on empty string #930 (jbro)
  • Revert "Allow pick() to work with strict variables" #927 (mwhahaha)
  • (docs) update documentation wrt functions moved to puppet #922 (hlindberg)

4.25.1 - 2018-04-04

Full Changelog

4.25.0 - 2018-03-13

Full Changelog

Added

  • (MODULES-6366) Add data types for IP validation #872 (ghoneycutt)
  • add Stdlib::Fqdn and Stdlib::Host #842 (b4ldr)
  • add Stdlib::Filesource #841 (b4ldr)
  • add Stdlib::base64 and Stdlib::Base32 types #840 (b4ldr)
  • add Stdlib::Port, Stdlib::Privilegedport & Stdlib::Unprivilegedport #839 (b4ldr)

Fixed

4.24.0 - 2017-12-08

Full Changelog

Fixed

  • (MODULES-6216) - Fix type3x function in stdlib #861 (pmcmaw)

4.23.0 - 2017-11-24

Full Changelog

4.22.0 - 2017-11-15

Full Changelog

Fixed

4.21.0 - 2017-11-03

Full Changelog

Added

  • Add Stdlib::Mode type #834 (ghoneycutt)
  • (MODULES-5680) Added new function sprintf_hash to allow using named references #824 (vStone)
  • (MODULES-5679) Add a new function ifelse to match ruby's tenary operator #823 (vStone)
  • Add a type for ensure on service resources #750 (npwalker)

Fixed

4.20.0 - 2017-09-11

Full Changelog

Added

4.19.0 - 2017-08-21

Full Changelog

4.18.0 - 2017-08-11

Full Changelog

Added

  • MODULES-5382 Add documentation for email functions #800 (tphoney)
  • add type for MAC address #796 (bastelfreak)
  • (MODULES-4908) adds support for sensitive data type to pw_hash #791 (eputnam)
  • (FACT-932) Add new function, fact() #787 (reidmv)
  • Add validate_domain_name function #753 (frapex)
  • Add a round function to complement ceiling and floor #748 (npwalker)
  • Add new file_line option append_on_no_match #717 (ripclawffb)

Fixed

  • MODULES-5440 fix upper bound for puppet #803 (tphoney)
  • (MODULES-5003) file_line does not change multiple lines when one matches #794 (tkishel)
  • (MODULES-5003) file_line fix all broken lines #788 (tphoney)
  • (MODULES-5113) Make line support Sensitive #786 (reidmv)
  • Fix headers in CHANGELOG.md so that headers render correctly #783 (davewongillies)
  • (Modules 4377) Causes ensure_packages to accept concurrent declarations with ensure => 'present' and 'installed' #716 (EmersonPrado)

4.17.1 - 2017-06-16

Full Changelog

Fixed

4.17.0 - 2017-05-10

Full Changelog

Added

Fixed

  • (MODULES-4706) prerelease fixes #771 (eputnam)
  • (MODULES-4706) prerelease fixes #770 (jbondpdx)
  • (PE-20308) Fix defined_with_params() for defined type strings & references #765 (hunner)
  • (PE-20308) Correct boundary for 4.5 vs 4.6 #763 (hunner)
  • (PE-20308) Pass a literal type and not a string to findresource #761 (hunner)
  • Ruby 1.8 doesn't support open_args #758 (sathieu)
  • [MODULES-4528] Replace Puppet.version.to_f version comparison from spec_helper.rb #745 (wilson208)

4.16.0 - 2017-03-21

Full Changelog

Added

Fixed

  • Permit double slash in absolute/Unix path types #740 (domcleal)
  • (MODULES-4528) Use versioncmp to check Puppet version for 4.10.x compat #737 (domcleal)
  • Should only try to apply the resource if it not defined #735 (elmobp)
  • loosen the regex for tuple checking #728 (tphoney)
  • Fix acceptance test failure "Hiera is not a class" #720 (DavidS)
  • Fix unsupported data type error with rspec-puppet master #715 (domcleal)

4.15.0 - 2017-01-20

Full Changelog

Added

4.14.0 - 2016-12-12

Full Changelog

Added

Fixed

  • (MODULES-3393) Deprecation - Use puppet stacktrace if available #693 (HelenCampbell)
  • Revert "Call site output for deprecation warnings" #692 (bmjen)
  • Fix spec failures on puppet 4.8 #689 (DavidS)
  • (MODULES-3829) Use .dup to duplicate classes for modification. #687 (MG2R)
  • (MODULES-3980) Fix ipv4 regex validator #680 (DavidS)

4.13.1 - 2016-10-13

Full Changelog

4.13.0 - 2016-10-11

Full Changelog

Added

Fixed

4.12.0 - 2016-05-03

Full Changelog

Added

Fixed

  • Undo changing delete() to delete regex matches #599 (hunner)
  • (MODULES-3271) Ensure that is_email_address works on unsupported rubies #598 (DavidS)
  • (MODULES-3246) Fix concat with Hash arguments. #590 (alext)
  • (maint) Fixes fqdn_rand_string tests #578 (bmjen)
  • Fix reference to validate_bool in function #568 (mattbostock)

4.11.0 - 2016-01-11

Full Changelog

Added

4.10.0 - 2015-12-15

Full Changelog

Added

4.9.1 - 2015-12-04

Full Changelog

Added

Fixed

4.9.0 - 2015-09-08

Full Changelog

Added

  • Adds a convert_base function, which can convert numbers between bases #514 (DavidS)
  • Add a new function "try_get_value" #513 (dmitryilyin)
  • (MODULES-2456) Modify union to accept more than two arrays #507 (Jetroid)
  • (MODULES-2410) Add new functions dos2unix and unix2dos #505 (gibbsoft)

Fixed

  • (MAINT) fix up try_get_value acceptance test #517 (DavidS)
  • Ticket/MODULES-2478 Make root_home fact work on AIX using native lsuser command #515 (jfautley)

4.8.0 - 2015-08-12

Full Changelog

Added

  • [#puppethack] Adding replace attribute to file_line #494 (rmaika)
  • Add load_metadata_json function #483 (nibalizer)

Fixed

4.7.0 - 2015-07-23

Full Changelog

Added

Fixed

  • (maint) Fix test to not assume is_pe fact on > 4.0.0 puppet #488 (cyberious)
  • Fix documentation error in upcase #487 (liv3d)
  • Clarify that third argument to ensure_resource() is a hash #485 (ghoneycutt)
  • Use puppet_install_helper #484 (underscorgan)
  • catch and rescue from looking up non-existent facts #479 (mklette)
  • AIO uses puppet 4 so should return true for is_future_parser_enabled #477 (underscorgan)
  • Also catch :undefined_variable as thrown by future parser #470 (bobtfish)
  • Fix time() on 1.8.7 #469 (hunner)
  • Fix spelling of camelcase #468 (kylog)
  • (MODULES-1882) convert function tests to rspec-puppet #464 (DavidS)
  • (MODULES-2071) Patch file_line provider to use multiple with after #463 (rmaika)
  • fqdn_rotate: Don't use the value itself as part of the random seed #462 (elyscape)
  • validate_integer, validate_numeric: explicitely reject hashes in arrays #461 (DavidS)
  • fqdn_rotate: reset srand seed correctly on old ruby versions #460 (DavidS)
  • range(): fix TypeError(can't convert nil into Integer) when using range ... #448 (DavidS)
  • Fix pw_hash() on JRuby < 1.7.17 #446 (elyscape)
  • uses include type class declaration #441 (mrzarquon)
  • fqdn_rand_string: fix argument error message #440 (DavidS)
  • Check if file exists before loading with loadyaml. If not, return nil #314 (amateo)

4.6.0 - 2015-04-15

Full Changelog

Added

  • Modules-2474: Only runs enhanced salts functions test on systems that ... #434 (bmjen)
  • Clarifying behaviour of attributes and adding an extra example. #430 (underscorgan)
  • (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet... #426 (anodelman)
  • Add ability to pin beaker versions #423 (cyberious)
  • Add support for hashes in the prefix function #420 (underscorgan)
  • Loosen the restrictions of upcase and allow for recursion of the objects... #419 (cyberious)
  • Add Hash to upcase #417 (cyberious)
  • (MODULES-1737) Add pw_hash() function #408 (elyscape)
  • Add a ceiling function to complement the floor function. #407 (adamcrews)
  • (MODULES-1715) Add FQDN-based random string generator #405 (elyscape)
  • (MODULES-560) Add new functions validate_numeric() and validate_integer(). #375 (poikilotherm)

Fixed

  • Fix the 4.6.0 release date #438 (hunner)
  • Fix acceptance tests for #405 #433 (cmurphy)
  • Fix unsupported platforms variable name in tests #432 (cmurphy)
  • File_line checks provided after param if no match is found #431 (bmjen)
  • Fix off-by-one error in validate_augeas_spec.rb that was causing rspec failure #425 (jeffcoat)
  • Fix issue with 1.8.7 and upcase #418 (cyberious)
  • Check for string before copying #413 (underscorgan)
  • (MODULES-1771) Don't modify input to is_domain_name() #412 (seanmil)
  • Fix Travis builds #411 (elyscape)
  • (MODULES-1738) Don't modify the global seed in fqdn_rotate() #406 (elyscape)
  • (MODULES-1670) Do not match dotted-quad IP address as domain name #404 (roderickm)
  • Dirname typecheck #369 (rfugina)

4.5.1 - 2015-01-14

Full Changelog

Added

Fixed

4.5.0 - 2014-12-16

Full Changelog

Added

Fixed

  • Need to convert strings and fixnums to arrays #367 (underscorgan)
  • Make the range function work with integers #365 (dalen)
  • (maint) Fix indentation of range function #364 (dalen)

4.4.0 - 2014-11-12

Full Changelog

Added

  • (QENG-1404) Segregate system testing gems #356 (justinstoller)
  • MODULES-1413 Add ability for member to take numeric objects #350 (cyberious)
  • Add proper exception catching of Windows errors when CreateProcess does not succeed #348 (cyberious)
  • Added correct converstions for PB and EB. #343 (big-samantha)
  • add require 'tempfile' to resolve a previously autorequired resource #340 (cyberious)
  • (MODULES-1221) Add file_line autorequire documentation #300 (trlinkin)

Fixed

  • Fix exclude windows test on ensure_package #363 (hunner)
  • Correct type() logic #358 (hunner)
  • Fix the unless for test cases on ensure_package and ensure_resource #353 (cyberious)
  • Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception. Wrapping in generic Exception catch all #349 (cyberious)
  • Fix issue with ensure_request #347 (cyberious)
  • Spec_helper_acceptance fix provision section #346 (cyberious)
  • Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path #345 (cyberious)
  • Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string #344 (cyberious)
  • ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing... #334 (cyberious)
  • MODULES-1248 Fix issue with not properly counting regex matches with leg... #321 (cyberious)
  • Fix strict_variables = true #303 (bobtfish)

4.3.2 - 2014-07-16

Full Changelog

4.3.1 - 2014-07-16

Full Changelog

Fixed

  • Correct metadata.json to match checksum #297 (hunner)

4.3.0 - 2014-07-09

Full Changelog

Added

  • AIX has no facter network support #296 (hunner)
  • Start synchronizing module files #290 (cmurphy)
  • stdlib 4 isn't compatible with PE 3.2 #286 (hunner)
  • Increase resilience if lookup var comes back with nil object #284 (cyberious)
  • Add windows support and work around issue with SCP_TO on windows systems #283 (cyberious)
  • Add windows Nodesets and remove Beaker from Gemfile #278 (cyberious)
  • Add private() function #270 (raphink)

Fixed

4.2.2 - 2014-06-05

Full Changelog

3.2.2 - 2014-06-05

Full Changelog

Added

  • (PUP-2571) add 'before' functionality to file_line #256 (stbenjam)
  • (MODULES-905) Add bool2str() and camelcase() for string manipulation #255 (mckern)

Fixed

  • Further fixes to tests for 14.04. #265 (apenney)
  • Fixes for PE3.3. #264 (apenney)
  • (MODULES-905) Narrow the confinement in bool2str #258 (mckern)
  • Revert "Merge pull request #256 from stbenjam/2571-before" #257 (apenney)

4.2.1 - 2014-05-09

Full Changelog

4.2.0 - 2014-05-08

Full Changelog

Added

Fixed

  • Fix the stdlib functions that fail tests #251 (hunner)
  • Add the missing shebangs and fix the wrong ones #248 (averi)
  • Fix the validate_augeas beaker tests #245 (hunner)
  • Adjust the regular expression for facts. #242 (apenney)
  • Make sure location_for is used when installing Puppet. #233 (apenney)
  • Readd location_for #232 (apenney)
  • hash example has misplaced comas #221 (jtreminio)

3.2.1 - 2014-03-03

Full Changelog

Added

  • (PUP-1459) Add support for root_home on OS X 10.9 #215 (blkperl)
  • (#23381) add is_bool() function #211 (jhoblitt)
  • Add rake tasks to validate and lint files and check with Travis #208 (ghoneycutt)
  • (#16498) Added unit test for loadyaml function. #185 (lmello)
  • Add delete_values() and delete_undef_values() functions #166 (ptomulik)
  • Adding base64 function #159 (fiddyspence)
  • [#20862] Add functions to validate ipv4 and ipv6 addresses #158 (wfarr)
  • (#20684) Add array comparison functions, difference, intersection and un... #155 (AlexCline)
  • add a "step" argument to range() #56 (hakamadare)

Fixed

  • calling rspec directly makes is_function_available.rb not pass ruby -c #203 (dreamlibrarian)
  • Fix the tests on osx #200 (bobtfish)
  • delete_undef_values function fix bug #20681 #184 (lmello)
  • delete_values() fix bug #20681. #182 (lmello)
  • Minor grammar fix #181 (nibalizer)
  • bug # 20681 delete() function should not remove elements from original list #178 (lmello)
  • (maint) fix RST formatting of has_interface_with code examples #175 (floatingatoll)
  • minor corrections to delete_values() #170 (ptomulik)
  • Fix validate_slength, arg.length should be args[0].length #169 (hdeheer)
  • ensure_resource: fix documentation typo #165 (bootc)
  • Trivial documentation fix for upcase function. #157 (rohanrns)

4.1.0 - 2013-05-10

Full Changelog

Added

  • (#20548) Allow an array of resource titles to be passed into the ensure_... #152 (AlexCline)
  • Add a dirname function #150 (raphink)

4.0.2 - 2013-04-12

Full Changelog

Added

4.0.1 - 2013-04-11

Full Changelog

4.0.0 - 2013-04-11

Full Changelog

Added

Fixed

3.2.0 - 2012-11-28

Full Changelog

2.6.0 - 2012-11-28

Full Changelog

3.1.1 - 2012-10-25

Full Changelog

Fixed

  • (maint) Fix spec failures resulting from Facter API changes between 1.x and 2.x #100 (jeffmccune)

2.5.1 - 2012-10-25

Full Changelog

3.1.0 - 2012-10-25

Full Changelog

2.5.0 - 2012-10-25

Full Changelog

Added

  • Add pe facts to stdlib #99 (haus)

3.0.1 - 2012-10-11

Full Changelog

Fixed

  • (Maint) Fix mis-use of rvalue functions as statements #91 (jeffmccune)
  • Revert "Merge branch 'hkenney-ticket/master/2157_remove_facts_dot_d'" #89 (jeffmccune)

3.0.0 - 2012-08-16

Full Changelog

Added

  • Add function ensure_resource and defined_with_params #86 (bodepd)

Fixed

2.4.0 - 2012-08-14

Full Changelog

Added

  • Add support for a 'match' parameter to file_line #75 (cprice404)

Fixed

2.3.3 - 2012-05-23

Full Changelog

Fixed

2.3.2 - 2012-05-10

Full Changelog

Fixed

2.1.3 - 2012-03-29

Full Changelog

2.3.1 - 2012-03-13

Full Changelog

Fixed

  • (#13091) Fix LoadError exception with puppet apply #50 (jeffmccune)

2.3.0 - 2012-03-12

Full Changelog

Added

  • (#12357) Add ability to display an error message from validate_re #47 (jeffmccune)
  • (#12357) Add validate_absolute_path() function #46 (jeffmccune)
  • (#12776) Added validate_slength function and rspec test #37 (fiddyspence)
  • implement #11017 - make file_line type ensurable #36 (duritong)
  • New str2saltedsha512 function for OS X Passwords #27 (glarizza)
  • (#11607) Add Rakefile to enable spec testing #26 (jeffmccune)

Fixed

  • (#12357) Fix broken compatibility with Puppet 2.6 #49 (jeffmccune)
  • (#12357) Fix root_home fact on Windows #45 (jeffmccune)
  • (#12357) Make facter_dot_d look in Puppet[:confdir]/facts.d #44 (jeffmccune)
  • (#11873) time function spec failure on Fixnum matcher #28 (kbarber)

v2.2.1 - 2011-12-30

Full Changelog

v2.1.2 - 2011-12-30

Full Changelog

Added

  • (#10802) add new function get_module_path #25 (bodepd)

v2.2.0 - 2011-11-08

Full Changelog

Added

  • (#9859) Add root_home fact and tests #17 (jeffmccune)
  • (#8925) Added new function called 'get_certificate' for retrieving #13 (kbarber)

Fixed

  • (#10285) Refactor json to use pson instead. #19 (nanliu)

v2.1.1 - 2011-08-18

Full Changelog

v2.1.0 - 2011-08-17

Full Changelog

Added

  • (#9080) Add facts from /etc/puppetlabs/facts.d #14 (jeffmccune)

v2.0.0 - 2011-08-08

Full Changelog

v1.1.0 - 2011-08-04

Full Changelog

v1.0.0 - 2011-08-04

Full Changelog

v0.1.7 - 2011-06-21

Full Changelog

0.1.6 - 2011-06-15

Full Changelog

0.1.5 - 2011-06-03

Full Changelog

0.1.4 - 2011-05-26

Full Changelog

0.1.3 - 2011-05-25

Full Changelog

0.1.2 - 2011-05-24

Full Changelog

0.1.1 - 2011-05-24

Full Changelog