Skip to content

Commit

Permalink
Prepare for 4.9.0 (#3820)
Browse files Browse the repository at this point in the history
- Add CHANGELOG
- Bump versioning
- Remove changes files
- Spelling fix for operating system policy's description
  • Loading branch information
noahtalerman committed Jan 22, 2022
1 parent a81ccc3 commit 3018ad0
Show file tree
Hide file tree
Showing 35 changed files with 76 additions and 37 deletions.
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,74 @@
## Fleet 4.9.0 (Jan 21, 2022)

* Add ability to apply a `policy` yaml document so that GitOps workflows can be used to create and
modify policies.

* Add ability to run a live query that returns 1,000+ results in the Fleet UI by adding
client-side pagination to the results table.

* Improve the accuracy of query platform compatibility detection by adding recognition for queries
with the `WITH` expression.

* Add ability to open a page in the Fleet UI in a new tab by "right-clicking" an item in the navigation.

* Improve the [live query API route (`GET /api/v1/queries/run`)](https://fleetdm.com/docs/using-fleet/rest-api#run-live-query) so that it successfully return results for Fleet
instances using a load balancer by reducing the wait period to 25 seconds.

* Improve performance of the Fleet UI by updating loading states and reducing the number of requests
made to the Fleet API.

* Improve performance of the MySQL database by updating the queries used to populate host vitals and
caching the results.

* Add [`read_timeout` Redis configuration
option](https://fleetdm.com/docs/deploying/configuration#redis-read-timeout) to customize the
maximum amount of time Fleet should wait to receive a response from a Redis server.

* Add [`write_timeout` Redis configuration
option](https://fleetdm.com/docs/deploying/configuration#redis-write-timeout) to customize the
maximum amount of time Fleet should wait to send a command to a Redis server.

* Fix a bug in which browser extensions (Google Chrome, Firefox, and Safari) were not included in
software inventory.

* Improve the security of the **Organization settings** page by preventing the browser from requesting
to save SMTP credentials.

* Fix a bug in which an existing pack's targets were not cleaned up after deleting hosts, labels, and teams.

* Fix a bug in which non-existent queries and policies would not return a 404 not found response.

### Performance

* Our testing demonstrated an increase in max devices served in our load test infrastructure to 70,000 from 60,000 in v4.8.0.

#### Load Test Infrastructure

* Fleet server
* AWS Fargate
* 2 tasks with 1024 CPU units and 2048 MiB of RAM.

* MySQL
* Amazon RDS
* db.r5.2xlarge

* Redis
* Amazon ElastiCache
* cache.m5.large with 2 replicas (no cluster mode)

#### What was changed to accomplish these improvements?

* Optimized the updating and fetching of host data to only send and receive the bare minimum data
needed.

* Reduced the number of times host information is updated by caching more data.

* Updated cleanup jobs and deletion logic.

#### Future improvements

* At maximum DB utilization, we found that some hosts fail to respond to live queries. Future releases of Fleet will improve upon this.

## Fleet 4.8.0 (Dec 31, 2021)

* Add ability to configure Fleet to send a webhook request with all hosts that failed a
Expand Down
1 change: 0 additions & 1 deletion changes/1469-improve-error-handling

This file was deleted.

1 change: 0 additions & 1 deletion changes/3293-close-flash-message

This file was deleted.

2 changes: 0 additions & 2 deletions changes/3695-manage-policies-ui

This file was deleted.

1 change: 0 additions & 1 deletion changes/add-fleetctl-preview-channel-opts

This file was deleted.

1 change: 0 additions & 1 deletion changes/disable-extension-orbit-windows

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-2456-add-policies-yaml

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-2674-refactor-user-management-page

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-2714-live-query-table

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-2859-privacy-policy-link

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3051-update-loading-states

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3077-block-autocomplete

This file was deleted.

2 changes: 0 additions & 2 deletions changes/issue-3264-decouple-host-datastore

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3291-empty-host-message-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3345-run-tests-with-mysql8

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-340-nav-open-new-tab

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3421-remove-cleanups

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3422-async-labels-avoid-scan

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3466-ui-init

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3476-checkboxes-radio-buttons

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3504-redis-read-write-timeout

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3532-center-logo

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3557-browser-extensions

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3567-available-teams

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3575-multiple-requests

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3579-return-not-found-query-policy

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3590-query-compatibilty

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3591-fix-usage-stats

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-3707-clean-targets-on-delete

This file was deleted.

1 change: 0 additions & 1 deletion changes/optimize-users-query

This file was deleted.

1 change: 0 additions & 1 deletion changes/query-timeout

This file was deleted.

4 changes: 2 additions & 2 deletions charts/fleet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: fleet
keywords:
- fleet
- osquery
version: v4.8.0
version: v4.9.0
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.8.0
appVersion: v4.9.0
2 changes: 1 addition & 1 deletion charts/fleet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# All settings related to how Fleet is deployed in Kubernetes
hostName: fleet.localhost
replicas: 3 # The number of Fleet instances to deploy
imageTag: v4.8.0 # Version of Fleet to deploy
imageTag: v4.9.0 # Version of Fleet to deploy
createIngress: true # Whether or not to automatically create an Ingress
ingressAnnotations: {} # Additional annotation to add to the Ingress
podAnnotations: {} # Additional annotations to add to the Fleet pod
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/hosts/HostDetailsPage/HostDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ const HostDetailsPage = ({
: setLastEditedQueryName(osPolicyLabel);
setPolicyTeamId(host?.team_id ? host?.team_id : 0);
setLastEditedQueryDescription(
"Checks to see if the required mimimum operating system version is installed."
"Checks to see if the required minimum operating system version is installed."
);
setLastEditedQueryBody(osPolicy);
setLastEditedQueryResolution("");
Expand Down
2 changes: 1 addition & 1 deletion tools/fleetctl-npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fleetctl",
"version": "v4.8.0",
"version": "v4.9.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"
Expand Down

0 comments on commit 3018ad0

Please sign in to comment.