Clint Checketts
46c55c865f
chore: Switch FeatureHasTagError back to js
2021-02-22 21:58:29 -07:00
Clint Checketts
d1933bcd1b
chore: Add TS support to code coverage
2021-02-22 21:58:29 -07:00
Clint Checketts
94b278a887
Add support for TS to eslint
...
See https://khalilstemmler.com/blogs/typescript/eslint-for-typescript/
2021-02-22 21:57:58 -07:00
Clint Checketts
6643de66a5
chore: Begin converting files from JS to TypeScript
2021-02-22 21:57:58 -07:00
Christopher Kolstad
35486efe77
Add instance id to ui-config endpoint
2021-02-22 14:21:23 +01:00
Ivar Conradi Østhus
73239d4062
3.13.0
2021-02-19 12:52:53 +01:00
Ivar Conradi Østhus
8a16fe26c4
chore: update changelog
2021-02-19 12:52:47 +01:00
Ivar Conradi Østhus
1ba029de66
feat: update unleash-frontend to version 3.12.0
2021-02-19 12:36:21 +01:00
Ivar Conradi Østhus
6101a2525d
3.12.0
2021-02-19 12:34:36 +01:00
Ivar Conradi Østhus
e3133c8537
chore: update changelog
2021-02-19 12:34:31 +01:00
Christopher Kolstad
7ee36d2aea
chore: better uuid name
2021-02-19 11:28:35 +01:00
Christopher Kolstad
ba57822d23
fix: generate uuid in js migration instead of from db
2021-02-19 11:27:29 +01:00
Christopher Kolstad
153fd970bf
chore: Add override information for version check to doc
2021-02-19 11:22:25 +01:00
Christopher Kolstad
c2db551252
fix: Don't check version when starting up in dev mode
2021-02-19 11:16:35 +01:00
Christopher Kolstad
b83387a84a
Add a version service ( #729 )
...
- Checks versions against https://version.unleash.run
- Generates a unique instance id (uuid)
2021-02-19 11:13:25 +01:00
Simen Bekkhus
4902161b39
fix: TypeScript should be a dev dependency ( #730 )
2021-02-19 08:18:48 +01:00
Ivar Conradi Østhus
b17e9a4bda
feat: Introduce specific "feature stale" events ( #727 )
...
fixes : #776
2021-02-18 09:18:04 +01:00
Christopher Kolstad
d017ec7cdc
feat: add db-session store ( #722 )
...
* Moves to db managed sessions.
2021-02-18 09:03:21 +01:00
Ivar Conradi Østhus
2a40edd7e6
fix: move CNAME to static
2021-02-17 20:23:50 +01:00
Ivar Conradi Østhus
59f9490bd7
fix: make sure static site includes CNAME
2021-02-17 20:06:02 +01:00
Christopher Kolstad
3bd3448edb
chore: Make github workflow trigger on all pushes
2021-02-17 15:36:07 +01:00
Christopher Kolstad
8bf4214ddb
feat: Handle database connection errors with 500 ( #725 )
...
* feat: Handle database connection errors with 500
- If database goes away while unleash is running, unleash now stays
running, but all api endpoints will return 500.
- This includes our health endpoint, which allows k8s or similar
orchestrators to decide what should be done, rather than Unleash
terminating unexpectedly
2021-02-17 15:24:43 +01:00
Ivar Conradi Østhus
8b18b8cca4
fix: filter duplicates
2021-02-16 13:30:26 +01:00
Ivar Conradi Østhus
388dfe45d3
feat: allow custom context fields to define stickiness. ( #241 )
2021-02-16 12:22:33 +01:00
checketts
f49b5084eb
fix: gh-720 Use express path templates for prometheus metrics ( #724 )
2021-02-15 13:04:56 +01:00
Christopher Kolstad
4e63512ee1
Setup tsc-watch for dev build ( #723 )
2021-02-15 08:39:28 +01:00
Fredrik Oseberg
8d1851cff3
3.12.0
2021-02-12 12:50:34 +01:00
Fredrik Oseberg
02915a3354
chore: update changelog
2021-02-12 12:49:15 +01:00
Fredrik Strand Oseberg
c1aab06798
Feature/setup typescript
...
This sets up the typescript compiler.
Allowing gradual migration to typescript.
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.oseberg@getunleash.ai>
Co-authored-by: Clint Checkett <clintchecketts@churchofjesuschrist.org>
fixes : #676
2021-02-12 11:42:00 +01:00
Ivar Conradi Østhus
6389385f61
fix: refactor context to use service pattern ( #721 )
2021-02-12 10:23:43 +01:00
Ivar Conradi Østhus
4f1d4df4b8
feat: allow stickiness on context-fields ( #713 )
...
* feat: allow stickiness on context-fields
* chore: docs for this feature
* fix: write a small e2e test
* fix: add stickiness to variants
2021-02-11 17:59:16 +01:00
Christopher Kolstad
e65a55cd19
Merge pull request #716 from Unleash/fix-enforce-content-type
...
fix: add middleware verifying content type
2021-02-11 16:12:28 +01:00
Christopher Kolstad
6c2af3c6bc
fix: add middleware verifying content type
...
- By default only accepts 'application/json'
- Routes that need different content-type, can call post or put with
additional arguments, one per content-type you need to support.
2021-02-11 16:09:42 +01:00
Christopher Kolstad
feb83772ec
chore: Remove git add from husky
2021-02-11 14:08:33 +01:00
Ivar Conradi Østhus
dcde06b0c3
3.11.2
2021-02-09 22:48:04 +01:00
Ivar Conradi Østhus
37d4181745
chore: update changelog
2021-02-09 22:47:50 +01:00
Ivar Conradi Østhus
073b679e7e
fix: update unleash-frontend to version 3.11.4
2021-02-09 22:01:00 +01:00
Ivar Conradi Østhus
972eccb7f1
3.11.4
2021-02-09 21:58:18 +01:00
Ivar Conradi Østhus
86298c86fe
chore: update changelog
2021-02-09 21:58:07 +01:00
Ivar Conradi Østhus
107cc0636f
fix: should not register duplicate HTML5 backends
2021-02-09 21:56:49 +01:00
Ivar Conradi Østhus
c499a6cb9e
fix: typo in test
2021-02-09 14:02:39 +01:00
Christopher Kolstad
3032ed9f58
fix: include frontend bug fix
2021-02-09 13:50:44 +01:00
Ivar Conradi Østhus
566ee16629
fix: upgrade unleash-frontend to version 3.11.3
2021-02-09 12:52:02 +01:00
Ivar Conradi Østhus
a3554834e5
3.11.3
2021-02-09 12:49:20 +01:00
Ivar Conradi Østhus
f26058de5a
chore: update changelog
2021-02-09 12:49:06 +01:00
Ivar Conradi Østhus
cbffa278f2
fix: use findIndex when using predicate.
...
indexOf takes and actual value:
https://immutable-js.github.io/immutable-js/docs/#/List/indexOf
findIndex allows you to specify a predicate:
https://immutable-js.github.io/immutable-js/docs/#/List/findIndex
2021-02-09 12:45:33 +01:00
Ivar Conradi Østhus
04ae2bbec9
chore: update changelog
2021-02-09 11:08:39 +01:00
Ivar Conradi Østhus
aff5f2f8b6
3.11.0
2021-02-09 11:07:46 +01:00
Christopher Kolstad
8c6bc9f118
Merge pull request #712 from Unleash/fix-711-conflict-on-existing-tag
...
Make feature-toggle-store return 409
2021-02-09 10:54:05 +01:00
Ivar Conradi Østhus
1bf95b3950
chore: cleanup changelog
2021-02-09 10:46:49 +01:00