Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d0facc7101 
							
						 
					 
					
						
						
							
							fix: adjust page limit normalization ( #5672 )  
						
						 
						
						
						
					 
					
						2023-12-18 14:33:45 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b635132f9 
							
						 
					 
					
						
						
							
							feat: enable sorting by project ( #5671 )  
						
						 
						
						
						
					 
					
						2023-12-18 14:33:38 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4af0abc6c2 
							
						 
					 
					
						
						
							
							fix: increase page size in backend to 100 ( #5669 )  
						
						 
						
						
						
					 
					
						2023-12-18 14:18:05 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							00ed539c19 
							
						 
					 
					
						
						
							
							Revert "chore: incoming webhooks and tokens migration"  
						
						 
						
						... 
						
						
						
						This reverts commit 695474576e . 
						
					 
					
						2023-12-18 11:47:04 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							695474576e 
							
						 
					 
					
						
						
							
							chore: incoming webhooks and tokens migration  
						
						 
						
						
						
					 
					
						2023-12-18 11:44:29 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f4268347da 
							
						 
					 
					
						
						
							
							fix: last seen now sorts nulls last ( #5664 )  
						
						 
						
						... 
						
						
						
						Two changes were needed to sort better
1. Since we are still using `last seen` from `features` table for
backwards compatibility, we needed to add it to sort condition.
2. Nulls break the order, so now sorting nulls as last. 
						
					 
					
						2023-12-18 10:36:50 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab2281d7e7 
							
						 
					 
					
						
						
							
							fix: make username nullable in user-schema ( #5656 )  
						
						 
						
						... 
						
						
						
						I noticed I was getting warnings logged in my local instance when
visiting the users page (`/admin/users`)
```json
{
    "schema": "#/components/schemas/publicSignupTokensSchema",
    "errors": [
        {
            "instancePath": "/tokens/0/users/0/username",
            "schemaPath": "#/components/schemas/userSchema/properties/username/type",
            "keyword": "type",
            "params": {
                "type": "string"
            },
            "message": "must be string"
        }
    ]
}
```
It was complaining because one of my users doesn't have a username, so
the value returned from the API was:
```json
{
    "users": [
        {
            "id": 2,
            "name": "2mas",
            "username": null
        }
    ]
}
```
This adjustment fixes that oversight by allowing `null` values for the
username. 
						
					 
					
						2023-12-16 08:28:22 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pedro Papadopolis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							24c2a70138 
							
						 
					 
					
						
						
							
							feat: Make compression middleware optional ( #5306 )  
						
						 
						
						... 
						
						
						
						## Why
Currently AWS API Gateway doesn't have compression enabled by default,
this PR will make it easier to for example deploy Unleash over to AWS
Lambda without further configuration in API Gateway, frameworks like
Serverless requires a bit more work to set up compression and some times
one might not need compression at all.
## How
Create a new config flag called `disableCompression` which will not
include `compression` middleware in express' instance when set as true. 
						
					 
					
						2023-12-16 08:06:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dafec2e672 
							
						 
					 
					
						
						
							
							fix: reducing of features will not break order anymore ( #5654 )  
						
						 
						
						
						
					 
					
						2023-12-15 14:46:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8283edfc0a 
							
						 
					 
					
						
						
							
							feat: Sort by stale ( #5653 )  
						
						 
						
						
						
					 
					
						2023-12-15 11:56:06 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8be09510e8 
							
						 
					 
					
						
						
							
							chore: clean up banners feature flag ( #5648 )  
						
						 
						
						... 
						
						
						
						Cleans up some leftover references to the `banners` feature flag. 
Related to https://github.com/Unleash/unleash/pull/5348  
						
					 
					
						2023-12-15 10:16:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f84fa81ebe 
							
						 
					 
					
						
						
							
							chore: add incomingWebhooks feature flag ( #5647 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1683/feature-flag-add-a-new-incomingwebhooks-feature-flag-for-this-feature 
Adds a new `incomingWebhooks` feature flag. 
						
					 
					
						2023-12-15 10:15:52 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1338496445 
							
						 
					 
					
						
						
							
							chore: enable manual testing of migrations ( #5645 )  
						
						 
						
						... 
						
						
						
						## About the changes
This adds a Makefile to make it easy to test migrations from one version
of Unleash to another.
The script depends on [docker compose
V2](https://docs.docker.com/compose/migrate/ )
**Before starting**: make sure you're inside test-migrations folder and
run `make clean` to be in a clean state.
We can run 2 versions of Unleash side by side with a shared database
(the second version will apply migrations to the DB):
```shell
UNLEASH_DOCKER_IMAGE=unleashorg/unleash-server:5.6.10 make start-unleash # defaults to port 4242
UNLEASH_DOCKER_IMAGE=unleashorg/unleash-server:latest make start-another-unleash # defaults to port 4243
make test # run basic UI tests against port 4242 (first image)
EXPOSED_PORT=4243 make test # run basic UI tests against port 4243
```
This also enables us to test our local repository with our code of
Unleash server running at port 4244 (`EXPOSE_PORT=4444 make run-current`
if you want to change it):
```shell
UNLEASH_DOCKER_IMAGE=unleashorg/unleash-server:5.6.10 make start-unleash # defaults to port 4242
make run-current # exposes the current backend at 4244
```
You can also connect the latest UI to any of the ports specified above,
starting the UI at port 3000:
```shell
EXPOSED_PORT=4242 make run-current-ui # exposed port defaults to 4244 which is the port of the current backend
``` 
						
					 
					
						2023-12-14 15:12:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa087fb473 
							
						 
					 
					
						
						
							
							refactor: move search implementation out of strategies store ( #5642 )  
						
						 
						
						... 
						
						
						
						This is first step of refactoring. Next steps follow with possibly a
query builder, or atleast using some reusable methods. 
						
					 
					
						2023-12-14 15:45:36 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fbb5dd9022 
							
						 
					 
					
						
						
							
							feat: add icons to filters ( #5640 )  
						
						 
						
						
						
					 
					
						2023-12-14 15:06:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bfa82d79bf 
							
						 
					 
					
						
						
							
							feat: adds created_by_user_id to all events ( #5619 )  
						
						 
						
						... 
						
						
						
						### What
Adds `createdByUserId` to all events exposed by unleash. In addition
this PR updates all tests and usages of the methods in this codebase to
include the required number. 
						
					 
					
						2023-12-14 13:45:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6442d9304 
							
						 
					 
					
						
						
							
							fix: frontend api should use cache-control strategy 'no-cache' ( #5641 )  
						
						 
						
						
						
					 
					
						2023-12-14 10:35:21 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4618a52014 
							
						 
					 
					
						
						
							
							fix: optimize cores headers ( #5629 )  
						
						 
						
						... 
						
						
						
						This commit enhances two aspects of CORS:
- Always support CORS preflight requests.
- Do not add additional secuity headers for prefligh calls. 
						
					 
					
						2023-12-13 16:12:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6c52158723 
							
						 
					 
					
						
						
							
							feat: add reason column to change_request_schedule ( #5631 )  
						
						 
						
						... 
						
						
						
						What it says on the tin.
Closes: #
[1-1766](https://linear.app/unleash/issue/1-1766/add-reason-column-to-change-request-schedule )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-12-13 14:07:02 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d632690203 
							
						 
					 
					
						
						
							
							chore: add created by user id to events ( #5621 )  
						
						 
						
						... 
						
						
						
						## About the changes
Adds the column `created_by_user_id` to `events` table and adds index
for it
---------
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> 
						
					 
					
						2023-12-12 15:57:59 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e430810ef 
							
						 
					 
					
						
						
							
							fix: return 400 on invalid POST data to project access endpoint ( #5610 )  
						
						 
						
						... 
						
						
						
						This PR fixes the issue discussed in SR-234, where you would get a 200
OK response even if your POST request to
`/api/admin/projects/<project-name>/access` contains invalid data (and
nothing is persisted). 
						
					 
					
						2023-12-12 14:46:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gard Rimestad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6afe80bab 
							
						 
					 
					
						
						
							
							feat: datadog integration - link to valid source type names ( #5608 )  
						
						 
						
						... 
						
						
						
						Datadog only supports know source_type_names, lets make that easy to
figure out for the user. 
						
					 
					
						2023-12-12 14:37:41 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							43c563af57 
							
						 
					 
					
						
						
							
							fix: optimize headers we return for API calls. ( #5607 )  
						
						 
						
						... 
						
						
						
						Today we include a lot of "secutiry headers" for all API calls. Quite a
lot of them are only relevent when we return a HTML document for the
browser.
This PR removes and simplify these headers for API calls, so that we do
not include unecessary data in the HTTP headers.
Each header have been carfully examied by following best practices from
these source:
-
https://cheatsheetseries.owasp.org/cheatsheets/REST_Security_Cheat_Sheet.html 
- https://owasp.org/www-project-secure-headers/ 
This feature is protected with feature flag named 'stripHeadersOnAPI'. 
						
					 
					
						2023-12-12 10:20:28 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							abf540a1cc 
							
						 
					 
					
						
						
							
							fix: add 'Vary: Origin' header to cors response  
						
						 
						
						
						
					 
					
						2023-12-12 08:05:43 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18ea7349c6 
							
						 
					 
					
						
						
							
							feat: add created_by to api_tokens table ( #5596 )  
						
						 
						
						... 
						
						
						
						Adds a migration for adding created_by column to the api_tokens table. 
						
					 
					
						2023-12-11 15:41:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							150e6b03dc 
							
						 
					 
					
						
						
							
							feat: add column created_by to roles table ( #5595 )  
						
						 
						
						... 
						
						
						
						Tracking who creates roles 
						
					 
					
						2023-12-11 15:40:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4f7b3aa759 
							
						 
					 
					
						
						
							
							feat: add column created_by to role_user table ( #5594 )  
						
						 
						
						... 
						
						
						
						As it says in the title. Adds a created_by column to the role_user table
to more easily track who's doing what. 
						
					 
					
						2023-12-11 15:40:02 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f250ba06c 
							
						 
					 
					
						
						
							
							feat: add created_by to role_permission table ( #5592 )  
						
						 
						
						... 
						
						
						
						As it says on the tin. In an attempt to make all operations in Unleash
traceable to an originator. This PR adds created_by to role_permission,
which will show which user assigned a permission to a role. 
						
					 
					
						2023-12-11 15:39:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed220c0b89 
							
						 
					 
					
						
						
							
							feat: add column created_by to users table ( #5597 )  
						
						 
						
						
						
					 
					
						2023-12-11 15:39:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5b6a26a828 
							
						 
					 
					
						
						
							
							chore: migration for features created by ( #5593 )  
						
						 
						
						... 
						
						
						
						Contains the migration that adds the column created_by to `features` 
						
					 
					
						2023-12-11 14:58:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							427abbd8d1 
							
						 
					 
					
						
						
							
							chore: add migration for adding created_by to feature_types table ( #5591 )  
						
						 
						
						... 
						
						
						
						Contains the migration that adds the column created_by to
`feature_types` 
						
					 
					
						2023-12-11 14:57:58 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f1b89b259 
							
						 
					 
					
						
						
							
							chore: add migration for adding created_by to feature_tag table ( #5590 )  
						
						 
						
						... 
						
						
						
						## About the changes
Contains the migration that adds the column created_by to `feature_tag` 
						
					 
					
						2023-12-11 14:57:40 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							27732274a3 
							
						 
					 
					
						
						
							
							chore: add migration for adding created_by to feature_strategies table ( #5589 )  
						
						 
						
						... 
						
						
						
						## About the changes
Contains the migration that adds the column created_by to
`feature_strategies` 
						
					 
					
						2023-12-11 14:57:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8f19e6341 
							
						 
					 
					
						
						
							
							fix: added stronger tag validations ( #5585 )  
						
						 
						
						... 
						
						
						
						Now it is impossible to filter based on invalid tag syntax. 
						
					 
					
						2023-12-11 13:34:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fredrik Strand Oseberg 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec670450fd 
							
						 
					 
					
						
						
							
							feat: initial setup ( #5583 )  
						
						 
						
						... 
						
						
						
						This PR sets up the feature flag for the new strategy configuration and
duplicates the components for the new setup 
						
					 
					
						2023-12-11 12:23:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2322e1149a 
							
						 
					 
					
						
						
							
							feat: more info on staleness in health report ( #5582 )  
						
						 
						
						... 
						
						
						
						Adds an info tooltip for potentially stale and a link to configure
feature toggle type lifetime
Closes
[UNL-215](https://linear.app/unleash/issue/UNL-215/improve-health-page-with-some-guidance-about-staleness )
<img width="1323" alt="Screenshot 2023-12-11 at 11 39 36"
src="https://github.com/Unleash/unleash/assets/104830839/386ec6e6-55df-42ca-b5e0-ef3e75448452 ">
<img width="1316" alt="Screenshot 2023-12-11 at 11 43 07"
src="https://github.com/Unleash/unleash/assets/104830839/5bf7df15-ff87-4ce0-be25-0c031c881d05 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-12-11 13:11:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb5a487663 
							
						 
					 
					
						
						
							
							feat: add schema for change request strategies ( #5578 )  
						
						 
						
						... 
						
						
						
						This change adds a property to the segmentStrategiesSchema to make sure
that change request strategies are listed in the openapi spec
It also renames the files that contains that schema and its tests from
`admin-strategies-schema` to `segment-strategies-schema`. 
						
					 
					
						2023-12-11 11:01:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9508c79451 
							
						 
					 
					
						
						
							
							fix: remove secure headers on local dev  
						
						 
						
						
						
					 
					
						2023-12-08 19:51:12 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							166432bcb0 
							
						 
					 
					
						
						
							
							feat: support localization in date filter ( #5572 )  
						
						 
						
						
						
					 
					
						2023-12-08 13:20:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b6f1929efb 
							
						 
					 
					
						
						
							
							Poc/strip client headers on 304 ( #5574 )  
						
						 
						
						... 
						
						
						
						To reduce traffic returned on 304. 
						
					 
					
						2023-12-08 12:14:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1173b664da 
							
						 
					 
					
						
						
							
							feat: add created date filter component ( #5569 )  
						
						 
						
						
						
					 
					
						2023-12-08 10:07:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d9648de08d 
							
						 
					 
					
						
						
							
							chore: rename is not any of to is none of ( #5544 )  
						
						 
						
						
						
					 
					
						2023-12-06 12:53:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							12f79f90bb 
							
						 
					 
					
						
						
							
							feat: Scheduled change conflict email templates and function ( #5547 )  
						
						 
						
						... 
						
						
						
						Creates a new email template for scheduled change conflicts and a
function to send it.
Relates to:
#[1-1686](https://linear.app/unleash/issue/1-1686/send-an-email-when-the-conflicts-are-detected )

---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io> 
						
					 
					
						2023-12-06 11:57:19 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2dcf4af7b1 
							
						 
					 
					
						
						
							
							feat: filter persisted in url ( #5549 )  
						
						 
						
						
						
					 
					
						2023-12-05 17:31:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6f497e6708 
							
						 
					 
					
						
						
							
							feat: add openapi validation for search ( #5541 )  
						
						 
						
						
						
					 
					
						2023-12-05 11:25:56 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d1984b2447 
							
						 
					 
					
						
						
							
							feat: validate date filter and add more tests ( #5525 )  
						
						 
						
						
						
					 
					
						2023-12-04 15:41:05 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3056456770 
							
						 
					 
					
						
						
							
							fix: scheduled cr failed email ( #5522 )  
						
						 
						
						... 
						
						
						
						Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails )
Removed `name` - not in template
Added missed `changeRequestTitle` for the html template context
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-12-04 11:51:06 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							be17b7f575 
							
						 
					 
					
						
						
							
							feat: new email template for scheduled-execution-failed email  ( #5519 )  
						
						 
						
						... 
						
						
						
						What it says on the box.
Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails )
<img width="782" alt="Screenshot 2023-12-01 at 15 33 08"
src="https://github.com/Unleash/unleash/assets/104830839/513a0a71-5ca5-4ea7-8482-7903c8485737 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io> 
						
					 
					
						2023-12-01 15:48:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							26f9cf98d5 
							
						 
					 
					
						
						
							
							refactor: feature oriented architecture for project-environment ( #5510 )  
						
						 
						
						
						
					 
					
						2023-12-01 12:41:46 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63f6af06da 
							
						 
					 
					
						
						
							
							feat: new project overview backend ( #5344 )  
						
						 
						
						... 
						
						
						
						Adding new project overview endpoint and deprecating the old one.
The new one has extra info about feature types, but does not have
features anymore, because features are coming from search endpoint. 
						
					 
					
						2023-12-01 11:20:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							feae69643c 
							
						 
					 
					
						
						
							
							feat: created date operators for search ( #5513 )  
						
						 
						
						... 
						
						
						
						1. Added operators for created date
2. Added better descriptions for searchable fields 
						
					 
					
						2023-11-30 12:00:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fredrik Strand Oseberg 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e5760b5690 
							
						 
					 
					
						
						
							
							Feat: remove last seen refactor flag ( #5423 )  
						
						 
						
						... 
						
						
						
						What it says on the box
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-30 10:17:50 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a743ca0df6 
							
						 
					 
					
						
						
							
							feat: add operators for state  filtering ( #5497 )  
						
						 
						
						... 
						
						
						
						No changes in store needed, already utilizing reusable logic. 
						
					 
					
						2023-11-29 15:22:42 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07fcdbb053 
							
						 
					 
					
						
						
							
							fix: add metrics for service account and api tokens ( #5478 )  
						
						 
						
						
						
					 
					
						2023-11-29 13:09:30 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a99ac6c1e 
							
						 
					 
					
						
						
							
							fix: missing export ( #5493 )  
						
						 
						
						
						
					 
					
						2023-11-29 12:01:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a6cb0c527 
							
						 
					 
					
						
						
							
							refactor: tag type service feature oriented architecture and tx support ( #5489 )  
						
						 
						
						
						
					 
					
						2023-11-29 11:44:56 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d73a2937a7 
							
						 
					 
					
						
						
							
							feat: search now also returns project ( #5488 )  
						
						 
						
						
						
					 
					
						2023-11-29 12:13:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5fd1c16def 
							
						 
					 
					
						
						
							
							feat: operators for segments ( #5485 )  
						
						 
						
						... 
						
						
						
						1. Added way to filter segments
2. Refactored some code, so tags and segments use same SQL methods. 
						
					 
					
						2023-11-29 10:40:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5ea5c66f35 
							
						 
					 
					
						
						
							
							feat: new event type for CR config update ( #5476 )  
						
						 
						
						
						
					 
					
						2023-11-29 08:50:42 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							51f87bdfd9 
							
						 
					 
					
						
						
							
							feat: search now also returns segments used ( #5429 )  
						
						 
						
						
						
					 
					
						2023-11-28 21:34:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf58140c42 
							
						 
					 
					
						
						
							
							feat: report users on group change ( #5445 )  
						
						 
						
						... 
						
						
						
						## About the changes
Add user ids to group changes. This also modifies the payload of group created to include only the user id and creates events for SSO sync functionality 
						
					 
					
						2023-11-28 17:02:51 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							05614ed20d 
							
						 
					 
					
						
						
							
							fix: Default strategy event user ( #5470 )  
						
						 
						
						
						
					 
					
						2023-11-28 15:46:42 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f6bc418bdd 
							
						 
					 
					
						
						
							
							feat: updated default strategy event ( #5462 )  
						
						 
						
						
						
					 
					
						2023-11-28 14:59:20 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd601762b2 
							
						 
					 
					
						
						
							
							refactor: maintenance read model ( #5374 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1655/refactor-maintenance-to-feature-folder-and-add-a-read-model-for-status 
This PR does 2 things:
 - Moves all "maintenance" files to a `maintenance` features folder
- Adds a `IMaintenanceStatus` read model that only includes
`isMaintenanceMode()`, so we can use this interface in SchedulerService
and expose only the `isMaintenanceMode()` method instead of the entire
`MaintenanceService`
Is this what you meant in
https://github.com/Unleash/unleash/pull/5363#discussion_r1400170835 
@FredrikOseberg? 
						
					 
					
						2023-11-28 13:03:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gard Rimestad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c1fe3f964c 
							
						 
					 
					
						
						
							
							feat: include more data in setting event ( #5440 )  
						
						 
						
						... 
						
						
						
						This adds more data to the setting events, so that its possible to see
what has changed
Used to look like:
```
{
  "id": "maintenance.mode"
}
```
Now it looks like this:
```
{
  "id": "maintenance.mode",
  "enabled": false
}
```
because this is setting events, the default behaviour is to hide the content. 
						
					 
					
						2023-11-28 13:47:51 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2965daa195 
							
						 
					 
					
						
						
							
							feat: project environment added and removed events ( #5459 )  
						
						 
						
						
						
					 
					
						2023-11-28 12:58:30 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								renovate[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c7498dcac6 
							
						 
					 
					
						
						
							
							chore(deps): update dependency @biomejs/biome to v1.4.0 ( #5288 )  
						
						 
						
						... 
						
						
						
						[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev )
([source](https://togithub.com/biomejs/biome )) | [`1.3.3` ->
`1.4.0`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.3.3/1.4.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v1.4.0`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#140-2023-11-27 )
[Compare
Source](af24597c18...889593e3f9 )
##### CLI
- Remove the CLI options from the `lsp-proxy`, as they were never meant
to be passed to that command. Contributed by
[@​ematipico](https://togithub.com/ematipico )
- Add option `--config-path` to `lsp-proxy` and `start` commands. It's
now possible to tell the Daemon server to load `biome.json` from a
custom path. Contributed by
[@​ematipico](https://togithub.com/ematipico )
- Add new `--diagnostic-level` option to let users control the level of
diagnostics printed by the CLI. Possible values are: `"info"`, `"warn"`,
`"hint"`. Contributed by
[@​simonxabris](https://togithub.com/simonxabris )
- Add option `--line-feed` to the `format` command. Contributed by
[@​SuperchupuDev](https://togithub.com/SuperchupuDev )
- Add option `--bracket-same-line` to the `format` command. Contributed
by [@​faultyserve](https://togithub.com/faultyserve )
- Add option `--bracket-spacing` to the `format` command. Contributed by
[@​faultyserve](https://togithub.com/faultyserve )
##### Bug fixes
- Fix the command `format`, now it returns a non-zero exit code when if
there pending diffs. Contributed by
[@​ematipico](https://togithub.com/ematipico )
##### Configuration
- Add option `formatter.lineFeed`. Contributed by
[@​SuperchupuDev](https://togithub.com/SuperchupuDev )
- Add option `javascript.formatter.bracketSameLine`. Contributed by
[@​faultyserve](https://togithub.com/faultyserve )
- Add option `javascript.formatter.bracketSpacing`. Contributed by
[@​faultyserve](https://togithub.com/faultyserve )
##### Formatter
##### New features
- Add a new option
[`--line-ending`](https://biomejs.dev/reference/configuration/#formatterlineending ).
This option allows changing the type of line endings. Contributed by
[@​SuperchupuDev](https://togithub.com/SuperchupuDev )
- Added a new option called `--bracket-spacing` to the formatter. This
option allows you to control whether spaces are inserted around the
brackets of object literals.
[#​627](https://togithub.com/biomejs/biome/issues/627 ).
Contributed by [@​faultyserver](https://togithub.com/faultyserver )
- Added a new option called `--bracket-same-line` to the formatter. This
option allows you to control whether spaces are inserted around the
brackets of object literals.
[#​627](https://togithub.com/biomejs/biome/issues/627 ).
Contributed by [@​faultyserver](https://togithub.com/faultyserver )
##### Bug fixes
- Fix [#​832](https://togithub.com/biomejs/biome/issues/832 ), the
formatter no longer keeps an unnecessary trailing comma in type
parameter lists. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​301](https://togithub.com/biomejs/biome/issues/301 ), the
formatter should not break before the `in` keyword. Contributed by
[@​ematipico](https://togithub.com/ematipico )
##### Linter
##### Promoted rules
-
[a11y/noInteractiveElementToNoninteractiveRole](https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role )
-
[complexity/noThisInStatic](https://biomejs.dev/linter/rules/no-this-in-static )
-
[complexity/useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function )
-
[correctness/noEmptyCharacterClassInRegex](https://biomejs.dev/linter/rules/no-empty-character-class-in-regex )
-
[correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin )
-
[style/noUselessElse](https://biomejs.dev/linter/rules/no-useless-else )
-
[style/useAsConstAssertion](https://biomejs.dev/linter/rules/use-as-const-assertion )
-
[style/useShorthandAssign](https://biomejs.dev/linter/rules/use-shorthand-assign )
-
[suspicious/noApproximativeNumericConstant](https://biomejs.dev/linter/rules/no-approximative-numeric-constant )
-
[suspicious/noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-misleading-instantiator )
-
[suspicious/noMisrefactoredShorthandAssign](https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign )
The following rules are now recommended:
-   [a11y/noAccessKey](https://biomejs.dev/linter/rules/no-access-key )
-
[a11y/useHeadingContent](https://biomejs.dev/linter/rules/use-heading-content )
-
[complexity/useSimpleNumberKeys](https://biomejs.dev/linter/use-simple-number-keys )
The following rules are now deprecated:
-
[correctness/noNewSymbol](https://biomejs.dev/linter/rules/no-new-symbol )
The rule is replaced by
[correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin )
##### New features
- Add
[noDefaultExport](https://biomejs.dev/linter/rules/no-default-export )
which disallows `export default`. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Add
[noAriaHiddenOnFocusable](https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable )
which reports hidden and focusable elements. Contributed by
[@​vasucp1207](https://togithub.com/vasucp1207 )
- Add
[noImplicitAnyLet](https://biomejs.dev/linter/rules/no-implicit-any-let )
that reports variables declared with `let` and without initialization
and type annotation. Contributed by
[@​TaKO8Ki](https://togithub.com/TaKO8Ki ) and
[@​b4s36t4](https://togithub.com/b4s36t4 )
- Add [useAwait](https://biomejs.dev/linter/rules/use-await ) that
reports `async` functions that don't use an `await` expression.
- Add
[useValidAriaRole](https://biomejs.dev/linter/rules/use-valid-aria-role ).
Contributed by [@​vasucp1207](https://togithub.com/vasucp1207 )
- Add [useRegexLiterals](https://biomejs.dev/linter/use-regex-literals )
that suggests turning call to the regex constructor into regex literals.
COntributed by [@​Yuiki](https://togithub.com/Yuiki )
##### Enhancements
- Add an unsafe code fix for
[a11y/useAriaActivedescendantWithTabindex](https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex )
##### Bug fixes
- Fix [#​639](https://togithub.com/biomejs/biome/issues/639 ) by
ignoring unused TypeScript's mapped key. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​565](https://togithub.com/biomejs/biome/issues/565 ) by
handling several `infer` with the same name in extends clauses of
TypeScript's conditional types. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​653](https://togithub.com/biomejs/biome/issues/653 ).
[noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports )
now correctly removes the entire line where the unused `import` is.
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​607](https://togithub.com/biomejs/biome/issues/609 )
`useExhaustiveDependencies`, ignore optional chaining, Contributed by
[@​msdlisper](https://togithub.com/msdlisper )
- Fix [#​676](https://togithub.com/biomejs/biome/issues/676 ), by
using the correct node for the `"noreferrer"` when applying the code
action. Contributed by
[@​ematipico](https://togithub.com/ematipico )
- Fix [#​455](https://togithub.com/biomejs/biome/issues/455 ). The
CLI can now print complex emojis to the console correctly.
- Fix [#​727](https://togithub.com/biomejs/biome/issues/727 ).
[noInferrableTypes](https://biomejs.dev/linter/rules/no-inferrable-types )
now correctly keeps type annotations when the initialization expression
is `null`. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​784](https://togithub.com/biomejs/biome/issues/784 ),
[noSvgWithoutTitle](https://biomejs.dev/linter/rules/no-svg-without-title )
fixes false-positives to `aria-label` and reports svg's role attribute
is implicit. Contributed by
[@​unvalley](https://togithub.com/unvalley )
- Fix [#​834](https://togithub.com/biomejs/biome/issues/834 ) that
made
[noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements )
reports block statements of switch clauses. Contributed by
[@​vasucp1207](https://togithub.com/vasucp1207 )
- Fix [#​783](https://togithub.com/biomejs/biome/issues/834 ) that
made
[noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements )
reports block statements of `try-catch` structures. Contributed by
[@​hougesen](https://togithub.com/hougesen )
- Fix [#​69](https://togithub.com/biomejs/biome/issues/69 ) that
made
[correctness/noUnnecessaryContinue](https://biomejs.dev/linter/rules/no-unnecessary-continue )
incorrectly reports a `continue` used to break a switch clause.
Contributed by [@​TaKO8Ki](https://togithub.com/TaKO8Ki )
- Fix [#​664](https://togithub.com/biomejs/biome/issues/664 ) by
improving the diagnostic of
[style/useNamingConvention](https://biomejs.dev/linter/use-naming-convention )
when double capital are detected in strict camel case mode. Contributed
by [@​vasucp1207](https://togithub.com/vasucp1207 )
- Fix [#​643](https://togithub.com/biomejs/biome/issues/643 ) that
erroneously parsed the option of
[complexity/useExhaustiveDependencies](https://biomejs.dev/linter/use-naming-convention ).
Contributed by [@​arendjr](https://togithub.com/arendjr )
##### Parser
##### Bug fixes
- Fix [#​846](https://togithub.com/biomejs/biome/issues/846 ) that
erroneously parsed `<const T,>() => {}` as a JSX tag instead of an arrow
function when both TypeScript and JSX are enabled.
##### VSCode
</details>
---
### Configuration
📅  **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦  **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕  **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.io> 
						
					 
					
						2023-11-28 09:32:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							473741a65e 
							
						 
					 
					
						
						
							
							chore: Add environment mutation events (c.u.d) ( #5455 )  
						
						 
						
						... 
						
						
						
						Adds the events for create, update and delete environment
Relates to:
[CTO-41](https://linear.app/unleash/issue/CTO-41/environment-mutation-not-in-event-log )
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-28 10:39:08 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c6f878682f 
							
						 
					 
					
						
						
							
							fix: naming pattern update event should keep old project settings ( #5443 )  
						
						 
						
						
						
					 
					
						2023-11-28 08:25:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6483a5f22 
							
						 
					 
					
						
						
							
							fix: format after biome update ( #5439 )  
						
						 
						
						
						
					 
					
						2023-11-27 15:05:03 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							de287a75fe 
							
						 
					 
					
						
						
							
							chore: remove dependent feature flags ( #5419 )  
						
						 
						
						
						
					 
					
						2023-11-27 14:54:40 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							581b238378 
							
						 
					 
					
						
						
							
							fix: tag type deleted should indicate data deletion ( #5437 )  
						
						 
						
						
						
					 
					
						2023-11-27 14:49:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							abf57d1c70 
							
						 
					 
					
						
						
							
							feat: tag operators for search api ( #5425 )  
						
						 
						
						... 
						
						
						
						Added new operators INCLUDE, DO NOT INCLUDE, INCLUDE ALL OF, INCLUDE ANY
OF, EXCLUDE IF ANY OF, and EXCLUDE ALL and now support filtering by
tags. 
						
					 
					
						2023-11-27 15:48:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1a754325de 
							
						 
					 
					
						
						
							
							chore: move enterprise check further left, prevent OSS from seeing CR usage ( #5431 )  
						
						 
						
						... 
						
						
						
						This PR checks that the unleash instance is an enterprise instance
before fetching change request data. This is to prevent Change Request
usage from preventing OSS users from deleting segments (when they don't
have access to change requests).
This PR also does a little bit of refactoring (which we can remove if
you want) 
						
					 
					
						2023-11-27 14:16:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c179c8ad5e 
							
						 
					 
					
						
						
							
							chore(update): Updates biome config to 1.3 format ( #5421 )  
						
						 
						
						... 
						
						
						
						Does what it says on the tin, update to 1.3.x format for biome config 
						
					 
					
						2023-11-27 13:42:58 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							023db4e2c9 
							
						 
					 
					
						
						
							
							refactor: favor permission name over id ( #5409 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1664/create-db-migration-that-favors-the-name-column-over-id-for 
Similar to https://github.com/Unleash/unleash/pull/5398 , but
non-breaking (semver).
This keeps the permissions `id` column intact, however favors the
permission name whenever possible. 
						
					 
					
						2023-11-27 11:12:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f46d5a9269 
							
						 
					 
					
						
						
							
							chore: update segment cr return values ( #5405 )  
						
						 
						
						... 
						
						
						
						This PR updates the returned value about segments to also include the CR
title and to be one list item per strategy per change request. This
means that if the same strategy is used multiple times in multiple
change requests, they each get their own line (as has been discussed
with Nicolae).
Because of this, this pr removes a collection step in the query and
fixes some test cases. 
						
					 
					
						2023-11-27 11:20:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0a43d341c0 
							
						 
					 
					
						
						
							
							fix: check whether a usage data is defined ( #5393 )  
						
						 
						
						... 
						
						
						
						The previous check would return `false` if the value was 0, causing a
bug where the usage data wouldn't be included.
This also adds tests to ensure that usage data for CR segments is
propagated correctly because that's where I first encountered the issue.
Before this fix, if the values were 0, the data would display like the
bottom element in the screenshot:
 
						
					 
					
						2023-11-27 11:20:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gard Rimestad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb42246ce2 
							
						 
					 
					
						
						
							
							feat: add accessLogs feature flag ( #5417 )  
						
						 
						
						... 
						
						
						
						This is a feature flag in unleash-enterprise 
						
					 
					
						2023-11-27 08:07:42 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f00eac0881 
							
						 
					 
					
						
						
							
							fix: User audit events (create, update, delete) should include rootRole. ( #5399 )  
						
						 
						
						... 
						
						
						
						Audit events for USER_CREATE, USER_UPDATE and USER_DELETE did not
include the users rootRole.

---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io> 
						
					 
					
						2023-11-24 16:06:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2e96ace14e 
							
						 
					 
					
						
						
							
							feat: feature type updated audit log ( #5415 )  
						
						 
						
						
						
					 
					
						2023-11-24 14:24:31 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d680e50055 
							
						 
					 
					
						
						
							
							feat: audit roles ( #5408 )  
						
						 
						
						... 
						
						
						
						## About the changes
Audit changes to roles both root and project roles. 
						
					 
					
						2023-11-24 14:22:31 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							295b0c073e 
							
						 
					 
					
						
						
							
							fix: missing user id in segment update ( #5414 )  
						
						 
						
						
						
					 
					
						2023-11-24 11:17:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce382a4bf9 
							
						 
					 
					
						
						
							
							fix: prevent concurrent queries from running out of transaction ( #5412 )  
						
						 
						
						
						
					 
					
						2023-11-24 11:11:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b0c05111c6 
							
						 
					 
					
						
						
							
							feat: allow filtering projects with operators ( #5400 )  
						
						 
						
						... 
						
						
						
						This is first iteration. When we add more fields to be filterable with
operators, we can have more reusable components for this. 
						
					 
					
						2023-11-24 10:45:44 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2e1790985c 
							
						 
					 
					
						
						
							
							feat: Handle scheduled request events in addons ( #5403 )  
						
						 
						
						... 
						
						
						
						- Create 2 new events to replace the SCHEDULED_CHANGE_REQUEST_EXECUTED
event
- Handle the 3 events in slack-app and webhook addon definitions
3 events handled:
- CHANGE_REQUEST_SCHEDULED
- CHANGE_REQUEST_SCHEDULED_APPLICATION_SUCCESS
- CHANGE_REQUEST_SCHEDULED_APPLICATION_FAILURE
Closes #
[1-1555](https://linear.app/unleash/issue/1-1555/update-change-request-scheduled-and-scheduled-change-request-executed )
Note: SCHEDULED_CHANGE_REQUEST_EXECUTED will be removed in follow up PR
not to break current enterprise build
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-23 15:00:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fredrik Strand Oseberg 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a8ea8d3fbe 
							
						 
					 
					
						
						
							
							Fix/clean last seen environments ( #5402 )  
						
						 
						
						... 
						
						
						
						This PR addresses some cleanup related to removing the
useLastSeenRefactor flag:
* Added fallback last seen to the feature table last_seen_at column 
* Remove foreign key on environment since we can not guarantee that we
will get valid data in this field
* Add environments to cleanup function
* Add test for cleanup environments 
						
					 
					
						2023-11-23 12:12:58 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							88a034d066 
							
						 
					 
					
						
						
							
							fix: dedupe any duplicate permissions ( #5397 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1656/create-db-migration-that-ensures-correct-state-of-permissions 
This adds a migration that dedupes any duplicate permissions. 
						
					 
					
						2023-11-23 10:23:21 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ivar Conradi Østhus 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce01687e3b 
							
						 
					 
					
						
						
							
							fix: Audit events for segments should include project id ( #5401 )  
						
						 
						
						
						
					 
					
						2023-11-23 10:32:49 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							937a605888 
							
						 
					 
					
						
						
							
							chore: remove variantTypeNumber flag ( #5382 )  
						
						 
						
						... 
						
						
						
						Closes #
[1-1648](https://linear.app/unleash/issue/1-1648/clean-varianttypenumber-flag-for-release )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-23 11:12:56 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1dafc85eaa 
							
						 
					 
					
						
						
							
							chore: remove playgroundImprovements flag ( #5384 )  
						
						 
						
						... 
						
						
						
						Closes #:
[1-1647](https://linear.app/unleash/issue/1-1647/clean-playgroundimprovements-flag-for-release )
[1-1665](https://linear.app/unleash/issue/1-1665/flaky-test-playgroundconnectionfieldsettesttsx )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-23 10:50:19 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								andreas-unleash 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3e12c2b5b6 
							
						 
					 
					
						
						
							
							Chore: remove disableEnvsOnRevive flag ( #5391 )  
						
						 
						
						... 
						
						
						
						Closes #
[1-1646](https://linear.app/unleash/issue/1-1646/clean-disableenvsonrevive-flag-for-release )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai> 
						
					 
					
						2023-11-23 10:10:37 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b211345a44 
							
						 
					 
					
						
						
							
							fix: if a strategy both uses a segment actively and in CRs, list it twice ( #5390 )  
						
						 
						
						... 
						
						
						
						This PR changes the behavior of the API a little bit. Instead of
removing any strategies from `changeRequestStrategies` that are also
in `strategies`, we keep them in instead.
The reason for this is that the overview of where a segment is used is
incomplete if it shows only strategies but not CRs. Imagine this:
You want to delete a segment, but you're told it's only used in strategy
S.
So you go and remove it from strategy S, but then you're told it's
suddenly used in CRs A, B, and C. This is now a two-step operation
with a bad surprise. Instead, we could show you immediately that this
segment is used in strategy S and CRs A, B, and C. 
						
					 
					
						2023-11-22 14:13:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							432aed3034 
							
						 
					 
					
						
						
							
							feat: support multiple terms in search, remove tag support in search ( #5395 )  
						
						 
						
						... 
						
						
						
						1. Removing tag support in search
2. Adding multi keyword support for search 
						
					 
					
						2023-11-22 15:06:07 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fredrik Strand Oseberg 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5414fa6663 
							
						 
					 
					
						
						
							
							Refactor/remove last seen at flag ( #5394 )  
						
						 
						
						... 
						
						
						
						This PR removes the feature flag for displaying the new last seen by
environments component. 
						
					 
					
						2023-11-22 13:32:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dc1aaf6d99 
							
						 
					 
					
						
						
							
							chore: only return change request data if the unleash instance is an enterprise instance ( #5331 )  
						
						 
						
						... 
						
						
						
						Otherwise, we might accidentally display CR data to open source users.
But more importantly, it might keep them from being able to delete a
segment that's in use by a CR in their database that they can't touch.
So by checking that they're on an enterprise instance, we avoid this
potential blocker.
I've added the `includeChangeRequestUsageData` parameter as a boolean
now, but I'm open to other suggestions. 
						
					 
					
						2023-11-22 12:15:29 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68558fc774 
							
						 
					 
					
						
						
							
							feat: able to search by description ( #5392 )  
						
						 
						
						
						
					 
					
						2023-11-22 14:08:52 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5dc3e830a8 
							
						 
					 
					
						
						
							
							feat: add CREATE_TAG_TYPE permission ( #5386 )  
						
						 
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1164/update-tag-type-covers-both-creation-and-update 
Adds a new `CREATE_TAG_TYPE` permission instead of using
`UPDATE_TAG_TYPE` for both actions. 
						
					 
					
						2023-11-22 10:20:19 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fac2578922 
							
						 
					 
					
						
						
							
							chore: avoid duplicates ( #5381 )  
						
						 
						
						... 
						
						
						
						This PR handles the case where a single strategy is used in multiple
change requests. Instead of listing the strategy several times in the
output, we consolidate the entries and add a new `changeRequestIds`
property. This is a non-empty list that points to all the change
requests it is used in.
This is required for us to be able to link back to the change requests
from the UI overview. 
						
					 
					
						2023-11-22 10:26:35 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Heartman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9ac3d7511a 
							
						 
					 
					
						
						
							
							chore: use query to get strategies instead of whether a segment is in use ( #5375 )  
						
						 
						
						... 
						
						
						
						This change is just a refactor, removing code that's no longer used. Instead of
checking just whether a segment is in use, we now extract the list of
strategies that use this segment. This is slightly more costly,
perhaps, but it will be necessary for the upcoming implementation. 
						
					 
					
						2023-11-22 06:54:28 +00:00