Skip to content

20.0.0 Release Notes #4138

@cjihrig

Description

@cjihrig

Summary

hapi v20.0.0 is a small release with few code changes. The major version bump is due to a change in project leadership and governance. The @hapi/joi dependency has also been replaced with @hapi/validate. Finally, hapi v20 is now tested on Node 14 in Travis CI.

  • Upgrade time: low - none to a couple of hours for most users
  • Complexity: low - requires following the list of changes to verifying their impact
  • Risk: low - small number of changes with simple ways to retain previous behavior in most cases
  • Dependencies: low - existing plugins will work as-is

Breaking Changes

New Features

Bug fixes

Other Notable Changes

  • The @hapi/joi module and joi-specific dependencies have moved out of the hapijs GitHub organization. joi has been replaced by @hapi/validate, a slimmed down version of joi designed specifically for hapi's internal needs only. hapi will continue to support joi for users' validation purposes (Replace joi with validate #4115, Leaving @hapi and making new plans joi#2411).
  • All core modules are now tested on Node 14, in addition to Node 12. This is in preparation for Node 14 entering Long Term Support (LTS) in October.

Migration Checklist

hapi v20 should largely be a drop-in replacement for current hapi v19 users. If you experience issues during the upgrade process, please open an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changesChange that can breaking existing coderelease notesMajor release documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions