Skip to content

Internal server error when saving a widget with German characters in name#8705

Closed
weltenwort wants to merge 2 commits intoelastic:masterfrom
weltenwort:issue-8705-header-encoding
Closed

Internal server error when saving a widget with German characters in name#8705
weltenwort wants to merge 2 commits intoelastic:masterfrom
weltenwort:issue-8705-header-encoding

Conversation

@weltenwort
Copy link
Copy Markdown
Member

@weltenwort weltenwort commented Oct 19, 2016

Kibana version:
5.0-rc2 snapshot, build 14376

Elasticsearch version:
5.0-rc1

Server OS version:
MacOS, El Capitan 10.11.6 (15G31)

Browser version:
Version 53.0.2785.143 (64-bit)

Browser OS version:
MacOS, El Capitan 10.11.6 (15G31)

Original install method (e.g. download page, yum, from source, etc.):
Manual tar

Description of the problem including expected versus actual behavior:
When creating widgets with special German characters (and m

Steps to reproduce:

  1. Create any widget
  2. Set name to something that has an umlaut (üäö) or German ß
  3. Get internal server error

Errors in browser console (if relevant):

Error: Request to Elasticsearch failed: "Internal Server Error"
    at http://localhost:5601/bundles/kibana.bundle.js?v=14376:26:14736
    at processQueue (http://localhost:5601/bundles/commons.bundle.js?v=14376:38:23621)
    at http://localhost:5601/bundles/commons.bundle.js?v=14376:38:23888
    at Scope.$eval (http://localhost:5601/bundles/commons.bundle.js?v=14376:39:4619)
    at Scope.$digest (http://localhost:5601/bundles/commons.bundle.js?v=14376:39:2359)
    at Scope.$apply (http://localhost:5601/bundles/commons.bundle.js?v=14376:39:5037)
    at done (http://localhost:5601/bundles/commons.bundle.js?v=14376:37:25027)
    at completeRequest (http://localhost:5601/bundles/commons.bundle.js?v=14376:37:28702)
    at XMLHttpRequest.xhr.onload (http://localhost:5601/bundles/commons.bundle.js?v=14376:37:29634)

Error from Kibana log:

 error  [15:08:01.633]  Error: Uncaught error: Header value cannot contain or convert into non-ascii characters: location
    at Object.exports.assert (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/node_modules/hoek/lib/index.js:736:11)
    at internals.Response._header (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:141:22)
    at internals.Response.header (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:119:17)
    at internals.Response._passThrough (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:502:26)
    at internals.Response._prepare (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:457:10)
    at process.nextTick (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/reply.js:152:22)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)
Debug: internal, implementation, error 
    Error: Uncaught error: Header value cannot contain or convert into non-ascii characters: location
    at Object.exports.assert (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/node_modules/hoek/lib/index.js:736:11)
    at internals.Response._header (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:141:22)
    at internals.Response.header (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:119:17)
    at internals.Response._passThrough (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:502:26)
    at internals.Response._prepare (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/response.js:457:10)
    at process.nextTick (/Users/tanya/kibana-5.0.0-rc2-SNAPSHOT-darwin-x86_64/node_modules/hapi/lib/reply.js:152:22)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

Interestingly, visualization is still saved on refresh.

screen shot 2016-10-16 at 8 07 58 am

screen shot 2016-10-16 at 8 07 35 am

screen shot 2016-10-16 at 8 00 57 am

screen shot 2016-10-16 at 8 01 02 am

Note: It's possible other languages and special characters are affected... I tested Russian, Japanese, and Bengali and didn't run into the same problem, but it was not thorough testing.

@tbragin tbragin added bug Fixes for quality problems that affect the customer experience v5.0.0 labels Oct 16, 2016
@weltenwort weltenwort self-assigned this Oct 17, 2016
@weltenwort
Copy link
Copy Markdown
Member

According to my analysis this error is caused by missing url encoding of the Location header in the response by ElasticSearch, which Kibana tries to forward to the browser. This fails because hapi < 15.0.0 applies strict header validation that only allows 7-bit encoded strings. From version 15.0.0 on hapi has removed that validation in favor of Node.js's less restrictive built-in validation (see hapijs/hapi#3065).

Possible workarounds and solutions would be to...

  1. update to hapi >= 15.0.0 (probably feasable mid-term)
  2. uri-encode the Location header manually before sending it on (quick workaround)
  3. uri-encode the Location header in ElasticSearch before sending it

@weltenwort
Copy link
Copy Markdown
Member

weltenwort commented Oct 18, 2016

To add a few more details about the Location header as returned by ElasticSearch: Characters with code <= 255 seem to be returned as-is without encoding and everything else seems to be replaced with a ?.

@spalger
Copy link
Copy Markdown
Contributor

spalger commented Oct 18, 2016

@weltenwort I would rather not transform the headers coming back from Elasticsearch, but if @tylersmalley had a good reason for not going to 15+ it might be necessary. Either way it would be great if you would file an issue at elastic/elasticsearch.

@weltenwort
Copy link
Copy Markdown
Member

@spalger I totally agree with header rewriting not being a great solution. But if we want this to be fixed before 5.0.0 GA I would feel apprehensive of making as big a change as upgrading to hapi.

@tylersmalley
Copy link
Copy Markdown
Member

I agree with @weltenwort that upgrading to Hapi 15 would be a large change to get in at the last minute before GA. I will work on the upgrade path and see what is necessary. @weltenwort, do you want to go down the rewrite path?

@kobelb
Copy link
Copy Markdown
Contributor

kobelb commented Oct 18, 2016

It would also theoretically be possible for us to fork hapijs@14 and cherry-pick this commit onto it, if the rewriting path doesn't work out hapijs/hapi@9f2bd3d

I tried this out locally, and it seemed to resolve the issue.

@weltenwort
Copy link
Copy Markdown
Member

Yes, that's another possibility. I have a re-encode PR almost done though - just want to add some tests. Thanks for all your input! 🙇‍♂️

@tylersmalley
Copy link
Copy Markdown
Member

I have a PR up, but still have quite a bit of testing to do: #8737

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes elastic#8705
Copy link
Copy Markdown
Member

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbudz jbudz self-assigned this Oct 19, 2016
Copy link
Copy Markdown
Contributor

@jbudz jbudz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

timeout: server.config().get('elasticsearch.requestTimeout'),
onResponse: function (err, responseFromUpstream, request, reply) {
reply(err, responseFromUpstream);
const upstreamLocation = responseFromUpstream.headers.location;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can depend on responseFromUpstream being defined if there was an error. We should probably early return if there was an error and then read the location header from the responseFromUpstream

elastic-jasper added a commit that referenced this pull request Oct 19, 2016
---------

**Commit 1:**
URI-encode forwarded location header in proxy

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes #8705

* Original sha: 18c23c1
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-18T17:55:31Z

**Commit 2:**
Add test to verify umlaut in vis name

Relates to #8705

* Original sha: e100e1f
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-19T09:01:46Z

**Commit 3:**
[elasticsearch/proxy] use different code path with erorr

* Original sha: fec5e1a
* Authored by spalger <email@spalger.com> on 2016-10-19T19:06:39Z
elastic-jasper added a commit that referenced this pull request Oct 19, 2016
---------

**Commit 1:**
URI-encode forwarded location header in proxy

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes #8705

* Original sha: 18c23c1
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-18T17:55:31Z

**Commit 2:**
Add test to verify umlaut in vis name

Relates to #8705

* Original sha: e100e1f
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-19T09:01:46Z

**Commit 3:**
[elasticsearch/proxy] use different code path with erorr

* Original sha: fec5e1a
* Authored by spalger <email@spalger.com> on 2016-10-19T19:06:39Z
nreese pushed a commit to nreese/kibana that referenced this pull request Nov 10, 2016
Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes elastic#8705
nreese pushed a commit to nreese/kibana that referenced this pull request Nov 10, 2016
@epixa epixa added v5.1.1 and removed v5.1.0 labels Dec 8, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
---------

**Commit 1:**
URI-encode forwarded location header in proxy

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes elastic#8705

* Original sha: 03ccb8ec56eb92c86162e307a286305384ba92c3 [formerly 18c23c1]
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-18T17:55:31Z

**Commit 2:**
Add test to verify umlaut in vis name

Relates to elastic#8705

* Original sha: 238f6f64a55d113f30fd8f61f5330c1c97f23627 [formerly e100e1f]
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-19T09:01:46Z

**Commit 3:**
[elasticsearch/proxy] use different code path with erorr

* Original sha: 0f7e4548c7808d845bf0df661d9a3742b81f14da [formerly fec5e1a]
* Authored by spalger <email@spalger.com> on 2016-10-19T19:06:39Z


Former-commit-id: afbc790
JasonStoltz added a commit that referenced this pull request Jun 17, 2025
`102.3.0` ⏩ `103.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

[#8736](elastic/eui#8736),
[#8732](elastic/eui#8732), and
[#8732](elastic/eui#8732) include a number of
small style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and
`EuiListGroupItem`.

[#8756](elastic/eui#8756) and
[#8744](elastic/eui#8744) rename a couple of
icons:

`questionInCircle` -> `question`
`iInCircle` > `info`

In both cases, the old name is **backwards-compatible** (unless
importing directly from `assets` folder (see more in the release notes
regarding that). However, the old name will eventually be deprecated as
a part of a larger set of deprecations.

**No action is required at this time to handle this renaming. We will
issue a dedicated PR to Kibana to replace the old names with the new
names in the future**

[#8725](elastic/eui#8725) adds Sky Blue, Yellow,
and Orange palettes to EUI's [color
palettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),
as well as new tokens for Risk, Neutral, and Warning.

**[Breaking change]** Please note that as part of this change, the
following tokens have been renamed:
`euiColorVisNeutral0` -> `euiColorVisBase0`
`euiColorVisWarning0` -> `euiColorVisWarning1`

The original tokens still exist, but have been updated to use new colors
in a way that would be breaking. This PR updates the existing references
in 0b21d2d.

## Package updates

### `@elastic/eui`

## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)

- Replaced `question` icon glyph
([#8756](elastic/eui#8756))
- Updated `EuiResizableCollapseButton` to use an empty button
([#8736](elastic/eui#8736))
- Added `info` icon glyph
([#8744](elastic/eui#8744))
- Removed uppercase styling from `EuiText` `h6` headings to match
`EuiTitle` ([#8732](elastic/eui#8732))
- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes
for consistency ([#8732](elastic/eui#8732))
- Updated the `font-weight` of default `EuiFilterButton` and
`EuiButtonGroupButton` to `450`
([#8734](elastic/eui#8734))
- Added color pallete functions and related hooks:
([#8725](elastic/eui#8725))
  - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`
  - `euiPaletteYellow`, `useEuiPaletteYellow`
  - `euiPaletteOrange`, `useEuiPaletteOrange`
- Added new tokens on `colors.vis`:
([#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([#8725](elastic/eui#8725))
- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage
values ([#8705](elastic/eui#8705))

**Bug fixes**

- Fixed visual positioning issue for notifications in
`EuiHeaderSectionItemButton`
([#8736](elastic/eui#8736))
- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a
visible selected state
([#8736](elastic/eui#8736))
- Fixed handling of unregistered code block languages in
`EuiMarkdownFormat` ([#8729](elastic/eui#8729))

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([#8725](elastic/eui#8725))

### `@elastic/eui-theme-borealis`

##
[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)

- Added new tokens on `colors.vis`:
([#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([#8725](elastic/eui#8725))

**Bug fixes**

- Fixed missing source map warnings emitted by some bundlers by
excluding source maps from being published
([#8764](elastic/eui#8764))
- To align with `@elastic/eui` and many other popular packages, we made
a call to not ship source maps anymore

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([#8725](elastic/eui#8725))

<!--ONMERGE {"backportTargets":["8.19","9.0"]} ONMERGE-->

---------

Co-authored-by: Lene Gadewoll <lene.gadewoll@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
JasonStoltz added a commit that referenced this pull request Jun 18, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [Upgrade EUI to v103.0.0
(#223414)](#223414)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jason
Stoltzfus","email":"jason.stoltzfus@elastic.co"},"sourceCommit":{"committedDate":"2025-06-17T10:16:40Z","message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic
Machine
<elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","EUI","ci:cloud-deploy","Team:obs-ux-infra_services","backport:version","v9.1.0","v8.19.0"],"title":"Upgrade
EUI to
v103.0.0","number":223414,"url":"https://github.com/elastic/kibana/pull/223414","mergeCommit":{"message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic
Machine
<elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/223414","number":223414,"mergeCommit":{"message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <lene.gadewoll@elastic.co>\nCo-authored-by: Elastic
Machine
<elasticmachine@users.noreply.github.com>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience review v5.0.0 v5.1.1 v6.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants