* Prevents undefined "to" and "from" timepicker dates {pull}20355[#20355]
* Refactors courier by naming internal `searchRequest` variable consistently {pull}20448[#20448]
* Replaces notifier warnings in Discover with toasts {pull}20650[#20650]
* Tests the `callClient.js` client {pull}20605[#20605]
* Fixes a bug in which Discover erroneously shows shard failures message {pull}21003[#21003]
* [Fixes #16771] Fixes bug in Discover where the code expected the shard failure's `reason`
property to be a string or number, when it's really an object {pull}21601[#21601]
* [Fixes #15143, #17696] Incrementally increases the context time window {pull}16878[#16878]
* [Fixes #18636] In the Filter editor, hides fields until they are scrolled into view to decrease load time {pull}18640[#18640]
* Extracts the autocomplete functionality of {kib}'s query language into a plugin {pull}20747[#20747]
* Ensures a field exists in an the index pattern before grabbing it. This ensures that the filter bar displays even if the index pattern or the field name is bad. {pull}20639[#20639]
* Fixes a typo where quotes were used when backticks were intended. This fixes the text for a shard failure warning toast. {pull}21285[#21285]
* [Fixes #19718] Allows overwriting of filters when adding a filter with `queryFilter` {pull}19754[#19754]
Grok Debugger::
* [Fixes #17856] Fixes the border in the Grok Debugger so it no longer cuts off the bottom line of text {pull}18752[#18752]
* [Grok Debugger] Exports a helper function from the Ace `index.js` file instead from its own file {pull}18820[#18820]
Logstash::
* [Fixes #18791] Removes Ruby mode from the Pipeline Ace editor {pull}18807[#18807]
* Fixes the bottom border of the editor on the *Edit Pipeline* page in Logstash Management {pull}18834[#18834]
* Adds vertex reference to pipeline statement classes in the Pipeline viewer {pull}19134[#19134]
* Preserves all nested pipeline statements during graph conversion {pull}19101[#19101]
* Provides `events_in_per_millisecond` and `events_out_per_millisecond` for Logstash pipelines {pull}19446[#19446]
* [Fixes #19736] Removes obsolete visualization code as part of revamp of the Pipeline viewer {pull}20122[#20122]
* [Fixes #20123] Renames the Config viewer to Pipeline viewer {pull}20230[#20230]
* [PipelineViewer] Replaces the bare `img` tags the with EuiIcon component {pull}20330[#20330]
* [Fixes #19844] Refactors the collapsible statement component to wrap `props.children` in the Pipeline viewer {pull}20252[#20252]
* Removes the explicit Close button in the Pipeline viewer because the new EuiFlyout component provides a Close button by default {pull}20044[#20044]
* Use auto_expand_replicas to stay green on 1 node clusters {pull}15694[#15694]
* Feat: Add config provider to disable state management {pull}15275[#15275]
* [optimizer] More aggressive chunking of common/vendor code {pull}15907[#15907]
- Improved the build optimize time by more aggressively chunking common code, resulting in the removal of duplicate code. This drastically cuts the build and plugin install time and overall bundle asset size.
* [Fixes #14813] [ui/bundles][optimizer] only use caches when in dev mode {pull}15780[#15780]
* [optimizer] run webpack compilation ASAP (no more laziness) {pull}15795[#15795]
Platform::
* [Fixes #6520] [optimizer] allow http caching for bundles {pull}15880[#15880]
* Make it possible to disable CSRF check for the specified list of paths. {pull}13904[#13904]
* Use textContent and jQuery to set label and title {pull}16178[#16178]
[[release-notes-6.1.2]]
== {kib} 6.1.2
[float]
=== Security Issues
* Kibana versions before 6.1.2 and 5.6.6 but after 5.1.1 had a cross-site scripting (XSS) vulnerability via the colored fields formatter that could allow an attacker to obtain sensitive information from or perform destructive actions on behalf of other Kibana users. CVE ID: CVE-2018-3818
Users should upgrade to Kibana version 6.1.2 or 5.6.6. There are no known workarounds for this issue.
* Add a feature for custom panel titles {pull}14831[#14831]
- Introduces the ability to specify custom titles, or remove the title entirely, for individual dashboard panels. Just hit the reset link to restore the title to it's original value.
* Input Control visualization {pull}13314[#13314]
* Kibana Home page - phase one {pull}14673[#14673]
* only show expand toggle, in view mode, on hover {pull}14706[#14706]
* [Fixes #13948] Add new "use margins" option to add separation between panels {pull}14708[#14708]
* Add new title query param to dashboard listing page {pull}14760[#14760]
* [Fixes #12563] Hide all panel titles option at the dashboard level {pull}15006[#15006]
Visualization::
* [Fixes #1702] pie chart labels {pull}12174[#12174]
- pie charts can now have labels on them to increase readability
* [Fixes #13519, #13103, #13968] Improve Region Maps for use without network connection {pull}15056[#15056]
- Improve the use of Region Maps for deployment in environments without internet access. Similar to the Coordinate Map visualization, the Region map can now use a WMS-service as a base-layer. Admins can now also setup Kibana to opt-out of connection to the Elastic Maps Service. Users can now opt-out of having the visualization display warnings.
* Introduce lab mode for visualizations {pull}15050[#15050]
- Newly introduced visualizations can now be part of labs-mode. Visualizations in labs-mode introduce new more cutting-edge functionality and can be subject to change across minor releases. Labs-mode can be turned off in the advanced settings. Labs-visualization will then no longer be available to the user. The Time Series Visual Builder is not part of labs-mode, it continues to be an experimental feature. The input controls are the first to be flagged as a lab visualization.
- The metric visualization now no longer reuses the rendering code of the gauge and goal visualizations. This improves consistency of positioning of the metric on Dashboards.
* [TSVB] Adding the ability to sort terms split by terms and change order {pull}14213[#14213]
* Math Aggregation to support Sibling Aggs for TSVB {pull}13681[#13681]
* [TSVB] Add support for Math Aggregation to tables {pull}14553[#14553]
- This PR adds support for the Math aggregation to the new TSVB table visualization. This wasn't possible at the time of the PR because both features were separated. This also adds support for the drop last bucket feature.
* [TSVB] Series Filter {pull}14696[#14696]
- This PR adds the series filter feature allowing the user to create a filter per series. This allows users to user to have a group by terms along with a filter for each series.
* [Fixes #13992] Grab the default index pattern and use it in TSVB {pull}14739[#14739]
- TSVB now uses Kibana's default index pattern by default.
* [TSVB] Add params._interval to mathjs {pull}14944[#14944]
- Make the bucket interval available as a parameter.
* Upgrade kibana to leaflet 1.x {pull}12367[#12367]
* [Fixes #1385] relative date field formatter {pull}13921[#13921]
* Allow visualizations to specify open editor tab {pull}13977[#13977]
* Show the x-axis (time) value in legend when hovering over a Timelion graph {pull}14627[#14627]
- Hovering over a Timelion graph now shows the corresponding x-axis value in the legend.
* Timelion typeahead for argument names {pull}14657[#14657]
* [Fixes #9022] Timelion query language support for scripted fields {pull}14700[#14700]
* Timelion typeahead for argument values {pull}14801[#14801]
* add API to embed visualizations {pull}14292[#14292]
- visualize loader helps with inserting visualizations into DOM elements
- Improve the keyboard accessibility of visualization legends.
* [Fixes #12905] [Accessibility] Refactor font slider for accessibility {pull}14817[#14817]
* Remove ready:vis and application.load event {pull}14988[#14988]
- Visualizations no longer send a ready:vis event to the $rootScope once they initialized. Applications don't need to emit an application.load event anymore.
[float]
=== Bug Fixes
Design::
* [Fixes #12247] [Accessibility] Make table pagination controls keyboard-accessible. {pull}13541[#13541]
* [Fixes #12482] [Accessibility] Give kuiTables keyboard-accessible column headers {pull}13586[#13586]
* [Fixes #12612] Create keyboard mode for ui-ace editor {pull}13339[#13339]
- Our code editor in several places won't trap keyboard focus anymore, by using the Tab key. When navigating by keyboard, you first need to Enter editing mode in the code editor and you can leave it by pressing Escape.
* Set timeout and terminate_after parameters when fetching terms for Input Controls {pull}14977[#14977]
* [Fixes #13458] Fix out of memory crash on auto refreshing dashboards {pull}13871[#13871]
* [Fixes #9523] Fix issue where saved searches are not updated {pull}14452[#14452]
- There has been a long standing issue where if you add a saved search to a dashboard, then go edit and save that saved search, the updates are not propagated to the dashboard. The only way, previously, to get the new changes was to remove and re-add the search from your dashboard. With this fix, that is no longer necessary. However, there is one situation when your saved search will stop updating and that is when someone has made and saved local edits to the saved search on the dashboard. For example, if you remove a column from a saved search in a dashboard panel, then save the dashboard, that search will always show that column set, even if columns are added or removed to the underlying saved search. We did it this way to still allow users to override the configuration at the dashboard level.
Visualization::
* Visualization resizeInit {pull}15321[#15321]
* [Fixes #14344] Remove aria-hidden="true" from TSVB tabs and agg component to make their content screen-reader accessible. {pull}14345[#14345]
* [TSVB] Remove console.log from Resize PR {pull}14555[#14555]
* [TSVB] Fixes #14124 - Removes the 1w label from interval pattern {pull}14577[#14577]
* [TSVB] Change term sorting to match Kibana Core {pull}14679[#14679]
* [TSVB] Stacked series should not contain null values {pull}14923[#14923]
* fix issue of duplicate TSVB flot chart creation {pull}14626[#14626]
* Fix spatial filters when Kuery is in use {pull}14158[#14158]
* [6.x] update spy table headers when columns update {pull}13224[#13224]
* [Fixes #12545] [timelion] trim number of colors when there are more colors than gradient stops {pull}14906[#14906]
[[release-notes-6.0.1]]
== {kib} 6.0.1
[float]
[[security-6.0.1]]
=== Security Issues
* Kibana cross site scripting issue (ESA-2017-22): Kibana versions prior to 6.0.1 and 5.6.5 had a cross-site scripting (XSS) vulnerability via URL fields that could allow an attacker to obtain sensitive information from or perform destructive actions on behalf of other Kibana users. CVE ID: CVE-2017-11481
* Kibana open redirect flaw (ESA-2017-23) : The Kibana fix for CVE-2017-8451 was found to be incomplete. With X-Pack installed, Kibana versions before 6.0.1 and 5.6.5 have an open redirect vulnerability on the login page that would enable an attacker to craft a link that redirects to an arbitrary website. CVE ID: CVE-2017-11482
Users should upgrade to Kibana version 6.0.1 or 5.6.5. There are no known workarounds for these issues.
[float]
=== Bug Fixes
Design::
* [UI Framework] Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling. {pull}15215[#15215]
Discover::
* [Fixes #14634] Don't show { match_all: {} } for migrated objects {pull}14644[#14644]
* [Fixes #15398] Solidify context app filter test {pull}15203[#15203]
Platform::
* Fix fieldFormat plugins {pull}14984[#14984]
- In 6.0.0 we accidentally included a breaking change that prevented plugins from supplying custom FieldFormatters. This has been fixed but, also changes the way that they need to be defined. Take a look at the field formatters Kibana supplies to see how you should update your custom FieldFormats.
* Fix: exponent values in table view {pull}15309[#15309]
* Prepend relative urls {pull}14994[#14994]
* [eslint] add eslint dev script {pull}14889[#14889]
* [dev/ci_setup] generalize jenkins_setup script for other CI environments {pull}15178[#15178]
Operations::
* Adds task to export a CSV of all dependencies {pull}15068[#15068]
* [Logging] more tests and added robustness to log formatting {pull}15035[#15035]
* [UI Framework] Reactify kuiHeaderBar and related CSS components {pull}12280[#12280]
* [UI Framework] Define consistent default, small, and wide sizing for form fields, and support them within ExpressionItems. {pull}12190[#12190]
* [UI Framework] Order UI Framework React component exports to be alphabetical {pull}12526[#12526]
* [UI Framework] Reactify kuiTabs and related CSS components {pull}12302[#12302]
* Replace brand-danger color with new global red color. {pull}12654[#12654]
* Make ui-select appearance match other inputs. {pull}12652[#12652]
* [UI Framework] remove check for ng-untouched class from formControlInvalid mixin {pull}12153[#12153]
* [UI Framework] reactify prompt for items {pull}12151[#12151]
* [UI Framework] Allow custom placeholder for Tool Bar Search Box {pull}12959[#12959]
* [UI Framework] Add new react color picker to ui framework with tests {pull}12245[#12245]
Discover::
* Implement new Kibana query language {pull}12624[#12624]
- This PR adds a new experimental query language to Kibana. The new language is turned off by default but can be enabled in the Management > Advanced Settings via the search:queryLanguage:switcher:enable option. Changing this setting to true will add a language selector to the query bar that allows users to choose the new language for their query. Details of the new query language can be found in the issue description (#12282).
* Remove highlight query {pull}13231[#13231]
* [Fixes #12635] Improve the accessibility of the Discover screen {pull}12681[#12681]
* [Fixes #12343] Remove custom keyboard navigation in datepicker {pull}13644[#13644]
* Accessible sort buttons {pull}12217[#12217]
* [Accessibility] Avoid empty th in doc-table header row {pull}12364[#12364]
- The discover document table header cells provide appropriate hints to screen-readers.
* [Accessibility] Add button to skip past the discover doc table {pull}12539[#12539]
- The new "Skip to bottom"-button in Discover is invisible unless focused. When activated it displays all remaining rows that were already loaded and focuses an anchor located below the table.
* [indexPatterns] remove support for time patterns {pull}12158[#12158]
- Removes ability to create index patterns based on time patterns/intervals - Adds a warning that informs users when they are using an index pattern that is now unsupported (disabled by default until #10442 is done, #12322) - Does not address editing/remapping index patterns, see last task in #12242
* [Fix for #11526, #8225] Move build info from management section to status page {pull}13341[#13341]
* [Management] Provide a way to fetch indices and template index patterns {pull}12200[#12200]
* [Management] More universal solution for fetching indices and aliases {pull}12405[#12405]
* Add breadcrumb-page-title to management-app {pull}12765[#12765]
- The bread-crumbs component allows for the consumer to pass in a page-title value which is appended as the final breadcrumb in the chain. This PR adds a scope argument to the management-app to take advantage of it.
* Updates to status API, re-align status page {pull}10180[#10180]
* [Fix for #10181] Revert same port http -> https redirect {pull}10930[#10930]
- Kibana 5.x redirected requests from http to https on the same port if TLS was configured. Starting in Kibana 6.0.0 Kibana no longer redirects basic http traffic to https.
* Update mappings for kibana index {pull}9280[#9280]
* Use single ES document type {pull}12794[#12794]
- Starting in Elasticsearch 6.0, you are no longer able to create new indices with multiple index types. To accomplish the same effect as index types, a new type field was added to identify the document and the value mapped under the index to allow for strict mapping.
* [logging] Downgrade hapi connection errors when connecting with the w… {pull}11209[#11209]
* [status] 15m load average should use the 3rd index {pull}11202[#11202]
* [Fixes #9436] [optimizer] remove support for .jsx extension {pull}12712[#12712]
* Sets ES mapping to single_type=false {pull}11451[#11451]
Platform::
* [Fix for #12012] Fail to start if settings include unknown keys {pull}12554[#12554]
- When a config file includes invalid keys or values, Kibana usually logs a message describing the issue and fails to start. There has been an exception to this rule since 4.2 that allowed top-level keys to be unknown/misspelled and only caused a warning to be logged. That exception has been removed and now any unknown or misspelled config key passed to Kibana (via the config file or command line flags) will prevent it from starting.
* Remove the es_admin proxy {pull}13000[#13000]
* Restrict ES data proxy to msearch and search {pull}13020[#13020]
* Remove client-side management of Kibana index mappings {pull}12820[#12820]
* Uses uuid for auto-generated ids and prepends type (#12834) {pull}12877[#12877]
* [uiSettings] support defining settings with uiExports {pull}12250[#12250]
- define a uiExports.uiSettingDefaults key your plugin definition to add uiSettingDefaults - uiSettingDefaults must be unique. If a key is already defined elsewhere then the server will not start. - defined settings will display in the advanced settings editor, along with the intended default value and description - the REST API is identical to before - the browser API is identical to before - defaults for timelion have been extracted to the timelion plugin definition and the existing defaults are defined in the kibana plugin definition
* Refactor commaList filter logic into common util {pull}12553[#12553]
* [kbnServer/extensions] formalize request factories with helper {pull}12697[#12697]
* Allow plugins to turn off the "link to last URL" navigation helper {pull}13044[#13044]
* Full screen mode implementation for dashboard {pull}12265[#12265]
- You can now enter full screen mode when viewing a dashboard. This hides the Chrome and the top nav bar. If you have any filters applied, you'll see the filter bar, otherwise that will be hidden as well. To exit full screen mode, hover over and click the Kibana button on the lower left side of the page, or simple press the ESC key.
Visualize::
* Visualize Refactor {pull}11786[#11786]
- When creating new visualizations, developers are no longer restricted to using just Angular as a rendering technology. The changes now also enables developers to create custom editors that do not conform to the current sidebar-layout. Commonly used functionality - such as access to the query bar or timefilter - is now also exposed on the visualization object. This avoids the need to import individual modules from inside Kibana. These changes are a first step in a longer term effort to provide a robust long-lived programming interface for building visualizations in Kibana.
* Replace "marked" with "markdown-it" {pull}13623[#13623]
* Upgrade kibana to leaflet 1.x {pull}12367[#12367]
* Duration Formatting for TSVB {pull}13337[#13337]
* allows more flexible timelion queries {pull}10961[#10961]
* Support multiline Timelion queries {pull}11972[#11972]
* Fix ui-select error border color and placeholder font color. {pull}12411[#12411]
* Fix appearance of error indicator in Visualize sidebar. {pull}12410[#12410]
* [Fix for #11193] hide current time marker when the timespan doesn't include the current time {pull}12266[#12266]
- Only display current time marker on a visualization when the x-axis extent includes the current time.
* [Fix for #7040] Add github-markdown.css to markdown visualization {pull}12377[#12377]
* Filter geohash_grid aggregation to map view box with collar {pull}12806[#12806]
* add font size control to markdown visualization {pull}12860[#12860]
* [vis/resizeChecker] swap out implemenation with ResizeObserver polyfill {pull}9439[#9439]
* Add imports for SavedObjectRegistryProvider.register, fixing Timelion {pull}12844[#12844]
* [Fix for #7572] add polygon drawing tool {pull}11578[#11578]
- On a coordinate map, users can now make a selection on the map by drawing a freehand polygon. Just like the earlier boundary selection, this adds a boundary filter to the filter bar.
* [Fixes #12491, #12904, #12887] Improve accessibility of visualizations {pull}13507[#13507]
* fix create_index_pattern_method to handle no timefields {pull}13852[#13852]
* Work around #11959 for now {pull}12051[#12051]
* [Fixes #14350] [Management] Fix FF quirk with max width in the import saved object modal {pull}14352[#14352]
Operations::
* Use es6 exports, replace module.exports {pull}12084[#12084]
* Removing mapper.dynamic setting from the esArchiver mappings {pull}13970[#13970]
* Add linting rules for formatting JSX. {pull}12810[#12810]
* Upgrade eslint config to 0.8.1. {pull}13128[#13128]
* Move eslint-config-kibana into core {pull}12725[#12725]
* [npm] Upgrade wreck {pull}13849[#13849]
* Eslint/remove last amd modules {pull}14282[#14282]
Platform::
* Update HTML style guide with rule for camel casing attribute values. {pull}11653[#11653]
* Add title and tooltip accessibility information to HTML style guide. {pull}11655[#11655]
* [Fix for #12580] Update HTML style guide with rule about putting nested elements on multiple lines. {pull}12812[#12812]
* [Fix for #12047] [uiSettings] make service request based {pull}12243[#12243]
- removes server.uiSettings() (throws error with instructions) - Adds request.getUiSettingsService() which returns a unique instance of UiSettingsService per request - Methods on UiSettingsService no longer require a request object - Adds server.uiSettingsServiceFactory(options) which can be used to create an instance of UiSettingsService with a custom callCluster() function
* [Fix for #12436] Fix stats permissions and use underscore instead of dash {pull}12478[#12478]
* [ftr] remove timestamp prefix, jenkins has it built in now {pull}13825[#13825]
* [ftr/config] prevent mochaOpts and timeouts conflict {pull}14060[#14060]
* create babel-preset and babel-register modules {pull}13973[#13973]
* [vis/requesting] only call when actually requesting {pull}14017[#14017]
* [Fixes #14255] Use Boom.boomify instead of deprecated Boom.wrap {pull}14325[#14325]
* [Fixes #14497] Import Babel polyfill when running Jest tests {pull}14508[#14508]
* [Fixes #12233] Be case insensitive when sorting on the visualize and dashboard landing pages {pull}13397[#13397]
* Fix bug with Dashboard breadcrumb alignment. {pull}13580[#13580]
* [Fixes #13040] Make sure no one can show the chrome if the default setting is hidden. {pull}13250[#13250]
* [Fixes #13297] Fix full screen toggle button when panel is expanded {pull}13320[#13320]
* Show full screen option even when write controls are hidden {pull}13247[#13247]
* [Fixes #13289] Use find service instead of remote {pull}13296[#13296]
* [Fixes #13754] Small clean up with visualize test + extra debug log {pull}13755[#13755]
* [Fixes #13588] Fix map updates not propagating to the dashboard {pull}13589[#13589]
* Set pie chart border to match background in dark mode {pull}14375[#14375]
* [Fixes #14462] Prevent event handlers from being triggered after they are "off"ed {pull}14463[#14463]
Visualize::
* update spy table headers when columns update {pull}13225[#13225]
* Fixes #12757 - Fixing field fetching for index patterns for TSVB {pull}12771[#12771]
* [Fix for #4599] Add "Sum of series in legend" option {pull}7970[#7970]
* [Fix for #9053] [timelion/fit/carry] do nothing if there is not any data {pull}9054[#9054]
* [Fix for #8763] [vislib/tilemap/heatmap] scale the heatmap maxZoom with map zoom {pull}8765[#8765]
* [Fix for #9184] fixes error with custom interval in datetime aggregation {pull}9427[#9427]
* Fix timelion's flot when neither thor nor monitoring are installed {pull}10412[#10412]
* Fixes #12763 - Add show_grid to the default vis structure for TSVB {pull}12769[#12769]
* Fixes #12777 - Add onBrush to Visualization component for TSVB {pull}12778[#12778]
* [Fix for #12802, #12762] Fix TSVB Visualizations to honor darkTheme {pull}12804[#12804]
* [Fix for #8076] Scaled date format for date histogram aggregation {pull}12384[#12384]
- Format date_histogram aggregation bucket labels with format specified in Advanced Setting's "dateFormat:scaled"
* [Fix for #3230] Make vertical bar chart gutter widths consistent {pull}12264[#12264]
- Histogram intervals are not always equal widths (monthly time intervals). Keeping gutter widths consistent and reducing the bar width provides a more visually appealing bar chart.
* [Fix for #3173] Date histogram brush - add range filter when field is not index pattern time field. {pull}12286[#12286]
* Remove event listener for resizeChecker when directive is destroyed {pull}12734[#12734]
* Date histogram axis label not getting updated when time interval changes {pull}12815[#12815]
* [Fix for #12782] visualize should send ready:vis event when done {pull}12796[#12796]
* [Fix for #12811] reload visualization on auto refresh trigger {pull}12823[#12823]
* [Fix for #12882] changing query should update url state {pull}12912[#12912]
* vis with saved search should not show query and filter panels {pull}12911[#12911]
* [Fix for #12925] analyze wildcard should not be part of default query {pull}12938[#12938]
* [Fix for #12940] query queue should be cleared on failure {pull}12942[#12942]
* Handle date histogram scaling for table vis and avg_buckets metric {pull}11929[#11929]
* [Fix for #11414] remove default WMS settings {pull}11573[#11573]
* [Fix for #12497] allows to order percentiles freely {pull}12498[#12498]
* [Fix for #12732] Should only run visualization on Discover page when the indexpattern is time based {pull}12741[#12741]
* reload on global fetch event and emit vis:ready {pull}12805[#12805]
* [Fix for #12919] Fix excessive redraw {pull}12931[#12931]
* [Fix for #13181, elastic/beats#4777] Add Checks to Dashboard Context {pull}13182[#13182]
* [Fix for #11586] Use ui-select for agg selector {pull}13292[#13292]
* [Fix for #13227] Send map filters through $newFilters so they get picked up by both kuery and lucene {pull}13251[#13251]
* [Fix for #12827] removes :filters from label {pull}12962[#12962]
* [Fix for #12983] resize was not detected correctly {pull}13239[#13239]
* [Fix for #13011] Should respect pinned filters {pull}13019[#13019]
* [indexPatterns] remove support for time patterns {pull}12158[#12158]
- - Removes ability to create index patterns based on time patterns/intervals - Adds a warning that informs users when they are using an index pattern that is now unsupported (disabled by default until #10442 is done, #12322) - Does not address editing/remapping index patterns, see last task in #12242
* Updates to status API, re-align status page {pull}10180[#10180]
* [Fixes #10181] Revert same port http -> https redirect {pull}10930[#10930]
- Kibana 5.x redirected requests from http to https on the same port if TLS was configured. Starting in Kibana 6.0.0 Kibana no longer redirects basic http traffic to https.
* [Fixes #12012] Fail to start if settings include unknown keys {pull}12554[#12554]
- When a config file includes invalid keys or values, Kibana usually logs a message describing the issue and fails to start. There has been an exception to this rule since 4.2 that allowed top-level keys to be unknown/misspelled and only caused a warning to be logged. That exception has been removed and now any unknown or misspelled config key passed to Kibana (via the config file or command line flags) will prevent it from starting.
Visualization::
* [Fixes #10907] allows more flexible timelion queries {pull}10961[#10961]
* [git] ignore extra files in the root config/ directory {pull}9296[#9296]
* upgrade makelogs {pull}9295[#9295]
* [Fixes #9436] [optimizer] remove support for .jsx extension {pull}12712[#12712]
* [status] 15m load average should use the 3rd index {pull}11202[#11202]
* Sets ES mapping to single_type=false {pull}11451[#11451]
Platform::
* [Fixes #10863] [uiSettings] support defining settings with uiExports {pull}12250[#12250]
- - define a uiExports.uiSettingDefaults key your plugin definition to add uiSettingDefaults - uiSettingDefaults must be unique. If a key is already defined elsewhere then the server will not start. - defined settings will display in the advanced settings editor, along with the intended default value and description - the REST API is identical to before - the browser API is identical to before - defaults for timelion have been extracted to the timelion plugin definition and the existing defaults are defined in the kibana plugin definition
* [Fixes #12012] Refactor commaList filter logic into common util {pull}12553[#12553]
* [kbnServer/extensions] formalize request factories with helper {pull}12697[#12697]
* Allow plugins to turn off the “link to last URL” navigation helper {pull}13044[#13044]
Sharing::
* Add new react color picker to ui framework with tests {pull}12245[#12245]
- On a coordinate map, users can now make a selection on the map by drawing a freehand polygon. Just like the earlier boundary selection, this adds a boundary filter to the filter bar.
* [Fixes #12491, #12904, #12887] Improve accessibility of visualizations {pull}13507[#13507]
* Allow custom timeouts on click {pull}14042[#14042]
* Make breadcrumb a heading for screen readers, fix #12885 {pull}13734[#13734]
* Remove Stats API {pull}13896[#13896]
* Revert Stats API for 6.0 {pull}13969[#13969]
* Fixes path to the functional test runner {pull}12651[#12651]
* Removed _default_ from esArchiver test and updates data.json {pull}13122[#13122]
Platform::
* [Fixes #12047] [uiSettings] make service request based {pull}12243[#12243]
- - removes server.uiSettings() (throws error with instructions) - Adds request.getUiSettingsService() which returns a unique instance of UiSettingsService per request - Methods on UiSettingsService no longer require a request object - Adds server.uiSettingsServiceFactory(options) which can be used to create an instance of UiSettingsService with a custom callCluster() function
* [Fixes #12987] Children of buttons won't capture hover events in firefox {pull}13015[#13015]
* [Fixes #12233] Be case insensitive when sorting on the visualize and dashboard landing pages {pull}13397[#13397]
* Fix bug with Dashboard breadcrumb alignment. {pull}13580[#13580]
* Stats API {pull}11992[#11992]
- We introduced a new api endpoint at api/stats which displays counts of saved objects in your kibana index: {"dashboard":{"total":1},"visualization":{"total":3},"search":{"total":1},"index_pattern":{"total":1},"index":".kibana"}
* remove inline awaits {pull}13043[#13043]
* Stabilize and bring back flaky tests {pull}13034[#13034]
* [Fixes #13040] Make sure no one can show the chrome if the default setting is hidden. {pull}13250[#13250]
* [Fixes #13297] Fix full screen toggle button when panel is expanded {pull}13320[#13320]
* [Fixes #12484, #12485, #12483] Fix accessibility issues with saved object finder {pull}13152[#13152]
* Show full screen option even when write controls are hidden {pull}13247[#13247]
* [Fixes #13289] Use find service instead of remote {pull}13296[#13296]
* [Fixes #12181] Fix dark theme issues with spy toggle and spy pane {pull}13345[#13345]
* [Fixes #13455] Avoid a wrapped retry and use exists instead of find, which will take up all the time allotted for the retry if it fails once {pull}13467[#13467]
* [Fixes #13754] Small clean up with visualize test + extra debug log {pull}13755[#13755]
* [Fixes #13588] Fix map updates not propagating to the dashboard {pull}13589[#13589]
* [Fix for #12343] Remove custom keyboard navigation in datepicker {pull}13644[#13644]
Management::
* [Management] Provide a way to fetch index pattern titles {pull}13030[#13030]
- This PR adds another method to the indexPatterns service to fetch index patterns titles. Since the code was nearly identical to how index pattern ids are fetched, I decided to slightly refactor the function to accept a parameter for which property to fetch from the index pattern. I've updated all usages to the new approach.
* [Fix for #11526, #8225] Move build info from management section to status page {pull}13341[#13341]
* [Fix for #10504] [console] Replace text/plain fallback with application/json {pull}12294[#12294]
* [Fix for #10677] Keep top line in view when resizing Console to avoid losing user context {pull}13695[#13695]
Discover::
* [Fix for #12745] Handle booleans in filter editor {pull}13406[#13406]
* [Fix for #12692] Re-enable filter editor suggestions {pull}13376[#13376]
* Remove simple_query_string hack now that multi_match supports * properly {pull}13285[#13285]
* Add documentation link to query bar when Kuery is selected {pull}13300[#13300]
* [Fix for #12639] Make filter pills keyboard accessible {pull}13331[#13331]
* [Fix for #12640] Make 'all filters' actions keyboard accessible {pull}13391[#13391]
* [Fix for #12416] Fix fixed-scroll on Discover page {pull}13516[#13516]
* [Fix for #12955] Improves dark theme support in the filter editor {pull}13522[#13522]
* [Fix for #11830] Disable creation of "exists" filters for scripted fields {pull}13538[#13538]
* [Fix for #13080] Fix blank index pattern selector in Discover {pull}13715[#13715]
* Fix relative z-index of spy panel and filter editor {pull}13717[#13717]
Management::
* [Fix for #12861, #12862, #12863, #12865, #12868, #12870, #11526] [Management] Improve accessibility within management {pull}13364[#13364]
* [Fix for #12864] [Management] Accessibility - continued {pull}13576[#13576]
* [Fix for #13542] [Management] Fix breaking scope changes in the field format editor samples {pull}13549[#13549]
* [Fix for #12872] Adds getAriaName function and applies it to advanced settings {pull}13448[#13448]
* [Fix for #13072] Prevents default index pattern name when ID is provided {pull}13353[#13353]
* [Fix for #13654] Changes verbage for opening an existing pattern {pull}13697[#13697]
Operations::
* Remove `@elastic` folder from `packages/` {pull}13089[#13089]
Platform::
* [Fix for #12933] [chrome/nav/lastUrl] do not track redirect routes {pull}13432[#13432]
- When you navigate to a URL that Kibana doesn't recognize it tries to be helpful and send you to discover. At the same time it tries to remember the URL you were last using in each app and bring back where you left off when you come back. Unfortunately, these two features recently collided. If you somehow ended up at an unknown URL that looked like the URL for an app other than discover Kibana would get confused and remember the bad URL and immediately redirect you to discover. If you didn't give up right away you would probably try to go back to the app, but since it Kibana is trying to be helpful it would send you right back to the bad URL and then back to discover... Stupid right?! Well, it won't happen anymore!
Sharing::
* remove inline awaits {pull}13043[#13043]
* Stabilize and bring back flaky tests {pull}13034[#13034]
* [Fix for #12484, #12485, #12483] Fix accessibility issues with saved object finder {pull}13152[#13152]
* [Fix for #12987] Children of buttons won't capture hover events in firefox {pull}13015[#13015]
* [Fix for #13517] remove geo_bounds agg from visualizations {pull}13536[#13536]
* [Fix for #13424] Exclude filter agg from visualizations {pull}13680[#13680]
* [Fix for #13572] Show a warning for non accessible charts for screen readers {pull}13573[#13573]
[[release-notes-6.0.0-beta1]]
== {kib} 6.0.0-beta1
[float]
=== Breaking Changes
Management::
* [indexPatterns] remove support for time patterns {pull}12158[#12158]
- - Removes ability to create index patterns based on time patterns/intervals - Adds a warning that informs users when they are using an index pattern that is now unsupported (disabled by default until #10442 is done, #12322) - Does not address editing/remapping index patterns, see last task in #12242
* Updates to status API, re-align status page {pull}10180[#10180]
* [Fix for #10181] Revert same port http -> https redirect {pull}10930[#10930]
- Kibana 5.x redirected requests from http to https on the same port if TLS was configured. Starting in Kibana 6.0.0 Kibana no longer redirects basic http traffic to https.
Platform::
* [Fix for #12012] Fail to start if settings include unknown keys {pull}12554[#12554]
- When a config file includes invalid keys or values, Kibana usually logs a message describing the issue and fails to start. There has been an exception to this rule since 4.2 that allowed top-level keys to be unknown/misspelled and only caused a warning to be logged. That exception has been removed and now any unknown or misspelled config key passed to Kibana (via the config file or command line flags) will prevent it from starting.
* Remove the es_admin proxy {pull}13000[#13000]
* Restrict ES data proxy to msearch and search {pull}13020[#13020]
* [Fix for #10907] allows more flexible timelion queries {pull}10961[#10961]
[float]
=== New Features
Discover::
* Implement new Kibana query language {pull}12624[#12624]
- This PR adds a new experimental query language to Kibana. The new language is turned off by default but can be enabled in the Management > Advanced Settings via the search:queryLanguage:switcher:enable option. Changing this setting to true will add a language selector to the query bar that allows users to choose the new language for their query. Details of the new query language can be found in the issue description (#12282).
* Full screen mode implementation for dashboard {pull}12265[#12265]
- You can now enter full screen mode when viewing a dashboard. This hides the Chrome and the top nav bar. If you have any filters applied, you'll see the filter bar, otherwise that will be hidden as well. To exit full screen mode, hover over and click the Kibana button on the lower left side of the page, or simple press the ESC key.
- When creating new visualizations, developers are no longer restricted to using just Angular as a rendering technology. The changes now also enables developers to create custom editors that do not conform to the current sidebar-layout. Commonly used functionality - such as access to the query bar or timefilter - is now also exposed on the visualization object. This avoids the need to import individual modules from inside Kibana. These changes are a first step in a longer term effort to provide a robust long-lived programming interface for building visualizations in Kibana.
[float]
=== Enhancements
Design::
* We'd like to extend a special thanks to Arpad Popradi for his contributions to the UI Framework.
* [UI Framework] Reactify menu {pull}12135[#12135]
* Adding for and id attributes to labels and form elements {pull}12215[#12215]
* [UI Framework] Reactify kuiEvent and related CSS components (#12226) {pull}12228[#12228]
* [UI Framework] Reactify kuiHeaderBar and related CSS components {pull}12280[#12280]
* [UI Framework] Define consistent default, small, and wide sizing for form fields, and support them within ExpressionItems. {pull}12190[#12190]
* [UI Framework] Order UI Framework React component exports to be alphabetical {pull}12526[#12526]
* [UI Framework] Reactify kuiTabs and related CSS components {pull}12302[#12302]
* Replace brand-danger color with new global red color. {pull}12654[#12654]
* Make ui-select appearance match other inputs. {pull}12652[#12652]
* [UI Framework] remove check for ng-untouched class from formControlInvalid mixin {pull}12153[#12153]
* [UI Framework] reactify prompt for items {pull}12151[#12151]
* [UI Framework] Allow custom placeholder for Tool Bar Search Box {pull}12959[#12959]
* Palette swap for accessibility / kibana 6 {pull}12085[#12085]
- We re-skinned a decent portion of Kibana to be mostly AA accessibility compatible in regards to coloring of major navigation elements.
* [Design] Use alpha logo, retain branding in fullscreen mode {pull}12735[#12735]
* [Fix for #12622] [Design] Update favicons {pull}12774[#12774]
Dev Tools::
* Respects ES customHeaders config for Console {pull}13033[#13033]
Discover::
* Accessible sort buttons {pull}12217[#12217]
* [Accessibility] Avoid empty th in doc-table header row {pull}12364[#12364]
- The discover document table header cells provide appropriate hints to screen-readers.
* [Accessibility] Add button to skip past the discover doc table {pull}12539[#12539]
- The new "Skip to bottom"-button in Discover is invisible unless focused. When activated it displays all remaining rows that were already loaded and focuses an anchor located below the table.
* Timepicker on the right {pull}11980[#11980]
Management::
* Uses SavedObjectsClient for UI Settings {pull}12747[#12747]
* [Management] Provide a way to fetch indices and template index patterns {pull}12200[#12200]
* [Management] More universal solution for fetching indices and aliases {pull}12405[#12405]
* [Management] Provide a way to fetch index pattern titles {pull}13030[#13030]
- This PR adds another method to the indexPatterns service to fetch index patterns titles. Since the code was nearly identical to how index pattern ids are fetched, I decided to slightly refactor the function to accept a parameter for which property to fetch from the index pattern. I've updated all usages to the new approach.
* Add breadcrumb-page-title to management-app {pull}12765[#12765]
- The bread-crumbs component allows for the consumer to pass in a page-title value which is appended as the final breadcrumb in the chain. This PR adds a scope argument to the management-app to take advantage of it.
Operations::
* Update mappings for kibana index {pull}9280[#9280]
* Support v6 mappings for saved objects import/export {pull}12792[#12792]
* Use single ES document type {pull}12794[#12794]
- Starting in Elasticsearch 6.0, you are no longer able to create new indices with multiple index types. To accomplish the same effect as index types, a new type field was added to identify the document and the value mapped under the index to allow for strict mapping.
* [logging] Downgrade hapi connection errors when connecting with the w… {pull}11209[#11209]
* [git] ignore extra files in the root config/ directory {pull}9296[#9296]
* upgrade makelogs {pull}9295[#9295]
* [Fix for #9436] [optimizer] remove support for .jsx extension {pull}12712[#12712]
* [elasticsearch/migrateConfig] use server.savedObjectsClientFactory() {pull}12767[#12767]
* [status] 15m load average should use the 3rd index {pull}11202[#11202]
* Sets ES mapping to single_type=false {pull}11451[#11451]
* Adds bulk_get to SavedObjects {pull}12426[#12426]
* Uses SavedObjects API in Courier Saved Object {pull}12407[#12407]
Platform::
* Use SavedObjectsClient for Courier Index Pattern {pull}12719[#12719]
* Document merge conflict resolution process in CONTRIBUTING.md. {pull}12212[#12212]
* Update files_to_commit to find renamed files. {pull}12423[#12423]
* Remove client-side management of Kibana index mappings {pull}12820[#12820]
* Uses uuid for auto-generated ids and prepends type (#12834) {pull}12877[#12877]
* Use node instead of webpack config for jest {pull}12974[#12974]
* add api tag to api routes {pull}12948[#12948]
* Move Jest config to json {pull}12402[#12402]
* [uiSettings] support defining settings with uiExports {pull}12250[#12250]
- - define a uiExports.uiSettingDefaults key your plugin definition to add uiSettingDefaults - uiSettingDefaults must be unique. If a key is already defined elsewhere then the server will not start. - defined settings will display in the advanced settings editor, along with the intended default value and description - the REST API is identical to before - the browser API is identical to before - defaults for timelion have been extracted to the timelion plugin definition and the existing defaults are defined in the kibana plugin definition
* Refactor commaList filter logic into common util {pull}12553[#12553]
* [kbnServer/extensions] formalize request factories with helper {pull}12697[#12697]
* Allow plugins to turn off the “link to last URL” navigation helper {pull}13044[#13044]
Sharing::
* Uses SavedObjectsClient for Short URL Lookup {pull}12787[#12787]
* Stats API {pull}11992[#11992]
- We introduced a new api endpoint at api/stats which displays counts of saved objects in your kibana index: {"dashboard":{"total":1},"visualization":{"total":3},"search":{"total":1},"index_pattern":{"total":1},"index":".kibana"}
* Add new react color picker to ui framework with tests {pull}12245[#12245]
* Add label and clear link to color picker {pull}12422[#12422]
* Expose the variables for dynamically building doc links {pull}12513[#12513]
* ES Healthcheck v6 mapping compatibility {pull}12714[#12714]
* Remove field_stats pre-flight option for index patterns {pull}12814[#12814]
* Configurable custom response headers for server {pull}13045[#13045]
Visualization::
* Fix ui-select error border color and placeholder font color. {pull}12411[#12411]
* Fix appearance of error indicator in Visualize sidebar. {pull}12410[#12410]
* Adding ability to configure grid for TSVB {pull}12385[#12385]
* Adding option for controlling if last bucket is dropped for TSVB {pull}12379[#12379]
- This PR creates an option in "Panel Options" and the metric index pattern override to allow the user to control if the last bucket should be dropped. By default TSVB will drop the last bucket since most of the time it's incomplete. This also changes the method for dropping the last bucket to a more reliable method.
* Fixes #12602 - Change TSVB Fields API to use fieldCaps API {pull}12611[#12611]
* [Fix for #11193] hide current time marker when the timespan doesn't include the current time {pull}12266[#12266]
- Only display current time marker on a visualization when the x-axis extent includes the current time.
* [Fix for #7040] Add github-markdown.css to markdown visualization {pull}12377[#12377]
* Filter geohash_grid aggregation to map view box with collar {pull}12806[#12806]
* add font size control to markdown visualization {pull}12860[#12860]
* [vis/resizeChecker] swap out implemenation with ResizeObserver polyfill {pull}9439[#9439]
* Add imports for SavedObjectRegistryProvider.register, fixing Timelion {pull}12844[#12844]
* [Fix for #7572] add polygon drawing tool {pull}11578[#11578]
- On a coordinate map, users can now make a selection on the map by drawing a freehand polygon. Just like the earlier boundary selection, this adds a boundary filter to the filter bar.
* Use es6 exports, replace module.exports {pull}12084[#12084]
* [es archiver] fix error causes when requesting multiple index feature… {pull}12473[#12473]
* Bump makelogs to 4.0.2 {pull}13007[#13007]
Platform::
* Update HTML style guide with rule for camel casing attribute values. {pull}11653[#11653]
* Add title and tooltip accessibility information to HTML style guide. {pull}11655[#11655]
* [Fix for #12580] Update HTML style guide with rule about putting nested elements on multiple lines. {pull}12812[#12812]
* Remove Version Check for Dashboard Import API {pull}12476[#12476]
* Toast Notification should handle connection failed {pull}12609[#12609]
* [Fix for #12047] [uiSettings] make service request based {pull}12243[#12243]
- - removes server.uiSettings() (throws error with instructions) - Adds request.getUiSettingsService() which returns a unique instance of UiSettingsService per request - Methods on UiSettingsService no longer require a request object - Adds server.uiSettingsServiceFactory(options) which can be used to create an instance of UiSettingsService with a custom callCluster() function
* [Fix for #12436] Fix stats permissions and use underscore instead of dash {pull}12478[#12478]
* Restoring the dashboard-grid padding to appease Gridster {pull}12613[#12613]
* [Fix for #11857] Accessibility: Sharing UI - associate labels with controls {pull}12143[#12143]
* [Fix for #12600] Fix search issue on listing page + tests {pull}12618[#12618]
* [Fix for #11860] Make add edit buttons accessible {pull}12320[#12320]
* Need to trigger renderComplete when there are no results {pull}12380[#12380]
* [Fix for #12987] Children of buttons won't capture hover events in firefox {pull}13015[#13015]
Other::
* Fixes #12757 - Fixing field fetching for index patterns for TSVB {pull}12771[#12771]
* Limit scripted fields to painless and expression langs {pull}9172[#9172]
* update logstash data and mappings for single type {pull}13001[#13001]
* [Fix for #13032] TEST - Fix flaky map functional test {pull}13039[#13039]
Visualization::
* Fixes #11721 - Fix bug with axis updating when data format is changed in TSVB {pull}12386[#12386]
- Axes in the Time Series Visual Builder now correctly update when changing a data formatter.
* Fixes #12763 - Add show_grid to the default vis structure for TSVB {pull}12769[#12769]
* Fixes #12777 - Add onBrush to Visualization component for TSVB {pull}12778[#12778]
* [Fix for #12802, #12762] Fix TSVB Visualizations to honor darkTheme {pull}12804[#12804]
* [Fix for #8076] Scaled date format for date histogram aggregation {pull}12384[#12384]
- Format date_histogram aggregation bucket labels with format specified in Advanced Setting's "dateFormat:scaled"
* [Fix for #3230] Make vertical bar chart gutter widths consistent {pull}12264[#12264]
- Histogram intervals are not always equal widths (monthly time intervals). Keeping gutter widths consistent and reducing the bar width provides a more visually appealing bar chart.
* [Fix for #3173] Date histogram brush - add range filter when field is not index pattern time field. {pull}12286[#12286]
* Remove event listener for resizeChecker when directive is destroyed {pull}12734[#12734]
* Date histogram axis label not getting updated when time interval changes {pull}12815[#12815]
* [Fix for #9530] Don't declare empty properties in Timelion's bool query {pull}9573[#9573]
* [Fix for #12782] visualize should send ready:vis event when done {pull}12796[#12796]
* [Fix for #11490] fix range agg label on heatmap y axis {pull}12754[#12754]
* [Fix for #12811] reload visualization on auto refresh trigger {pull}12823[#12823]
* [Fix for #12882] changing query should update url state {pull}12912[#12912]
* vis with saved search should not show query and filter panels {pull}12911[#12911]
* [Fix for #12925] analyze wildcard should not be part of default query {pull}12938[#12938]
* [Fix for #12838] fix gauge field formatters {pull}12913[#12913]
- metric/goal/gauge now correctly respect the fieldFormatters when multiple metrics are defined.
* [Fix for #12940] query queue should be cleared on failure {pull}12942[#12942]
* Handle date histogram scaling for table vis and avg_buckets metric {pull}11929[#11929]
* [Fix for #12724] by default metric should not define color {pull}12993[#12993]
* [Fix for #11414] remove default WMS settings {pull}11573[#11573]