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

3300 Commits

Author SHA1 Message Date
Thomas Heartman
2e1423095e fix: Add missing segments image 2022-04-11 12:17:02 +02:00
Renovate Bot
3d078550dc chore(deps): update storybook monorepo to v6.4.21 2022-04-09 05:23:44 +00:00
Renovate Bot
de36207403 chore(deps): update dependency eslint to v8.13.0 2022-04-09 00:26:06 +00:00
sighphyre
c9b44b6546
Merge pull request #1476 from Unleash/feat/multi-project-tokens
feat: Implement multi token support for client tokens
2022-04-08 11:51:31 +02:00
Christopher Kolstad
608d870851
fix: remove duplicate foreign key (#1491) 2022-04-08 10:34:22 +02:00
olav
fe0f684b61 4.10.0-beta.3 2022-04-08 10:10:09 +02:00
olav
d2e5c07add
chore: update unleash-frontend (#1490) 2022-04-08 09:42:21 +02:00
renovate[bot]
4e545dc421
chore(deps): update dependency tsc-watch to v5 (#1487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 20:57:09 +02:00
Salvatore Novelli
7ddbff2669
feat: add "application_name" as an optional DB option #1170 (#1478)
* implemented changes to resolve issue 1170

* added applicationName to the list of db options in the documentation'

Co-authored-by: Daniele Casal <daniele.casal@lloydsbanking.com>
Co-authored-by: Sukhvinder Panesar <79143027+esspee-lbg@users.noreply.github.com>
2022-04-07 20:55:56 +02:00
Renovate Bot
2f59426851 chore(deps): update typescript-eslint monorepo to v5.18.0 2022-04-07 14:46:06 +00:00
Renovate Bot
63c178e32d chore(deps): update dependency eslint-plugin-import to v2.26.0 2022-04-07 11:07:56 +00:00
Renovate Bot
21eac0e348 chore(deps): update dependency eslint to v8.12.0 2022-04-07 05:26:10 +00:00
Renovate Bot
b222c7b05b chore(deps): update dependency typescript to v4.6.3 2022-04-07 02:09:54 +00:00
Renovate Bot
e68bce05b4 chore(deps): update dependency prettier to v2.6.2 2022-04-06 23:46:19 +00:00
Renovate Bot
7c188f3868 chore(deps): update dependency @babel/core to v7.17.9 2022-04-06 22:00:22 +00:00
renovate[bot]
86f03ed3a3
chore(deps): update actions/setup-node action to v3 (#1396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:29 +02:00
renovate[bot]
19db5bb857
chore(deps): update actions/checkout action to v3 (#1407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:00 +02:00
renovate[bot]
007cc0a83c
chore(deps): pin dependencies (#1427)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:42:26 +02:00
renovate[bot]
c88019130d
chore(deps): update dependency ts-jest to v27.1.4 (#1468)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:39:03 +02:00
Ivar Conradi Østhus
cf5878a4b3
chore: update release steps in CONTRIBUTING.md 2022-04-06 21:01:28 +02:00
abhinav1708
66c66c7e4a
feat: events for feature tag and untag (#1355) 2022-04-06 20:51:01 +02:00
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
41485ec50a docs: change android docs to use clientKey, not clientSecret 2022-04-06 10:56:51 +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
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