5.4 KiB
5.4 KiB
Chef Sugar Changelog
This file is used to list changes made in each version of the chef-sugar cookbook and gem.
v3.3.0 (2016-01-11)
Improvements
- Break up
Chef::Sugar::Constraintsinto a class and a dsl file - Add
platform_versionmethod with full constraints comparison support
v3.2.0 (2015-12-10)
Improvements
- Add platform matchers for
debianandfedora - Add
openvzsupport under virtualization - Add init system detection support
- Add support for
nexus,ios_xrplatforms andwrlinuxplatform_family - Add additional
aixhelpers
Bug Fixes
- Properly expose
Architecture#i386?in the DSL
v3.1.1 (2015-06-23)
Improvements
- Update Intel CPU types based on existing Fauxhai data
- Update SPARC logic and 32/64-bit logic for x86 and i386
Bug Fixes
- Fix 32-bit logic
- Fix default behavior to include chef-sugar at compile time
- Fix Chef 12.1.0 warnings for chef_gem compile time install
- Fix
redhat_enterprise_linux?matcher
v3.0.2 (2015-03-26)
Improvements
- Add helpers for
ppc64andppc64learchitecture
Bug Fixes
- Adjustments to error message
v3.0.1 (2015-03-20)
Breaking Changes
- Rename
compile_timeto at_compile_time- if your recipes are affected by this breaking change, your Chef Client run will produce a verbose error message with details on how to fix the error.
v3.0.0 (2015-03-17)
Breaking Changes
- Drop support for Ruby 1.9 (it might still work, but it is no longer officially supported)
Improvements
- Remove accidentially committed gem source
- Bump development dependencies
- Add
digitalocean?matcher - Expose the
rhelplatform asel - Add
ppc64leplatform - Add helper for determining if architecture is SPARC
- Add helper for determining if architecture is Intel
- Add dynamic platform/version matchers for Solaris
Bug Fixes
- Reset namespace_options when reaching top-level resources
v2.5.0 (2015-01-05)
Improvements
- Add
data_bag_item_for_environmentfunction - Add
kvm?matcher - Add
virtualbox?matcher
Bug Fixes
- Use
.key?to check for hash key presence, raising anAttributeDoesNotExisterror sooner
v2.4.1 (2014-10-12)
- No changes from v2.4.0 - forced a new version upload to the Chef Supermarket
v2.4.0 (2014-10-12)
Improvements
- Add
docker?matcher
v2.3.2 (2014-10-07)
Big Fixues
- Include
amd64in_64_bit?check
v2.3.1 (2014-10-07)
Improvements
- Check all 64-bit architectures that may be reported by Ohai
Bug Fixes
- Be more tolerant of
nilvalues return from sub functions - Check to make sure
node['domain']is notnilbefore calling#include?
v2.3.0 (2014-09-24)
Improvements
- Add
vmware?matcher - Allow the attribute DSL to access parent attributes
Bug Fixes
- Return
trueorfalsefrom all Boolean methods (instead ofnilor truthy values)
v2.2.0 (2014-08-20)
Improvements
- Add
smartos?matcher - Add
omnios?matcher
v2.1.0 (2014-06-26)
Improvements
- Add
solaris2?matcher - Add
aix?matcher - Add 'lxc?' matcher
Bug Fixes
- Fix a bug in namespace memoization during attribute initialization
v2.0.0 (2014-06-16)
Breaking
- Remove
not_linux?method - Remove
not_windows?method
Improvements
- Miscellaneous spelling fixes
- Update a failing unit test for
installed? - Add Mac OS X to the list of platforms (Yosemite)
- Upgrade to RSpec 3
- Fix
which(andinstalled?andinstalled_at_version?) when given an absolute path - Fix
linux?check to only return true on real linuxes
v1.3.0 (2014-05-05)
- Check both
$stdoutand$stderrinversion_for - Add additional platform versions
- Make
includes_recipe?a top-level API (instead of just Node) - Match on the highest version number instead of direct equality checking on platform versions
- Define
Object#blank?as a core extension - Define
String#flushas a core extension - Remove Stove
v1.2.6 (2014-03-16)
- Fix a bug in
vagrant?returning false on newer Vagrant versions - Remove Coveralls
v1.2.4 (2014-03-13)
- See (1.2.2), but I botched the release
v1.2.2 (2014-03-13)
- Fix a critical bug with
encrypted_data_bag_itemusing the wrong key
v1.2.0 (2014-03-09)
- Add
namespacefunctionality for specifying attributes in a DSL - Add constraints helpers for comparing version strings
- Add
require_chef_gemto safely require and degrade if a gem is not installed - Add
deep_fetchanddeep_fetch!to fetch deeply nested keys - Accept an optional secret key in
encrypted_data_bag_itemhelper and raise a helpful error if one is not set (NOTE: this changes the airity of the method, but it's backward-compatible because Ruby is magic) - Add Stove for releasing
- Updated copyrights for 2014
v1.1.0 (2013-12-10)
- Add
cloudstack?helper - Add data bag helpers
- Remove foodcritic checks
- Upgrade development gem versions
- Randomize spec order
v1.0.1 (2013-10-15)
- Add development recipe
- Add
compile_time,before, andafterfilters
v1.0.0 (2013-10-15)
- First public release