diff options
-rw-r--r-- | RELEASE_NOTES.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 168edc3822..c6e3c40db2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -14,8 +14,8 @@ class MyProvider < Chef::Provider::LWRPBase end ``` -Start in 12.5 the `use_inline_resources` directive was mixed into Chef::Provider directly and had the -side effect of mixin in the DSL. After 12.5 it would have worked to write code like this: +Starting in 12.5 the `use_inline_resources` directive was mixed into Chef::Provider directly and had the +side effect of mixing in the DSL. After 12.5 it would have worked to write code like this: ```ruby class MyProvider < Chef::Provider @@ -28,9 +28,8 @@ end ``` But that code would be broken (with a hard syntax error on `use_inline_resources` on prior versions of -chef-client). After 12.9 that code will now be broken on the use of the Recipe DSL which has been removed -from Chef::Provider when mixing use_inline_resources into classes that only inherit from the core +chef-client). After 12.9 that code will now be broken again on the use of the Recipe DSL which has been removed +from Chef::Provider when mixing `use_inline_resources` into classes that only inherit from the core class. If any code has been written like this, it should be modified to correctly inherit from Chef::Provider::LWRPBase instead (which will have the side effect of fixing it so that it correctly works on Chef 11.0-12.5 as well). - |