renovate[bot]
6503c1b9f0
chore(deps): update dependency husky to v9.1.4 ( #7765 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://togithub.com/typicode/husky ) | [`9.0.11` ->
`9.1.4`](https://renovatebot.com/diffs/npm/husky/9.0.11/9.1.4 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/husky/9.1.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/husky/9.1.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/husky/9.0.11/9.1.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/husky/9.0.11/9.1.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>typicode/husky (husky)</summary>
###
[`v9.1.4`](https://togithub.com/typicode/husky/compare/v9.1.3...fc549e0e5c8723a6d796f6ad26ef6590769f5d82 )
[Compare
Source](https://togithub.com/typicode/husky/compare/v9.1.3...v9.1.4 )
### [`v9.1.3`](https://togithub.com/typicode/husky/releases/tag/v9.1.3 )
[Compare
Source](https://togithub.com/typicode/husky/compare/v9.1.2...v9.1.3 )
- fix: better handle space in `PATH`
###
[`v9.1.2`](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2 )
[Compare
Source](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2 )
###
[`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772 )
[Compare
Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1 )
### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0 )
[Compare
Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0 )
<p>
<img
src="https://github.com/user-attachments/assets/72a03e68-e9c3-4644-94f9-d5ceb343aca5 "
height="500px" alt="" />
</p>
*Super saiyan ~~god~~ dog! It's over 9.0.0!*
*There's a bug with this release which prevents the deprecation notice
to appear and requires to remove `#!/usr/bin/env sh` and `. "$(dirname
-- "$0")/_/husky.sh"` (which are deprecated by the way). I'll publish a
new version to fix that. Sorry about any inconvenience.*
### What's new
You can now run package commands directly, no need for `npx` or
equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺 ⚡ ️
```diff
### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster
```
A new recipe has been added to the docs. Lint staged files without
external dependencies (inspired by Prettier docs). Feel free to modify
it.
```shell
### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
```
For more advanced use cases, see
[lint-staged](https://togithub.com/lint-staged/lint-staged ).
### Fixes
- `bunx husky init` command
- Workaround for some hooks implementation on Windows 🤷
### Deprecations
- Remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"`
from your hooks
- Move your code from `~/.huskyrc` to `.config/husky/init.sh`
Support for these will be removed in v10, notices have been added.
### Friendly reminder
If Git hooks don't fit your workflow, you can disable Husky globally.
Just add `export HUSKY=0` to `.config/husky/init.sh`.
I've seen some confusion about this on X, so just a heads-up!
### Sponsoring
Husky is downloaded over 45M times per month and used by ~1.5M projects.
If your company wants to sponsor, you can do so here: [GitHub
Sponsors](https://togithub.com/sponsors/typicode ).
**Have a nice summer ☀️ I'm open to new opportunities/consulting so feel
free to drop me a message 😉 **
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 23:13:38 +00:00
renovate[bot]
d33a9729b5
chore(deps): update dependency fast-check to v3.20.0 ( #7764 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fast-check](https://fast-check.dev/ )
([source](https://togithub.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ))
| [`3.19.0` ->
`3.20.0`](https://renovatebot.com/diffs/npm/fast-check/3.19.0/3.20.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.19.0/3.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.19.0/3.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>dubzzz/fast-check (fast-check)</summary>
###
[`v3.20.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3200 )
[Compare
Source](https://togithub.com/dubzzz/fast-check/compare/v3.19.0...v3.20.0 )
*New arbitraries to alter shrinking capabilities*
\[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.20.0 )]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.19.0...v3.20.0 )]
#### Features
- ([PR#5047](https://togithub.com/dubzzz/fast-check/pull/5047 ))
Introduce new `fc.noShrink` arbitrary
- ([PR#5050](https://togithub.com/dubzzz/fast-check/pull/5050 ))
Introduce new `fc.noBias` arbitrary
- ([PR#5006](https://togithub.com/dubzzz/fast-check/pull/5006 )) Add
ability to limit shrink path
- ([PR#5112](https://togithub.com/dubzzz/fast-check/pull/5112 )) Simplify
`limitShrink` before releasing
#### Fixes
- ([PR#5013](https://togithub.com/dubzzz/fast-check/pull/5013 )) CI: Drop
verbosity flag at unpack step in CI
- ([PR#5074](https://togithub.com/dubzzz/fast-check/pull/5074 )) CI:
Check types with multiple TypeScript
- ([PR#5015](https://togithub.com/dubzzz/fast-check/pull/5015 )) Doc:
Release note for 3.19.0
- ([PR#5016](https://togithub.com/dubzzz/fast-check/pull/5016 )) Doc: Fix
typo in the PR template
- ([PR#4858](https://togithub.com/dubzzz/fast-check/pull/4858 )) Doc:
Update Getting Started section in docs
- ([PR#5035](https://togithub.com/dubzzz/fast-check/pull/5035 )) Doc:
Remove duplicate paragraph in `your-first-race-condition-test.mdx`
- ([PR#5048](https://togithub.com/dubzzz/fast-check/pull/5048 )) Doc: Add
new contributors cindywu and nmay231
- ([PR#5097](https://togithub.com/dubzzz/fast-check/pull/5097 )) Doc: Add
warning on `noShrink`
- ([PR#5121](https://togithub.com/dubzzz/fast-check/pull/5121 )) Doc:
Document integration with other test runners
***
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 23:13:08 +00:00
renovate[bot]
51bbd6366b
chore(deps): update dependency vite to v5.3.5 ( #7762 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vitejs.dev )
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite )) |
[`5.3.3` -> `5.3.5`](https://renovatebot.com/diffs/npm/vite/5.3.3/5.3.5 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.3/5.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.3/5.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v5.3.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small535-2024-07-25-small )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.3.4...v5.3.5 )
- refactor(asset): remove rollup 3 public file watch workaround
([#​16331](https://togithub.com/vitejs/vite/issues/16331 ))
([66bdb1d](66bdb1d7b4
)),
closes [#​16331](https://togithub.com/vitejs/vite/issues/16331 )
- fix: make `server` type less restrictive (fix
[#​17627](https://togithub.com/vitejs/vite/issues/17627 ))
([#​17628](https://togithub.com/vitejs/vite/issues/17628 ))
([b55c32f](b55c32f7e3
)),
closes [#​17627](https://togithub.com/vitejs/vite/issues/17627 )
[#​17628](https://togithub.com/vitejs/vite/issues/17628 )
- fix: show error if vite client cannot be loaded
([#​17419](https://togithub.com/vitejs/vite/issues/17419 ))
([db5ab1d](db5ab1dfc4
)),
closes [#​17419](https://togithub.com/vitejs/vite/issues/17419 )
- fix(build): env output is not stable
([#​17748](https://togithub.com/vitejs/vite/issues/17748 ))
([b240a83](b240a8347e
)),
closes [#​17748](https://togithub.com/vitejs/vite/issues/17748 )
- fix(client): fix vite error path
([#​17744](https://togithub.com/vitejs/vite/issues/17744 ))
([3c1bde3](3c1bde3406
)),
closes [#​17744](https://togithub.com/vitejs/vite/issues/17744 )
- fix(css): resolve url aliases with fragments (fix:
[#​17690](https://togithub.com/vitejs/vite/issues/17690 ))
([#​17691](https://togithub.com/vitejs/vite/issues/17691 ))
([d906d3f](d906d3f8e1
))
- fix(deps): update all non-major dependencies
([#​17629](https://togithub.com/vitejs/vite/issues/17629 ))
([93281b0](93281b0e09
)),
closes [#​17629](https://togithub.com/vitejs/vite/issues/17629 )
- fix(importMetaGlob): handle alias that starts with hash
([#​17743](https://togithub.com/vitejs/vite/issues/17743 ))
([b58b423](b58b423ba8
)),
closes [#​17743](https://togithub.com/vitejs/vite/issues/17743 )
- fix(ssrTransform): sourcemaps with multiple sources
([#​17677](https://togithub.com/vitejs/vite/issues/17677 ))
([f321fa8](f321fa8de2
)),
closes [#​17677](https://togithub.com/vitejs/vite/issues/17677 )
- chore: extend commit hash
([#​17709](https://togithub.com/vitejs/vite/issues/17709 ))
([4fc9b64](4fc9b6424c
)),
closes [#​17709](https://togithub.com/vitejs/vite/issues/17709 )
- chore(deps): update all non-major dependencies
([#​17734](https://togithub.com/vitejs/vite/issues/17734 ))
([9983731](998373120c
)),
closes [#​17734](https://togithub.com/vitejs/vite/issues/17734 )
- chore(deps): update typescript
([#​17699](https://togithub.com/vitejs/vite/issues/17699 ))
([df5ceb3](df5ceb35b7
)),
closes [#​17699](https://togithub.com/vitejs/vite/issues/17699 )
- revert: fix(logger): truncate log over 5000 characters long
([#​16581](https://togithub.com/vitejs/vite/issues/16581 ))
([#​17729](https://togithub.com/vitejs/vite/issues/17729 ))
([f4f488f](f4f488fe83
)),
closes [#​16581](https://togithub.com/vitejs/vite/issues/16581 )
[#​17729](https://togithub.com/vitejs/vite/issues/17729 )
###
[`v5.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small534-2024-07-16-small )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.3.3...v5.3.4 )
- fix: update Terser type definitions (fix
[#​17668](https://togithub.com/vitejs/vite/issues/17668 ))
([#​17669](https://togithub.com/vitejs/vite/issues/17669 ))
([b723a75](https://togithub.com/vitejs/vite/commit/b723a75 )), closes
[#​17668](https://togithub.com/vitejs/vite/issues/17668 )
[#​17669](https://togithub.com/vitejs/vite/issues/17669 )
- fix(build): skip preload treeshaking for nested braces
([#​17687](https://togithub.com/vitejs/vite/issues/17687 ))
([4be96b4](https://togithub.com/vitejs/vite/commit/4be96b4 )), closes
[#​17687](https://togithub.com/vitejs/vite/issues/17687 )
- fix(css): include `.css?url` in assets field of manifest
([#​17623](https://togithub.com/vitejs/vite/issues/17623 ))
([1465b20](https://togithub.com/vitejs/vite/commit/1465b20 )), closes
[#​17623](https://togithub.com/vitejs/vite/issues/17623 )
- fix(worker): nested inlined worker always fallbacked to data URI
worker instead of using blob worker
([07bc489](https://togithub.com/vitejs/vite/commit/07bc489 )), closes
[#​17509](https://togithub.com/vitejs/vite/issues/17509 )
- refactor: replace includes with logical operations
([#​17620](https://togithub.com/vitejs/vite/issues/17620 ))
([c4a2227](https://togithub.com/vitejs/vite/commit/c4a2227 )), closes
[#​17620](https://togithub.com/vitejs/vite/issues/17620 )
- chore: add callback to http-proxy.d.ts jsdoc
([#​17646](https://togithub.com/vitejs/vite/issues/17646 ))
([d8a5d70](https://togithub.com/vitejs/vite/commit/d8a5d70 )), closes
[#​17646](https://togithub.com/vitejs/vite/issues/17646 )
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 19:00:35 +00:00
renovate[bot]
7eba1b8ee9
chore(deps): update dependency @swc/core to v1.7.3 ( #7763 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs )
([source](https://togithub.com/swc-project/swc )) | [`1.6.13` ->
`1.7.3`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.6.13/1.7.3 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.7.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.7.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.6.13/1.7.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.6.13/1.7.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc (@​swc/core)</summary>
###
[`v1.7.3`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#173---2024-07-27 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.7.2...v1.7.3 )
##### Bug Fixes
- **(es/decorators)** Fix TypeScript syntax assertion
([#​9336](https://togithub.com/swc-project/swc/issues/9336 ))
([acb3952](acb3952ae3
))
###
[`v1.7.2`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#172---2024-07-25 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.7.1...v1.7.2 )
##### Bug Fixes
- **(es/ast)** Accept any case of EsVersion during deserialization
([#​9329](https://togithub.com/swc-project/swc/issues/9329 ))
([56da6be](56da6be0e9
))
- **(es/typescrupt)** Fix ASI issue in fast ts strip
([#​9332](https://togithub.com/swc-project/swc/issues/9332 ))
([57146cf](57146cf58a
))
- **(swc_core)** Remove unused `preset_env`
([#​9333](https://togithub.com/swc-project/swc/issues/9333 ))
([75bc7bf](75bc7bfb52
))
##### Documentation
- **(bindings/wasm)** Document supported TypeScript version
([#​9334](https://togithub.com/swc-project/swc/issues/9334 ))
([66f31c0](66f31c0af4
))
###
[`v1.7.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#171---2024-07-24 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.7.0...v1.7.1 )
##### Bug Fixes
- **(bindings/types)** Add missing mangle options
([#​9298](https://togithub.com/swc-project/swc/issues/9298 ))
([567f40d](567f40d797
))
- **(deps)** Update cargo (patch)
([#​9317](https://togithub.com/swc-project/swc/issues/9317 ))
([ea66e84](ea66e84911
))
- **(es/ast)** Make span of binding ident include type ann
([#​9293](https://togithub.com/swc-project/swc/issues/9293 ))
([2b32481](2b324812ac
))
- **(es/minifier)** Support minifying JSX
([#​9271](https://togithub.com/swc-project/swc/issues/9271 ))
([9a6367b](9a6367b0f6
))
- **(es/typescript)** Fix typings
([#​9301](https://togithub.com/swc-project/swc/issues/9301 ))
([27ca712](27ca712812
))
- **(es/typescript)** Preserve type assertions
([#​9328](https://togithub.com/swc-project/swc/issues/9328 ))
([4d60f52](4d60f528d1
))
- **(es/utils)** Use `$crate` for `quote_ident!()`
([#​9309](https://togithub.com/swc-project/swc/issues/9309 ))
([bdaaf47](bdaaf47cb4
))
##### Features
- **(allocator)** Feature gate `nightly` via macros
([#​9274](https://togithub.com/swc-project/swc/issues/9274 ))
([a31fb58](a31fb58399
))
- **(allocator)** Add `maybe` types
([#​9278](https://togithub.com/swc-project/swc/issues/9278 ))
([a417ff4](a417ff4d86
))
- **(es/typescript)** Add esm build for fast ts strip
([#​9286](https://togithub.com/swc-project/swc/issues/9286 ))
([d10cb9f](d10cb9ffa2
))
##### Miscellaneous Tasks
- **(deps)** Update actions
([#​9311](https://togithub.com/swc-project/swc/issues/9311 ))
([475432e](475432e83a
))
- **(deps)** Update npm (patch)
([#​9318](https://togithub.com/swc-project/swc/issues/9318 ))
([9d983c3](9d983c3864
))
- **(deps)** Update `wasmer` to fix broken Windows build
([#​9322](https://togithub.com/swc-project/swc/issues/9322 ))
([a120faf](a120faf84b
))
- **(deps)** Drop `atty`
([#​9325](https://togithub.com/swc-project/swc/issues/9325 ))
([831500e](831500e24a
))
##### Performance
- **(allocator)** Use `std` instead of `allocator-api2`
([#​9281](https://togithub.com/swc-project/swc/issues/9281 ))
([88723db](88723dbf19
))
- **(es/codegen)** Use `Vec<T>` from `swc_allocator`
([#​9280](https://togithub.com/swc-project/swc/issues/9280 ))
([c1cd0b9](c1cd0b99c1
))
- **(es/codegen)** Optimize using `swc_allocator`
([#​9294](https://togithub.com/swc-project/swc/issues/9294 ))
([07376c6](07376c6fbb
))
- **(es/helpers)** Use `bool` instead of `AtomicBool`
([#​9321](https://togithub.com/swc-project/swc/issues/9321 ))
([8107e98](8107e985e1
))
- **(es/minifier)** Pre-allocate collections
([#​9289](https://togithub.com/swc-project/swc/issues/9289 ))
([76fe139](76fe139334
))
- **(visit)** Modify `Box` and `Vec` in-place
([#​9291](https://togithub.com/swc-project/swc/issues/9291 ))
([ae2ac05](ae2ac05b94
))
- **(visit)** Add `#[inline]`
([#​9302](https://togithub.com/swc-project/swc/issues/9302 ))
([0b3dbb8](0b3dbb8937
))
- Enable LTO for benchmarks
([#​9279](https://togithub.com/swc-project/swc/issues/9279 ))
([a3020b2](a3020b2bc7
))
##### Refactor
- Remove unused files
([#​9285](https://togithub.com/swc-project/swc/issues/9285 ))
([33284c1](33284c128e
))
##### Build
- Update `rustc` to `nightly-2024-07-21`
([#​9319](https://togithub.com/swc-project/swc/issues/9319 ))
([279ea91](279ea910e0
))
###
[`v1.7.0`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#170---2024-07-18 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.6.13...v1.7.0 )
##### Bug Fixes
- **(allocator)** Fix allocator & add benchmark
([#​9234](https://togithub.com/swc-project/swc/issues/9234 ))
([037dad5](037dad52f4
))
- **(allocator)** Remove wrong assertions and add tests
([#​9252](https://togithub.com/swc-project/swc/issues/9252 ))
([d8e8b04](d8e8b04cd8
))
- **(ci)** Fix CI of \`peff
([#​9216](https://togithub.com/swc-project/swc/issues/9216 ))
([602e0e5](602e0e5aa1
))
- **(es/codegen)** Fix codegen of large numeric literals
([#​9226](https://togithub.com/swc-project/swc/issues/9226 ))
([fba79e6](fba79e6f03
))
- **(es/compat)** Consider only the variables used in the closure
([#​9151](https://togithub.com/swc-project/swc/issues/9151 ))
([1357531](1357531805
))
- **(es/compat)** Add support for destructuring with BigInts
([#​9215](https://togithub.com/swc-project/swc/issues/9215 ))
([2cc7028](2cc70287e0
))
- **(es/fixer)** Wrap `in` expr in for-in head
([#​9209](https://togithub.com/swc-project/swc/issues/9209 ))
([5cd837f](5cd837f39a
))
- **(es/minifier)** Fix case matching
([#​9208](https://togithub.com/swc-project/swc/issues/9208 ))
([f81fa6e](f81fa6e063
))
- **(es/minifier)** Fix compress pow `NaN`
([#​9210](https://togithub.com/swc-project/swc/issues/9210 ))
([2b361e6](2b361e679a
))
- **(es/minifier)** Fix variable declaration in default branch
([#​9220](https://togithub.com/swc-project/swc/issues/9220 ))
([a7c82bd](a7c82bdfa9
))
- **(es/minifier)** Check `this` in function params
([#​9229](https://togithub.com/swc-project/swc/issues/9229 ))
([da4866d](da4866d13b
))
- **(es/minifier)** Remove optimization for array pattern
([#​9241](https://togithub.com/swc-project/swc/issues/9241 ))
([521161e](521161e170
))
- **(es/minifier)** Fix exponentiate operator
([#​9251](https://togithub.com/swc-project/swc/issues/9251 ))
([06bb533](06bb5338ce
))
- **(es/minifier)** Fix panic in bitwise logic and incorrect values
([#​9258](https://togithub.com/swc-project/swc/issues/9258 ))
([baeb9e2](baeb9e2df9
))
- **(es/minifier)** Collect raw str values for new Tpl element
([#​9261](https://togithub.com/swc-project/swc/issues/9261 ))
([6ddbfa0](6ddbfa04db
))
- **(es/modules)** Fix lint issue
([#​9206](https://togithub.com/swc-project/swc/issues/9206 ))
([efb8636](efb8636834
))
- **(es/quote)** Fix macro
([#​9270](https://togithub.com/swc-project/swc/issues/9270 ))
([93d9e44](93d9e44f1c
))
- **(es/typescript)** Handle unicode for fast ts strip
([#​9202](https://togithub.com/swc-project/swc/issues/9202 ))
([096bfe3](096bfe3751
))
- **(es/typescript)** Fix `transform` mode
([#​9243](https://togithub.com/swc-project/swc/issues/9243 ))
([0e79a5b](0e79a5b428
))
- **(es/typescript)** Workaround `wasm-bindgen`
([#​9272](https://togithub.com/swc-project/swc/issues/9272 ))
([6b1d2ff](6b1d2ff66b
))
##### Documentation
- **(allocator)** Mention `oxc_allocator`
([be99ce0](be99ce0a57
))
- **(contributing)** Fix deno installation url
([#​9249](https://togithub.com/swc-project/swc/issues/9249 ))
([ff5bbda](ff5bbdae6a
))
- **(es/minifier)** Add contributing section
([e22f3ba](e22f3ba9ad
))
##### Features
- **(allocator)** Initialize package
([#​9195](https://togithub.com/swc-project/swc/issues/9195 ))
([f3681cb](f3681cb340
))
- **(allocator)** Implement `SwcAlloc`
([#​9232](https://togithub.com/swc-project/swc/issues/9232 ))
([e343eb6](e343eb6de2
))
- **(allocator)** Add a cargo feature
([#​9239](https://togithub.com/swc-project/swc/issues/9239 ))
([398dc21](398dc21e07
))
- **(allocator)** Implement `default` mode
([#​9242](https://togithub.com/swc-project/swc/issues/9242 ))
([b6333db](b6333dbcfc
))
- **(es/typescript)** Add `transform` mode back to fast TS strip
([#​9237](https://togithub.com/swc-project/swc/issues/9237 ))
([8231e3c](8231e3cd4f
))
- **(es/utils)** Support for arrays using `cast_to_number`
([#​9212](https://togithub.com/swc-project/swc/issues/9212 ))
([2aef14d](2aef14d34d
))
##### Miscellaneous Tasks
- **(es)** Bump `unicode-id-start` to `v1.2.0`
([#​9177](https://togithub.com/swc-project/swc/issues/9177 ))
([9904a53](9904a53b7f
))
- **(es/typescript)** Improve decorator handling of fast strip
([#​9178](https://togithub.com/swc-project/swc/issues/9178 ))
([962170f](962170fb70
))
##### Performance
- **(allocator)** Drop `scoped_tls`
([#​9240](https://togithub.com/swc-project/swc/issues/9240 ))
([4ce2514](4ce2514d1b
))
- **(bindings)** Invert Wasm size shrink
([#​9224](https://togithub.com/swc-project/swc/issues/9224 ))
([aa7f791](aa7f791dfd
))
- **(bindings/wasm)** Shrink the size of the wasm file
([#​9191](https://togithub.com/swc-project/swc/issues/9191 ))
([3a23b3d](3a23b3d120
))
- **(es/codegen)** Use scoped allocator
([#​9248](https://togithub.com/swc-project/swc/issues/9248 ))
([970f323](970f32398c
))
- **(es/typescript)** Add a benchmark for fast TS strip
([#​9205](https://togithub.com/swc-project/swc/issues/9205 ))
([7d9364c](7d9364cad3
))
- **(es/visit)** Introduce `standard_only_*` macros
([#​9207](https://togithub.com/swc-project/swc/issues/9207 ))
([92879b1](92879b14fe
))
##### Refactor
- **(allocator)** Use `&` instead of a thread-local
([#​9235](https://togithub.com/swc-project/swc/issues/9235 ))
([8d5670e](8d5670e72b
))
- **(allocator)** Use RAII guard instead of `scope`
([#​9254](https://togithub.com/swc-project/swc/issues/9254 ))
([6e098ae](6e098aeeb5
))
- **(common)** Drop `SyntaxContext` from AST nodes
([#​9175](https://togithub.com/swc-project/swc/issues/9175 ))
([b2491e5](b2491e5461
))
- **(es)** Use `into` for AST construction
([#​9197](https://togithub.com/swc-project/swc/issues/9197 ))
([e7358e0](e7358e0f81
))
- **(es)** Use `Into` and `From` for AST construction
([#​9201](https://togithub.com/swc-project/swc/issues/9201 ))
([0960b23](0960b23c04
))
- **(es/codegen)** Revert
[#​9248](https://togithub.com/swc-project/swc/issues/9248 )
([#​9266](https://togithub.com/swc-project/swc/issues/9266 ))
([b9b233c](b9b233cacd
))
- **(es/helpers)** Remove unnecessary exports
([#​9225](https://togithub.com/swc-project/swc/issues/9225 ))
([69719c2](69719c2acb
))
- **(visit)** Pre-generate visitor code
([#​9262](https://togithub.com/swc-project/swc/issues/9262 ))
([9c17663](9c176632b1
))
##### Testing
- **(allocator)** Merge test
([#​9267](https://togithub.com/swc-project/swc/issues/9267 ))
([efc3963](efc396377f
))
- **(es/base)** Disable flaky benchmark
([#​9221](https://togithub.com/swc-project/swc/issues/9221 ))
([bd4bef1](bd4bef16fb
))
- Enable scoped API by default
([#​9247](https://togithub.com/swc-project/swc/issues/9247 ))
([e7ce94b](e7ce94b5ee
))
##### Pers
- **(es/ast)** Introduce `IdentName`
([#​9185](https://togithub.com/swc-project/swc/issues/9185 ))
([7b3e5b3](7b3e5b3f61
))
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 18:59:50 +00:00
renovate[bot]
9b57f2b473
chore(deps): update dependency vanilla-jsoneditor to v0.23.8 ( #7761 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor )
| [`0.23.7` ->
`0.23.8`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.23.7/0.23.8 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.23.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.23.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.23.7/0.23.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.23.7/0.23.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>josdejong/svelte-jsoneditor (vanilla-jsoneditor)</summary>
###
[`v0.23.8`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0238-2024-07-26 )
[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.23.7...v0.23.8 )
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 17:41:19 +00:00
renovate[bot]
6c89ccfd57
chore(deps): update dependency tss-react to v4.9.11 ( #7760 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev )
([source](https://togithub.com/garronej/tss-react )) | [`4.9.10` ->
`4.9.11`](https://renovatebot.com/diffs/npm/tss-react/4.9.10/4.9.11 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tss-react/4.9.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tss-react/4.9.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tss-react/4.9.10/4.9.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tss-react/4.9.10/4.9.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>garronej/tss-react (tss-react)</summary>
###
[`v4.9.11`](https://togithub.com/garronej/tss-react/releases/tag/v4.9.11 )
[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.9.10...v4.9.11 )
<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->
#### What's Changed
##### Other Changes
- New caching strat by [@​garronej](https://togithub.com/garronej )
in
[https://github.com/garronej/tss-react/pull/214 ](https://togithub.com/garronej/tss-react/pull/214 )
**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.10...v4.9.11
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 17:40:54 +00:00
Thomas Heartman
cd7697db62
feat: new useEventSearch hook ( #7757 )
...
Creates a new useEventSearch hook based on the useFeatureSearch hook.
Moves the old useEventSearch hook into useLegacyEventSearch and updates
references to it.
I don't know yet whether this'll work entirely as expected, but I plan
on making any necessary configurations when I implement the state
management in a follow-up PR.
But because this is pretty much a straight copy-paste from
useFeatureSearch (only adjusting types, I think), I also think it might
be possible to turn this into a generic search template. Not sure if now
is the time, but worth thinking about, I think.
2024-08-05 13:12:45 +00:00
Thomas Heartman
dd71fe32bb
Update front end schemas for new event search ( #7758 )
...
Updates the orval spec for the new event search.
2024-08-05 12:48:01 +00:00
Thomas Heartman
00f4c67c17
meta: use a default value (of nothing) for NODE_OPTIONS ( #7759 )
...
This makes the existing scripts work even if you don't have anything
assigned to that variable.
2024-08-05 14:31:25 +02:00
Jaanus Sellin
1a97515adf
feat: event search e2e tests ( #7755 )
...
This covers the e2e cases for event search.
2024-08-05 15:02:35 +03:00
Mateusz Kwasniewski
ecdae7fee7
feat: playground try configuration mode ( #7752 )
2024-08-05 12:34:24 +02:00
Thomas Heartman
6dde9082f1
refactor: simplify event log filters component and adds more data ( #7736 )
...
This change primarily adds all flags to the flag filter and restructures
the filters component. Instead of splitting into three smaller
components, we now handle more data in the main component.
We might wanna turn them back to smaller components later, but I think
this'll be easier to work with.
2024-08-05 10:07:23 +00:00
Mateusz Kwasniewski
fee318ab09
docs: insights v2 docs update ( #7692 )
2024-08-05 11:57:00 +02:00
Tymoteusz Czech
c37c86f7a0
fix: show api token on playground ( #7753 )
...
Fix CR condition preventing API token from showing up
2024-08-05 09:52:49 +00:00
Thomas Heartman
f89b8249f7
fix: decrease collaborator font size ( #7754 )
...
Decreases the collaborator font size to make it less eye-catching.
Before:
![image](https://github.com/user-attachments/assets/9a55d7fc-13eb-4656-aead-ca9e25100a63 )
After:
![image](https://github.com/user-attachments/assets/3b1e0f26-9fa7-4ae2-ad2c-dc68839c8197 )
2024-08-05 09:48:57 +00:00
Tymoteusz Czech
11612931b9
fix: insights health info link placement ( #7750 )
...
Fixing link placement on smaller screens.
2024-08-05 10:39:48 +02:00
Mateusz Kwasniewski
afa34867c1
fix: playground parent disabled with strategy ( #7744 )
2024-08-05 10:39:21 +02:00
Thomas Heartman
0284daf2ba
fix: Avoid collaborators being smooshed together ( #7741 )
...
Fixes an issue where the collaborator component would be smooshed
together when you have too many collaborators and too many flag tab
items.
The primary things I have done are:
1. Limit the amount of collaborators we show to 6 instead of 8. I
believe the number 8 was arbitrary, so let's go with 6 for now.
2. Instead of using a fixed gap, use a separator element that grows up
to a certain limit. I've added a `Separator` component, which is an
empty div with flex-grow. It feels like you should be able to do that
with gap too, but I can't think of how right now.
3. Don't allow collaborator component text (or avatars) to wrap. We
don't have a lot of space in this header, so let's keep it tight.
Additionally, I've added the `className` prop to the AvatarGroup
component so that it can be styled externally. I also cleaned up some
naming that was left in while I was at it.
Before:
![image](https://github.com/user-attachments/assets/98525a23-c086-433a-8f60-3e281805409f )
After:
![image](https://github.com/user-attachments/assets/559f8975-9cbe-4260-ba5a-409a303375ed )
2024-08-05 10:33:10 +02:00
renovate[bot]
3a00a6a5e6
chore(deps): update dependency semver to v7.6.3 ( #7749 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver ) | [`7.6.2` ->
`7.6.3`](https://renovatebot.com/diffs/npm/semver/7.6.2/7.6.3 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.2/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.2/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>npm/node-semver (semver)</summary>
###
[`v7.6.3`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#763-2024-07-16 )
[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.6.2...v7.6.3 )
##### Bug Fixes
-
[`73a3d79`](73a3d79c4e
)
[#​726](https://togithub.com/npm/node-semver/pull/726 ) optimize
Range parsing and formatting
([#​726](https://togithub.com/npm/node-semver/issues/726 ))
([@​jviide](https://togithub.com/jviide ))
##### Documentation
-
[`2975ece`](2975ece120
)
[#​719](https://togithub.com/npm/node-semver/pull/719 ) fix extra
backtick typo
([#​719](https://togithub.com/npm/node-semver/issues/719 ))
([@​stdavis](https://togithub.com/stdavis ))
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 00:53:57 +00:00
renovate[bot]
8965367275
chore(deps): update dependency semver to v7.6.3 ( #7748 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver ) | [`7.6.2` ->
`7.6.3`](https://renovatebot.com/diffs/npm/semver/7.6.2/7.6.3 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.2/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.2/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [semver](https://togithub.com/npm/node-semver ) | [`7.6.0` ->
`7.6.3`](https://renovatebot.com/diffs/npm/semver/7.6.0/7.6.3 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.0/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.0/7.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>npm/node-semver (semver)</summary>
###
[`v7.6.3`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#763-2024-07-16 )
[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.6.2...v7.6.3 )
##### Bug Fixes
-
[`73a3d79`](73a3d79c4e
)
[#​726](https://togithub.com/npm/node-semver/pull/726 ) optimize
Range parsing and formatting
([#​726](https://togithub.com/npm/node-semver/issues/726 ))
([@​jviide](https://togithub.com/jviide ))
##### Documentation
-
[`2975ece`](2975ece120
)
[#​719](https://togithub.com/npm/node-semver/pull/719 ) fix extra
backtick typo
([#​719](https://togithub.com/npm/node-semver/issues/719 ))
([@​stdavis](https://togithub.com/stdavis ))
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 00:53:28 +00:00
Tymoteusz Czech
301454838b
fix: strategy edit required param error ( #7747 )
...
Fixing error "Missing required path param: featureId", on editing
default project strategy.
2024-08-03 10:03:10 +02:00
renovate[bot]
a918fbb49d
chore(deps): update dependency sass to v1.77.8 ( #7746 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass ) | [`1.77.6` ->
`1.77.8`](https://renovatebot.com/diffs/npm/sass/1.77.6/1.77.8 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.77.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.77.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.77.6/1.77.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.77.6/1.77.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.77.8`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1778 )
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.77.7...1.77.8 )
- No user-visible changes.
###
[`v1.77.7`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1777 )
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.77.6...1.77.7 )
- Declarations that appear after nested rules are deprecated, because
the
semantics Sass has historically used are different from the semantics
specified by CSS. In the future, Sass will adopt the standard CSS
semantics.
See [the Sass website](https://sass-lang.com/d/mixed-decls ) for details.
- **Potentially breaking bug fix:** `//` in certain places such as
unknown
at-rule values was being preserved in the CSS output, leading to
potentially
invalid CSS. It's now properly parsed as a silent comment and omitted
from the
CSS output.
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 18:58:20 +00:00
Tymoteusz Czech
ebd9c5111e
tests: flexible strategy component stickiness and groupId ( #7735 )
...
Follow-up for #7713
2024-08-02 18:52:44 +00:00
Alvin Bryan
3325b2d09e
Rails tutorial ( #7737 )
...
And fixed a couple of typos in the Ruby tutorial 😄
---------
Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2024-08-02 16:31:02 +01:00
Mateusz Kwasniewski
4c55632313
chore: generate orval types ( #7742 )
2024-08-02 14:55:46 +02:00
Tymoteusz Czech
43c8152515
feat: Change request preview integration ( #7743 )
...
Use API to check change request evaluation
2024-08-02 14:35:48 +02:00
Jaanus Sellin
57a8b9da79
feat: event search on new endpoint, first test ( #7739 )
...
Changed the url of event search to search/events to align with
search/features. With that created a search controller to keep all
searches under there.
Added first test.
2024-08-02 15:07:21 +03:00
Thomas Heartman
993d87516d
fix: show "System" for system users, instead of "User ID n" where n is the project's number in the order. ( #7734 )
...
Fixes a bug introduced with the new tooltips where the system user was
shown as "User ID n" instead of "System". The "n" in this case is
actually the user's index number in the list of project owners
(including duplicates).
There's a few things happening:
1. Change the object for system owners: use `name` instead of
`description`. At the same time, remove the `description` property
completely because it's not used at the moment.
2. Remove the assignnment of `id: objectId(user)` to the user sent to
the User Avatar component. This was a leftover from when we split out
the AvatarGroup component, and is not something we use anymore.
Before:
![image](https://github.com/user-attachments/assets/bd348daf-c81e-4ea9-b8a9-f10af71a0da7 )
After:
![image](https://github.com/user-attachments/assets/d147f7c7-d683-43ac-9ee2-6116f155dad6 )
2024-08-02 11:29:31 +00:00
Tymoteusz Czech
4b6813aa5e
Playground fields with Change request ( #7724 )
...
using `changeRequest` value from URL
2024-08-02 11:01:29 +00:00
Mateusz Kwasniewski
65131727c1
feat: add projects and environments to cr preview ( #7740 )
2024-08-02 12:56:29 +02:00
Thomas Heartman
ca35ca1b24
chore[demo]: update handling of strategy deletion for demo walkthrough ( #7719 )
...
This PR makes some small changes to how we handle strategy deletion in
the demo environment, which has become extra important with the recent
soft limits.
The changes are:
- lower the strategy limit from 30 to 25. The standard limit is 30, so
we want to make sure we're below that.
- when checking whether we should delete a strategy, check whether we're
**at or above** the limit. It used to only check if we were above, but
if soft limits would prevent you from adding more, then you'd never be
able to go above the limit.
- Also delete strategies for step3.
2024-08-02 11:13:42 +02:00
Tymoteusz Czech
a676b1bc20
fix: strategy parameters UI ( #7713 )
...
Old versions of Unleash allow for creating "Gradual Rollout" strategies
without `groupId` or `stickiness`. UI will now populate those fields,
not getting stuck when editing strategies without said fields.
2024-08-02 11:11:58 +02:00
Thomas Heartman
2d0fb765f0
fix: align event log filter buttons ( #7726 )
...
Fixes an issue where the filter buttons were both too far down and too
far to the right.
The issue was that the wrapper body imposed a pretty substantial bit
of padding. However, the filter buttons already came with their own
bit of padding. The result of this was alignment issues.
To fix it I have:
- opened the `Filters` component up to be styled with styled components
And conditionally (when isEnterprise and the flag is on):
- set the page body to have no padding.
- added a wrapper with padding around the event search results for
This feels a little messy to me, but I also think that because it's
still in heavy development, it might change later. I'd be happy to have
suggestions forbetter implementations.
What makes this extra tricky is that the top padding differs depending
on whether you have the filters there or not, so I couldn't find a way
to just remove that component and be done with it. I may very well have
missed somehing, though.
Before:
![image](https://github.com/user-attachments/assets/1552d1ec-2c14-450f-9ce8-8e74389f11a1 )
After:
![image](https://github.com/user-attachments/assets/d58b6fe5-437f-4488-bf01-cabfef669e2e )
2024-08-02 11:09:55 +02:00
Thomas Heartman
643cfeb5bb
chore: use EventSchema instead of IEvent ( #7732 )
...
Changes the type used by the useEventSearch hook to be `EventSchema`
from OpenAPI instead. This is more accurate with what we're actually
getting. And crucially for the event log search, it contains the
`createdByUserId` property that we need to filter out events.
It's mostly a straightforward find and replace except for one instance
where we need to do some extra fiddling. There's an inline comment
explaining that.
2024-08-02 11:05:42 +02:00
Thomas Heartman
6458d461b9
feat: add event types to filter button ( #7733 )
...
Add event types to the event log filter button.
The event types are taken from the OpenAPI definition.
2024-08-02 10:25:25 +02:00
Jaanus Sellin
bcb7a803d0
feat: new event search ( #7708 )
...
This introduces the new event search API, with paging.
2024-08-02 10:56:42 +03:00
Mateusz Kwasniewski
5cd657065f
feat: copy strategy to current environment ( #7730 )
2024-08-02 09:46:57 +02:00
renovate[bot]
e0f7146402
chore(deps): update dependency msw to v2.3.4 ( #7729 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io ) ([source](https://togithub.com/mswjs/msw )) |
[`2.3.1` -> `2.3.4`](https://renovatebot.com/diffs/npm/msw/2.3.1/2.3.4 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.3.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.3.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.3.1/2.3.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.3.1/2.3.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
### [`v2.3.4`](https://togithub.com/mswjs/msw/releases/tag/v2.3.4 )
[Compare Source](https://togithub.com/mswjs/msw/compare/v2.3.3...v2.3.4 )
#### v2.3.4 (2024-07-23)
##### Bug Fixes
- **cookieStore:** remove left-over `console.log`
([#​2217](https://togithub.com/mswjs/msw/issues/2217 ))
([`00fdbb2`](00fdbb265d
))
[@​Lalem001](https://togithub.com/Lalem001 )
### [`v2.3.3`](https://togithub.com/mswjs/msw/releases/tag/v2.3.3 )
[Compare Source](https://togithub.com/mswjs/msw/compare/v2.3.2...v2.3.3 )
#### v2.3.3 (2024-07-23)
##### Bug Fixes
- implement cookie persistence using `tough-cookie`
([#​2206](https://togithub.com/mswjs/msw/issues/2206 ))
([`c30613c`](c30613c2ba
))
[@​kettanaito](https://togithub.com/kettanaito )
- support async generators as response resolvers
([#​2108](https://togithub.com/mswjs/msw/issues/2108 ))
([`d38fc3d`](d38fc3dd64
))
[@​kettanaito](https://togithub.com/kettanaito )
[@​jakebailey](https://togithub.com/jakebailey )
### [`v2.3.2`](https://togithub.com/mswjs/msw/releases/tag/v2.3.2 )
[Compare Source](https://togithub.com/mswjs/msw/compare/v2.3.1...v2.3.2 )
#### v2.3.2 (2024-07-19)
##### Bug Fixes
- support typescript@5.5 (deprecate v4.7)
([#​2190](https://togithub.com/mswjs/msw/issues/2190 ))
([`7df2533`](7df2533c18
))
[@​KaiSpencer](https://togithub.com/KaiSpencer )
[@​kettanaito](https://togithub.com/kettanaito )
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 02:07:28 +00:00
renovate[bot]
c0b7afec19
chore(deps): update dependency enhanced-resolve to v5.17.1 ( #7728 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve ) |
[`5.17.0` ->
`5.17.1`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.17.0/5.17.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/enhanced-resolve/5.17.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/enhanced-resolve/5.17.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/enhanced-resolve/5.17.0/5.17.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/enhanced-resolve/5.17.0/5.17.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve (enhanced-resolve)</summary>
###
[`v5.17.1`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.17.1 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.17.0...v5.17.1 )
- fix: `exports` and `imports` array target resolving
- perf(memory): avoid creating a new array inside doResolve
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 22:55:58 +00:00
renovate[bot]
8df2fe0d41
chore(deps): update dependency cypress to v13.13.1 ( #7727 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://cypress.io )
([source](https://togithub.com/cypress-io/cypress )) | [`13.13.0` ->
`13.13.1`](https://renovatebot.com/diffs/npm/cypress/13.13.0/13.13.1 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.13.0/13.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.13.0/13.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>cypress-io/cypress (cypress)</summary>
###
[`v13.13.1`](https://togithub.com/cypress-io/cypress/releases/tag/v13.13.1 )
[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.13.0...v13.13.1 )
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-1
</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 18:09:14 +00:00
Tymoteusz Czech
8aa812e0f5
feat: Orphaned tokens - new API tokens list icon ( #7693 )
...
Moving warning icon from "projects" column, to left icon.
2024-08-01 14:31:42 +00:00
Gastón Fournier
fc02581a10
docs: add subpages of edge documentation ( #7720 )
...
When all edge documentation was in a single page, we had all of it here:
https://docs.getunleash.io/reference/unleash-edge but after splitting up
https://github.com/Unleash/unleash-edge/pull/475 some of that
documentation is not present in our docs and we should probably have
them as sub-pages
This change allows us to include subpages for external documentation.
Note that the key of the subpage needs to match the remote path
Checkout the preview:
https://unleash-docs-git-add-edge-subpages-unleash-team.vercel.app/
![image](https://github.com/user-attachments/assets/4b87fe25-fca6-4995-b296-aa58caab4f62 )
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-08-01 14:48:58 +02:00
Mateusz Kwasniewski
bbefff5d5a
refactor: rename rollback to more explicit rollbackTransaction ( #7723 )
2024-08-01 13:49:49 +02:00
Tymoteusz Czech
d1e70eefbe
feat: Remove orphaned tokens flags ( #7714 )
...
Cleanup of `allowOrphanedWildcardTokens` and `cleanApiTokenWhenOrphaned`
2024-08-01 13:31:52 +02:00
Mateusz Kwasniewski
5668bfb7d4
feat: preview changes button ( #7722 )
2024-08-01 11:59:35 +02:00
Tymoteusz Czech
4aa3a64530
feat: UI for playground of change requests ( #7721 )
...
## About the changes
UI draft
2024-08-01 11:16:35 +02:00
Thomas Heartman
f1e95108d1
Wip: split out avatar group; use same tooltip for all avatars ( #7681 )
...
Extracts the Avatar Group component into a `common` component and adds a
standard tooltip to all avatars.
Relates to linear issue 1-2606
This is a suggestion / proof of concept for how we can solve it. While I
think we can merge this as is, I'd also be happy to take any discussions
on other ways to approach it etc.
## Why are these changes made together?
Because extracting the avatar group without adding the new tooltip data
made the existing tooltip misbehave (it'd show up in the top left of the
screen, not synced to the avatar in any way).
I probably could have (and still can if you think it's prudent) split it
out such that the avatar gets a standardized tooltip first (and disable
it for the group card avatars), and split out the avatars in a
follow-up. Happy to do that if you think it's better.
## What does this mean?
It used to be that we had no consistent way of dealing with avatars and
tooltips. Some places had them, some places didn't. This change makes it
so that all avatars that we can show tooltips for will get the same
tooltip.
Previously, we had at least 4 different ways of dealing with tooltips:
- The HTML tooltip (that would be standardized with this PR) in the
project flags table
![image](https://github.com/user-attachments/assets/91098d31-a5e3-4091-9125-332fe5d106fd )
- The "title" that you'd get on your user avatar
![image](https://github.com/user-attachments/assets/39062b61-db8c-4bd5-9fa3-3ecc9bc192ee )
- The group card list tooltip
![image](https://github.com/user-attachments/assets/0d4a696a-e944-446c-8bff-4dcec02d8afb )
- And sometimes you'd get nothing at all
![image](https://github.com/user-attachments/assets/8975afaf-9ca1-4eb6-b443-9ab94b52bbd8 )
with this change, we'll always show the same kind of tooltip if we can:
![image](https://github.com/user-attachments/assets/974c592c-c844-4b65-8a55-05e84d3df130 )
## What goes in the tooltip?
We use the `UserAvatar` component for a fair few different things and I
didn't want to extract separate components for all the different use
cases. Instead, I wanted to get an overview over what we use it for and
what is relevant info to show.
I found all the places we used it and tried to form an opinion.
This tooltip will work with a user's email, name, username, and id. If
there is no user (such as for empty avatars and avatars displaying only
"+n" for remaining members), we show no tooltip.
Following the example set by the group card avatars, we'll try to use
email or username (in that order) as the main bit of text. If the user
has an email or a username and also a name, the name will be used as
secondary text.
If the user does not have an email or username, but has a name, we'll
use the name as the main text.
If the user does not have an email, a username, or a name, we'll try to
show "User ID: N" if they have an id.
If they do not have a username, a name, an email, or an ID, we bail out
and show nothing.
## Why can you disable the tooltip?
In some cases, you might want to disable the tooltip because you have
more information to feed into it. An example of that is in the project
flags table, where we want to show more information in cases where the
user is 'unknown':
![image](https://github.com/user-attachments/assets/758b4e86-e934-47e3-91ce-ce900f76bc54 )
## Additional fixes
This PR also adds a few lines of CSS to fix a minor avatar layout bug.
Before:
![image](https://github.com/user-attachments/assets/0150efbf-c51a-40bb-898f-7ddd3565ce21 )
After:
![image](https://github.com/user-attachments/assets/f337cf68-c572-4610-b1de-a27749325da8 )
2024-08-01 10:45:24 +02:00
Thomas Heartman
0c53f7d21b
feat: create gauges for all resource limits ( #7718 )
...
This PR adds Grafana gauges for all the existing resource limits. The
primary purpose is to be able to use this in alerting. Secondarily, we
can also use it to get better insights into how many customers have
increased their limits, as well as how many people are approaching their
limit, regdardless of whether it's been increased or not.
## Discussion points
### Implementation
The first approach I took (in
87528b4c67
),
was to add a new gauge for each resource limit. However, there's a lot
of boilerplate for it.
I thought doing it like this (the current implementation) would make it
easier. We should still be able to use the labelName to collate this in
Grafana, as far as I understand? As a bonus, we'd automatically get new
resource limits when we add them to the schema.
``` tsx
const resourceLimit = createGauge({
name: 'resource_limit',
help: 'The maximum number of resources allowed.',
labelNames: ['resource'],
});
// ...
for (const [resource, limit] of Object.entries(config.resourceLimits)) {
resourceLimit.labels({ resource }).set(limit);
}
```
That way, when checking the stats, we should be able to do something
like this:
``` promql
resource_limit{resource="constraintValues"}
```
### Do we need to reset gauges?
I noticed that we reset gauges before setting values in them all over
the place. I don't know if that's necessary. I'd like to get that double
clarified before merging this.
2024-08-01 09:59:25 +02:00
Thomas Heartman
7db42453b1
feat: add filter dropdowns to event log pages ( #7711 )
...
Adds placeholder filter buttons (that don't work at all) yet to the
three event logs.
Flag logs get to choose to and from dates, created by, and event type.
Project logs get all that flag logs get + a filter for flag.
The global log gets all project log filters + a project filter.
There's still work to be done to add data to createdBy, eventType, to
hook it up to the API, and to finalize the layout, but I wanted to get a
rough outline in to iterate on later. The eventType icon will also need
to be decided on.
![image](https://github.com/user-attachments/assets/06a65301-9cc5-45ed-b753-2b9235d64ea6 )
2024-08-01 08:23:22 +02:00
renovate[bot]
cab18d2881
chore(deps): update dependency browserslist to v4.23.2 ( #7717 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.23.1` ->
`4.23.2`](https://renovatebot.com/diffs/npm/browserslist/4.23.1/4.23.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.23.1/4.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.23.1/4.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist (browserslist)</summary>
###
[`v4.23.2`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#4232 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.23.1...4.23.2 )
- Updated Firefox ESR.
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 00:50:21 +00:00