Commit graph

1157 commits

Author SHA1 Message Date
Adam Locke
369dca3b92
[DOCS] Add 8.5 release notes and fix links (#90201) 2022-09-21 16:57:18 -04:00
Christos Soulios
7ca7a75d9d
Bump to version 8.6.0 2022-09-21 21:15:07 +03:00
David Turner
6e3fe01b5a
Reject unknown bulk actions (#89450)
Requests to the bulk API comprise a sequence of items, each of which
starts with a JSON object describing the item. This object includes the
type of action to perform with the item which should be one of `create`,
`update`, `index`, or `delete`. In earlier versions Elasticsearch would
ignore items with an unrecognized type, skipping the next line in the
request, but this lenient behaviour means that there is no way for the
client to associate the items in the response with the items in the
request, and in some cases it would cause the remainder of the request
to be parsed incorrectly.

With this commit, requests to the bulk API must comprise only items with
recognized types. Elasticsearch will reject requests containing any
items with an unrecognized type with a `400 Bad Request` error response.
2022-09-05 20:57:02 +09:30
debadair
e0fe6de63a
[Doc] Release notes for v8.4.1 (#89636) (#89726)
* [Doc] Release notes for v8.4.1

Gradle generated release notes for v8.4.1

* address feedback

Co-authored-by: Yang Wang <yang.wang@elastic.co>
2022-08-30 07:59:04 -07:00
Mark Vieira
875164c876 Generate release notes for 8.4 release (#89475) 2022-08-24 10:09:42 -07:00
Ryan Ernst
e3c6726a71
Deprecate overriding DiscoveryPlugin internals (#88925)
DiscoveryPlugin allows extending getJoinValidator and
getElectionStrategies. These are implementation details of the system.
This commit deprecates these methods so that plugin authors are
discouraged from overriding them.
2022-07-30 06:30:34 +09:30
Ryan Ernst
e501609604
Deprecate network plugins (#88924)
Network plugins provide network implementations. In the past this has
been used for alternatives to netty based networking, using the JDK's
nio. However, nio has now been removed, and it is inadvisable for a
plugin to implement this low level part of the system.
Therefore, this commit marks the NetworkPlugin interface as deprecated.
2022-07-29 11:28:31 -07:00
Ryan Ernst
9f7cabacda
Add 8.5 migration docs (#88923)
This commit adds the a migration docs file for 8.5. This was copied from
the 8.4 file, which had no migration notes.
2022-07-29 11:59:32 +09:30
Rory Hunter
b672194344 Forward-port 8.3.1 release notes 2022-07-01 11:19:14 +01:00
Craig Taverner
9080cc8ddb
8.4 release notes ported from 8.3.0 release (#88136)
* Generate release notes for v8.3.0 (#87294)

* Generate release notes for v8.3.0

* [DOCS] Add 8.3 migration file to index

* Fixed version number

* Fix formatting of deprecation in 85326

* Use asciidoc format for deprecations

* Extract static content from migration/index

* This was just an enhancement

* Nope, it was an upgrade

* Added migration/index.asciidoc generation support (#87318)

Including extracting static content from migration/index, so the template would be as light as possible.

The reason for this work is because the gradle task `generateReleaseNotes` was not correctly adding new links and imports to the migrations/index and that caused documentation to fail building for 8.3.0.

* [DOCS] Add ml-cpp PRs to release notes

* Added back incorrectly deleted changlog

* Added missing highlight

* Fixed spelling of StackOverflowError

Co-authored-by: lcawl <lcawley@elastic.co>

* Brought back missing changelog for 87235 (#87370)

* Brought back missing changelog for 87235

* Regenerate release notes

* Regenerate release notes for BC3 (#87449)

* Regenerate release notes for BC3

* Re-applied manual fixes that Lisa Cawley used

* Fixed breaking changes generation

To match the manual edits done by Lisa Cawley

* Fixed failing test

Since the manual edits by Lisa removed the `-SNAPSHOT` from the docs
we remove it from the tests too.

* Remove changelogs for intermediate lucene upgrades

* Update release notes for BC4 (#87635)

* Update release notes for BC4

* Adding missing changelog for geo_grid

* Added missing highlight notes for 84250

* Update docs/reference/release-notes/highlights.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Update docs/reference/release-notes/highlights.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Backported fixes to original yaml

* Control sort order of release highlights

So that small changes to an individual highlight don't completely shuffle the entire document.

We also added links to the PRs from the highlight titles, for convenience.
Otherwise readers need to search the release notes for the changelog entry and click there,
which is a lot more work.

* Fixed failing test after new ordered highlights

Also made test verify re-ordering of highlights

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Update release notes for BC5 (#87808)

* Update release notes for BC6 (#87912)

* Update release notes for BC9 (#88011)

* Regenerate release notes after version bump 8.4.0

And after forward porting 8.3.0 release notes changes.

* Regenerate after some changelog entries removed

* Re-prune the changelogs

* Removed three changelog entries

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
2022-06-30 09:15:22 +02:00
Craig Taverner
a4e0d9b9dd
Added migration/index.asciidoc generation support (#87318)
Including extracting static content from migration/index, so the template would be as light as possible.

The reason for this work is because the gradle task `generateReleaseNotes` was not correctly adding new links and imports to the migrations/index and that caused documentation to fail building for 8.3.0.
2022-06-02 16:05:18 +02:00
Lisa Cawley
8127080f5e
[DOCS] Adds 8.2.1 release notes and ml-cpp PRs (#86933)
Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>
Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-05-19 16:18:14 -07:00
Yang Wang
5f82235180
[Docs] Fix url for feature migration APIs (#86330)
Both GET and POST version of the API have a leading underscore.
2022-05-03 10:05:02 +10:00
Artem Prigoda
5f7a1ee2db
[DOCS] Add docs for v8.2.0 release (#86007)
Forward-ports #85664 to 8.3
2022-04-21 10:49:38 +02:00
Artem Prigoda
92a4931eb0
DOCS: [8.3] Add 8.1.2 release notes (#85448) (#85557) 2022-03-31 16:44:22 +02:00
Ievgen Degtiarenko
5bf3dc8f7f
Forward port 8.1.0 release docs (#84860)
Forward port 8.1.0 release docs from the release branch into default and prune change-log files that are no longer needed.
2022-03-10 13:25:32 +01:00
James Rodewig
93680e0fdb
[DOCS] Remove 8.1.0 coming tag (#84169) (#84812)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 813fca0716)

# Conflicts:
#	docs/reference/migration/migrate_8_1.asciidoc
2022-03-09 08:51:12 -05:00
James Rodewig
6f5541a9d6
[DOCS] Update CCS forward compatibility docs (#84055)
Documents the following:

* FWC for CCS within the same major version.
* A local cluster running the last minor of a major can search a remote cluster running any minor in the following major.
* Only features that exist across all searched clusters are supported.
2022-02-28 08:18:04 -05:00
Lisa Cawley
458ef91066
[DOCS] Move ML info and upgrade APIs (#84005) 2022-02-16 11:23:00 -08:00
Tobias Stadler
e3deacf547
[DOCS] Fix typos (#83895) 2022-02-15 12:42:17 -05:00
James Rodewig
e117812ef8
[DOCS] Update migration APIs docs (#83901)
* Adds a shared note that the migration APIs are mainly intended for internal use by Kibana's Upgrade Assistant.
* Updates the feature migration API docs to use updated "migration" terminology.
* Removes some references to major versions from the deprecation API docs.
2022-02-15 12:19:04 -05:00
James Rodewig
b3ee1e6464
[DOCS] Remove 8.0.0 coming tag (#83757) (#83781) 2022-02-10 07:48:45 -05:00
Adam Locke
428f3af865
[DOCS] Add deprecation notice for system indices (#83688)
* [DOCS] Add deprecation notice for system indices

* Fix spacing issue
2022-02-08 17:14:48 -05:00
James Rodewig
c322ae7b00
[DOCS] Fix 8.0 breaking changes sort order (#83685) 2022-02-08 16:32:04 -05:00
Tim Vernum
ff9c8271e6
Document removal of custom REST wrappers in 8.0 (#83565)
In #71061 we removed support for custom REST Handler Wrappers.

This change adds that information to the migration guide under the
"Plugin changes" section
2022-02-07 19:46:56 -05:00
James Rodewig
3aee6171e7
[DOCS] Link to the 7.17 upgrade assistant docs (#83613) (#83615)
The 8.0 upgrade assistant is only available in 7.17. This updates our docs to link to the 7.17 version of the related Kibana docs page.

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
(cherry picked from commit 3787c13619)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2022-02-07 18:29:26 -05:00
James Rodewig
294c49c29f
[DOCS] Clean up 8.0 deprecations (#83548)
* Removes a duplicate breaking change/deprecation for `indices.query.bool.max_clause_count`.

* Relocates the `index.merge.policy.max_merge_at_once_explicit` deprecation content to a breaking changes section.

* Adds remediation steps for removing the settings. While they no longer have an effect, specifying these settings will issue a deprecation warning.

Relates to https://github.com/elastic/elasticsearch/pull/83412
2022-02-07 15:00:23 -05:00
James Rodewig
411eefcc46
[DOCS] Remove major release references from migration guide (#83555)
Updates the language in our migration guides to remove references to major releases.
2022-02-07 12:26:24 -05:00
James Rodewig
02ea65aaff
[DOCS] Switch xrefs to external links (#83590)
We reuse our breaking changes in the [Elastic Installation and Upgrade Guide](https://www.elastic.co/guide/en/elastic-stack/current/index.html). To prevent broken links, we have to use external links rather than xrefs inside breaking changes.

Relates to https://github.com/elastic/elasticsearch/pull/83487.
2022-02-07 09:27:48 -05:00
Jake Landis
5c73ad1da2
REST API compatiblity documentation (#83487)
Co-authored-by: debadair <debadair@elastic.co>
2022-02-04 16:32:22 -06:00
Rory Hunter
34c9e257c0 Add 8.0.0-rc2 release notes (#83412) 2022-02-03 12:04:10 +00:00
James Rodewig
882bac8948 [DOCS] Fix CCS compatibility typo 2022-02-02 13:09:40 -05:00
Jack Conradson
43052a1074
Fix joda migration for week based methods in Painless (#83232)
This change updates the docs to correct suggestions for migrating from 
JodaCompatibleZonedDateTime to ZonedDateTime in Painless for week based year and week of 
week based year.
2022-01-27 12:23:49 -08:00
James Rodewig
cb6265f9bd
[DOCS] Move snapshot repo types to separate pages (#82826)
With https://github.com/elastic/elasticsearch/pull/81870, the Azure, GCS, and S3 repository types have separate, dedicated pages in the Elasticsearch guide. For consistency, this PR creates separate pages for the shared file system, read-only URL, and source-only repository types.

Related changes:

- Adds redirects to the plugins docs
- Fixes a few breaking changes that refer to the Azure, GCS, and S3 repositories as plugins.

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-01-26 17:13:39 -05:00
James Rodewig
84429e6ff2
[DOCS] Fix typo in action.destructive_requires_name breaking change (#83085)
In 8.0+, the `action.destructive_requires_name` setting defaults to `true`, not `false`.
2022-01-25 11:03:28 -05:00
Mat Schaffer
b2f2e3a7a3
Upgrade documentation for xpack.monitoring.history.duration (#82295)
* Upgrade documentation for xpack.monitoring.history.duration

* A few updates now that https://github.com/elastic/elasticsearch/pull/82498 has been opened with a concrete policy.

* Grammar fix

* Update docs/reference/migration/migrate_8_0/cluster-node-setting-changes.asciidoc

Co-authored-by: James Baiera <james.baiera@gmail.com>

Co-authored-by: James Baiera <james.baiera@gmail.com>
2022-01-24 11:10:16 +09:00
James Rodewig
49f9c0308c [DOCS] Use external link in 8.0 breaking change 2022-01-11 11:20:15 -05:00
James Rodewig
dfb9f6f18d
[DOCS] Document 8.0 BWC support for CCS (#80809)
As of 8.0, the compatibility window for cross-cluster search (CCS) to an earlier release will be one minor release. This updates the CCS docs and adds a related 8.0 breaking change.

Closes https://github.com/elastic/elasticsearch/issues/80782
2022-01-11 10:33:12 -05:00
Rory Hunter
d2dbef5063
Convert repository plugins to modules (#81870)
Closes #81652.

Convert the `repository-azure`, `repository-gcs` and `repository-s3`
plugins into modules, so that they are always included in the
Elasticsearch distribution. Also change plugin installation, removal
and syncing so that attempting to add or remove these plugins still
succeeds but is now a no-op.
2022-01-10 10:45:42 +00:00
Costin Leau
ec57fbec6f
SQL: Remove JDBC dependency on ES lib geo (#82166)
As part of the effort of making JDBC driver self sufficient, remove the
ES lib geo dependencies without any replacement.
Currently the JDBC driver takes the WKT text and instantiates a geo
object based on the ES lib geo.
Moving forward the driver will return the WKT string representation
without any conversion letting the user pick the geo library desired.
That can be ES lib geo, jts, spatial4j or others.

Note this is a breaking change.

Relates #80277
2022-01-04 07:55:41 +02:00
James Rodewig
efeb1983ae
[DOCS] Combine 8.0 breaking changes for mapping type endpoints (#81730)
Combines several 8.0 breaking changes for the removal of API endpoints that contain mapping types. These items were separate because we previously organized breaking changes by area.

This is a follow-on to #79162.
2021-12-17 16:03:51 -05:00
Alan Woodward
f0bf6f5ee3
Configure IndexSearcher.maxClauseCount() based on Node characteristics (#81525)
This commit deprecates the indices.query.bool.max_clause_count node setting,
and instead configures the maximum clause count for lucene based on the available
heap and the size of the thread pool.

Closes #46433
2021-12-17 11:37:32 +00:00
James Rodewig
cec4a79a8e [DOCS] Fix formatting typo 2021-12-09 15:46:44 -05:00
James Rodewig
1519bb6ecb
[DOCS] Update snapshot defaults for system indices (#81226)
Updates the snapshot and restore docs for https://github.com/elastic/elasticsearch/pull/79670.

Closes https://github.com/elastic/elasticsearch/issues/81183
2021-12-08 10:15:14 -05:00
Keith Massey
68a9eaa4dc
Adding discovery.zen.bwc_ping_timeout to the list of removed zen settings (#81310)
This commit adds the discovery.zen.bwc_ping_timeout setting our documentation about the
settings that have been removed in 8.0.
2021-12-03 16:16:48 -06:00
James Rodewig
e999ad0061
[DOCS] Relocate 8.0 repositories.fs.compress breaking change (#81216)
The change removes a node-level setting. It was accidentally placed with REST API changes as part of https://github.com/elastic/elasticsearch/issues/79162. This moves the breaking change to the cluster and node setting changes section.
2021-12-01 09:53:10 -05:00
Ignacio Vera
00aa197399
Fields API should return normalize geometries (#80649)
Fields API deliver now the normalize geometries instead of the plain geometries from source

Co-authored-by: James Rodewig <james.rodewig@elastic.co
2021-12-01 08:10:54 +01:00
James Rodewig
58f32b361f
[DOCS] Update 8.0 breaking change for searchable snapshot shared cache (#80793)
You can no longer configure `xpack.searchable.snapshot.shared_cache.size` as a user setting in ESS on 7.13+ deployments. This PR removes the ESS icon from the related 8.0 breaking change for the setting.

It also clarifies the breaking change text to indicate that configuring the setting on non-frozen nodes will result in an error on startup.

Relates to https://github.com/elastic/elasticsearch/pull/80795
2021-11-19 11:25:55 -05:00
James Rodewig
2f4143267e
[DOCS] Un-deprecate transient cluster settings (#80766) (#80780)
#80556 reverted the deprecation of transient cluster settings. This replaces deprecation language in the docs with a warning/recommendation to avoid transient settings.

Closes #80557
# Conflicts:
#	docs/reference/migration/migrate_7_16.asciidoc
2021-11-16 16:00:13 -05:00
James Rodewig
5061c460e6
[DOCS] Remove unneeded breaking changes files (#80729)
Removes some unneeded files related to the previous organization of breaking changes.

Relates to #79162 and https://github.com/elastic/stack-docs/pull/1877
2021-11-15 17:24:58 -05:00