-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
20.0.0 Release Notes #4138
Comments
The release is out. 🎉 |
Congrats! |
finally wait for you. @cjihrig when to update docs website? |
It looks like the website is updated - https://hapi.dev/api?v=20.0.0. If something isn't right, please open an issue at https://github.com/hapijs/hapi.dev |
The core modules have been migrated off of |
why |
hapi has historically had a policy of no external dependencies in the core project. When joi left the hapi org, we wanted to keep that policy. That policy does not (and never did) apply to plugins. joi is still fine to use, and has more features than |
i don't like joi and validation live in core module at the same, please |
Probably should update the changelog: https://hapi.dev/resources/changelog/ |
Issue is we burned through the build minutes but I am looking at another strategy to reduce the build time. |
I was able to get around the issue with some tweaks. This link now has the latest notes. |
Release note : hapijs/hapi#4138
…master' [TECH] Upgrade HapiJS (19.1.1 to 20.0.2) and dependencies Upgraded dependencies : - hapijs from 19.1.1 to 20.0.2 - Release note hapijs/hapi#4138 - Replace @hapi/joi dependency to joi 17.3.0 - cf hapijs/hapi#4138 - @hapi/vision from 6.0.0 to 6.0.1 - @hapi/inert from 6.0.1 to 6.0.3 - hapi-swagger from 12.1.3 to 14.0.0 - Release Note 13.0.0 : hapi-swagger/hapi-swagger#660; Release Note 14.0.0 : hapi-swagger/hapi-swagger#680 - @types/hapi__hapi from 19.0.2 to 20.0.2 Ticket #109 See merge request appenin/falco-api!132
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.Breaking Changes
New Features
isInjected
property has been added to therequest
object to indicate if the request was created via theinject()
method (ImplementisInjected
read-only request property to indicate request… #4117).Bug fixes
Content-Type
response headers whose value isnull
are no longer sent (headers: avoid sending null content-type #4134).Other Notable Changes
@hapi/joi
module andjoi
-specific dependencies have moved out of the hapijs GitHub organization.joi
has been replaced by@hapi/validate
, a slimmed down version ofjoi
designed specifically forhapi
's internal needs only.hapi
will continue to supportjoi
for users' validation purposes (Replace joi with validate #4115, Leaving @hapi and making new plans joi#2411).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.
The text was updated successfully, but these errors were encountered: