diff --git a/changelog/9.0.1.yaml b/changelog/9.0.1.yaml new file mode 100644 index 0000000000..de10c9bfff --- /dev/null +++ b/changelog/9.0.1.yaml @@ -0,0 +1,49 @@ +version: 9.0.1 +entries: + - kind: bug-fix + summary: Fix host parsing in Elasticsearch output diagnostics + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/4765 + issue: [] + timestamp: 1743692296 + file: + name: 1743692296-fix-url-parsing-es-output-diagnostics.yaml + checksum: 6cd827f9b6e9bc06e029b8f6dda743ee5e9d7d27 + - kind: bug-fix + summary: Redact output in bootstrap config logs + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/4775 + issue: [] + timestamp: 1744046917 + file: + name: 1744046917-Redact-output-in-bootstrap-config-logs.yaml + checksum: 9c205aceff761a5834bb50567d6e5243eb402c8b + - kind: bug-fix + summary: Mutex protection for remote bulker config + description: | + Use existing remote bulker mutex to control access to remote bulker configs. + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/4776 + issue: [] + timestamp: 1744054552 + file: + name: 1744054552-Mutex-protection-for-remote-bulker-config.yaml + checksum: af8b1abeba1b9bbf0aa4f64a2ca494120758aea6 + - kind: bug-fix + summary: Enable dead code elimination + description: | + Add grpcnotrace build tags and ensure DCE (dead code elimination) is enabled. + Reduce binary size by 34% + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/4784 + issue: [] + timestamp: 1744852233 + file: + name: 1744852233-enable-dce.yaml + checksum: 836d912f8375f0f5a3a946a90afbb50978c431c4 diff --git a/changelog/9.0.2.yaml b/changelog/9.0.2.yaml new file mode 100644 index 0000000000..db7aadb185 --- /dev/null +++ b/changelog/9.0.2.yaml @@ -0,0 +1,13 @@ +version: 9.0.2 +entries: + - kind: enhancement + summary: Update Go version to v1.24.3 + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/4891 + issue: [] + timestamp: 1746596216 + file: + name: 1746596216-Update-to-go-1.24.3.yaml + checksum: 5f97bc9a96cf140dba16165d6e8472f9bcc92e44 diff --git a/changelog/9.0.3.yaml b/changelog/9.0.3.yaml new file mode 100644 index 0000000000..768c67a844 --- /dev/null +++ b/changelog/9.0.3.yaml @@ -0,0 +1,13 @@ +version: 9.0.3 +entries: + - kind: enhancement + summary: Update Go version to v1.24.4 + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/5025 + issue: [] + timestamp: 1746596216 + file: + name: 1746596216-Update-to-go-1.24.4.yaml + checksum: 5f97bc9a96cf140dba16165d6e8472f9bcc92e44 diff --git a/changelog/9.0.4.yaml b/changelog/9.0.4.yaml new file mode 100644 index 0000000000..33f092782b --- /dev/null +++ b/changelog/9.0.4.yaml @@ -0,0 +1,13 @@ +version: 9.0.4 +entries: + - kind: bug-fix + summary: Include the base error for json decode error responses. + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/5069 + issue: [] + timestamp: 1750971846 + file: + name: 1750971846-Include-error-on-json-decode-error-responses.yaml + checksum: 3f2eb0595d1edbb7a31ecf2e2d49dd712f481f96 diff --git a/changelog/9.0.5.yaml b/changelog/9.0.5.yaml new file mode 100644 index 0000000000..865fe93e6c --- /dev/null +++ b/changelog/9.0.5.yaml @@ -0,0 +1,16 @@ +version: 9.0.5 +entries: + - kind: bug-fix + summary: Fix upgrade details download_rate as string handling + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/5217 + - https://github.com/elastic/fleet-server/pull/5227 + - https://github.com/elastic/fleet-server/pull/5176 + issue: + - https://github.com/elastic/fleet-server/issues/5164 + timestamp: 1753372819 + file: + name: 1753372819-Fix-download_rate-as-string-handling.yaml + checksum: 492e665f43229a00e0b0a1590387273b77e26b36 diff --git a/changelog/9.0.6.yaml b/changelog/9.0.6.yaml new file mode 100644 index 0000000000..4be7a5ac36 --- /dev/null +++ b/changelog/9.0.6.yaml @@ -0,0 +1,25 @@ +version: 9.0.6 +entries: + - kind: bug-fix + summary: Fix 503 handling in enrollment + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/5232 + issue: + - https://github.com/elastic/fleet-server/issues/5197 + timestamp: 1754931919 + file: + name: 1754931919-Fix-503-handling-in-enrollment.yaml + checksum: b6c03da0ddbd3a2b4f742d952a5d7178e77a9ac3 + - kind: bug-fix + summary: Remove extra ES search when preparing agent policy + description: "" + component: fleet-server + pr: + - https://github.com/elastic/fleet-server/pull/5283 + issue: [] + timestamp: 1755644662 + file: + name: 1755644662-Remove-extra-ES-search-when-preparing-agent-policy.yaml + checksum: 0814e746cce14762e3d22aeee0c5f6fad0eda38c diff --git a/changelog/9.1.2.yaml b/changelog/9.1.2.yaml new file mode 100644 index 0000000000..aac064c33a --- /dev/null +++ b/changelog/9.1.2.yaml @@ -0,0 +1,2 @@ +version: 9.1.2 +entries: \ No newline at end of file diff --git a/config.changelog.yaml b/config.changelog.yaml new file mode 100644 index 0000000000..2ec77159b8 --- /dev/null +++ b/config.changelog.yaml @@ -0,0 +1,3 @@ +owner: elastic +repo: fleet-server +rendered_changelog_destination: docs/release-notes/_snippets \ No newline at end of file diff --git a/docs/docset.yml b/docs/docset.yml new file mode 100644 index 0000000000..41a48c3289 --- /dev/null +++ b/docs/docset.yml @@ -0,0 +1,19 @@ +project: Fleet Server docs +products: + - id: fleet +exclude: + - "*.md" +cross_links: + - docs-content + - beats +toc: + - toc: release-notes +subs: + agent: "Elastic Agent" + agents: "Elastic Agents" + beats: "Beats" + elastic-defend: "Elastic Defend" + fleet-server-issue: "https://github.com/elastic/fleet-server/issues/" + fleet-server-pull: "https://github.com/elastic/fleet-server/pull/" + fleet: "Fleet" + kib-pull: "https://github.com/elastic/kibana/pull/" diff --git a/docs/release-notes/_snippets/9.0.0/breaking.md b/docs/release-notes/_snippets/9.0.0/breaking.md new file mode 100644 index 0000000000..9cd4175938 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.0/breaking.md @@ -0,0 +1,55 @@ +## 9.0.0 [fleet-server-9.0.0-breaking-changes] + +::::{dropdown} Removed deprecated epm Fleet APIs +Removed `GET/POST/DELETE /epm/packages/:pkgkey` APIs in favor of the `GET/POST/DELETE /epm/packages/:pkgName/:pkgVersion`. + +**Impact**
+* Removed `experimental` query parameter in `GET /epm/packages` and `GET /epm/categories` +* Removed `response` in response in `* /epm/packages*` and `GET /epm/categories` +* Removed `savedObject` in `/epm/packages` response in favor of `installationInfo` + +For more information, check [#198434]({{kib-pull}}198434). +:::: + +::::{dropdown} Removed deprecated Fleet APIs for agents endpoints +Removed the following API endpoints: + +* `POST /service-tokens` in favor of `POST /service_tokens` +* `GET /agent-status` in favor `GET /agent_status` +* `PUT /agents/:agentid/reassign` in favor of `POST /agents/:agentid/reassign` + +Removed deprecated parameters or responses: + +* Removed `total` from `GET /agent_status` response +* Removed `list` from `GET /agents` response + +For more information, check [#198313]({{kib-pull}}198313). +:::: + +::::{dropdown} Removed deprecated settings API endpoints in Fleet +* `GET/DELETE/POST enrollment-api-keys`: removed in favor of `GET/DELETE/POST enrollment_api_keys` +* Removed `list` property from `GET enrollment_api_keys` response in favor of `items` +* `GET/POST /settings`: `fleet_server_hosts` was removed from the response and body + +For more information, check [#198799]({{kib-pull}}198799). +:::: + +::::{dropdown} Removed deprecated settings API endpoints in Fleet +* `GET/DELETE/POST enrollment-api-keys`: removed in favor of `GET/DELETE/POST enrollment_api_keys` +* Removed `list` property from `GET enrollment_api_keys` response in favor of `items` +* `GET/POST /settings`: `fleet_server_hosts` was removed from the response and body + +For more information, check [#198799]({{kib-pull}}198799). +:::: + +::::{dropdown} Removed deprecated topics property for kafka output in favor of the topic property +Removed deprecated property `topics` from output APIs in response and requests (`(GET|POST|PUT) /api/fleet/outputs`) in favor of the `topic` property. + +For more information, check [#199226]({{kib-pull}}199226). +:::: + +::::{dropdown} Limit pagination size to 100 when retrieving full policy or withAgentCount in Fleet +In addition to the new pagination limit size of 100, retrieving agent policies without agent count is now the new default behavior, and a new query parameter `withAgentCount` was added to retrieve the agent count. + +For more information, check [#196887]({{kib-pull}}196887). +:::: diff --git a/docs/release-notes/_snippets/9.0.0/deprecations.md b/docs/release-notes/_snippets/9.0.0/deprecations.md new file mode 100644 index 0000000000..2a2ce5f4b5 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.0/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.0 [fleet-server-9.0.0-deprecations] + +_No deprecations in this release._ diff --git a/docs/release-notes/_snippets/9.0.0/index.md b/docs/release-notes/_snippets/9.0.0/index.md new file mode 100644 index 0000000000..b822885ab6 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.0/index.md @@ -0,0 +1,21 @@ +## 9.0.0 [fleet-server-9.0.0-release-notes] + +### Features and enhancements [fleet-server-9.0.0-features-enhancements] + +* New setting allowing automatic deletion of unenrolled agents in Fleet settings. [#195544]({{kib-pull}}195544) +* Improves filtering and visibility of Uninstalled and Orphaned agents in Fleet, by differentiating them from Offline agents. [#205815]({{kib-pull}}205815) +* Introduces air-gapped configuration for bundled packages in Fleet. [#202435]({{kib-pull}}202435) +* Updates removed parameters of the Fleet -> Logstash output configurations. [#210115]({{kib-pull}}210115) +* Updates the maximum supported package version in Fleet. [#196675]({{kib-pull}}196675) +* Replaces the use of context.TODO and context.Background in logger function calls for most Fleet Server use cases. [#4168]({{fleet-server-pull}}4168) and [#3087]({{fleet-server-issue}}3087) +* Refactor the Fleet Server API constructor to use functional opts instead of a long list of pointers. [#4169]({{fleet-server-pull}}4169) and [#3823]({{fleet-server-issue}}3823) +* Removes the deprecated policy_throttle configuration setting in favour of the newer policy-limit for Fleet Server. [#4288]({{fleet-server-pull}}4288) +* Removes old bundled.yaml from oas, fixed tags. [#194788]({{kib-pull}}194788) +* Adds the ability for Elastic Agent to enroll using a specific ID. [#4290]({{fleet-server-pull}}4290) and [#4226]({{fleet-server-issue}}4226) + +### Fixes [fleet-server-9.0.0-fixes] + +* Fixes a validation error that occurs on multi-text input fields in Fleet. [#205768]({{kib-pull}}205768) +* Adds a context timeout to the bulker flush in Fleet Server so it times out if it takes more time than the deadline. [#3986]({{fleet-server-pull}}3986) +* Removes a race condition that may occur when remote Elasticsearch outputs are used in Fleet Server. [#4171]({{fleet-server-pull}}4171) +* Uses the chi/middleware.Throttle package to track in-flight requests and return a 429 response when the limit is reached in Fleet Server. [#4402]({{fleet-server-pull}}4402) and [#4400]({{fleet-server-issue}}4400) \ No newline at end of file diff --git a/docs/release-notes/_snippets/9.0.1/breaking.md b/docs/release-notes/_snippets/9.0.1/breaking.md new file mode 100644 index 0000000000..143035266c --- /dev/null +++ b/docs/release-notes/_snippets/9.0.1/breaking.md @@ -0,0 +1,3 @@ +## 9.0.1 [fleet-server-9.0.1-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.1/deprecations.md b/docs/release-notes/_snippets/9.0.1/deprecations.md new file mode 100644 index 0000000000..68493ac8e5 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.1/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.1 [fleet-server-9.0.1-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.1/index.md b/docs/release-notes/_snippets/9.0.1/index.md new file mode 100644 index 0000000000..36640df855 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.1/index.md @@ -0,0 +1,14 @@ +## 9.0.1 [fleet-server-release-notes-9.0.1] + +### Fixes [fleet-server-9.0.1-fixes] + +* Fix host parsing in Elasticsearch output diagnostics. [#4765](https://github.com/elastic/fleet-server/pull/4765) +* Redact output in bootstrap config logs. [#4775](https://github.com/elastic/fleet-server/pull/4775) +* Mutex protection for remote bulker config. [#4776](https://github.com/elastic/fleet-server/pull/4776) + + Use existing remote bulker mutex to control access to remote bulker configs. + +* Enable dead code elimination. [#4784](https://github.com/elastic/fleet-server/pull/4784) + + Add grpcnotrace build tags and ensure DCE (dead code elimination) is enabled. + Reduce binary size by 34% diff --git a/docs/release-notes/_snippets/9.0.2/breaking.md b/docs/release-notes/_snippets/9.0.2/breaking.md new file mode 100644 index 0000000000..48d63f53db --- /dev/null +++ b/docs/release-notes/_snippets/9.0.2/breaking.md @@ -0,0 +1,3 @@ +## 9.0.2 [fleet-server-9.0.2-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.2/deprecations.md b/docs/release-notes/_snippets/9.0.2/deprecations.md new file mode 100644 index 0000000000..b70d54aeeb --- /dev/null +++ b/docs/release-notes/_snippets/9.0.2/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.2 [fleet-server-9.0.2-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.2/index.md b/docs/release-notes/_snippets/9.0.2/index.md new file mode 100644 index 0000000000..b8a3c688b3 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.2/index.md @@ -0,0 +1,9 @@ +## 9.0.2 [fleet-server-release-notes-9.0.2] + + +### Features and enhancements [fleet-server-9.0.2-features-enhancements] + +* Update Go version to v1.24.3. [#4891](https://github.com/elastic/fleet-server/pull/4891) + + + diff --git a/docs/release-notes/_snippets/9.0.3/breaking.md b/docs/release-notes/_snippets/9.0.3/breaking.md new file mode 100644 index 0000000000..6b659975ca --- /dev/null +++ b/docs/release-notes/_snippets/9.0.3/breaking.md @@ -0,0 +1,3 @@ +## 9.0.3 [fleet-server-9.0.3-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.3/deprecations.md b/docs/release-notes/_snippets/9.0.3/deprecations.md new file mode 100644 index 0000000000..2231d42947 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.3/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.3 [fleet-server-9.0.3-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.3/index.md b/docs/release-notes/_snippets/9.0.3/index.md new file mode 100644 index 0000000000..18aaddf023 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.3/index.md @@ -0,0 +1,9 @@ +## 9.0.3 [fleet-server-release-notes-9.0.3] + + +### Features and enhancements [fleet-server-9.0.3-features-enhancements] + +* Update Go version to v1.24.4. [#5025](https://github.com/elastic/fleet-server/pull/5025) + + + diff --git a/docs/release-notes/_snippets/9.0.4/breaking.md b/docs/release-notes/_snippets/9.0.4/breaking.md new file mode 100644 index 0000000000..5ca19534ba --- /dev/null +++ b/docs/release-notes/_snippets/9.0.4/breaking.md @@ -0,0 +1,3 @@ +## 9.0.4 [fleet-server-9.0.4-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.4/deprecations.md b/docs/release-notes/_snippets/9.0.4/deprecations.md new file mode 100644 index 0000000000..88ec445323 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.4/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.4 [fleet-server-9.0.4-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.4/index.md b/docs/release-notes/_snippets/9.0.4/index.md new file mode 100644 index 0000000000..2063907dd9 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.4/index.md @@ -0,0 +1,5 @@ +## 9.0.4 [fleet-server-release-notes-9.0.4] + +### Fixes [fleet-server-9.0.4-fixes] + +* Include the base error for JSON decode error responses. [#5069](https://github.com/elastic/fleet-server/pull/5069) diff --git a/docs/release-notes/_snippets/9.0.5/breaking.md b/docs/release-notes/_snippets/9.0.5/breaking.md new file mode 100644 index 0000000000..709c982d4f --- /dev/null +++ b/docs/release-notes/_snippets/9.0.5/breaking.md @@ -0,0 +1,3 @@ +## 9.0.5 [fleet-server-9.0.5-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.5/deprecations.md b/docs/release-notes/_snippets/9.0.5/deprecations.md new file mode 100644 index 0000000000..aad928d194 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.5/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.5 [fleet-server-9.0.5-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.5/index.md b/docs/release-notes/_snippets/9.0.5/index.md new file mode 100644 index 0000000000..82eff54543 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.5/index.md @@ -0,0 +1,9 @@ +## 9.0.5 [fleet-server-release-notes-9.0.5] + + + + +### Fixes [fleet-server-9.0.5-fixes] + +* Fix upgrade details download_rate as string handling. [#5217](https://github.com/elastic/fleet-server/pull/5217) [#5227](https://github.com/elastic/fleet-server/pull/5227) [#5176](https://github.com/elastic/fleet-server/pull/5176) [#5164](https://github.com/elastic/fleet-server/issues/5164) + diff --git a/docs/release-notes/_snippets/9.0.6/breaking.md b/docs/release-notes/_snippets/9.0.6/breaking.md new file mode 100644 index 0000000000..092b3c2322 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.6/breaking.md @@ -0,0 +1,3 @@ +## 9.0.6 [fleet-server-9.0.6-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.0.6/deprecations.md b/docs/release-notes/_snippets/9.0.6/deprecations.md new file mode 100644 index 0000000000..e8e9ed5e9a --- /dev/null +++ b/docs/release-notes/_snippets/9.0.6/deprecations.md @@ -0,0 +1,3 @@ +## 9.0.6 [fleet-server-9.0.6-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.0.6/index.md b/docs/release-notes/_snippets/9.0.6/index.md new file mode 100644 index 0000000000..2d8d082660 --- /dev/null +++ b/docs/release-notes/_snippets/9.0.6/index.md @@ -0,0 +1,7 @@ +## 9.0.6 [fleet-server-release-notes-9.0.6] + +### Fixes [fleet-server-9.0.6-fixes] + +* Fix 503 handling in enrollment. [#5232](https://github.com/elastic/fleet-server/pull/5232) [#5197](https://github.com/elastic/fleet-server/issues/5197) +* Remove extra ES search when preparing agent policy. [#5283](https://github.com/elastic/fleet-server/pull/5283) + diff --git a/docs/release-notes/_snippets/9.1.0/breaking.md b/docs/release-notes/_snippets/9.1.0/breaking.md new file mode 100644 index 0000000000..63c9f7d2ec --- /dev/null +++ b/docs/release-notes/_snippets/9.1.0/breaking.md @@ -0,0 +1,3 @@ +## 9.1.0 [fleet-server-9.1.0-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.1.0/deprecations.md b/docs/release-notes/_snippets/9.1.0/deprecations.md new file mode 100644 index 0000000000..2ce5f1ebe4 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.0/deprecations.md @@ -0,0 +1,3 @@ +## 9.1.0 [fleet-server-9.1.0-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.1.0/index.md b/docs/release-notes/_snippets/9.1.0/index.md new file mode 100644 index 0000000000..c34d07f32e --- /dev/null +++ b/docs/release-notes/_snippets/9.1.0/index.md @@ -0,0 +1,34 @@ +## 9.1.0 [fleet-server-release-notes-9.1.0] + + +### Features and enhancements [fleet-server-9.1.0-features-enhancements] + +* Add ability for enrollment to take an agent ID. [#4290](https://github.com/elastic/fleet-server/pull/4290) [#4226](https://github.com/elastic/fleet-server/issues/4226) +* Add migrate-action. [#4786](https://github.com/elastic/fleet-server/pull/4786) + + Added new MIGRATE action type for moving agent to different cluster. +* Clear `agent.upgrade_attempts` when upgrade is complete. [#4528](https://github.com/elastic/fleet-server/pull/4528) + + The new AutomaticAgentUpgradeTask Kibana task sets the upgrade_attempts property in agents it upgrades. + This property is used to track upgrade retries and should therefore be cleared when the upgrade is complete. +* Make pbkdf2 settings validation FIPS compliant. [#4542](https://github.com/elastic/fleet-server/pull/4542) +* Update Go to v1.24.3. [#4891](https://github.com/elastic/fleet-server/pull/4891) +* Add version metadata to version command output. [#4820](https://github.com/elastic/fleet-server/pull/4820) + + Add commit, buildtime, and FIPS distribution indicators to output of version command. + Add fips-distribution attribute to initial startup log. +* Add rollback attribute to upgrade actions in preparation for enabling upgrade rollbacks in a future release. [#4838](https://github.com/elastic/fleet-server/issues/4838) + +### Fixes [fleet-server-9.1.0-fixes] + +* Upgrade golang.org/x/net to v0.34.0 and golang.org/x/crypto to v0.32.0. [#4405](https://github.com/elastic/fleet-server/pull/4405) +* Fix host parsing in Elasticsearch output diagnostics. [#4765](https://github.com/elastic/fleet-server/pull/4765) +* Redact output in bootstrap config logs. [#4775](https://github.com/elastic/fleet-server/pull/4775) +* Mutex protection for remote bulker config. [#4776](https://github.com/elastic/fleet-server/pull/4776) + + Use existing remote bulker mutex to control access to remote bulker configs. +* Enable dead code elimination. [#4784](https://github.com/elastic/fleet-server/pull/4784) + + Add grpcnotrace build tags and ensure DCE (dead code elimination) is enabled. + Reduce binary size by 34% +* Include the base error for json decode error responses. [#5069](https://github.com/elastic/fleet-server/pull/5069) diff --git a/docs/release-notes/_snippets/9.1.1/breaking.md b/docs/release-notes/_snippets/9.1.1/breaking.md new file mode 100644 index 0000000000..65eb529188 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.1/breaking.md @@ -0,0 +1,3 @@ +## 9.1.1 [fleet-server-9.1.1-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.1.1/deprecations.md b/docs/release-notes/_snippets/9.1.1/deprecations.md new file mode 100644 index 0000000000..6def21b934 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.1/deprecations.md @@ -0,0 +1,3 @@ +## 9.1.1 [fleet-server-9.1.1-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.1.1/index.md b/docs/release-notes/_snippets/9.1.1/index.md new file mode 100644 index 0000000000..0fa9bd1499 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.1/index.md @@ -0,0 +1,6 @@ +## 9.1.1 [fleet-server-release-notes-9.1.1] + +### Fixes [fleet-server-9.1.1-fixes] + +* Fix upgrade details download_rate as string handling. [#5198](https://github.com/elastic/fleet-server/pull/5198) [#5214](https://github.com/elastic/fleet-server/pull/5214) [#5183](https://github.com/elastic/fleet-server/pull/5183) [#5176](https://github.com/elastic/fleet-server/pull/5176) [#5164](https://github.com/elastic/fleet-server/issues/5164) + diff --git a/docs/release-notes/_snippets/9.1.2/breaking.md b/docs/release-notes/_snippets/9.1.2/breaking.md new file mode 100644 index 0000000000..37b3a3bc3d --- /dev/null +++ b/docs/release-notes/_snippets/9.1.2/breaking.md @@ -0,0 +1,3 @@ +## 9.1.2 [fleet-server-9.1.2-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.1.2/deprecations.md b/docs/release-notes/_snippets/9.1.2/deprecations.md new file mode 100644 index 0000000000..edabe73fad --- /dev/null +++ b/docs/release-notes/_snippets/9.1.2/deprecations.md @@ -0,0 +1,3 @@ +## 9.1.2 [fleet-server-9.1.2-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.1.2/index.md b/docs/release-notes/_snippets/9.1.2/index.md new file mode 100644 index 0000000000..660855f5e5 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.2/index.md @@ -0,0 +1,4 @@ +## 9.1.2 [fleet-server-release-notes-9.1.2] + + +_No new features, enhancements, or fixes._ diff --git a/docs/release-notes/_snippets/9.1.3/breaking.md b/docs/release-notes/_snippets/9.1.3/breaking.md new file mode 100644 index 0000000000..7624e04c96 --- /dev/null +++ b/docs/release-notes/_snippets/9.1.3/breaking.md @@ -0,0 +1,3 @@ +## 9.1.3 [fleet-server-9.1.3-breaking-changes] + +_No breaking changes._ diff --git a/docs/release-notes/_snippets/9.1.3/deprecations.md b/docs/release-notes/_snippets/9.1.3/deprecations.md new file mode 100644 index 0000000000..b077b98c0c --- /dev/null +++ b/docs/release-notes/_snippets/9.1.3/deprecations.md @@ -0,0 +1,3 @@ +## 9.1.3 [fleet-server-9.1.3-deprecations] + +_No deprecations._ diff --git a/docs/release-notes/_snippets/9.1.3/index.md b/docs/release-notes/_snippets/9.1.3/index.md new file mode 100644 index 0000000000..327ec2ebfa --- /dev/null +++ b/docs/release-notes/_snippets/9.1.3/index.md @@ -0,0 +1,7 @@ +## 9.1.3 [fleet-server-release-notes-9.1.3] + +### Fixes [fleet-server-9.1.3-fixes] + +* Fix 503 handling in enrollment. [#5232](https://github.com/elastic/fleet-server/pull/5232) [#5197](https://github.com/elastic/fleet-server/issues/5197) +* Remove extra ES search when preparing agent policy. [#5283](https://github.com/elastic/fleet-server/pull/5283) + diff --git a/docs/release-notes/_snippets/breaking-changes.md b/docs/release-notes/_snippets/breaking-changes.md new file mode 100644 index 0000000000..ddf448615d --- /dev/null +++ b/docs/release-notes/_snippets/breaking-changes.md @@ -0,0 +1,32 @@ +:::{include} /release-notes/_snippets/9.1.3/breaking.md +::: + +:::{include} /release-notes/_snippets/9.1.2/breaking.md +::: + +:::{include} /release-notes/_snippets/9.1.1/breaking.md +::: + +:::{include} /release-notes/_snippets/9.1.0/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.6/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.5/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.4/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.3/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.2/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.1/breaking.md +::: + +:::{include} /release-notes/_snippets/9.0.0/breaking.md +::: diff --git a/docs/release-notes/_snippets/deprecations.md b/docs/release-notes/_snippets/deprecations.md new file mode 100644 index 0000000000..4c96ecc6cb --- /dev/null +++ b/docs/release-notes/_snippets/deprecations.md @@ -0,0 +1,32 @@ +:::{include} /release-notes/_snippets/9.1.3/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.1.2/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.1.1/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.1.0/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.6/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.5/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.4/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.3/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.2/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.1/deprecations.md +::: + +:::{include} /release-notes/_snippets/9.0.0/deprecations.md +::: diff --git a/docs/release-notes/_snippets/index.md b/docs/release-notes/_snippets/index.md new file mode 100644 index 0000000000..373f1bc3c8 --- /dev/null +++ b/docs/release-notes/_snippets/index.md @@ -0,0 +1,32 @@ +:::{include} /release-notes/_snippets/9.1.3/index.md +::: + +:::{include} /release-notes/_snippets/9.1.2/index.md +::: + +:::{include} /release-notes/_snippets/9.1.1/index.md +::: + +:::{include} /release-notes/_snippets/9.1.0/index.md +::: + +:::{include} /release-notes/_snippets/9.0.6/index.md +::: + +:::{include} /release-notes/_snippets/9.0.5/index.md +::: + +:::{include} /release-notes/_snippets/9.0.4/index.md +::: + +:::{include} /release-notes/_snippets/9.0.3/index.md +::: + +:::{include} /release-notes/_snippets/9.0.2/index.md +::: + +:::{include} /release-notes/_snippets/9.0.1/index.md +::: + +:::{include} /release-notes/_snippets/9.0.0/index.md +::: diff --git a/docs/release-notes/breaking-changes.md b/docs/release-notes/breaking-changes.md new file mode 100644 index 0000000000..496556aced --- /dev/null +++ b/docs/release-notes/breaking-changes.md @@ -0,0 +1,16 @@ +--- +navigation_title: Breaking changes +products: + - id: fleet +applies_to: + stack: ga +sub: + product: Fleet Server +--- + +# {{product}} breaking changes + +Breaking changes can impact your Elastic applications, potentially disrupting normal operations. Before you upgrade, carefully review the {{product}} breaking changes and take the necessary steps to mitigate any issues. To learn how to upgrade, check [Upgrade](docs-content://deploy-manage/upgrade.md). + +:::{include} /release-notes/_snippets/breaking-changes.md +::: diff --git a/docs/release-notes/deprecations.md b/docs/release-notes/deprecations.md new file mode 100644 index 0000000000..35817d5bd0 --- /dev/null +++ b/docs/release-notes/deprecations.md @@ -0,0 +1,18 @@ +--- +navigation_title: Deprecations +products: + - id: fleet +applies_to: + stack: ga +sub: + product: Fleet Server +--- + +# {{product}} deprecations + +Over time, certain Elastic functionality becomes outdated and is replaced or removed. To help with the transition, Elastic deprecates functionality for a period before removal, giving you time to update your applications. + +Review the deprecated functionality for {{product}}. While deprecations have no immediate impact, we strongly encourage you update your implementation after you upgrade. To learn how to upgrade, check out [Upgrade](docs-content://deploy-manage/upgrade.md). + +:::{include} /release-notes/_snippets/deprecations.md +::: diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md new file mode 100644 index 0000000000..cc7eeaceb7 --- /dev/null +++ b/docs/release-notes/index.md @@ -0,0 +1,26 @@ +--- +navigation_title: Fleet Server +mapped_pages: + - https://www.elastic.co/guide/en/fleet/current/release-notes.html +products: + - id: fleet +applies_to: + stack: ga +sub: + product: Fleet Server +--- + +% Release notes include only features, enhancements, and fixes. Add breaking changes, deprecations, and known issues to the applicable release notes sections. + +# {{product}} release notes + +Review the changes, fixes, and more in each version of {{product}}. + +To check for security updates, go to [Security announcements for the Elastic Stack](https://discuss.elastic.co/c/announcements/security-announcements/31). + +:::{admonition} Related release notes +{{agent}} integrates and manages {{beats}} for data collection, and Beats changes may impact {{agent}} functionality. To check for {{agent}} changes in {{beats}}, go to [{{beats}} release notes](beats://release-notes/index.md). +::: + +:::{include} /release-notes/_snippets/index.md +::: diff --git a/docs/release-notes/known-issues.md b/docs/release-notes/known-issues.md new file mode 100644 index 0000000000..fadf93d33a --- /dev/null +++ b/docs/release-notes/known-issues.md @@ -0,0 +1,84 @@ +--- +navigation_title: Known issues +products: + - id: fleet +applies_to: + stack: ga +sub: + product: Fleet Server +--- + +# {{product}} known issues + +Known issues are significant defects or limitations that may impact your implementation. These issues are actively being worked on and will be addressed in a future release. Review the {{product}} known issues to help you make informed decisions, such as upgrading to a new version. + +% Use the following template to add entries to this page. + +% :::{dropdown} Title of known issue +% **Applicable versions for the known issue and the version for when the known issue was fixed** +% On [Month Day, Year], a known issue was discovered that [description of known issue]. +% For more information, check [Issue #](Issue link). + +% **Workaround** +% Workaround description. +% ::: + + +:::{dropdown} Manual DEB/RPM upgrades of {{fleet}}-managed agents fail when "Agent tamper protection" is enabled + +**Applies to**: {{agent}} 8.19.2, 9.1.2 + +On August 19, 2025, a known issue was discovered where manual DEB/RPM upgrades of {{fleet}}-managed {{agents}} fail if the {{elastic-defend}} integration is installed and **Agent tamper protection** is enabled in the agent policy. When this occurs, the log contains an output similar to the following: + +``` +Invalid uninstall token: exit status 28 +``` + +This issue only impacts manual DEB/RPM upgrades from {{agent}} 8.19.2 or 9.1.2. Managed upgrades performed through {{fleet}} are not affected. + +For more information, refer to [PR #9462](https://github.com/elastic/elastic-agent/pull/9462). + +**Workaround** + +You can use one of the following workarounds to resolve the issue: + +- Stop the `elastic-agent` service: + + Before installing the {{agent}} DEB/RPM package, run `systemctl stop elastic-agent`, then proceed with the installation. This solution works even when reinstalling the same version of {{agent}}. + +- Temporarily remove the {{elastic-defend}} integration: + + Before upgrading, move the agent to an agent policy without the {{elastic-defend}} integration. Wait for the change to take effect, proceed with the upgrade, then move the agent to its previous policy. + +- Disable **Agent tamper protection**: + + Before upgrading, disable **Agent tamper protection** in the agent policy. Wait for the change to take effect, proceed with the upgrade, then move the agent back to its previous policy. + +**Fixed in**: {{agent}} 8.19.3, 9.1.3 +::: + +:::{dropdown} [Windows] {{agent}} is unable to re-enroll into {{fleet}} + +**Applies to**: {{agent}} 9.0.0, 9.0.1, 9.0.2 (Windows only) + +On April 9, 2025, a known issue was discovered where an {{agent}} installed on Windows and previously enrolled into {{fleet}} is unable to re-enroll. Attempting to enroll the {{agent}} fails with the following error: + +```shell +Error: the command is executed as root but the program files are not owned by the root user. +``` + +For more information, check [Issue #7794](https://github.com/elastic/elastic-agent/issues/7794). + +**Workaround** + +Until a bug fix is available in a later release, you can resolve the issue temporarily using the following workaround: + +1. Change the ownership of the {{agent}} directory: + + ```shell + icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l + ``` + +2. After the output confirms all files were successfully processed, run the `enroll` command again. + +::: diff --git a/docs/release-notes/toc.yml b/docs/release-notes/toc.yml new file mode 100644 index 0000000000..0896bfe9bb --- /dev/null +++ b/docs/release-notes/toc.yml @@ -0,0 +1,5 @@ +toc: + - file: index.md + - file: known-issues.md + - file: breaking-changes.md + - file: deprecations.md