hapi-swaggered icon indicating copy to clipboard operation
hapi-swaggered copied to clipboard

Semver is used incorrectly

Open neagan opened this issue 8 years ago • 1 comments

A microservice of mine was specifying version ^2.2.1 of this repo in its package.json which indicates that it should pull any version below 3.0.0. The service had not been deployed since early January and it broke on npm install during a recent redeployment. This appears to be due to the fact that v2.6.0 is not backwards compatible with Hapi prior to v10.0.0. Breaking changes should increment the major version so I believe the current release should be correctly titled v3.0.0.

neagan avatar May 27 '16 17:05 neagan

This may have been caused by the Hoek dependency, not hapi-swaggered itself. Do you use a Node version lower than 4? See this thread: https://github.com/request/request/issues/2772

rubennorte avatar Oct 16 '17 14:10 rubennorte