Releases: chefspec/chefspec
Releases · chefspec/chefspec
v4.0.1
v4.0.0
Breaking Changes:
- Upgraded to RSpec 3! RSpec 3 brings many new API changes and syntaxes
- Bump minimum required Chef version to 11.12! Without this change, Chef Zero will blow up
Bugfixes:
- Gracefully fail if a resource does not report it's source line in the reporter
- Pull the correct cookbook folder from the stack on Windows (88bfc6)
- Cover resources in render_file matchers for reporting
- Cover resources in link_to matchers for reporting
- Cover resources in do_nothing matchers for reporting
- Fix memory leak in LWRP Resource classes
- Restore the original
cookbook_path
when using librarian-chef - Documentation fixes
- Disable lazy loading of cached resources
- Fix a bug that will happen in later Chef versions because FreeBSD is evil (13ff143)
- Do not pass local file paths to
preferred_filename_on_disk_location
Features:
- Add runner methods for all the bash, csh, perl, etc resources
- Upgraded fauxhai dependency and specs
- Upgrade Chef Zero for multi-org support
Improvements:
- Improved documentation around the
define_runner_method
method - Update badges to be all SVG
- Test on Ruby 2.1
- Use a randomly assigned port for Chef Zero
- Remove references to
.stub
from documentation
v3.3.1
Bugfixes:
- Various typographical fixes in the README
- Remove unused JSON report
- Restore coverage reporting for Berkshelf 2 users
- Minor formatting changes for errors
Improvements:
- Remove dependency on i18n and use native ERB instead
- Vendor Berkshelf/Librarian in a "cookbooks" directory so we can shorten the pathname during coverage reporting
v3.3.0
Bugfixes:
- Update documentation for setting
automatic
attributes - Update documentation for stubbing data_bags
- Use a non-internal RSpec variable name for expecting exceptions
- Fix the airity of the
stub_node
method
Improvements:
- Better filtering protocols for resource coverage
v3.2.0
Bugfixes:
- Fix coverage calculation when there are no resources in the collection
- Fix misplaced quote in matcher output
- Include all files in generated gem
- Ensure compatability with Chef HEAD
Improvements:
- Test Ruby 2.1 on Travis
- Miscellaneous README typos
- Add
subscribe_to
matchers - Add documentation for the
with
matcher - Add support for passing a
node
object directly to the servercreate_node
method
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
Bugfixes:
- Only remove existing LWRP resources and providers when a new one is encountered (@Student)
- Attempt to coerce dashes to underscores in LWRPs
- Various documentation fixes and typos
Improvements:
- Don't include
deprecations
module by default - Add examples for stubbing commands across recipes
- Yield a block after cookbooks are compiled but before they are converged (@rteabeault)
- Add IRC Channel #chefspec
- Raise a nice error when
cookbook_path
cannot be determined (@ryotarai)
Features:
- Add support for Librarian ([@mlafeldt][])
- Add Cacher module for caching runner results (@sethvargo & @DracoAter)
- Add Chef Zero (server) mode (@sethvargo)
- Add basic resource reporting (Chef recipe code coverage) (@sethvargo)
- Use i18n (internationalization) (@sethvargo)