1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

11948 Commits

Author SHA1 Message Date
Tymoteusz Czech
80a9591d37
Fix/metrics chip adhock improvement (#7976)
On flag metrics page
2024-08-26 12:28:21 +02:00
Melinda Fekete
499c9cebfd
Update collaboration mode docs (#7864) 2024-08-23 17:17:57 +02:00
Jaanus Sellin
08b0bfe291
chore: move flags widget 2 widgets down (#7977)
Moving flags 2 widgets down
2024-08-23 16:35:39 +03:00
Thomas Heartman
9af42b3565
fix: add migration to normalize api token types (#7974)
Adds a migration to normalize api token types already in the database,
to remove any weird casing issues as currently demonstrated on sandbox


![image](https://github.com/user-attachments/assets/ad14db22-114d-4de2-b952-722df9ae84a4)

This is a companion piece to #7972
2024-08-23 13:29:49 +02:00
Mateusz Kwasniewski
1f3cc3917e
fix: split features schema into archived and project features (#7973) 2024-08-23 12:59:39 +02:00
Thomas Heartman
4693f7c598
fix: normalize casing for API token types before insert (#7972)
Fixes a bug where if you had API keys using different casing for the
same type, they'd come out as different types in the API token count
map. To get around it, we normalize the keys to lowercase before
inserting them into the map, taking into account any previous values
that might have existed for that type.

Should fix issues like this:

![image](https://github.com/user-attachments/assets/1fe218ed-7729-4a06-9a10-f4c8c7831bf8)
2024-08-23 12:53:53 +02:00
Thomas Heartman
7f7891dc8e
docs: mention what the minimum values are if you override the limits (#7971)
Adds a note to the resource limit docs about what resources have a minimum limit of 1.

Also updates the availability note in preparation for 6.2 GA

---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2024-08-23 09:06:13 +02:00
Jaanus Sellin
f7d5c8e12d
feat: introduce new icons for import/export (#7970)
We found good one for export from MUI, but needed to created similar one
for import.


![image](https://github.com/user-attachments/assets/f8ed2f07-5c8b-4829-a298-4b5e7311b059)
2024-08-22 15:04:50 +03:00
gitar-bot[bot]
4615ff40ce
[Gitar] Cleaning up stale flag: resourceLimits with value true (#7964)
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg)](https://gitar.co)
  
  ---
This automated PR was generated by [Gitar](https://gitar.co). View
[docs](https://gitar.co/docs).

---------

Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-08-22 13:20:53 +02:00
Thomas Heartman
b0541a0af2
feat: add remaining resource usage to instance stats (#7958)
Updates the instance stats endpoint with 
- maxEnvironmentStrategies
- maxConstraints
- maxConstraintValues

It adds the following rows to the front end table:
- segments (already in the payload, just not used for the table before)
- API tokens (separate rows for type, + one for total) (also existed
before, but wasn't listed)
- Highest number of strategies used for a single flag in a single
environment
- Highest number of constraints used on a single strategy
- Highest number of values used for a single constraint


![image](https://github.com/user-attachments/assets/57798f8e-c466-4590-820b-15afd3729243)
2024-08-22 13:09:26 +02:00
Jaanus Sellin
cb8d689bd8
feat: command menu docs (#7963)
Also rebranded command bar to command menu, because that seems more
suitable.
Command bar is more like a horizontal/vertical list/bar of icons, like
sidebar. Command menu is more of a dropdown.


https://unleash-docs-git-command-docs-unleash-team.vercel.app/reference/command-menu

---------

Co-authored-by: melindafekete <melinda.fekete@getunleash.io>
2024-08-22 14:07:15 +03:00
Gastón Fournier
1367996305
fix: when running on main we need to use latest=auto (#7969)
This fixes this error:
https://github.com/Unleash/unleash/actions/runs/10505976248/job/29104652388

![image](https://github.com/user-attachments/assets/14477e20-1185-4aab-8a25-b88fdb0ae181)
2024-08-22 12:45:18 +02:00
David Leek
00700918c8
chore: remove unused feature flag for webhooks name logging (#7968) 2024-08-22 12:39:52 +02:00
Gastón Fournier
6a0dd6fced
fix: when backporting we don't want to push latest docker tag (#7961)
Backporting fixes to old versions usually pushes the docker latest tag
as well. We only want to do this if the version we're releasing is the
latest
2024-08-22 12:01:34 +02:00
GitHub Actions Bot
7a82cd5fc7 chore: bump version to 6.1.12+main 2024-08-22 09:34:30 +00:00
David Leek
e13f7eea63
feat: log domain every time a webhook is invoked (#7962) 2024-08-22 11:26:53 +02:00
Jaanus Sellin
4a4dafcc3f
chore: remove create feature component (#7959)
After we implemented new feature flag creation flow, this are not used
anymore.

Creation is now handled by **CreateFeatureDialog**.

Also edit component can be minified, because it does not need so many
fields anymore.
2024-08-22 11:30:41 +03:00
Thomas Heartman
e5cca661d9
fix: serialize API token data correctly in instance stats (#7953)
Turns out we've been trying to return API token data in instance stats
for a while, but that the serialization has failed. Serializing a JS map
just yields an empty object.

This PR fixes that serialization and also adds API tokens to the
instance stats schema (it wasn't before, but we did return it). Adding
it to the schema is also part of making resource usage visible as part
of the soft limits project.
2024-08-22 10:29:05 +02:00
Melinda Fekete
341703978a
docs: Update projects docs (#7941) 2024-08-21 14:56:17 +02:00
Jaanus Sellin
ead195923c
fix: fixing flaky test, because order for distinct may be random (#7954) 2024-08-21 15:42:23 +03:00
Jaanus Sellin
99e4a564d0
fix: fix events with no-project projects (#7951)
Fixes issue where `segment-created `events had fake project name
**no-project** attached.

In total for previous 4 months, all segments created that were global
segments, have this issue.


https://github.com/Unleash/unleash/pull/6872/files#diff-68dcd43b31d35a8a80c73bca1f2a9626b0234dd0b76920a6881b81fa04708268R135
2024-08-21 15:32:37 +03:00
GitHub Actions Bot
f4f258ab81 chore: bump version to 6.1.11+main 2024-08-21 12:32:25 +00:00
gitar-bot[bot]
3a15fa7689
[Gitar] Cleaning up stale flag: integrationEvents with value true (#7940) 2024-08-21 14:25:24 +02:00
Mateusz Kwasniewski
48423fa980
fix: enable disabled strategies keeps settings (#7950) 2024-08-21 13:17:33 +02:00
Mateusz Kwasniewski
2a13139215
fix: project owner name overflow (#7949) 2024-08-21 13:12:42 +02:00
Gastón Fournier
45de8ceae0
chore: type our path parameters when they are numbers (#4471)
Path types in our openapi are inferred as string (which is a sensible
default). But we can be more specific and provide the right type for
each parameter. This is one example of how we can do that
2024-08-21 13:01:00 +02:00
Jaanus Sellin
df73c65073
feat: filter projectless events for normal users (#7914)
Now events that do not have project ( for example user creation, segment
creation etc), will not be displayed to non root admins.
2024-08-21 13:59:24 +03:00
Tymoteusz Czech
6c5ce52470
Refactor: Remove react-timeago (#7943)
Remove dependency 🫡
2024-08-21 12:03:03 +02:00
gitar-bot[bot]
43100f9561
Cleaning up stale flag: insightsV2 with value true (#7896)
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-08-21 12:01:35 +02:00
Mateusz Kwasniewski
ee1d8ee8cd
fix: misc fixes for project archive (#7948) 2024-08-21 10:34:13 +02:00
dependabot[bot]
89f3f09b6e
chore(deps): bump axios from 1.6.8 to 1.7.4 in /docker (#7878)
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.7.4</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2>Release v1.7.3</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2>Release v1.7.2</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.1</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.0</h2>
<h2>Release notes:</h2>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.3...v1.7.4">1.7.4</a>
(2024-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.2...v1.7.3">1.7.3</a>
(2024-08-01)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.1...v1.7.2">1.7.2</a>
(2024-05-21)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.0...v1.7.1">1.7.1</a>
(2024-05-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="abd24a7367"><code>abd24a7</code></a>
chore(release): v1.7.4 (<a
href="https://redirect.github.com/axios/axios/issues/6544">#6544</a>)</li>
<li><a
href="6b6b605eaf"><code>6b6b605</code></a>
fix(sec): CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)</li>
<li><a
href="07a661a2a6"><code>07a661a</code></a>
fix(sec): disregard protocol-relative URL to remediate SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)</li>
<li><a
href="c6cce43cd9"><code>c6cce43</code></a>
chore(release): v1.7.3 (<a
href="https://redirect.github.com/axios/axios/issues/6521">#6521</a>)</li>
<li><a
href="e3c76fc9bd"><code>e3c76fc</code></a>
fix(adapter): fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)</li>
<li><a
href="85d4d0ea0a"><code>85d4d0e</code></a>
fix(fetch): fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)</li>
<li><a
href="92cd8ed943"><code>92cd8ed</code></a>
chore(github): update ISSUE_TEMPLATE.md (<a
href="https://redirect.github.com/axios/axios/issues/6519">#6519</a>)</li>
<li><a
href="8966ee7ea6"><code>8966ee7</code></a>
fix(xhr): return original config on errors from XHR adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)</li>
<li><a
href="0e4f9fa290"><code>0e4f9fa</code></a>
chore(release): v1.7.2 (<a
href="https://redirect.github.com/axios/axios/issues/6414">#6414</a>)</li>
<li><a
href="4f79aef81b"><code>4f79aef</code></a>
fix(fetch): enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/axios/axios/compare/v1.6.8...v1.7.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.6.8&new-version=1.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-21 09:59:30 +02:00
Thomas Heartman
3cd312f9a9
chore: allow you to use the options object to override *all* the new resource limits (#7938)
This allows us to use different limits for enterprise self-hosted and
hosted
2024-08-21 08:59:19 +02:00
renovate[bot]
40b06dabb6
chore(deps): update dependency lint-staged to v15.2.9 (#7945)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lint-staged](https://togithub.com/lint-staged/lint-staged) |
[`15.2.8` ->
`15.2.9`](https://renovatebot.com/diffs/npm/lint-staged/15.2.8/15.2.9) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.8/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.8/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>

###
[`v15.2.9`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1529)

[Compare
Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9)

##### Patch Changes

- [#&#8203;1463](https://togithub.com/lint-staged/lint-staged/pull/1463)
[`b69ce2d`](b69ce2ddfd)
Thanks [@&#8203;iiroj](https://togithub.com/iiroj)! - Set the maximum
number of event listeners to the number of tasks. This should silence
the console warning `MaxListenersExceededWarning: Possible EventEmitter
memory leak detected`.

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 19:10:39 +00:00
renovate[bot]
78e9b7bec9
chore(deps): update dependency @types/slug to v5.0.9 (#7944)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/slug](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/slug)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/slug))
| [`5.0.8` ->
`5.0.9`](https://renovatebot.com/diffs/npm/@types%2fslug/5.0.8/5.0.9) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fslug/5.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fslug/5.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fslug/5.0.8/5.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fslug/5.0.8/5.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 18:06:25 +00:00
Alvin Bryan
2ec2639fa3
Added video link and fixed types (#7942)
Kudos to GitHub for showing the diff despite me renaming the file
2024-08-20 19:00:38 +01:00
Melinda Fekete
500a9c7df4
Update 11 principles docs (#7907) 2024-08-20 17:19:12 +02:00
Mateusz Kwasniewski
51f61d5103
feat: prevent revive feature to archived project (#7939) 2024-08-20 15:09:37 +02:00
David Leek
37dd2ebc4c
fix: only show addon delete button when editing addons (#7930) 2024-08-20 14:36:27 +02:00
Tymoteusz Czech
0d97f8b7c1
fix: react-timeago issue (#7936) 2024-08-20 14:03:05 +02:00
David Leek
74133395cc
chore: change integration events api tag to addons (#7932) 2024-08-20 14:00:58 +02:00
Thomas Heartman
8e2ae6c6c7
fix: update the customer success email for limits (#7933)
The previously used email address doesn't actually exist 😳 It was taken
from the sketches and we just never verified it.
2024-08-20 11:58:25 +02:00
Mateusz Kwasniewski
02c8250905
fix: delete project action (#7934) 2024-08-20 11:46:12 +02:00
Thomas Heartman
7c774b22e8
fix: don't count flags multiple times (bonus: don't count non-project events) (#7931)
This PR fixes an issue where the number of flags belonging to a project
was wrong in the new getProjectsForAdminUi.

The cause was that we now join with the events table to get the most
"lastUpdatedAt" data. This meant that we got multiple rows for each
flag, so we counted the same flag multiple times. The fix was to use a
"distinct".

Additionally, I used this as an excuse to write some more tests that I'd
been thinking about. And in doing so also uncovered another bug that
would only ever surface in verrry rare conditions: if a flag had been
created in project A, but moved to project B AND the
feature-project-change event hadn't fired correctly, project B's last
updated could show data from that feature in project A.

I've also taken the liberty of doing a little bit of cleanup.
2024-08-20 09:31:45 +00:00
Tymoteusz Czech
c363fdcfc4
Expired invite link style (#7928) 2024-08-20 09:52:59 +02:00
Mateusz Kwasniewski
4e11e57f7f
feat: project actions count metric (#7929) 2024-08-20 09:46:39 +02:00
David Leek
e714a7fe2b
feat:metrics for outgoing integrations (#7921) 2024-08-20 09:00:28 +02:00
renovate[bot]
58f2b5ab1c
chore(deps): update dependency vite to v5.4.0 (#7927)
[![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.5` -> `5.4.0`](https://renovatebot.com/diffs/npm/vite/5.3.5/5.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.5/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.5/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#540-2024-08-07)

- fix(build): windows platform build output path error
([#&#8203;17818](https://togithub.com/vitejs/vite/issues/17818))
([6ae0615](6ae0615416)),
closes [#&#8203;17818](https://togithub.com/vitejs/vite/issues/17818)
- fix(deps): update launch-editor to consume fix for windows paths
([#&#8203;17828](https://togithub.com/vitejs/vite/issues/17828))
([cf2f90d](cf2f90d4b9)),
closes [#&#8203;17828](https://togithub.com/vitejs/vite/issues/17828)
- fix(ssr): fix `global` variable name conflict
([#&#8203;17809](https://togithub.com/vitejs/vite/issues/17809))
([6aa2206](6aa220607b)),
closes [#&#8203;17809](https://togithub.com/vitejs/vite/issues/17809)
- fix(worker): fix `importScripts` injection breaking iife code
([#&#8203;17827](https://togithub.com/vitejs/vite/issues/17827))
([bb4ba9f](bb4ba9f448)),
closes [#&#8203;17827](https://togithub.com/vitejs/vite/issues/17827)
- chore: bump typescript-eslint to v8
([#&#8203;17624](https://togithub.com/vitejs/vite/issues/17624))
([d1891fd](d1891fda02)),
closes [#&#8203;17624](https://togithub.com/vitejs/vite/issues/17624)
- chore(deps): update all non-major dependencies
([#&#8203;17820](https://togithub.com/vitejs/vite/issues/17820))
([bb2f8bb](bb2f8bb55f)),
closes [#&#8203;17820](https://togithub.com/vitejs/vite/issues/17820)
- perf(ssr): do a single-pass over AST with node cache arrays
([#&#8203;17812](https://togithub.com/vitejs/vite/issues/17812))
([81327eb](81327eb980)),
closes [#&#8203;17812](https://togithub.com/vitejs/vite/issues/17812)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 00:19:08 +00:00
renovate[bot]
a1fbedf5a2
chore(deps): update dependency fast-check to v3.21.0 (#7926)
[![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.20.0` ->
`3.21.0`](https://renovatebot.com/diffs/npm/fast-check/3.20.0/3.21.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.20.0/3.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.20.0/3.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dubzzz/fast-check (fast-check)</summary>

###
[`v3.21.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3210)

[Compare
Source](https://togithub.com/dubzzz/fast-check/compare/v3.20.0...v3.21.0)

*Support customisable versions on `uuid`*

\[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.21.0)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.20.0...v3.21.0)]

#### Features

- ([PR#5172](https://togithub.com/dubzzz/fast-check/pull/5172)) Support
UUID versions \[1-15] on `uuidV`
- ([PR#5189](https://togithub.com/dubzzz/fast-check/pull/5189))
Deprecate `uuidV` in favor of `uuid`
- ([PR#5188](https://togithub.com/dubzzz/fast-check/pull/5188))
Customize versions directly from `uuid`

#### Fixes

- ([PR#5190](https://togithub.com/dubzzz/fast-check/pull/5190)) CI:
Support npm publish on other tags
- ([PR#5124](https://togithub.com/dubzzz/fast-check/pull/5124)) Doc:
Publish release note for 3.20.0
- ([PR#5137](https://togithub.com/dubzzz/fast-check/pull/5137)) Doc: Add
missing options in the documentation for `float` and `double`
- ([PR#5142](https://togithub.com/dubzzz/fast-check/pull/5142)) Doc:
Better width for stargazer badge in the documentation
- ([PR#5143](https://togithub.com/dubzzz/fast-check/pull/5143)) Doc:
Document Faker integration
- ([PR#5144](https://togithub.com/dubzzz/fast-check/pull/5144)) Doc: Add
support us page in our documentation

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 22:23:23 +00:00
renovate[bot]
2d036451e6
chore(deps): update dependency @tanstack/react-table to v8.20.1 (#7925)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table)
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table))
| [`8.19.3` ->
`8.20.1`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.19.3/8.20.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.19.3/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.19.3/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>TanStack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.20.1`](https://togithub.com/TanStack/table/releases/tag/v8.20.1)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.19.4...v8.20.1)

Version 8.20.1 - 8/3/24, 10:29 PM

#### Changes

##### Fix

- id building was not consistent when using deep accessorKey (4754)
([#&#8203;5430](https://togithub.com/TanStack/table/issues/5430))
([`84cf73a`](https://togithub.com/TanStack/table/commit/84cf73a)) by
Roman Kozodoi

##### Docs

- fix link to row-models doc in guide/tables.md
([#&#8203;5467](https://togithub.com/TanStack/table/issues/5467))
([`55da0c3`](https://togithub.com/TanStack/table/commit/55da0c3)) by
[@&#8203;0ctothorp](https://togithub.com/0ctothorp)
- Update columns.md
([#&#8203;5666](https://togithub.com/TanStack/table/issues/5666))
([`a8d1971`](https://togithub.com/TanStack/table/commit/a8d1971)) by
squidjam

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/angular-table](https://togithub.com/tanstack/angular-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/lit-table](https://togithub.com/tanstack/lit-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).20.1
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).20.1

###
[`v8.19.4`](https://togithub.com/TanStack/table/releases/tag/v8.19.4)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.19.3...v8.19.4)

Version 8.19.4 - 8/3/24, 8:50 PM

#### Changes

##### Fix

- getFacetedMinMaxValues default implementation sometimes returning
array of arrays
([#&#8203;5676](https://togithub.com/TanStack/table/issues/5676))
([`9d54b2e`](https://togithub.com/TanStack/table/commit/9d54b2e)) by
Vincent Rubinetti

##### Chore

- update [@&#8203;tanstack/config](https://togithub.com/tanstack/config)
([#&#8203;5678](https://togithub.com/TanStack/table/issues/5678))
([`dd210f9`](https://togithub.com/TanStack/table/commit/dd210f9)) by
Lachlan Collins
- match-sorter-utils: fix JSDoc comment for rankItem
([#&#8203;5671](https://togithub.com/TanStack/table/issues/5671))
([`92ef946`](https://togithub.com/TanStack/table/commit/92ef946)) by
Dayyan Smith

##### Ci

- Add autofix.yml
([#&#8203;5669](https://togithub.com/TanStack/table/issues/5669))
([`efba3b0`](https://togithub.com/TanStack/table/commit/efba3b0)) by
Lachlan Collins

##### Docs

- update broken links in README
([#&#8203;5691](https://togithub.com/TanStack/table/issues/5691))
([`be8d0e7`](https://togithub.com/TanStack/table/commit/be8d0e7)) by
eelpik
- typo in multi-sorting guide
([#&#8203;5686](https://togithub.com/TanStack/table/issues/5686))
([`2c74877`](https://togithub.com/TanStack/table/commit/2c74877)) by
brokenrice
- fix typo on tables.md
([#&#8203;5681](https://togithub.com/TanStack/table/issues/5681))
([`a669e39`](https://togithub.com/TanStack/table/commit/a669e39)) by
Rohit Dalal
- Clarify that getIsSomeRowsSelected return false if all rows are
selected
([#&#8203;5337](https://togithub.com/TanStack/table/issues/5337))
([`5f7ddd6`](https://togithub.com/TanStack/table/commit/5f7ddd6)) by SMU
- angular-table: Update table-state.md
([#&#8203;5677](https://togithub.com/TanStack/table/issues/5677))
([`fe690df`](https://togithub.com/TanStack/table/commit/fe690df)) by
[@&#8203;nicklemmon](https://togithub.com/nicklemmon)
- Fix typo in documentation
([#&#8203;5673](https://togithub.com/TanStack/table/issues/5673))
([`7bf42dd`](https://togithub.com/TanStack/table/commit/7bf42dd)) by
Maxime Julian
- update the syntax highlighting for angular
([#&#8203;5668](https://togithub.com/TanStack/table/issues/5668))
([`e420d00`](https://togithub.com/TanStack/table/commit/e420d00)) by
[@&#8203;mgechev](https://togithub.com/mgechev)

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/match-sorter-utils](https://togithub.com/tanstack/match-sorter-utils)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/angular-table](https://togithub.com/tanstack/angular-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/lit-table](https://togithub.com/tanstack/lit-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).19.4
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).19.4

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 20:24:47 +00:00
Gastón Fournier
106e1d1376
fix: last seen metrics exceeding table limits (#7923)
## About the changes
When storing last seen metrics we no longer validate at insert time that
the feature exists. Instead, there's a job cleaning up on a regular
interval.

Metrics for features with more than 255 characters, makes the whole
batch to fail, resulting in metrics being lost.

This PR helps mitigate the issue while also logs long name feature names
2024-08-19 20:17:52 +00:00