sighphyre
e889d8e29c
feat: Implement multi token support for client tokens
...
This adds support for multi project tokens to be created. Backward compatibility is handled at 3 different layers here:
- The API is made backwards compatible though a permissive data type that accepts either a project?: string or projects?: string[] property, validation is done through JOI here, which ensures that projects and project are not set together. In the case of neither, this defaults to the previous default of ALL_PROJECTS
- The service layer method to handle adding tokens has been made tolerant to either of the above case and has been deprecated, a new method supporting only the new structure of using projects has been added
- Existing compatibility for consumers of Unleash as a library should not be affected either, the ApiUser constructor is now tolerant to the the first input and will internally map to the new cleaned structure
2022-04-06 08:11:41 +02:00
Thomas Heartman
f64d2cb768
Merge pull request #1474 from Unleash/docs/segments-reference-docs
...
Add reference and API docs for segments
2022-04-04 15:06:01 +02:00
Thomas Heartman
35bd047af9
docs: reword api return type description
2022-04-04 14:56:34 +02:00
Thomas Heartman
90794fc6ec
docs: add segment ids examples for replacing strategy segments
2022-04-04 14:49:13 +02:00
Thomas Heartman
6f2a336fc4
docs: simplify activation strategy payload
2022-04-04 14:43:45 +02:00
Thomas Heartman
683e33915f
docs: update payload for activation strategies
2022-04-04 14:33:38 +02:00
Thomas Heartman
bf9f9e9d6d
docs: update return types to use JSON examples instead of TS
2022-04-04 13:55:53 +02:00
Thomas Heartman
d9aae95c26
docs: move when to use segments to top of document
2022-04-04 12:32:47 +02:00
Thomas Heartman
14cb523c91
docs: expand on time-based strategies with segments
2022-04-04 12:16:32 +02:00
Thomas Heartman
971b411db1
docs: explain that with multiple segments, all must be satisfied.
2022-04-04 11:48:59 +02:00
Thomas Heartman
93b20246a7
docs: make note of how to remove all segments from a strategy
2022-04-04 11:47:13 +02:00
Thomas Heartman
e4c2e8807d
docs: segment names don't need to be url-friendly.
2022-04-04 11:44:37 +02:00
Thomas Heartman
020e94e358
docs: update segments availability in API docs too
2022-04-04 11:44:03 +02:00
Thomas Heartman
cc670a018c
docs: update segments availability: indicate that it's experimental
2022-04-04 11:34:53 +02:00
Thomas Heartman
524be02b74
docs(docs): document the use of AliasPlugin for theme resolution
2022-04-02 16:47:38 +02:00
Thomas Heartman
c8578f06c9
chore: remove comment code
2022-04-02 16:42:04 +02:00
Thomas Heartman
f59f43bb4c
chore: use docusaurusPath
function consistently.
2022-04-02 16:40:37 +02:00
Thomas Heartman
c0228a0ca3
chore: remove unused code
2022-04-02 16:39:16 +02:00
Thomas Heartman
79b5582542
docs(fix): various typos and abstractions fixed
2022-04-02 16:33:51 +02:00
Thomas Heartman
facf546df4
docs(fix): fix internal links between segments docs
2022-04-02 16:29:45 +02:00
Thomas Heartman
8eb91fc860
fix(docs): fix the quotes of JSON property in table
2022-04-02 16:28:24 +02:00
Thomas Heartman
45dc2c8c33
fix: remove redundant heading
2022-04-02 16:27:53 +02:00
Thomas Heartman
3846ad8252
fix: re-add the groupId prop for the API request tabs component.
2022-04-02 16:27:20 +02:00
Thomas Heartman
e03876286c
docs: finish the API docs for segments
2022-04-02 16:27:09 +02:00
Thomas Heartman
102438946e
docs: add POST and GET by ID
2022-04-01 16:24:35 +02:00
Thomas Heartman
d88032710b
docs: describe GET /api/admin/segments
2022-04-01 16:04:10 +02:00
Thomas Heartman
5d164db46c
docs: add relevant types for this API
2022-04-01 16:03:50 +02:00
Thomas Heartman
fc6ea25ebd
docs: add more endpoint data
2022-04-01 15:47:00 +02:00
Thomas Heartman
cfbe04272a
feat: make API request component work without payloads
...
There's been no previous need for GET or DELETE requests, but now that
we do need them, the payload shouldn't show up as `undefined`
2022-04-01 15:47:00 +02:00
Thomas Heartman
d167de76d8
docs: add stories file for API request component
2022-04-01 15:47:00 +02:00
Thomas Heartman
032176576b
chore: add more docusaurus alias resolutions
2022-04-01 15:47:00 +02:00
Thomas Heartman
3440b4f42a
docs: add segments api placeholder
2022-04-01 15:47:00 +02:00
Thomas Heartman
e37714d61a
docs: First draft of segments reference doc
2022-04-01 15:47:00 +02:00
olav
9f7d878422
fix: add missing awaits ( #1472 )
...
* refactor: silence expected console.error call
* fix: add missing access service awaits
* fix: add missing constraint validation await
2022-04-01 11:10:21 +02:00
olav
1da38781d5
feat: add segment limits ( #1469 )
...
* feat: add segment limits
* refactor: move segment limits to constants
2022-04-01 10:53:52 +02:00
olav
cf06b562f9
fix: allow instance ID to be empty for metrics ( #1471 )
2022-04-01 10:34:22 +02:00
Thomas Heartman
be21a2af68
Merge pull request #1473 from Unleash/docs/add-dotnet-constraint-warning
...
docs: Add .NET SDK to list of SDKs that crash on new operators
2022-04-01 10:31:31 +02:00
Thomas Heartman
4306836511
docs: Add .NET SDK to list of SDKs that crash on new operators
2022-04-01 10:24:08 +02:00
Youssef
aaddcf4ae6
4.10.0-beta.0
2022-03-31 12:52:19 +01:00
Youssef
c1e45c0a70
feat: upgrade unleash-frontend to 4.10.0-beta.0
2022-03-31 12:51:53 +01:00
olav
66d9d7a6d2
feat: add segments ( #1426 )
...
* refactor: fix missing tsconfig path in .eslintrc
* refactor: require contextName and operator
* refactor: fix crash on missing feature strategies
* feat: add segments schema
* feat: add segments client API
* feat: add segments permissions
* refactor: fail migration if things exist
* refactor: remove strategy IDs from responses
* refactor: allow empty description
* refactor: add segment import/export
* refactor: add perf scripts
* refactor: add get segment fn
* refactor: move constraint validation endpoint
* refactor: use a separate id for segment updates
* refactor: use PERF_AUTH_KEY for artillery
* refactor: adjust segment seed size
* refactor: add missing event data await
* refactor: improve method order
* refactor: remove request body limit override
2022-03-29 14:59:14 +02:00
Thomas Heartman
f469b41eb9
Merge pull request #1466 from Unleash/docs/update-jira-docs
...
docs: Update Jira docs with new installation instructions
2022-03-25 12:18:49 +01:00
sighphyre
17e7777a75
Update website/docs/integrations/jira-server-plugin-installation.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:51:47 +02:00
sighphyre
8c13fe74a8
Update website/docs/integrations/jira-server-plugin-installation.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:51:37 +02:00
sighphyre
69532656bd
Update website/docs/integrations/jira-server-plugin-installation.md
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:50:43 +02:00
sighphyre
f05d76255a
Update website/docs/integrations/jira-server-plugin-installation.md
...
Nice!
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-03-25 12:50:30 +02:00
sighphyre
0d4360b997
docs: add installation instructions for jira plugin for marketplace
2022-03-25 09:24:26 +02:00
Thomas Heartman
0d2e72eeea
docs: delete images that are no longer in use.
2022-03-24 16:12:40 +01:00
Thomas Heartman
2709f19ae7
docs(a11y): add alt texts to images + minor rewording
2022-03-24 16:09:37 +01:00
Thomas Heartman
d7b09f73db
docs: Add prerequisites, new installation instructions (marketplace)
2022-03-24 15:18:12 +01:00