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
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
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
Ivar Conradi Østhus
cf1092881c
fix: upgrade unleash-frontend to version 3.11.2
2021-02-09 10:45:12 +01:00
Christopher Kolstad
2082ffc260
Fix failing test due to non-deterministic order of random names
2021-02-09 10:41:59 +01:00
Ivar Conradi Østhus
3fc64a5f9f
fix: FeatureHasTagError is formatting error message as Joi
2021-02-09 10:34:39 +01:00
Christopher Kolstad
d1d271bb41
Add db-error code file
2021-02-09 10:19:35 +01:00
Christopher Kolstad
063d3f0e4a
Make feature-toggle-store return 409
...
- After seeing frontend behaviour where the user could add the same
tag multiple times, and not get errors or be stopped doing so, we'll
change the backend to return a 409 if you tag a feature with a tag it
already has.
- Previous to this commit, the setup was to do `onConflict().ignore()`
which caused the frontend to not get any help from the backend as to
whether or not the operation was allowed
- This fix adds a custom error and adds a branch to the handleError util
method for handling just that error type with a 409.
- This caused a couple of tests to receive 409, probably due to
insufficient cleanup between tests. Adding faker as a dev-dependency and randomising
toggle names and tag values for each test reduces the chance that
we'll run into duplicate issues in the future for the tests that
touches this problem
fixes : #711
2021-02-08 16:22:15 +01:00
Christopher Kolstad
0b510e6aa2
Merge pull request #710 from Unleash/fix-705-db-pool-tuning
...
Added explicit pool settings in options.db object
2021-02-08 12:35:22 +01:00
Christopher Kolstad
e952ae20a8
Added explicit pool settings in options.db object
...
- Also adds metrics for min and max pool size
- Metrics for free/used connections.
- Metrics for pending and current acquires
fixes : #705
2021-02-08 10:54:20 +01:00
Ivar Conradi Østhus
1a7492a69c
chore(docs): added some note to addon docs
2021-02-05 19:08:04 +01:00
Ivar Conradi Østhus
844fb5974e
chore: update changelog
2021-02-05 15:39:32 +01:00
Martin Lehmann
ea6183f79c
fix: upgrade prom-client from 12.0.0 to 13.1.0
2021-02-05 15:20:59 +01:00
Ivar Conradi Østhus
31f674d9fc
fix: hide jira addon for now
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
47b7e1d87c
fix: upgrade unleash-frontend to version 3.11.1
...
This version introduces frontend for addons
2021-02-05 15:20:00 +01:00
Christopher Kolstad
786260434d
fix: Add a test for validation of empty params
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
1486cdab52
fix: add docs for addons
2021-02-05 15:20:00 +01:00
Christopher Kolstad
dcf1224a17
fix: Add validation of required parameters
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
65996e72e0
fix: add unleashUrl option
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
2bb38fe3e8
fix: Addons should support sensitive params
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
17c8fe7710
feat: Introduce addon framework
...
fixes : #587
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
8f99f71156
chore: fix broken link in docs
...
fixes: https://github.com/Unleash/unleash.github.io/issues/6
2021-02-04 22:10:31 +01:00
Ivar Conradi Østhus
9607ebce75
fix: should wait for seen apps
2021-02-04 15:54:29 +01:00
Alex Borys
806ecf7385
fix: typo in message in simple-authentication.js ( #707 )
...
`lib/middleware/simple-authentication.js`
2021-02-04 12:21:08 +01:00
Ivar Conradi Østhus
3a983d291c
fix: even-store should not block on emit
2021-02-02 13:27:24 +01:00
Victor Login
a320b6475d
fix: Added the ability to specify db-schema via ENV ( #702 )
2021-02-02 12:40:42 +01:00
Ivar Conradi Østhus
c500128f07
fix: Strategy schema should allow deprecated field ( #700 )
...
fixes : #698
2021-02-01 09:41:50 +01:00
Christopher Kolstad
187798262e
Merge pull request #696 from Unleash/feat-695-tags-included-in-events
...
Added tags to events table and emitted events
2021-01-29 10:41:38 +01:00
Christopher Kolstad
bd94f358c3
feat: Added tags to events table and emitted events
...
fixes : #695
2021-01-29 09:53:27 +01:00
Fredrik Strand Oseberg
01074fd437
docs: update getting started guide with docker options ( #697 )
2021-01-27 20:11:41 +01:00
Christopher Kolstad
00c7d634d2
Merge pull request #693 from Unleash/feat-690-toggle-filtering
...
feat: #690 toggle filtering
2021-01-26 14:35:15 +01:00
Christopher Kolstad
e555118cb1
feat: Add filterquery support for toggles
...
- For now supports
- tag
- project
- namePrefix
fixes : #690
2021-01-26 14:14:07 +01:00
Christopher Kolstad
41c7f94132
Chore: add action for performing github release
2021-01-26 11:53:02 +01:00
Christopher Kolstad
73f54e8288
chore: Use yarn for scripts
2021-01-26 10:10:47 +01:00
Ivar Conradi Østhus
da049865ee
chore: add suvery link to docs
2021-01-26 09:46:56 +01:00
gazconroy
9e31800bf4
chore: Update Open API specification ( #686 )
2021-01-25 07:57:40 +01:00