Skip to content

Commit 5c9e635

Browse files
mshustovjgowdyelasticdgieselaar
committed
Update @elastic/elasticsearch to 8.0.0-canary13 (#98266)
* bump @elastic/elasticsearch to canary.7 * address errors in core * address errors in data plugin * address errors in Alerting team plugins * remove outdated messages in Lens * remove unnecessary comments in ML * address errors in Observability plugin * address errors in reporting plugin * address errors in Rule registry plugin * fix errors in Security plugins * fix errors in ES-UI plugin * remove unnecessary union. * update core tests * fix kbn-es-archiver * update to canary 8 * bump to v9 * use new typings * fix new errors in core * fix errors in core typeings * fix type errors in data plugin * fix type errors in telemetray plugin * fix data plugin tests * fix search examples type error * fix errors in discover plugin * fix errors in index_pattern_management * fix type errors in vis_type_* * fix errors in typings/elasticsearch * fix type errors in actions plugin * fix type errors in alerting and apm plugins * fix type errors in canvas and cases * fix errors in event_log * fix type errors in ILM and ingest_pipelines * fix errors in lens plugin * fix errors in lists plugin * fix errors in logstash * fix errors in metrics_entities * fix errors in o11y * fix errors in watcher * fix errors in uptime * fix errors in upgrade_assistant * fix errors in task_manager * fix errors in stack_alerts * fix errors in security_solution * fix errors in rule_registry * fix errors in snapshot_restore * fix remaining errors * fix search intergration tests * adjust assetion * bump version to canary.10 * adapt code to new naming schema * use mapping types provided by the client library * Revert "adjust assetion" This reverts commit 19b8fe0. * fix so intergration tests * fix http integration tests * bump version to canary 11 * fix login test * fix http integration test * fix apm test * update docs * fixing some ml types * fix new errors in data plugin * fix new errors in alerting plugin * fix new errors in lists plugin * fix new errors in reporting * fix or mute errors in rule_registry plugin * more ML type fixes * bump to canary 12 * fix errors after merge conflict * additional ML fixes * bump to canary 13 * fix errors in apm plugin * fix errors in fleet plugin * fix errors in infra plugin * fix errors in monitoring plugin * fix errors in osquery plugin * fix errors in security solution plugins * fix errors in transform plugin * Update type imports for ES * fix errors in x-pack plugins * fix errors in tests * update docs * fix errors in x-pack/test * update error description * fix errors after master merge * update comment in infra plugin * fix new errors on xpack tests/ Co-authored-by: James Gowdy <jgowdy@elastic.co> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co> # Conflicts: # package.json # src/core/server/saved_objects/migrationsv2/integration_tests/migration.test.ts # test/common/services/saved_object_info.ts # x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts # x-pack/plugins/snapshot_restore/server/routes/api/snapshots.ts # yarn.lock
1 parent 919eb94 commit 5c9e635

366 files changed

Lines changed: 834 additions & 1042 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/development/core/public/kibana-plugin-core-public.savedobjectsfindoptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface SavedObjectsFindOptions
3030
| [searchAfter](./kibana-plugin-core-public.savedobjectsfindoptions.searchafter.md) | <code>estypes.Id[]</code> | Use the sort values from the previous page to retrieve the next page of results. |
3131
| [searchFields](./kibana-plugin-core-public.savedobjectsfindoptions.searchfields.md) | <code>string[]</code> | The fields to perform the parsed query against. See Elasticsearch Simple Query String <code>fields</code> argument for more information |
3232
| [sortField](./kibana-plugin-core-public.savedobjectsfindoptions.sortfield.md) | <code>string</code> | |
33-
| [sortOrder](./kibana-plugin-core-public.savedobjectsfindoptions.sortorder.md) | <code>estypes.SortOrder</code> | |
33+
| [sortOrder](./kibana-plugin-core-public.savedobjectsfindoptions.sortorder.md) | <code>estypes.SearchSortOrder</code> | |
3434
| [type](./kibana-plugin-core-public.savedobjectsfindoptions.type.md) | <code>string &#124; string[]</code> | |
3535
| [typeToNamespacesMap](./kibana-plugin-core-public.savedobjectsfindoptions.typetonamespacesmap.md) | <code>Map&lt;string, string[] &#124; undefined&gt;</code> | This map defines each type to search for, and the namespace(s) to search for the type in; this is only intended to be used by a saved object client wrapper. If this is defined, it supersedes the <code>type</code> and <code>namespaces</code> fields when building the Elasticsearch query. Any types that are not included in this map will be excluded entirely. If a type is included but its value is undefined, the operation will search for that type in the Default namespace. |
3636

docs/development/core/public/kibana-plugin-core-public.savedobjectsfindoptions.sortorder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
<b>Signature:</b>
88

99
```typescript
10-
sortOrder?: estypes.SortOrder;
10+
sortOrder?: estypes.SearchSortOrder;
1111
```

docs/development/core/server/kibana-plugin-core-server.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
159159
| [SavedObjectsCollectMultiNamespaceReferencesObject](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesobject.md) | An object to collect references for. It must be a multi-namespace type (in other words, the object type must be registered with the <code>namespaceType: 'multiple'</code> or <code>namespaceType: 'multiple-isolated'</code> option).<!-- -->Note: if options.purpose is 'updateObjectsSpaces', it must be a shareable type (in other words, the object type must be registered with the <code>namespaceType: 'multiple'</code>). |
160160
| [SavedObjectsCollectMultiNamespaceReferencesOptions](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesoptions.md) | Options for collecting references. |
161161
| [SavedObjectsCollectMultiNamespaceReferencesResponse](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesresponse.md) | The response when object references are collected. |
162-
| [SavedObjectsComplexFieldMapping](./kibana-plugin-core-server.savedobjectscomplexfieldmapping.md) | See [SavedObjectsFieldMapping](./kibana-plugin-core-server.savedobjectsfieldmapping.md) for documentation. |
163-
| [SavedObjectsCoreFieldMapping](./kibana-plugin-core-server.savedobjectscorefieldmapping.md) | See [SavedObjectsFieldMapping](./kibana-plugin-core-server.savedobjectsfieldmapping.md) for documentation. |
164162
| [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md) | |
165163
| [SavedObjectsCreatePointInTimeFinderDependencies](./kibana-plugin-core-server.savedobjectscreatepointintimefinderdependencies.md) | |
166164
| [SavedObjectsDeleteByNamespaceOptions](./kibana-plugin-core-server.savedobjectsdeletebynamespaceoptions.md) | |

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.doc_values.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.dynamic.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.enabled.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.properties.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscomplexfieldmapping.type.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.savedobjectscorefieldmapping.doc_values.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)