1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

3746 Commits

Author SHA1 Message Date
Christopher Kolstad
37211491e7
feat: default to memoizing client features (#1674) 2022-06-08 09:43:37 +02:00
olav
6c696d5280 4.13.0-beta.3 2022-06-08 08:25:33 +02:00
olav
13ef025fab
refactor: add soft response schema validation (#1657)
* refactor: remove most schema refs

* refactor: generalize request/response schemas

* refactor: simplify schema date formats

* refactor: add soft response schema validation

* refactor: fix emptySchema definition

* refactor: update json-schema-to-ts and use refs
2022-06-08 08:01:14 +02:00
olav
dadbc3addc
fix: add missing segment-deleted event data (#1677) 2022-06-07 14:06:45 +02:00
Thomas Heartman
fa74f81aa5
fix: env drop event data.name + /api/admin/events docs (#1662)
* docs: add all /events endpoints and query params

* docs: events page skeleton structure

* docs: correct description of event payloads

* docs: add table with event properties.

* docs: remove duplicate table.

* docs: sort property table

* docs: more work on adding events: feature events

* docs: add examples for most feature events

Still missing are: events that require imports, and
feature-project-change

* docs: scaffold out all events descriptions

* docs: normalize casing

* docs: add brief descriptions to strategy and context events

* docs: Add remaining non-import event descriptions and examples

* docs: add code sample annotations for all example events.

* docs: remove all references to myself

* docs: change "toggle" -> "feature", adjust headings

The headings aren't semantic for this doc yet. We'll need to create a
new document for this.

* docs: update event type description table

* docs: change header level of event type section

* docs: add details around feature-project-change event

* docs: add import type events

* docs: use a better `createdBy` name

* docs: "sort" events so that they're in a consistent order.

* docs: remove reference to ID in addon-config-created event

* fix: drop-environments data.name all-projects -> all-environments

This is probably a bug. Should be double checked.

* docs: clarify that `data.name` is always `all-x` on drop events

* Apply suggestions from code review

Co-authored-by: sighphyre <liquidwicked64@gmail.com>

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-06-07 11:33:30 +01:00
olav
ee35c7ad74
refactor: replace ts-ignore with ts-expect-error (#1675)
* refactor: replace ts-ignore with ts-expect-error

* refactor: remove unused ts-expect-errors
2022-06-07 11:49:17 +02:00
olav
9aa1f39add
refactor: always accept any content type for GET reqs (#1672) 2022-06-07 09:32:18 +02:00
Renovate Bot
e5fe268844 chore(deps): update storybook monorepo to v6.5.7 2022-06-07 01:33:38 +00:00
Renovate Bot
979fc56a09 chore(deps): update typescript-eslint monorepo to v5.27.1 2022-06-06 22:33:49 +00:00
Renovate Bot
78b3b78ced chore(deps): update dependency typescript to v4.7.3 2022-06-04 05:56:08 +00:00
Renovate Bot
8fac55b24c chore(deps): update dependency eslint to v8.17.0 2022-06-04 04:00:59 +00:00
Renovate Bot
0e8b7f58e1 chore(deps): update dependency ts-node to v10.8.1 2022-06-04 01:16:09 +00:00
Renovate Bot
dc3f59227c chore(deps): update dependency nock to v13.2.6 2022-06-03 21:28:15 +00:00
Pfuenzle
4ca0de27e5
docs: Add deprecation notice to eventHook (#1618)
* Add deprecation notice to eventHook

* Update website/docs/deploy/configuring-unleash.md

Co-authored-by: Thomas Heartman <thomasheartman+github@gmail.com>

* Added proxy documentation

* Update configuring-unleash.md

* Update website/docs/deploy/configuring-unleash.md

Co-authored-by: Thomas Heartman <thomasheartman+github@gmail.com>

Co-authored-by: Thomas Heartman <thomasheartman+github@gmail.com>
2022-06-03 14:03:45 +02:00
Christopher Kolstad
7895002602
feat: add OpenApi spec to feature variants (#1659)
* feat: add OpenApi spec to feature variants
2022-06-03 13:16:59 +02:00
Ivar Conradi Østhus
05b65c53ee
4.13.0-beta.2 2022-06-03 12:03:11 +02:00
Ivar Conradi Østhus
3d3c1c9c5a
4.13.0-beta.1 2022-06-03 11:53:39 +02:00
Ivar Conradi Østhus
3359dd204d
feat: add option to disable 'Clear-Site-Data' header on logout (#1645) 2022-06-03 11:50:58 +02:00
Renovate Bot
ff7842b2f1 chore(deps): update dependency @types/jest to v27.5.2 2022-06-02 14:35:52 +00:00
olav
7e3f0329ab
refactor: avoid inlining segments for supported clients (#1640)
* refactor: add semver lib types

* refactor: avoid inlining segments for supported clients

* refactor: fix FeatureController tests

* refactor: use spec version instead of client version

* refactor: improve header validation errors
2022-06-02 14:07:46 +02:00
Christopher Kolstad
00c84f3c75
fix: use getCreatedBy to set created by on events stored (#1648) 2022-06-02 13:52:10 +02:00
olav
224b9cb229
refactor: move segment limits to env vars (#1642)
* refactor: improve env var helpers

* refactor: remove unused segments client API

* refactor: remove experimental segment flags

* refactor: move segment limits to env vars

* refactor: add segment limits to UIConfig response

* refactor: fix type name casing
2022-06-02 10:44:45 +02:00
olav
1e5859425f
refactor: fix husky and lint-staged setup (#1654) 2022-06-02 08:08:53 +02:00
Renovate Bot
7beed26cf6 fix(deps): update dependency unleash-frontend to v4.12.3 2022-06-01 19:20:59 +00:00
renovate[bot]
0eb3fc144d
fix(deps): update dependency unleash-frontend to v4.12.2 (#1653)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 15:50:56 +02:00
Fredrik Oseberg
401e3350fb 4.13.0-beta.0 2022-06-01 15:12:25 +02:00
Fredrik Strand Oseberg
e6f6d19ccb
fix: increase test timeout to 10000ms (#1652) 2022-06-01 15:02:01 +02:00
Simen Bekkhus
0b6fdc147e
fix: update multer (#1649) 2022-06-01 12:10:49 +02:00
renovate[bot]
38c4f5ce12
chore(deps): update dependency superagent to v7.1.6 (#1647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 09:44:50 +02:00
Renovate Bot
33a52df4d2 chore(deps): update dependency lint-staged to v12.5.0 2022-06-01 02:24:13 +00:00
Renovate Bot
3c6f6818c0 chore(deps): update dependency superagent to v7.1.4 2022-05-31 23:19:05 +00:00
Ivar Conradi Østhus
ddb7b075a8
fix: flag for anonymising user search 2022-05-31 21:51:49 +02:00
Renovate Bot
6a857f01a4 fix(deps): update dependency unleash-frontend to v4.12.1 2022-05-31 14:35:59 +00:00
Christopher Kolstad
606270d86a
feat: Allow extra CSP domains (#1610)
* feat: Allow extra CSP domains

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>

* fix: eslint:

* fix: allow partial csp domains

* fix: add option and config type

* fix: snapshot

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-05-31 11:32:15 +02:00
Renovate Bot
1cfb25fcb8 chore(deps): update typescript-eslint monorepo to v5.27.0 2022-05-31 00:39:06 +00:00
Ivar Conradi Østhus
34b2058faa
fix: add flag to annomise event log 2022-05-30 21:01:46 +02:00
Sebastian Bury
bde6294e44
Update feature-toggles-archive-api.md 2022-05-30 16:26:02 +02:00
Renovate Bot
e9e2e832e4 chore(deps): update dependency lint-staged to v12.4.3 2022-05-30 13:46:58 +00:00
sighphyre
0c1213ff81
feat: Add support for global segments (#1577)
feat: Add support for global segments
2022-05-30 09:10:20 +02:00
Renovate Bot
f122e884c7 chore(deps): update storybook monorepo to v6.5.6 2022-05-30 04:37:07 +00:00
Renovate Bot
9762ba1fb6 fix(deps): update dependency unleash-frontend to v4.12.0 2022-05-27 17:12:40 +00:00
sighphyre
6273d0d924
fix: Allow project roles to be changed when the relevant user has a root role (#1632) 2022-05-26 16:20:36 +02:00
Renovate Bot
b3161bc2e8 chore(deps): update dependency @babel/core to v7.18.2 2022-05-25 13:24:12 +00:00
Renovate Bot
0d623e184c chore(deps): update dependency typescript to v4.7.2 2022-05-24 23:53:46 +00:00
Renovate Bot
b39c03e561 chore(deps): update storybook monorepo to v6.5.5 2022-05-24 20:19:06 +00:00
Renovate Bot
ad319f9016 chore(deps): update dependency lint-staged to v12.4.2 2022-05-24 17:27:32 +00:00
Renovate Bot
e3399cda89 chore(deps): update typescript-eslint monorepo to v5.26.0 2022-05-24 13:01:04 +00:00
Ivar Conradi Østhus
fe05ca656d
fix: upgrade multer to v1.4.4 2022-05-24 12:26:46 +02:00
olav
59060ed3ea
refactor: improve OpenAPI refs (#1620)
* refactor: simplify FeatureEnvironmentSchema name

* refactor: format schema files

* fix: pass nested schemas to FromSchema

* refactor: remove ref order note

* refactor: fix overly strict required fields

* refactor: clean up mapper names and paths

* refactor: replace mappers with optional fields
2022-05-24 08:37:35 +02:00
Renovate Bot
d4581a1ae2 fix(deps): update dependency unleash-frontend to v4.11.2 2022-05-23 15:54:10 +00:00