Tymoteusz Czech 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68eb3dec07 
							
						 
					 
					
						
						
							
							fix: upgrade unleash-client to v5.3.0 ( #5800 )  
						
						
						
					 
					
						2024-01-24 09:12:07 +01:00 
						 
				 
			
				
					
						
							
							
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9f550331ce 
							
						 
					 
					
						
						
							
							chore: validate all tables have primary keys ( #6005 )  
						
						... 
						
						
						
						## About the changes
This is a helpful reminder to have primary keys in all our tables.
Related to [#4303 ](https://github.com/Unleash/unleash/issues/4303 ) 
						
					 
					
						2024-01-23 16:38:16 +01:00 
						 
				 
			
				
					
						
							
							
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b91df61994 
							
						 
					 
					
						
						
							
							chore: re use extract user methods ( #5947 )  
						
						... 
						
						
						
						## About the changes
1. Re-use existing methods in extract-user.ts:
70f6a07f2c/src/lib/features/events/event-service.ts (L93-L101)70f6a07f2c/src/lib/services/event-service.ts (L1-L4)70f6a07f2c/src/lib/db/event-store.ts (L1-L4) 
						
					 
					
						2024-01-18 13:15:21 +01:00 
						 
				 
			
				
					
						
							
							
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ceaaf3d0f3 
							
						 
					 
					
						
						
							
							feat: admin token calls get an admin token user ( #5924 )  
						
						... 
						
						
						
						## About the changes
Whenever we get a call from an admin token we want to associate it with
the [admin token
user](4d42093a07/src/lib/types/core.ts (L34-L41) 
						
					 
					
						2024-01-17 16:55:59 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Brooks 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1392b10727 
							
						 
					 
					
						
						
							
							fix(import): making all imports relative and removing baseUrl ( #5847 )  
						
						... 
						
						
						
						Co-authored-by: Simon Hornby <liquidwicked64@gmail.com> 
						
					 
					
						2024-01-17 15:33:03 +02:00 
						 
				 
			
				
					
						
							
							
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ee08bd8d42 
							
						 
					 
					
						
						
							
							chore(deps): update dependency @types/supertest to v6 ( #5926 )  
						
						... 
						
						
						
						Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 
						
					 
					
						2024-01-17 13:36:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							16691d72d7 
							
						 
					 
					
						
						
							
							refactor: metrics in feature oriented architecture ( #5919 )  
						
						
						
					 
					
						2024-01-17 09:14:31 +01:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f6c0624869 
							
						 
					 
					
						
						
							
							feat: prevent double daily metrics insert ( #5906 )  
						
						
						
					 
					
						2024-01-16 13:52:56 +01:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65eb8956e1 
							
						 
					 
					
						
						
							
							feat: Prometheus last day metrics ( #5878 )  
						
						
						
					 
					
						2024-01-15 15:31:38 +01:00 
						 
				 
			
				
					
						
							
							
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1c84a81178 
							
						 
					 
					
						
						
							
							fix: include custom root roles in user access overview ( #5898 )  
						
						... 
						
						
						
						https://linear.app/unleash/issue/2-1844/fix-add-custom-root-roles-to-user-access-overview 
I noticed our user access overview method did not take into account
custom root roles, which meant only users with default root roles were
being returned.
This changes the query to check for `IN ('root', 'root-custom')`
instead, including both "root" and "custom root" roles.
 
					
						2024-01-15 13:38:31 +00:00 
						 
				 
			
				
					
						
							
							
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ba37e8622 
							
						 
					 
					
						
						
							
							feat: list all root roles in SSO config ( #5887 )  
						
						... 
						
						
						
						Lists all root roles in SSO config, including custom root roles.
 
						
					 
					
						2024-01-15 13:13:29 +00:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8eb5a53ad9 
							
						 
					 
					
						
						
							
							feat: metrics calculation limit ( #5853 )  
						
						
						
					 
					
						2024-01-12 12:32:31 +01:00 
						 
				 
			
				
					
						
							
							
								Christopher Kolstad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a3bb1ffc3 
							
						 
					 
					
						
						
							
							Biome1.5.1 ( #5867 )  
						
						... 
						
						
						
						Lots of work here, mostly because I didn't want to turn off the
`noImplicitAnyLet` lint. This PR tries its best to type all the untyped
lets biome complained about (Don't ask me how many hours that took or
how many lints that was >200...), which in the future will force test
authors to actually type their global variables setup in `beforeAll`.
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io> 
						
					 
					
						2024-01-12 09:25:59 +00:00 
						 
				 
			
				
					
						
							
							
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b496990f79 
							
						 
					 
					
						
						
							
							chore: add no unused imports biome rule ( #5855 )  
						
						... 
						
						
						
						Adds a Biome rule for "no unused imports", which is something we
sometimes have trouble catching.
We're adding this as a warning for now. It is safely and easily fixable
with `yarn lint:fix`.

 
						
					 
					
						2024-01-11 12:44:05 +00:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca3b4c5057 
							
						 
					 
					
						
						
							
							feat: Metrics api returning daily data ( #5830 )  
						
						
						
					 
					
						2024-01-11 10:39:41 +01:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d71108526e 
							
						 
					 
					
						
						
							
							feat: read extended metrics from more than 48 hours ( #5822 )  
						
						
						
					 
					
						2024-01-10 11:48:06 +01:00 
						 
				 
			
				
					
						
							
							
								renovate[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							92ae2235a0 
							
						 
					 
					
						
						
							
							chore(deps): update dependency @biomejs/biome to v1.4.1 ( #5709 )  
						
						... 
						
						
						
						[](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/tree/HEAD/packages/@biomejs/biome ))
| [`1.4.0` ->
`1.4.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.4.0/1.4.1 )
|
[](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.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#141-2023-11-30 )
[Compare
Source](889593e3f9...a887513062https://togithub.com/biomejs/biome/issues/933 ). Some
files are properly ignored in the LSP too. E.g. `package.json`,
`tsconfig.json`, etc.
##### Formatter
##### Bug fixes
- Fix some accidental line breaks when printing array expressions within
arrow functions and other long lines
[#​917](https://togithub.com/biomejs/biome/pull/917 ). Contributed
by [@​faultyserver](https://togithub.com/faultyserver )
- Match Prettier's breaking strategy for `ArrowChain` layouts
[#​934](https://togithub.com/biomejs/biome/pull/934 ). Contributed
by [@​faultyserver](https://togithub.com/faultyserver )
- Fix double-printing of leading comments in arrow chain expressions
[#​951](https://togithub.com/biomejs/biome/pull/951 ). Contributed
by [@​faultyserver](https://togithub.com/faultyserver )
##### Linter
##### Bug fixes
- Fix [#​910](https://togithub.com/biomejs/biome/issues/910 ),
where the rule `noSvgWithoutTitle` should skip elements that have
`aria-hidden` attributes. Contributed by
[@​vasucp1207](https://togithub.com/vasucp1207 )
##### New features
-   Add [useForOf](https://biomejs.dev/linter/rules/use-for-of ) rule.
The rule recommends a for-of loop when the loop index is only used to
read from an array that is being iterated.
Contributed by [@​victor-teles](https://togithub.com/victor-teles )
##### Enhancement
- Implements
[#​924](https://togithub.com/biomejs/biome/issues/924 ) and
[#​920](https://togithub.com/biomejs/biome/issues/920 ).
[noUselessElse](https://biomejs.dev/linter/rules/no-useless-else ) now
ignores `else` clauses that follow at least one `if` statement that
doesn't break early. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
    For example, the following code is no longer reported by the rule:
    ```js
    function f(x) {
        if (x < 0) {
          // this `if` doesn't break early.
        } else if (x > 0) {
            return x;
        } else {
            // This `else` block was previously reported as useless.
        }
    }
    ```
##### Bug fixes
- Fix [#​918](https://togithub.com/biomejs/biome/issues/918 ),
[useSimpleNumberKeys](https://biomejs.dev/linter/rules/use-simple-number-keys )
no longer repports false positive on comments. Contributed by
[@​kalleep](https://togithub.com/kalleep )
- Fix [#​953](https://togithub.com/biomejs/biome/issues/953 ),
[noRedeclare](https://biomejs.dev/linter/rules/no-redeclare ) no longer
reports type parameters with the same name in different mapped types as
redeclarations. Contributed by
[@​Conaclos](https://togithub.com/Conaclos )
- Fix [#​608](https://togithub.com/biomejs/biome/issues/608 ),
[useExhaustiveDependencies](https://biomejs.dev/linter/rules/use-exhaustive-dependencies )
no longer repports missing dependencies for React hooks without
dependency array. Contributed by
[@​kalleep](https://togithub.com/kalleep )
##### Parser
</details>
---
### Configuration
📅  **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Leek <david@getunleash.io> 
						
					 
					
						2024-01-10 09:11:49 +00:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c0c4e70ea 
							
						 
					 
					
						
						
							
							feat: Schedule daily metrics deletion ( #5807 )  
						
						
						
					 
					
						2024-01-10 08:52:40 +01:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1b04e4b8d 
							
						 
					 
					
						
						
							
							feat: Aggregate daily metrics ( #5804 )  
						
						
						
					 
					
						2024-01-09 13:46:49 +01:00 
						 
				 
			
				
					
						
							
							
								Jaanus Sellin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dc0df235dd 
							
						 
					 
					
						
						
							
							chore: remove private projects flag ( #5743 )  
						
						
						
					 
					
						2024-01-02 15:53:26 +02:00 
						 
				 
			
				
					
						
							
							
								Nuno Góis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cda7d2070c 
							
						 
					 
					
						
						
							
							test: specify custom config in dbm ( #5550 )  
						
						... 
						
						
						
						Was having some trouble running these migration tests locally due to
`dbm` not correctly picking up the passed in config. This fixes it by
setting the custom config property after it has been initialized, always
overriding any wrong values.
PS: I think I found the issue. `dbm` was prioritizing my `DATABASE_URL`
for some reason, as I started having issues when it was set, and stopped
having issues when I unset it.
I still think this is a good change, as it prevents similar
hard-to-debug issues in the future.
To help clarify this, running this locally:
- `export
DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash`
 - `yarn test dedupe-permissions`
Fails on `main`, but passes on this branch. For some reason the `dbm`
instance prioritizes whatever is set in `DATABASE_URL` instead of the
options that are passed in `getInstance`. 
						
					 
					
						2024-01-02 10:47:59 +00:00 
						 
				 
			
				
					
						
							
							
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9ac1070f43 
							
						 
					 
					
						
						
							
							feat: implement createdByUserId for all features ( #5725 )  
						
						... 
						
						
						
						## About the changes
Implements setting values on the created_by_user_id column on the
features table in the db 
						
					 
					
						2023-12-22 14:33:16 +01:00 
						 
				 
			
				
					
						
							
							
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1dadd23594 
							
						 
					 
					
						
						
							
							chore:system user and events created by userid migrations ( #5612 )  
						
						... 
						
						
						
						## About the changes
Migrations for:
- Adds column is_system to users
- Inserts unleash_system_user id -1337 to users 
includes `is_system: false` in the activeUsers and activeAccounts where filter
Tested by running:
`
select * into users_pre_check from users where id > -1;
delete from users where id > -1;
`
before starting unleash, then inspecting users table after unleash has
started and verifying that an 'admin' user has been created.
---------
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai> 
						
					 
					
						2023-12-22 11:19:39 +01:00 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60d3768ab1 
							
						 
					 
					
						
						
							
							fix: copy last seen at from env ( #5713 )  
						
						
						
					 
					
						2023-12-21 12:37:28 +01:00 
						 
				 
			
				
					
						
							
							
								David Leek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e56d1d8d5 
							
						 
					 
					
						
						
							
							feat: implement column created_by_user_id in feature_tag ( #5695 )  
						
						... 
						
						
						
						## About the changes
Adds the new nullable column created_by_user_id to the data used by
feature-tag-store and feature-tag-service. Also updates openapi schemas. 
						
					 
					
						2023-12-21 10:00:45 +01:00 
						 
				 
			
				
					
						
							
							
								Gastón Fournier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							061bd7ef32 
							
						 
					 
					
						
						
							
							chore: use semver compatible version ( #5678 )  
						
						... 
						
						
						
						## About the changes
Replicate the change made to respect semver 
						
					 
					
						2023-12-19 12:47:03 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a6cb0c527 
							
						 
					 
					
						
						
							
							refactor: tag type service feature oriented architecture and tx support ( #5489 )  
						
						
						
					 
					
						2023-11-29 11:44:56 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f6bc418bdd 
							
						 
					 
					
						
						
							
							feat: updated default strategy event ( #5462 )  
						
						
						
					 
					
						2023-11-28 14:59:20 +01: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...889593e3f9https://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 
						 
				 
			
				
					
						
							
							
								Mateusz Kwasniewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c6f878682f 
							
						 
					 
					
						
						
							
							fix: naming pattern update event should keep old project settings ( #5443 )  
						
						
						
					 
					
						2023-11-28 08:25:07 +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 
						 
				 
			
				
					
						
							
							
								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