diff options
author | John Keiser <john@johnkeiser.com> | 2016-08-10 14:58:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-10 14:58:46 -0700 |
commit | 4b75c10628807725dde9ad0a16b02648445179e8 (patch) | |
tree | 03fc03dc6a96b33b6d0b143bf4ca46d9f622856d | |
parent | 3b2c601c3a58bffcc9fef57f8c1b23aafe65f226 (diff) | |
parent | 88dfc312b3686a3ca9305d10ec1090cd5973c6d0 (diff) | |
download | chef-4b75c10628807725dde9ad0a16b02648445179e8.tar.gz |
Merge pull request #5177 from chef/jk/changelog
Update changelog
-rw-r--r-- | CHANGELOG.md | 37 | ||||
-rw-r--r-- | DOC_CHANGES.md | 13 | ||||
-rw-r--r-- | RELEASE_NOTES.md | 62 | ||||
-rwxr-xr-x | tasks/bin/gem-version-diff | 37 |
4 files changed, 104 insertions, 45 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c9b30edba7..5c35a5fa16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Change Log +## [v12.13.30](https://github.com/chef/chef/tree/v12.13.30) (2016-08-05) +[Full Changelog](https://github.com/chef/chef/compare/v12.12.15...v12.13.30) + +**Enhancements:** + +- noop apt_update similar to apt_repository [\#5173](https://github.com/chef/chef/pull/5173) ([lamont-granquist](https://github.com/lamont-granquist)) +- Bump dependencies to bring in Ohai 8.18 [\#5168](https://github.com/chef/chef/pull/5168) ([tas50](https://github.com/tas50)) +- Make Chef work with Ruby 2.3, update Ruby to 2.1.9 [\#5165](https://github.com/chef/chef/pull/5165) ([jkeiser](https://github.com/jkeiser)) +- Log cause chain for exceptions [\#3354](https://github.com/chef/chef/pull/3354) ([jaym](https://github.com/jaym)) +- First pass on --config-option handling. [\#5045](https://github.com/chef/chef/pull/5045) ([coderanger](https://github.com/coderanger)) +- Add bootstrap proxy authentication support. [\#4059](https://github.com/chef/chef/pull/4059) ([yossigo](https://github.com/yossigo)) +- Support setting an empty string for cron attrs [\#5127](https://github.com/chef/chef/pull/5127) ([thommay](https://github.com/thommay)) +- Also clear notifications when deleting a resource. [\#5146](https://github.com/chef/chef/pull/5146) ([coderanger](https://github.com/coderanger)) +- Clean up subscribes internals and notification storage. [\#5145](https://github.com/chef/chef/pull/5145) ([coderanger](https://github.com/coderanger)) +- Cache ChefFS children [\#5131](https://github.com/chef/chef/pull/5131) ([thommay](https://github.com/thommay)) +- Update to rspec 3.5 [\#5126](https://github.com/chef/chef/pull/5126) ([thommay](https://github.com/thommay)) +- Add `chef\_data\_bag\_item` to Cheffish DSL methods [\#5125](https://github.com/chef/chef/pull/5125) ([danielsdeleo](https://github.com/danielsdeleo)) +- replace glibc resolver with ruby resolver [\#5123](https://github.com/chef/chef/pull/5123) ([lamont-granquist](https://github.com/lamont-granquist)) +- The user must specify a category for a new cookbook [\#5091](https://github.com/chef/chef/pull/5091) ([thommay](https://github.com/thommay)) +- Warn if not installing an individual bff fileset [\#5093](https://github.com/chef/chef/pull/5093) ([mwrock](https://github.com/mwrock)) +- Use Mixlib::Archive to extract tarballs [\#5080](https://github.com/chef/chef/pull/5080) ([thommay](https://github.com/thommay)) +- Data Collector server URL validation, and disable on host down [\#5076](https://github.com/chef/chef/pull/5076) ([adamleff](https://github.com/adamleff)) + +**Fixed Bugs:** + +- Don't log error for reporting audit data in when in chef-zero [\#5016](https://github.com/chef/chef/pull/5016) ([erichelgeson](https://github.com/erichelgeson)) +- Invalidate the file system cache on deletion [\#5154](https://github.com/chef/chef/pull/5154) ([thommay](https://github.com/thommay)) +- Root ACLs are a top level json file not a sub-directory [\#5155](https://github.com/chef/chef/pull/5155) ([thommay](https://github.com/thommay)) +- Install nokogiri and pin mixlib-cli [\#5118](https://github.com/chef/chef/pull/5118) ([ksubrama](https://github.com/ksubrama)) +- Ensure that the valid option is given back to the option parser [\#5114](https://github.com/chef/chef/pull/5114) ([dldinternet](https://github.com/dldinternet)) +- Fixed regex for zypper version 1.13.\*. [\#5109](https://github.com/chef/chef/pull/5109) ([yeoldegrove](https://github.com/yeoldegrove)) +- add back method\_missing support to set\_unless [\#5103](https://github.com/chef/chef/pull/5103) ([lamont-granquist](https://github.com/lamont-granquist)) +- Fix \#5094 node.default\_unless issue in 12.12.13 [\#5097](https://github.com/chef/chef/pull/5097) ([lamont-granquist](https://github.com/lamont-granquist)) +- Fix \#5078 using cwd parameter instead of Dir.pwd [\#5079](https://github.com/chef/chef/pull/5079) ([Tensibai](https://github.com/Tensibai)) + ## [v12.12.15](https://github.com/chef/chef/tree/v12.12.15) (2016-07-08) [Full Changelog](https://github.com/chef/chef/compare/v12.12.13...v12.12.15) @@ -94,7 +129,7 @@ - Update rubygems provider to support local install of gems if so specified [\#4847](https://github.com/chef/chef/pull/4847) ([PrajaktaPurohit](https://github.com/PrajaktaPurohit)) - fix details in with\_run\_context [\#4839](https://github.com/chef/chef/pull/4839) ([lamont-granquist](https://github.com/lamont-granquist)) - Lock dependencies of chef through a `Gemfile.lock` [\#4820](https://github.com/chef/chef/pull/4820) ([jkeiser](https://github.com/jkeiser)) -- add better resource manipulation API [\#4834](https://github.com/chef/chef/pull/4834) ([lamont-granquist](https://github.com/lamont-granquist)) +- add better resource manipulation API [\#4834](https://github.com/chef/chef/pull/4834) ([lamont-granquist](https://github.com/lamont-granquist)) - add nillable apt\_repository and nillable properties [\#4832](https://github.com/chef/chef/pull/4832) ([lamont-granquist](https://github.com/lamont-granquist)) ## [v12.9](https://github.com/chef/chef/tree/v12.9.38) (2016-04-09) diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md index 069cdc62b4..fadd382cbb 100644 --- a/DOC_CHANGES.md +++ b/DOC_CHANGES.md @@ -6,15 +6,4 @@ Example Doc Change: Description of the required change. --> -## Doc changes for Chef 12.11 - -### RFC 062 Exit Status Support - -Starting with Chef Client 12.11, there is support for the consistent, standard exit codes as defined in [Chef RFC 062](https://github.com/chef/chef-rfc/blob/master/rfc062-exit-status.md). - -With no additional configuration when Chef Client exits with a non-standard exit code a deprecation warning will be issued advising users of the upcoming change in behavior. - -To enable the standardized exit code behavior, there is a new setting in client.rb. The `exit_status` setting, when set to `:enabled` will enforce standarized exit codes. In a future release, this will become the default behavior. - -If you need to maintain the previous exit code behavior to support your current workflow, you can disable this (and the deprecation warnings) by setting `exit_status` to `:disabled`. - +## Doc changes for Chef 12.13 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b3bba87dc0..14e30f1f77 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,35 +1,33 @@ *This file holds "in progress" release notes for the current release under development and is intended for consumption by the Chef Documentation team. Please see `https://docs.chef.io/release/<major>-<minor>/release_notes.html` for the official Chef release notes.* -# Chef Client Release Notes 12.12: - -## Attribute read/write/unlink/exist? APIs - -On the node object: - -- `node.read("foo", "bar", "baz")` equals `node["foo"]["bar"]["baz"] `but with safety (nil instead of exception) -- `node.read!("foo", "bar", "baz")` equals `node["foo"]["bar"]["baz"]` and does raises NoMethodError - -- `node.write(:default, "foo", "bar", "baz")` equals `node.default["foo"]["bar"] = "baz"` and autovivifies and replaces intermediate non-hash objects (very safe) -- `node.write!(:default, "foo", "bar", "baz")` equals `node.default["foo"]["bar"] = "baz"` and while it autovivifies it can raise if you hit a non-hash on an intermediate key (NoMethodError) -- there is still no non-autovivifying writer, and i don't think anyone really wants one. -- `node.exist?("foo", "bar")` can be used to see if `node["foo"]["bar"]` exists - -On node levels: - -- `node.default.read/read!("foo")` operates similarly to `node.read("foo")` but only on default level -- `node.default.write/write!("foo", "bar")` is `node.write/write!(:default, "foo", "bar")` -- `node.default.unlink/unlink!("foo")` is `node.unlink/unlink!(:default, "foo")` -- `node.default.exist?("foo", "bar")` can be used to see if `node.default["foo"]["bar"]` exists - -Deprecations: - -- node.set is deprecated -- node.set_unless is deprecated - -## `data_collector` enhancements - -- Adds `node` to the `data_collector` message -- `data_collector` reports on all resources and not just those that have been processed - -## `knife cookbook create` is deprecated. Use the chef-dk's `chef generate cookbook` instead.
\ No newline at end of file +# Chef Client Release Notes 12.13: + +Highlights for this release: + +- Ohai 8.18 includes a new plugin for gathering available user shells. Additionally for OS X users there is a new hardware plugin that gathers system information, and we’ve added detection of VMware and VirtualBox installations. + +## Updated Dependencies + +- ruby - 2.1.9 (was 2.1.8) + +### Updated Gems + +- chef-zero - 4.8.0 (was 4.7.0) +- cheffish - 2.0.5 (was 2.0.4) +- compat_resource - 12.10.7 (was 12.10.6) +- ffi - 1.9.14 (was 1.9.10) +- ffi-yajl - 2.3.0 (was 2.2.3) +- fuzzyurl - 0.9.0 (was 0.8.0) +- mixlib-cli - 1.7.0 (was 1.6.0) +- mixlib-log - 1.7.0 (was 1.6.0) +- ohai - 8.18.0 (was 8.17.1) +- pry - 0.10.4 (was 0.10.3) +- rspec - 3.5.0 (was 3.4.0) +- rspec-core - 3.5.2 (was 3.4.4) +- rspec-expectations - 3.5.0 (was 3.4.0) +- rspec-mocks - 3.5.0 (was 3.4.1) +- rspec-support - 3.5.0 (was 3.4.1) +- simplecov - 0.12.0 (was 0.11.2) +- specinfra - 2.60.3 (was 2.59.4) +- mixlib-archive - 0.2.0 (added to package) diff --git a/tasks/bin/gem-version-diff b/tasks/bin/gem-version-diff new file mode 100755 index 0000000000..617402d4e6 --- /dev/null +++ b/tasks/bin/gem-version-diff @@ -0,0 +1,37 @@ +#!/usr/bin/env ruby + +require_relative "../../version_policy" + +old_version, new_version = ARGV[0..1] + +require "set" +ENV["BUNDLE_WITHOUT"] = INSTALL_WITHOUT_GROUPS.join(":") +relevant_gems = Set.new +`bundle list`.each_line do |line| + next unless line =~ /^ \* (\S+)/ + relevant_gems.add($1) +end + +old_gems = {} +old_file = `git show #{old_version}:Gemfile.lock` +old_file.each_line do |line| + next unless line =~ /^ (\S+) \(([^\)]+)\)$/ + next unless relevant_gems.include?($1) + old_gems[$1] = $2 +end + +new_gems = {} +new_file = `git show #{new_version}:Gemfile.lock` +new_file.each_line do |line| + next unless line =~ /^ (\S+) \(([^\)]+)\)$/ + next unless relevant_gems.include?($1) + new_gems[$1] = $2 +end + +modified_gems = (old_gems.keys & new_gems.keys).sort.select { |name| new_gems[name] != old_gems[name] }.map { |name| "#{name} - #{new_gems[name]} (was #{old_gems[name]})" } +removed_gems = (old_gems.keys - new_gems.keys).sort.map { |name| "#{name} - #{old_gems[name]}" } +added_gems = (new_gems.keys - old_gems.keys).sort.map { |name| "#{name} - #{new_gems[name]}" } + +puts "MODIFIED:\n#{modified_gems.join("\n")}" if modified_gems.any? +puts "\nADDED:\n#{added_gems.join("\n")}" if added_gems.any? +puts "\nREMOVED:\n#{removed_gems.join("\n")}" if removed_gems.any? |