Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.0.0 Release Notes #3272

hueniverse opened this issue Jul 29, 2016 · 0 comments

14.0.0 Release Notes #3272

hueniverse opened this issue Jul 29, 2016 · 0 comments


Copy link

@hueniverse hueniverse commented Jul 29, 2016


hapi v14.0.0 is a small release with a single breaking change upgrading joi to version 9.x. Because most users specify their validation rules as plain objects (as opposed to object manually wrapped in Joi.object()), existing validation rules might break. In addition, because of an apparent bug in npm, the wrong version of joi may be installed at different levels of the dependency tree.

  • Upgrade time: low - no time to a couple of hours for most users
  • Complexity: low - potentially requires wrapping a few rules in Joi.object()
  • Risk: low - low risk of side effects and no changes to keep track of overall
  • Dependencies: low- applies only to route validation rules

Breaking Changes

  • Requires upgrading route validation rules to use joi v9.

New Features


Bug fixes


Migration Checklist

  • Upgrade your dependencies to use joi 9.x
  • Test your route validation rules to ensure they still comply with the joi breaking changes
  • If you identify issues and don't have the time to resolve them with joi v9, wrap your existing rules with Joi.object() using the previous version of joi that worked
@hueniverse hueniverse added this to the 14.0.0 milestone Jul 29, 2016
@hueniverse hueniverse self-assigned this Jul 29, 2016
rokoroku added a commit to rokoroku/hapi-swagger that referenced this issue Aug 1, 2016
Hapi v14.0.0 has been released 3 days ago, with little changes. (See: hapijs/hapi#3272)
Since we already using Joi v9, It would work without any problems.
@lock lock bot locked as resolved and limited conversation to collaborators Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant