10.4.0 (2017-04-13)
Implemented enhancements:
- Added FC076 to alert when the deprecated
conflicts
metadata is used - Added FC077 to alert when the deprecated
replaces
metadata is used - Added FC076 to alert when a non-OSI-approved license is used in metadata. You can disable this rule turning off the new
opensource
tag. For example:foodcritic -t ~opensource .
Fixed bugs:
- Regression tests now ignore .foodcritic files so we see all possible failures
- FC053 / FC052 updated to properly refer the metadata as deprecated and not unimplemented
- FC071 no longer alerts when cookbooks are licensed as "All Rights Reserved"
10.3.1 (2017-04-10)
Implemented enhancements:
- Added Chef 13.0.113 metadata, but retained 12.19.36 as the default
Fixed bugs:
- Resolved a regression when running Foodcritic as a Rake task
10.3.0 (2017-04-10)
Implemented enhancements:
- Added
FC069
to ensure standardized licenses are defined in metadata - Added
FC070
to detect invalid platform supports in metadata - Added
FC071
to ensure a LICENSE file is included with the cookbook - Added
FC072
to detect attributes defined in metadata - Added
FC073
to detect root alias collisions with non-root alias files - Added
FC074
to detect setting the default_action in a LWRP without using the default_action DSL - Added
FC075
to detect node.save usage - Updated
FC008
to fail if the ChefDK generated boilerplate is included - Updated
FC024
to not recommend adding amazon as an equivalent platform to Redhat as Amazon is its own platform family in Chef 13 - Updated
FC045
to no longer fail if metadata.rb cannot be found - Added support for the Chef 13 root alias cookbook structure changes defined in https://github.com/chef/chef-rfc/blob/master/rfc033-root-aliases.md
- Testing has been completed reworked to simplify testing and allow for far more robust functional tests. Minitest unit tests have been converted to rspec and a new functional testing framework has been added utilizing rspec. Tests for a large number of the existing rules have been converted to this new framework. The new testing framework allows for simple all-in-one tests that are easier to read and much simpler to write. Additionally the regression tests have been reworked, and are now enabled in Travis CI, which will require regeneration of the expected output if new tests are added using
rake regen_regression
. See the readme for additional details on running tests.
10.2.2 (2017-03-31)
Implemented enhancements:
v10.2.1 (2017-03-31)
Implemented enhancements:
v10.2.0 (2017-03-30)
Implemented enhancements:
Fixed bugs:
- Don't trigger FC007 on a shorthand recipe includes #526 (tas50)
- Fix already initialized constant warning with
--search-gems
#529 (nvwls)
v10.1.1 (2017-03-29)
Fixed bugs:
v10.1.0 (2017-03-29)
Implemented enhancements:
- Remove FC023 which is no longer considered best practice #523 (tas50)
- Add basic testing of the metadata_field api #522 (tas50)
- Add a more robust cookbook_base_path helper to the API #520 (tas50)
- Update various tags to better align the rules with the tag categories #517 (tas50)
v10.0.0 (2017-03-14)
Implemented enhancements:
- Add 12.19 metadata as default and remove 12.0 - 12.5.1 #516 (tas50)
- Remove FC003 from Foodcritic #512 (tas50)
v9.0.0 (2017-01-31)
Implemented enhancements:
- Add 12.18.31 metadata and make it the default #508 (tas50)
- Test on Ruby 2.4 and fix failing tests #507 (tas50)
- Support Chef RFC 17 compliant templates #485 (hagihala)
- More sane default CLI values #462 (tas50)
v8.2.0 (2017-01-09)
Implemented enhancements:
- Add 12.17.44 metadata (and make it the default) #505 (tas50)
- Add 12.16.42 metadata and make it the default #497 (tas50)
v8.1.0 (2016-10-20)
Implemented enhancements:
- Add Chef client 12.15.19 metadata #493 (tas50)
- Clarify exclude path instructions in the CLI help #489 (unixorn)
v8.0.0 (2016-09-23)
Implemented enhancements:
- Require Ruby 2.2.2 #487 (tas50)
- Add 12.14.89 metadata and make it the default #486 (tas50)
- Remove Chef 11 metadata and rule support #481 (tas50)
v7.1.0 (2016-08-17)
Implemented enhancements:
- Add Chef 12.13.37 metadata and make it the default #479 (tas50)
- Add 12.12.13 metadata and fix metadata generation #472 (tas50)
Fixed bugs:
- Add missing assigment attributes #478 (ofir-petrushka)
v7.0.1 (2016-07-06)
Implemented enhancements:
v7.0.0 (2016-07-05)
Implemented enhancements:
- Remove support for Ruby 2.0 #465 (tas50)
- Remove chef version support for Chef 0.7, 0.8, 0.9, and 0.10 #464 (tas50)
- Add chef 12.11.18 metadata and make it the default #461 (tas50)
- FC032 allow the new :before timing on resource notifications in Chef >= 12.6.0 #441 (gnjack)
- New cookbook_maintainer api methods #248 (miguelcnf)
v6.3.0 (2016-05-16)
Implemented enhancements:
v6.2.0 (2016-04-26)
Implemented enhancements:
v6.1.1 (2016-04-08)
Implemented enhancements:
v6.1.0 (2016-04-06)
Implemented enhancements:
- Don't require cucumber and rubocop to run rake #444 (jkeiser)
- Add 12.8.1 metadata + update metadata process #438 (tas50)
- Add metadata for Chef 12.7.2 and update instructions #427 (tas50)
Fixed bugs:
v6.0.1 (2016-02-22)
Implemented enhancements:
- Check for URLs that are helpful to the Supermarket #421 (nathenharvey)
Fixed bugs:
v6.0.0 (2016-01-14)
Implemented enhancements:
- Cookbook version is specified in metadata #347
- FC035 - Templates, Style #62
- Add Chef 12.6.0 metadata #417 (tas50)
- New Rule 61 - valid cookbook version #405 (lamont-granquist)
- Require Oracle as a RHEL equiv #404 (tas50)
- Suggest updating from definitions to custom resources #403 (tas50)
- add checks for correct use of use_inline_resources #402 (lamont-granquist)
- Add new tags for rules #401 (tas50)
- Rename FC045 since Chef 12 requires name metadata #399 (tas50)
- Add Chef 12.5.1 metadata #397 (tas50)
- Add self-dependency warning #328 (lamont-granquist)
Fixed bugs:
- Time to cut a release? #344
- FC048: Warn within a provider block, refs #365 #413 (acrmp)
- use_inline_resources checks apply to Chef 11+ #410 (tas50)
- fix for edge condition with 061 #408 (lamont-granquist)
- Rake options override default options #382 (pkang)
Closed issues:
- Chef Docs vs Foodcritic 4.x #354
- Github pages have drifted from foodcritic.io #332
- FC001 is re-enabled thus http://www.foodcritic.io/ is out-of-date #330
v5.0.0 (2015-09-17)
Implemented enhancements:
- Support for a magic comment to temporarily disable a rule #259
- FC007 false positive on depending on the cookbook currently being parsed #242
- Create a rule for "execute resource used to install packages" #180
- New Rule Proposal: uid/gid should be integer #53
- merge default options before check instead of during intialization #321 (ranjib)
Fixed bugs:
- Fix FC031 and FC045 and metadata.rb vs metadata.json issues #369
- FC007 false positive on depending on the cookbook currently being parsed #242
- FC010 Test failures due to missing search support #199
- 'lazy' causes false-positive in FC009 - on previous line #189
- FC051 tries to validate temp files of the editors #172
v4.0.0 (2014-06-11)
v3.0.3 (2013-10-13)
v3.0.2 (2013-10-05)
v3.0.1 (2013-09-25)
Implemented enhancements:
- Roles rules #19
v3.0.0 (2013-09-14)
Implemented enhancements:
- Provide a comprehensive list of
tags
somewhere on the docs #63
Fixed bugs:
- FC001, FC019 shouldn't match on node.run_state #66
v2.2.0 (2013-07-10)
v2.1.0 (2013-04-16)
Implemented enhancements:
- New Rule Proposal: ||= considered harmful with attributes #52
- Would like to be able to exempt rules in cookbooks #10
v2.0.1 (2013-03-31)
v2.0.0 (2013-03-24)
Implemented enhancements:
- New Rule: Check for existence of 'name' in metadata.rb #64
- New Rule: action ":none" vs ":nothing" #61
Fixed bugs:
- Incorrectly decoding attributes within a block #76
- FC003 doesn't match unless statements #58
- FC019 triggered on internal recipe hash key as symbol instead of node #54
v1.7.0 (2012-12-27)
Fixed bugs:
v1.6.1 (2012-08-30)
v1.6.0 (2012-08-28)
Implemented enhancements:
- Thoughts on more style-y lint checks #15
Fixed bugs:
v1.5.0 (2012-08-20)
v1.5.1 (2012-08-20)
Fixed bugs:
- FC007 should not be triggered by include_recipe "#{cookbook_name}::blah" #44
- FC022 block name check appears to be too simplistic #29
v1.4.0 (2012-06-15)
v1.3.1 (2012-06-09)
Implemented enhancements:
- catch pry breakpoints #36
Fixed bugs:
- resource_attributes should show all of the relevant part of the AST #31
- FC003 is triggered, despite being handled #26
v1.3.0 (2012-05-21)
v1.2.0 (2012-04-21)
v1.1.0 (2012-03-25)
Fixed bugs:
- ruby segfault / foodcritic 1.0.0 / nokogiri 1.5.2 #18
v1.0.1 (2012-03-15)
Implemented enhancements:
- rules in code? #8
v1.0.0 (2012-03-04)
Implemented enhancements:
- Foodcritic doesn't have a -v #16
Fixed bugs:
- FC003: Recognise updated chef-solo-search #17
- foodcritic v10 and v11 have conflicting yajl-ruby dependencies with chef #14
v0.11.1 (2012-02-29)
Implemented enhancements:
- Want "all" arg to '-f' option. #11
Fixed bugs:
- Epic fail fail? #13
v0.11.0 (2012-02-22)
Fixed bugs:
v0.10.0 (2012-02-20)
v0.9.0 (2012-01-26)
v0.8.1 (2012-01-20)
v0.8.0 (2012-01-19)
Fixed bugs:
- Don't raise FC003 warning if chef-solo-search is installed #7
v0.7.0 (2011-12-31)
v0.6.0 (2011-12-18)
Fixed bugs:
- Bundler fails to resolve JSON version #6
v0.5.2 (2011-12-15)
v0.5.1 (2011-12-14)
v0.5.0 (2011-12-13)
v0.4.0 (2011-12-10)
v0.3.0 (2011-12-04)
v0.2.0 (2011-12-01)
v0.1.0 (2011-11-30)
- This Change Log was automatically generated by github_changelog_generator