[chef] Re: documented breaking changes within the chef 10 releases?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: documented breaking changes within the chef 10 releases?
  • Date: Fri, 21 Dec 2012 08:29:22 -0800


On Friday, December 21, 2012 at 7:50 AM, Jesse Campbell wrote:

Anyone know if there's a list of breaking changes and major improvements between 0.10.6 and now (10.16.2)?
In general there shouldn't be any. We consider breaking changes in minor/patch versions to be regressions and fix them as we find them.
 

So far I've discovered:
- an array of nodes (returned from search) used to be able to be sorted with .sort, now that fails. Not in any release notes I've found, not sure when it changed.
I'm not sure how this ever worked for you. I checked out 0.10.6 in my git repo and was unable to sort nodes with a simple #sort call.

https://gist.github.com/18e7bb1d74075c47f750
 
- value_for_platform_family (added in 0.10.10) not listed in the release notes for 0.10.10
This is a new feature, so not a breaking change. Not sure why it was not mentioned in the release blog post.
 

Wondering what else I may get bitten by?


(A note on the first one here: I realize that comparing node objects doesn't make much sense, and instead comparing the *names* of the nodes should be done, but other devs in my group didn't think of that, and now their recipes are breaking)
Could you have had a monkey patch in a library file that has since been removed?

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§