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

3789 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
fe45c69fb6
chore: add check-relase script as part of perversion validations. 2022-04-06 20:34:15 +02:00
Nuno Góis
794327f8e0
fix: reject duplicate segment names (#1475)
* fix: reject duplicate segment names

* refactor: remove unnecessary comment

* refactor: improve validateName logic with existsByName

* fix: removed unused NotFoundError import
2022-04-06 14:01:50 +01:00
Thomas Heartman
a96cb0cc6c
Merge pull request #1477 from Unleash/docs/update-android-docs
docs: change android docs to use `clientKey`, not `clientSecret`
2022-04-06 12:31:50 +02:00
Thomas Heartman
188f44dfa5
fix: add alternate (shorter) build badge 2022-04-06 11:43:12 +02:00
Thomas Heartman
004e28aded
fix: build badge link 2022-04-06 11:27:02 +02:00
Thomas Heartman
c58f6cf036 chore: add link to ci build from readme 2022-04-06 11:18:05 +02:00
Thomas Heartman
41485ec50a docs: change android docs to use clientKey, not clientSecret 2022-04-06 10:56:51 +02:00
Thomas Heartman
cde34e70e7 chore: adjust heading levels 2022-04-06 10:48:51 +02:00
Thomas Heartman
c769e2190a chore: move community and contribute sections 2022-04-06 10:24:20 +02:00
Thomas Heartman
ce01c7da3f docs: add get started in 2 steps 2022-04-06 10:23:33 +02:00
Thomas Heartman
23826a3a65 chore: swap twitter and slack buttons 2022-04-06 10:22:16 +02:00
Thomas Heartman
6a01539af0 chore: add slack join badge 2022-04-06 09:31:54 +02:00
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
Ivar Conradi Østhus
f4bfb860c1
4.10.0-beta.2 2022-04-05 21:20:07 +02:00
Ivar Conradi Østhus
f5257b32fa
fix: update release script 2022-04-05 21:18:46 +02:00
Ivar Conradi Østhus
f9d7126e3d
4.10.0-beta.1 2022-04-05 21:12:16 +02:00
Ivar Conradi Østhus
48b19694ef
fix: update unleash-frontend to v4.10.0-beta.5 2022-04-05 21:10:17 +02:00
Ivar Conradi Østhus
e00d5532ad
fix: add release script 2022-04-05 21:09:03 +02:00
Thomas Heartman
f22f16eca2 fix(readme): remove mention of Rust as community SDK 2022-04-05 16:10:35 +02:00
Thomas Heartman
d0506a24da docs: fix heading level in readme 2022-04-05 12:56:54 +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