Closed liorcode closed 8 years ago
Hi together, I have the same trouble which is related to the new grunt depencency as @liorch88 mentioned. The general problem is, that some libraries are not compatible to 1.x yet. To be able to upgrade grunt-dependend librarires, grunt recommends library-distributors to depend on grunt using "grunt": ">= 0.4.0" (Grunt Changelog - recommendation).
@vojtajina Would it be possible to change the peerDependency to grunt to be compatible with "grunt": "grunt": ">= 0.4.0"?
+1. My project depends on grunt-bump ^0.7.0. Over the weekend, my project broke, but nothing changed in my project. This is pretty much the textbook definition of "breaking change" IMHO. :)
Another :+1: on this (specifically the peerDependency >= 0.4.0 approach) - thanks!
If you rely on grunt 1.0 features, please do at least a bump:minor, not a bump:patch. I thought, grunt-bump was about semver, so please stick to it.
+1, this is very annoying, ended up just removing grunt-bump for now
+1
Published 0.8.0 with the changes the grunt changes. Published 0.7.3 with the reverted changes so nothing should break
It also makes more sense that a plugin which is versioned as 1.x, matches grunt 1.x.
Actually no. The plugin is independent of grunts version
Thanks a lot for solving that fast.
The latest version (0.7.2) broke my build due to some breaking changes (https://github.com/vojtajina/grunt-bump/commit/0965945f298e275df971447c1a9dfb7fb0144814) Seems grunt-bump now requires grunt >=1 as a peer dependency, and since I'm still using grunt 0.4 (which is also required by the other grunt plugins I'm using) running
npm install
breaks. I think this pretty much makes it a breaking change so maybe it would be best to revert the changes and release it again as 1.0.0 or something. It also makes more sense that a plugin which is versioned as 1.x, matches grunt 1.x.