Conversation
77f5e05 to
b25262f
Compare
Hapi handles `{ validate: undefined }` differently from `{}` for route
options.
Having the `validate` key set to `undefined` on the `options` object
resulted in the following error
Cannot use 'in' operator to search for 'headers' in undefined
This was because the key names were iterated over and their value
expected to be an object.
|
Pinging @elastic/ingest-management (Team:Ingest Management) |
|
Pinging @elastic/apm-ui (Team:apm) |
flash1293
left a comment
There was a problem hiding this comment.
Kibana app changes LGTM, type changes only. Didn't test locally
darnautov
left a comment
There was a problem hiding this comment.
ML and Transform changes LGTM
legrego
left a comment
There was a problem hiding this comment.
I think we can remove this patch now that Hapi supports SameSite=None natively:
kibana/src/core/server/http/cookie_session_storage.ts
Lines 162 to 177 in 7002250
| "url": "https://github.com/elastic/kibana.git" | ||
| }, | ||
| "resolutions": { | ||
| "**/@hapi/iron": "^5.1.4", |
@legrego I'm going to take care of it as soon as the PR is merged |
This fixes a TypeScript error which means we can get rid of a few ts-expect-error comments.
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
rylnd
left a comment
There was a problem hiding this comment.
Security Solution changes LGTM!
* master: (48 commits) Fix request with disabled aggregation (elastic#85696) [Security Solution][Detections][Threshold Rules] Threshold Rule Bug Fixes (elastic#84918) Removed a possibility to define two different names for Alert types on API and UI level. (elastic#86236) Bump Node.js from version 14.15.2 to 14.15.3 (elastic#86593) [index patterns] Fleep app - Keep saved object field list until field caps provides fields (elastic#85370) [Security Solutions] fix timeline tabs + layout (elastic#86581) Upgrade to hapi version 20 (elastic#85406) App Services: Remove remaining uiActions, expressions, data, embeddable circular dependencies. (elastic#82791) Rename chartLibrary setting to legacyChartsLibrary (elastic#86529) [CI] TeamCity updates (elastic#85843) [Maps] Use Json for mvt-tests (elastic#86492) [Rollup Jobs] Added autofocus to cron editor (elastic#86324) [Monitoring][Alerting] CCR read exceptions alert (elastic#85908) [CI] Bump memory for main CI workers (elastic#86541) Explicitly set Elasticsearch heap size during CI and local development (elastic#86513) [App Search] Updates to results on the documents view (elastic#86181) [Discover] Change default sort handling (elastic#85561) [App Search] Convert DocumentCreationModal to DocumentCreationFlyout (elastic#86508) [App Search] Sample Engines should have access to the Crawler (elastic#86502) Fixed duplication of create new modal (elastic#86489) ...
Support for this was lost in elastic#85406. Fixes elastic#86716
Closes #82805
This PR upgrades from hapi v18 to v20 (and related packages).
breaking changesUpgraded modules
@hapi/hapihapijs/hapi#4138
@hapi/boomhapijs/boom#252
hapijs/boom#253
hapijs/boom#262
@hapi/cookie@hapi/good-squeeze@hapi/h2o2hapijs/h2o2#111
hapijs/h2o2#112
hapijs/h2o2#113
@hapi/hoekhapijs/hoek#347
@hapi/inerthapijs/inert#138
hapijs/inert#139
hapijs/inert#140
@hapi/podium@hapi/statehoodhapijs/statehood#67
@hapi/visionhapijs/vision#191
hapijs/vision#192
@hapi/wreckhapijs/wreck#263
hapijs/wreck#270
We're still using our own fork of
@hapi/good(@elastic/good) andjoihasn't been upgraded to the newest version.Remaining todo's before review