This file is used to list changes made in each version of the chef-sugar cookbook and gem.
v5.1.12 (2020-11-11)
v5.1.11 (2020-08-14)
v5.1.9 (2019-11-13)
- Don't fail if Chef::VERSION isn't defined #18 (lamont-granquist)
v5.1.8 (2019-11-13)
- Wire up Expeditor and support both chef-sugar and chef-sugar-ng #8 (tas50)
- Add github templates and a code of conduct #9 (tas50)
- Beginning of chef-sugar deprecation #10 (lamont-granquist)
- Use Expeditor to set the version in the metadata.rb file #11 (tas50)
- Switch gemfile back to chef-sugar #12 (tas50)
- Fix metadata.rb version updatig logic and use SPDX compliant license strings #14 (tas50)
- Additional Chef-15 greenification #13 (lamont-granquist)
- Move test deps to the Gemfile #15 (tas50)
- Get the tests green #17 (tas50)
- Deprecate chef-sugar node API #16 (lamont-granquist)
- Modifies the behavior of
systemd?
so that it works equally well on physical/virtual machines as well as within containers.
- BREAKING CHANGE: Require Chef 13 or later
- Trim out test files and the cookbook from the gem artifact to slim install size
- Repackaged with an older stove to remove the metadata.rb on the Supermarket for older chef-client releases
- Added a new parallels? helper
- Added support for the Raspberry Pi 1 and Zero to armhf? helper
- Added a centos_final? helper
- Improve the detection of linux hosts with the linux? helper. Amazon Linux and obscure distros will now be properly detected.
- Add new Debian, Mint, macOS codenames
- Add new Ubuntu codenames: artful, bionic, cosmic
- Require Ruby 2.2 or later and Chef 12.10 or later
- Cookbook now installs the chef-sugar gem via a metadata installation so chef-sugar::default on your runlist is no longer needed
- Added additional metadata to the cookbook: supports, issue_url, source_url, chef_version.
- Requirements improved in the readme
- Add Ubuntu zesty and debian stretch detection
- Add softlayer? helper
- Add aarch64? helper
- Improve the systemd check to not fail on older kernels or Windows hosts
- Add detection of macOS 10.11 and 10.12
- Add
virtual?
andphysical?
methods - Add Scaleway C1 server (arm arch) support
- Add IMB s390x support
- Add missing Ubuntu release names
- Drop Ruby 2.0.0 support from Travis test matrix
- Pin to Rack 1.6 (dev dep)
- Break up
Chef::Sugar::Constraints
into a class and a dsl file - Add
platform_version
method with full constraints comparison support
- Add platform matchers for
debian
andfedora
- Add
openvz
support under virtualization - Add init system detection support
- Add support for
nexus
,ios_xr
platforms andwrlinux
platform_family - Add additional
aix
helpers
- Properly expose
Architecture#i386?
in the DSL
- Update Intel CPU types based on existing Fauxhai data
- Update SPARC logic and 32/64-bit logic for x86 and i386
- 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
- Add helpers for
ppc64
andppc64le
architecture
- Adjustments to error message
- Rename
compile_time
to 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.
- Drop support for Ruby 1.9 (it might still work, but it is no longer officially supported)
- Remove accidentially committed gem source
- Bump development dependencies
- Add
digitalocean?
matcher - Expose the
rhel
platform asel
- Add
ppc64le
platform - Add helper for determining if architecture is SPARC
- Add helper for determining if architecture is Intel
- Add dynamic platform/version matchers for Solaris
- Reset namespace_options when reaching top-level resources
- Add
data_bag_item_for_environment
function - Add
kvm?
matcher - Add
virtualbox?
matcher
- Use
.key?
to check for hash key presence, raising anAttributeDoesNotExist
error sooner
- No changes from v2.4.0 - forced a new version upload to the Chef Supermarket
- Add
docker?
matcher
- Include
amd64
in_64_bit?
check
- Check all 64-bit architectures that may be reported by Ohai
- Be more tolerant of
nil
values return from sub functions - Check to make sure
node['domain']
is notnil
before calling#include?
- Add
vmware?
matcher - Allow the attribute DSL to access parent attributes
- Return
true
orfalse
from all Boolean methods (instead ofnil
or truthy values)
- Add
smartos?
matcher - Add
omnios?
matcher
- Add
solaris2?
matcher - Add
aix?
matcher - Add 'lxc?' matcher
- Fix a bug in namespace memoization during attribute initialization
- Remove
not_linux?
method - Remove
not_windows?
method
- 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
- Check both
$stdout
and$stderr
inversion_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#flush
as a core extension - Remove Stove
- Fix a bug in
vagrant?
returning false on newer Vagrant versions - Remove Coveralls
- See (1.2.2), but I botched the release
- Fix a critical bug with
encrypted_data_bag_item
using the wrong key
- Add
namespace
functionality for specifying attributes in a DSL - Add constraints helpers for comparing version strings
- Add
require_chef_gem
to safely require and degrade if a gem is not installed - Add
deep_fetch
anddeep_fetch!
to fetch deeply nested keys - Accept an optional secret key in
encrypted_data_bag_item
helper 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
- Add
cloudstack?
helper - Add data bag helpers
- Remove foodcritic checks
- Upgrade development gem versions
- Randomize spec order
- Add development recipe
- Add
compile_time
,before
, andafter
filters
- First public release