unleash-server 4.9.1 → 4.10.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +1266 -0
  2. package/dist/lib/addons/webhook-definition.js +2 -0
  3. package/dist/lib/addons/webhook-definition.js.map +1 -1
  4. package/dist/lib/create-config.js +1 -0
  5. package/dist/lib/create-config.js.map +1 -1
  6. package/dist/lib/db/access-store.js +1 -1
  7. package/dist/lib/db/access-store.js.map +1 -1
  8. package/dist/lib/db/db-pool.js +4 -1
  9. package/dist/lib/db/db-pool.js.map +1 -1
  10. package/dist/lib/db/event-store.test.js +6 -0
  11. package/dist/lib/db/event-store.test.js.map +1 -1
  12. package/dist/lib/db/feature-strategy-store.d.ts +4 -1
  13. package/dist/lib/db/feature-strategy-store.js +16 -2
  14. package/dist/lib/db/feature-strategy-store.js.map +1 -1
  15. package/dist/lib/db/feature-toggle-client-store.d.ts +8 -3
  16. package/dist/lib/db/feature-toggle-client-store.js +77 -33
  17. package/dist/lib/db/feature-toggle-client-store.js.map +1 -1
  18. package/dist/lib/db/index.js +3 -1
  19. package/dist/lib/db/index.js.map +1 -1
  20. package/dist/lib/db/segment-store.d.ts +39 -0
  21. package/dist/lib/db/segment-store.js +135 -0
  22. package/dist/lib/db/segment-store.js.map +1 -0
  23. package/dist/lib/experimental.d.ts +14 -0
  24. package/dist/lib/experimental.js +12 -0
  25. package/dist/lib/experimental.js.map +1 -0
  26. package/dist/lib/routes/admin-api/constraints.d.ts +11 -0
  27. package/dist/lib/routes/admin-api/constraints.js +21 -0
  28. package/dist/lib/routes/admin-api/constraints.js.map +1 -0
  29. package/dist/lib/routes/admin-api/feature.js +1 -1
  30. package/dist/lib/routes/admin-api/feature.js.map +1 -1
  31. package/dist/lib/routes/admin-api/index.js +2 -0
  32. package/dist/lib/routes/admin-api/index.js.map +1 -1
  33. package/dist/lib/routes/admin-api/project/features.d.ts +0 -1
  34. package/dist/lib/routes/admin-api/project/features.js +0 -9
  35. package/dist/lib/routes/admin-api/project/features.js.map +1 -1
  36. package/dist/lib/routes/client-api/index.js +4 -0
  37. package/dist/lib/routes/client-api/index.js.map +1 -1
  38. package/dist/lib/routes/client-api/metrics.test.js +0 -1
  39. package/dist/lib/routes/client-api/metrics.test.js.map +1 -1
  40. package/dist/lib/routes/client-api/register.test.js +12 -0
  41. package/dist/lib/routes/client-api/register.test.js.map +1 -1
  42. package/dist/lib/routes/client-api/segments.d.ts +11 -0
  43. package/dist/lib/routes/client-api/segments.js +21 -0
  44. package/dist/lib/routes/client-api/segments.js.map +1 -0
  45. package/dist/lib/schema/feature-schema.js +5 -2
  46. package/dist/lib/schema/feature-schema.js.map +1 -1
  47. package/dist/lib/services/access-service.js +3 -3
  48. package/dist/lib/services/access-service.js.map +1 -1
  49. package/dist/lib/services/api-token-service.d.ts +2 -1
  50. package/dist/lib/services/api-token-service.js +4 -1
  51. package/dist/lib/services/api-token-service.js.map +1 -1
  52. package/dist/lib/services/api-token-service.test.js +3 -1
  53. package/dist/lib/services/api-token-service.test.js.map +1 -1
  54. package/dist/lib/services/client-metrics/instance-service.d.ts +3 -2
  55. package/dist/lib/services/client-metrics/instance-service.js.map +1 -1
  56. package/dist/lib/services/client-metrics/schema.js +2 -2
  57. package/dist/lib/services/client-metrics/schema.js.map +1 -1
  58. package/dist/lib/services/feature-toggle-service.js +1 -1
  59. package/dist/lib/services/feature-toggle-service.js.map +1 -1
  60. package/dist/lib/services/index.js +3 -0
  61. package/dist/lib/services/index.js.map +1 -1
  62. package/dist/lib/services/segment-schema.d.ts +3 -0
  63. package/dist/lib/services/segment-schema.js +24 -0
  64. package/dist/lib/services/segment-schema.js.map +1 -0
  65. package/dist/lib/services/segment-service.d.ts +24 -0
  66. package/dist/lib/services/segment-service.js +108 -0
  67. package/dist/lib/services/segment-service.js.map +1 -0
  68. package/dist/lib/services/state-schema.js +6 -0
  69. package/dist/lib/services/state-schema.js.map +1 -1
  70. package/dist/lib/services/state-service.d.ts +10 -2
  71. package/dist/lib/services/state-service.js +24 -2
  72. package/dist/lib/services/state-service.js.map +1 -1
  73. package/dist/lib/types/events.d.ts +3 -0
  74. package/dist/lib/types/events.js +4 -1
  75. package/dist/lib/types/events.js.map +1 -1
  76. package/dist/lib/types/model.d.ts +15 -0
  77. package/dist/lib/types/model.js.map +1 -1
  78. package/dist/lib/types/models/api-token.d.ts +2 -0
  79. package/dist/lib/types/models/api-token.js +14 -1
  80. package/dist/lib/types/models/api-token.js.map +1 -1
  81. package/dist/lib/types/option.d.ts +4 -6
  82. package/dist/lib/types/option.js.map +1 -1
  83. package/dist/lib/types/partial.d.ts +4 -0
  84. package/dist/lib/types/partial.js +3 -0
  85. package/dist/lib/types/partial.js.map +1 -0
  86. package/dist/lib/types/permissions.d.ts +3 -0
  87. package/dist/lib/types/permissions.js +4 -1
  88. package/dist/lib/types/permissions.js.map +1 -1
  89. package/dist/lib/types/services.d.ts +2 -0
  90. package/dist/lib/types/stores/feature-strategies-store.d.ts +1 -0
  91. package/dist/lib/types/stores/segment-store.d.ts +15 -0
  92. package/dist/lib/types/stores/segment-store.js +3 -0
  93. package/dist/lib/types/stores/segment-store.js.map +1 -0
  94. package/dist/lib/types/stores.d.ts +2 -0
  95. package/dist/lib/util/collect-ids.d.ts +3 -0
  96. package/dist/lib/util/collect-ids.js +8 -0
  97. package/dist/lib/util/collect-ids.js.map +1 -0
  98. package/dist/lib/util/random-id.d.ts +1 -0
  99. package/dist/lib/util/random-id.js +9 -0
  100. package/dist/lib/util/random-id.js.map +1 -0
  101. package/dist/lib/util/segments.d.ts +2 -0
  102. package/dist/lib/util/segments.js +6 -0
  103. package/dist/lib/util/segments.js.map +1 -0
  104. package/dist/migrations/20220307130902-add-segments.d.ts +2 -0
  105. package/dist/migrations/20220307130902-add-segments.js +66 -0
  106. package/dist/migrations/20220307130902-add-segments.js.map +1 -0
  107. package/dist/migrations/20220405103233-add-segments-name-index.d.ts +2 -0
  108. package/dist/migrations/20220405103233-add-segments-name-index.js +12 -0
  109. package/dist/migrations/20220405103233-add-segments-name-index.js.map +1 -0
  110. package/dist/server-dev.js +6 -4
  111. package/dist/server-dev.js.map +1 -1
  112. package/dist/test/config/test-config.js +4 -0
  113. package/dist/test/config/test-config.js.map +1 -1
  114. package/dist/test/e2e/api/admin/api-token.e2e.test.js +17 -0
  115. package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
  116. package/dist/test/e2e/api/admin/constraints.e2e.test.d.ts +1 -0
  117. package/dist/test/e2e/api/admin/constraints.e2e.test.js +36 -0
  118. package/dist/test/e2e/api/admin/constraints.e2e.test.js.map +1 -0
  119. package/dist/test/e2e/api/admin/state.e2e.test.js +13 -0
  120. package/dist/test/e2e/api/admin/state.e2e.test.js.map +1 -1
  121. package/dist/test/e2e/api/client/segment.e2e.test.d.ts +1 -0
  122. package/dist/test/e2e/api/client/segment.e2e.test.js +168 -0
  123. package/dist/test/e2e/api/client/segment.e2e.test.js.map +1 -0
  124. package/dist/test/e2e/seed/segment.seed.d.ts +1 -0
  125. package/dist/test/e2e/seed/segment.seed.js +97 -0
  126. package/dist/test/e2e/seed/segment.seed.js.map +1 -0
  127. package/dist/test/fixtures/fake-feature-strategies-store.d.ts +1 -0
  128. package/dist/test/fixtures/fake-feature-strategies-store.js +3 -0
  129. package/dist/test/fixtures/fake-feature-strategies-store.js.map +1 -1
  130. package/dist/test/fixtures/fake-segment-store.d.ts +18 -0
  131. package/dist/test/fixtures/fake-segment-store.js +46 -0
  132. package/dist/test/fixtures/fake-segment-store.js.map +1 -0
  133. package/dist/test/fixtures/store.js +2 -0
  134. package/dist/test/fixtures/store.js.map +1 -1
  135. package/package.json +15 -12
package/CHANGELOG.md ADDED
@@ -0,0 +1,1266 @@
1
+ # Changelog
2
+
3
+ # 4.2.0
4
+
5
+ - ix: add default sort order for built in envs (#1076)
6
+ - chore: mute expected test errors
7
+ - feat: Disable password based login (#1046)
8
+ - chore: remove console.error for tests expecting error
9
+ - fix: lint
10
+ - fix: legacy feature stale on/off needs to return full toggle
11
+ - fix: bump unleash-frontend to v4.2.11
12
+ - fix: add endpoint for fetching a single user (#1074)
13
+ - fix: reuse message formatter for addons (#1058)
14
+ - fix(deps): update dependency knex to v0.95.12
15
+ - chore(deps): update dependency lint-staged to v11.2.6
16
+ - fix: demo-auth should use /auth path
17
+ - chore(deps): update metcalfc/changelog-generator action to v2 (#1062)
18
+ - fix: use date-fns for date/time maths instead of (wrong) Date#setHours (#1070)
19
+ - chore: pool min 1, max 4 DB connections & limit Jest workers to 4 (#1069)
20
+ - chore(deps): update dependency lint-staged to v11.2.5
21
+ - docs: minor typo
22
+ - chore: add video to environments
23
+ - fix: rename websitev2 to website
24
+ - fix: Environments documentation
25
+ - fix: place dollar sign before amount (#1066)
26
+ - chore(deps): update typescript-eslint monorepo to v5.2.0
27
+ - fix: removing a strategy from a toggle should only require UPDATE_FEATURE permission
28
+ - chore(deps): update dependency lint-staged to v11.2.4
29
+ - Chore: rework docker-postgres.sh to be cross-platform (#1037)
30
+ - chore(deps): update dependency eslint to v8.1.0
31
+ - chore(deps): update dependency @types/js-yaml to v4.0.4
32
+ - chore(deps): update dependency ts-node to v10.4.0
33
+ - fix: bump unleash-frontend to 4.2.10
34
+ - Update feature-toggle-types.md
35
+ - fix: bump unleash-frontend to 4.2.9
36
+ - fix: Only trigger environment enabled/disabled events if different f… (#1053)
37
+ - chore(deps): update dependency eslint to v8 (#1012)
38
+ - fix: simplify how we update projects
39
+ - fix: Remove duplicate FEATURE_METADATA_UPDATED from events list for webhook addon (#1052)
40
+ - fix: only send FEATURE_UPDATED for legacy (#1054)
41
+ - fix(deps): update docusaurus monorepo to v2.0.0-beta.8 (#1057)
42
+ - chore(deps): update dependency ts-node to v10.3.1
43
+ - fix: bump unleash-frontend to 4.2.8
44
+ - chore(deps): update typescript-eslint monorepo to v5 (#1018)
45
+ - fix: add constraint for changing project. (#1049)
46
+ - fix: only add project environments if enabled (#1050)
47
+ - chore(deps): update dependency husky to v7.0.4
48
+ - fix: bump unleash-frontend to 4.2.7
49
+ - fix: Create a apiuser for demo auth. (#1045)
50
+ - add try-catch to demo auth middleware (#1044)
51
+ - chore(deps): update dependency jest to v27.3.1
52
+ - fix: make hasPermission call handle api tokens (#1041)
53
+ - Fix/feature strategies needs project update (#1040)
54
+ - chore(deps): update dependency jest to v27.3.0
55
+ - chore(deps): update node.js to v14.18.1
56
+ - chore(node-version): move node spec to .node-version (#1034)
57
+ - docs: add reference to developer-guide (#1035)
58
+ - chore(deps): update dependency ts-jest to v27.0.7
59
+ - chore(deps): update dependency @types/faker to v5.5.9
60
+ - fix: event-log
61
+ - Update developer-guide.md
62
+ - fix(deps): update docusaurus monorepo to v2.0.0-beta.7
63
+ - fix: bump unleash-frontend to 4.2.6
64
+ - chore(deps): update dependency ts-jest to v27.0.6
65
+ - fix: bump unleash-forntend to 4.2.5
66
+ - fix: update context field does not await the response (#1027)
67
+ - fix(deps): update dependency unleash-frontend to v4.2.4
68
+ - fix: add support for experimental flags (#1025)
69
+ - fix: feature_strategies paramter column should not be null (#1024)
70
+ - chore(deps): update dependency eslint-plugin-import to v2.25.2
71
+ - chore(deps): update dependency typescript to v4.4.4
72
+ - docs: typo fix (#1021)
73
+ - docs: grammatical error (#1022)
74
+ - fix: create admin users if enabled and zero users already
75
+ - fix: upgrade unleash-frontend to version 4.2.3
76
+ - chore(deps): update metcalfc/changelog-generator action to v1.0.1
77
+ - Make Appinstance registration include environment (#1014)
78
+ - chore(deps): update dependency ts-node to v10.3.0
79
+ - Update node.md (#1016)
80
+ - Docs: Update python.md (#1015)
81
+ - Trigger STALE events when patching stale field
82
+ - chore(deps): update dependency lint-staged to v11.2.3
83
+ - chore(deps): update dependency lint-staged to v11.2.2
84
+ - chore(deps): update dependency lint-staged to v11.2.1
85
+ - chore(deps): update dependency jest to v27.2.5
86
+ - chore(deps): update dependency eslint-config-airbnb-typescript to v14.0.1
87
+ - feat/metricsV2 (#1005)
88
+ - feat: clone feature toggle API (#1006)
89
+ - feat: add new more specific feature/environment events to addons (#994)
90
+ - fix: modify actions for PRs
91
+ - fix: custom test-script for yart coverage reporter action
92
+ - fix: custom test-script for yart coverage reporter action
93
+ - fix: adjust test-script for jest-coverage action
94
+ - chore: add jest coverage action for pr builds (#997)
95
+ - fix: add sort order to environments (#1004)
96
+ - task: Disables feature_environments without strategies (#1003)
97
+ - docs: Mention php sdk as supporting variants (#1001)
98
+ - docs: Update php documentation to include context provider (#1000)
99
+ - chore(deps): update typescript-eslint monorepo to v4.33.0
100
+ - chore(deps): update dependency lint-staged to v11.2.0
101
+ - chore(deps): update dependency eslint-plugin-prettier to v4 (#980)
102
+ - chore(deps): update typescript-eslint monorepo to v4.32.0 (#983)
103
+ - fix(deps): update dependency prom-client to v14 (#987)
104
+ - chore(deps): update dependency glob-parent to v6 (#981)
105
+ - chore(deps): update actions/setup-node action to v2 (#977)
106
+ - chore(deps): update dependency tsc-watch to v4.5.0 (#975)
107
+ - fix(deps): update dependency unleash-frontend to v4.2.0 (#976)
108
+ - fix: allow renovate-bot to autmerge minor and patch
109
+ - chore(deps): update dependency ts-node to v10.2.1 (#973)
110
+ - chore(deps): update dependency prettier to v2.4.1 (#974)
111
+ - task: Adds FEATURE_ENVIRONMENT_{ENABLED,DISABLED} events (#970)
112
+ - chore(deps): update dependency supertest to v6.1.6 (#969)
113
+ - chore(deps): update typescript-eslint monorepo to v4.31.2 (#972)
114
+ - chore(deps): update dependency typescript to v4.4.3 (#971)
115
+ - chore: security resolutions
116
+ - chore(deps): update dependency eslint-plugin-import to v2.24.2 (#960)
117
+ - fix(deps): update docusaurus monorepo to v2.0.0-beta.6 (#968)
118
+ - fix(deps): update dependency knex to v0.95.11 (#967)
119
+ - chore(deps): update dependency eslint-plugin-prettier to v3.4.1 (#961)
120
+ - chore(deps): update dependency husky to v7.0.2 (#965)
121
+ - chore(deps): update dependency source-map-support to v0.5.20 (#966)
122
+ - chore(deps): update dependency jest to v27.2.2 (#962)
123
+ - chore(deps): update dependency trim to v1 (#963)
124
+ - chore(deps): update dependency ts-jest to v27.0.5 (#964)
125
+ - chore(deps): update dependency @types/jest to v27.0.2 (#958)
126
+ - fix(deps): pin dependencies (#957)
127
+ - chore: Add renovate.json (#956)
128
+ - docs: minor adjustments.
129
+ - fix: environments should have type
130
+ - feat: rename :global: env to "default" (#947)
131
+ - Fixed the react link appearance
132
+ - fix: Enforce non-nullability of environment type (#950)
133
+ - Add UPDATE and DELETE TAG_TYPE permissions (#951)
134
+ - fix: don't include archived feature strategies (#955)
135
+ - removed the --save from npm command
136
+ - removed the --save flag
137
+ - docs: Readme update dashboard screenshot (#953)
138
+ - docs: remove the conflict between docker steps and docker-compose (#952)
139
+ - chore(deps): bump prismjs from 1.24.1 to 1.25.0 in /websitev2 (#946)
140
+ - chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#949)
141
+ - fix: correct test verifications
142
+ - fix: Added displayName to feature environments
143
+ - Add type to environments
144
+ - Merge pull request #948 from Unleash/documentation-update
145
+ - update the advanced part
146
+ - update the docs with the new screenshots
147
+ - chore: set transitive resolutions
148
+ - fix: upgrade connect-session-knex to version 2.1.0
149
+ - added tests and exports for 3.17, 4.0 and 4.1 (#944)
150
+ - feat: add project and environment columns to events (#942)
151
+ - Respect sort order when displaying strategies (#943)
152
+ - Feat/api key scoping (#941)
153
+ - fix: lint error
154
+ - fix: convert schemas to typescript
155
+ - fix: convert more tests to typescript
156
+ - fix: convert api-def.js to typescript
157
+ - fix: convert xtract-user.js to typescript
158
+ - fix: convert event-hook.test.js to typescript
159
+ - fix: convert files to typescript
160
+ - fix: convert feature-schema.test.js to typescript
161
+
162
+ # 4.1.4
163
+
164
+ - feat: Move environments to enterprise (#935)
165
+ - fix: correct failing feature toggle test
166
+ - fix: Cleanup new features API with env support (#929)
167
+
168
+ # 4.1.3
169
+
170
+ - fix: Added indices and primary key to feature_tag (#936)
171
+ - fix: failing test
172
+ - fix: add resetDb to migrator
173
+ - Set default SMTP port to 587 instead of 567
174
+ - docs: add react-sdk to proxy docs.
175
+ - Update README.md
176
+
177
+ # 4.1.2
178
+
179
+ - chore: update frontend
180
+ - fix: fine tune db-config based on experience
181
+ - chore: trigger docs generation
182
+ - fix: set DEPLOYMENT_BRANCH for docusaurus
183
+ - fix: upgrade docusaurus to 2.0.0-beta.5
184
+ - fix: addon-service should only trigger enabled addons
185
+ - fix: improve performance for fetching active api tokens
186
+ - Fix/sso docs (#931)
187
+ - chore(deps): bump tar from 6.1.7 to 6.1.11 (#930)
188
+
189
+ # 4.1.1
190
+
191
+ - chore: update frontend
192
+ - fix: set correct projects count in metrics
193
+
194
+ # 4.1.0
195
+
196
+ - docs: Added mikefrancis/laravel-unleash (#927)
197
+
198
+
199
+ # 4.1.0-beta.15
200
+
201
+ - chore: update frontend
202
+ - fix: make sure exising projects get :global: env automatically
203
+ - docs: cleanup unleash-hosted refereces
204
+
205
+ # 4.1.0-beta.14
206
+
207
+ - fix: upgrade unleash-frontend to v4.1.0-beta.10
208
+ - fix: correct data format for FEATURE_CREATED event
209
+
210
+ # 4.1.0-beta.13
211
+
212
+ - chore: update frontend
213
+
214
+ # 4.1.0-beta.12
215
+
216
+ - chore: update frontend
217
+ - fix: oas docs on root
218
+ - Revert "fix: oas being overriden"
219
+ - fix: oas being overriden
220
+ - fix: only add strategies to addon texts when available
221
+ - fix: add user and project counters
222
+ - fix: import schema needs to understand :global: env
223
+ - fix: import should not drop built-in strategies
224
+
225
+ # 4.1.0-beta.11
226
+
227
+ - fix: bump unleash-frontend to 4.1.0-beta.7
228
+ - Update index.md
229
+ - Update feature-toggles-archive-api.md
230
+ - Update configuring-unleash.md
231
+
232
+ # 4.1.0-beta.10
233
+
234
+ - chore: update yarn.lock
235
+ - Fix/feature events (#924)
236
+ - fix: getFeatureToggleAdmin should include project
237
+
238
+ # 4.1.0-beta.9
239
+
240
+ - fix: upgrade unleash-frontend to version 4.1.0-beta.5
241
+
242
+ # 4.1.0-beta.8
243
+
244
+ - chore: update unleash-frontend
245
+ - Update README.md
246
+ - Update README.md
247
+ - Fix/switch project endpoint (#923)
248
+ - fix: only update name if not undefined
249
+
250
+ # 4.1.0-beta.7
251
+
252
+ - feat: sync fields when logging in via SSO (#916)
253
+
254
+ # 4.1.0-beta.6
255
+
256
+ - fix: bump unleash-frontend to 4.1.0-beta.3,
257
+ - fix: add php syntax highlighting to docs (#921)
258
+ - fix: add properties to legacy endpoints (#919)
259
+ - docs: Add official php documentation (#920)
260
+ - fix: add member and toggle count to project list (#918)
261
+ - Fix the custom activation strategy example (#913)
262
+ - chore: update yarn.lock
263
+ - Fix typo in sample (#917)
264
+ - Fix Common Grammar Error in ReadMe (#914)
265
+ - WIP: Feat/quickstart oss (#912)
266
+
267
+ # 4.1.0-beta.5
268
+
269
+ - fix: adjust logo in emails
270
+ - Revert "fix: uri encode smtp connection string (#901)"
271
+ -
272
+ # 4.1.0-beta.4
273
+
274
+ - fix: Clean up exported types even more
275
+
276
+ # 4.1.0-beta.3
277
+
278
+ - fix: exported types x2
279
+
280
+ # 4.1.0-beta.2
281
+ - fix: export types from main entry
282
+
283
+ # 4.1.0-beta.1
284
+ - fix: upgrade unleash-fronendt to 4.1.0.beta.2
285
+ - docs: Update Unleash Proxy docker pull instructions (#911)
286
+ - feat: Adds sendEmail flag to body of create user request (#894)
287
+ - fix: Controller wraps handler with try/catch (#909)
288
+ - fix: upgrade husky to 7.0.1
289
+ - Revert "fix: upgrade js-yaml to 4.1.0"
290
+ - fix: upgrade js-yaml to 4.1.0
291
+ - fix: bump eslint-plugin-import to 2.24.0
292
+ - chore: remove resolution
293
+ - fix: update supertest to version 6.1.5
294
+ - fix: bump @types
295
+ - fix: update ts-node to 10.2.0
296
+ - fix: bump unleash-frontend to v4.0.10
297
+ - fix: uri encode smtp connection string (#901)
298
+ - fix: Stores as typescript and with interfaces. (#902)
299
+ - fix: add node v16 as build target
300
+ - docs: update footer
301
+ - docs: update link to unleash-proxy-client-js
302
+ - doc: add import query params in doc (#673) (#903)
303
+ - fix: yarn.lock resolution for website docs
304
+ - fix: update yarn.lock file
305
+ - fix: failing tests
306
+ - fix: clean dist folder on build
307
+ - chore: document password requirements
308
+ - doc: Remove link to laravel php sdk
309
+ - fix: only import feature_tags for imported features
310
+ - Use absolute url to api-token doc
311
+
312
+
313
+ # 4.1.0-beta.0
314
+
315
+ - fix: Use 4.0.9 of frontend
316
+ - Fix typo (#899)
317
+ - fix: Update node.md (#896)
318
+ - fix: remove public.pem (unused)
319
+ - fix: logout-controller should support logoutUrl override (#881)
320
+ - fix: Remove trailing backslash (#892)
321
+ - fix link to proxy-javascript (#889)
322
+ - fix curl health call (#888)
323
+ - fix: always add global environment to new projects
324
+ - fix: return empty array if no features are found for project
325
+ - doc: Add rikudou/unleash-sdk to community clients (#885)
326
+
327
+ # 4.0.6-beta.1
328
+
329
+ - feat: Wip/environments (#880)
330
+ - Fixed typo (#884)
331
+ - Fix contextProvider not being in code block (#883)
332
+ - Fix link to unleash-client-go (#876)
333
+ - fix: digital ocean specs
334
+ - fix: deploy.template.yaml to follow specs
335
+ - fix: digitalocean deploy template
336
+ - fix: Added cascade to user_feedback foreign key
337
+ - fix: refactor code
338
+ - fix: add option for graceful shutdown (#872)
339
+ - docs: Added api key for algolia
340
+ - fix: Do gracefull shutdown of Unleash on 'SIGINT' & 'SIGTERM' (#870)
341
+ - docs: improve introduction section
342
+ - docs: improve introduction section
343
+ - docs: fix wrong grafana query
344
+ - chore: update readme
345
+ - docs: fix typo and remember to note that the slack addon needs Unleash URL
346
+ - chore(deps): bump ws from 6.2.1 to 6.2.2 in /websitev2 (#869)
347
+ - doc: redirects for external links
348
+
349
+ # 4.0.4
350
+
351
+ - fix: userFeedback should not be allowed to throw
352
+ - fix: make sure routes/user handles api calls
353
+
354
+ # 4.0.3
355
+
356
+ - feat: pnps feedback (#862)
357
+ - fix: upgrade unleash-frontend to v4.0.4
358
+ - chore: docs updates
359
+
360
+ # 4.0.2
361
+
362
+ - fix: upgrade unleash-frontend to version 4.0.1
363
+ - fix: projects needs at least one owner
364
+
365
+ # 4.0.1
366
+
367
+ - fix: create config should allow all options params
368
+ - fix: a lot of minor docs improvements
369
+
370
+ # 4.0.0
371
+
372
+ - fix: upgrade unleash-frontend to version 4.0.0
373
+ - fix: add migration (#847)
374
+ - fix: Refactor/update email (#848)
375
+ - chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /website (#843)
376
+ - Add explanation of how to run multiple instances of Unleash to the Getting Started doc (#845
377
+
378
+ # 4.0.0-beta.6
379
+
380
+ - fix: Upgrade unleash-frontend to version 4.0.0-beta.5
381
+ - fix: Update docs to prepare for version 4
382
+
383
+ # 4.0.0-beta.5
384
+
385
+ - fix: upgrade to unleash-frontend 4.0.0-beta.4
386
+ - fix: versionInfo as part of ui-config
387
+ - fix: misunderstanding node URL api
388
+ - fix: demo auth type should support api token
389
+
390
+ # 4.0.0-beta.4
391
+
392
+ - upgrade unleash-frontend to version 4.0.0-beta.3
393
+ - fix: convert to typescript
394
+ - fix: report email as not sent to fe if it throws (#844)
395
+
396
+ # 4.0.0-beta.3
397
+
398
+ - chore: update changelog
399
+ - fix: reset-token-service should use unleashUrl
400
+ - chore: expose an endpoint to really delete a toggle (#808)
401
+ - fix: upgrade unleash-frontend to version 4.0.0-beta.2
402
+
403
+ # 4.0.0-beta.1
404
+
405
+ - fix: upgrade unleash-frontend to version 4.0.0-beta.0
406
+ - fix: rbac now checks permission for both projects (#838)
407
+ - fix: an hour is 3600000 seconds not 60000 seconds
408
+ - fix: readd support for DATABASE_URL_FILE
409
+
410
+ # 4.0.0-beta.0
411
+
412
+ - fix: reload of admin/api page yields 404
413
+
414
+ # 4.0.0-alpha.8
415
+
416
+ - feat: global events requires admin role
417
+ - fix: remove toast info from bootstrap controller (#834)
418
+ - feat: add migration (#832)
419
+ - fix: set name type to be min 1 character (#833)
420
+ - fix: bum unleash-frontend to version 4.0.0-alpha.14
421
+ - fix: /api/admin/user should not allow caching
422
+ - fix: match bootstrap uiConfig with expected data format (#830)
423
+ - feat: Datadog integration (#820)
424
+ - fix: regular users are not API users
425
+ - Feat: format base path (#828)
426
+
427
+ # 4.0.0-alpha.7
428
+
429
+ - fix: more types
430
+ - fix: move permission to types
431
+ - fix: bump unleash-frontend to version 4.0.0-alpha.12
432
+ - fix: catch all route only for baseUriPath (#825)
433
+ - Feat/serve frontend with baseuri (#824)
434
+ - fix: define root role by setting the name of the role (#823)
435
+ - feat: automatically add all existing users as owners to all existing … (#818)
436
+ - fix: project store was wrongly typing its id field as number (#822)
437
+
438
+ # 4.0.0-alpha.6
439
+
440
+ - feat: Teams addon for messaging on Microsoft teams (#814)
441
+ - feat: add user create/update/delete events (#807)
442
+ - fix: upgrade unleash-frontend to version 4.0.0-alpha.11
443
+ - fix: Authentication required options is optional
444
+ - fix: default custom auth hook now denies all requests to api endpoints (#811)
445
+ - fix: deletes sessions for user when user is removed (#810)
446
+ - fix: import statements for type/events
447
+ - fix: refactor event types
448
+ - fix: move AuthenticationRequired to types
449
+ - fix: migrate only users without any role
450
+ - fix: migration to create root roles for users with permissions (#816)
451
+ - fix: set default DATABASE_SSL to not rejectUnauthorized (#817)
452
+ - fix: handle password being undefined when validating (#809)
453
+ - fix: active sessions are now destroyed if auth/reset and auth/validate endpoints are used (#806)
454
+ - fix: send email on process.nextTick (#805)
455
+ - fix: add hosted auth option
456
+ - fix: fix test data
457
+ - fix: correct test data
458
+ - fix: migration should call cb on down
459
+ - fix: change default admin password
460
+ - fix: add types for node-fetch
461
+
462
+ # 4.0.0-alpha.5
463
+
464
+ - chore: update frontend
465
+
466
+ # 4.0.0-alpha.4
467
+
468
+ - feat: add option for LOG_LEVEL (#803)
469
+ - fix: make users emails case-insensitive (#804)
470
+ - fix: update unleash-frontend
471
+ - fix: emailservice now just returns if email was configured
472
+ - fix: simplify isConfigured check
473
+ - fix: loading of emailtemplates
474
+
475
+ # 4.0.0-alpha.3
476
+
477
+ - fix: should allow revive toggles
478
+ - fix: hasPermission should not throw
479
+ - fix: Added enterpriseVersion to root of IUnleashConfig/IUnleashOptions
480
+ - feat: add new user email (#793)
481
+ - fix: User should require a ID field set (#799)
482
+ - fix: introduce settingService
483
+ - fix: migration rollback use DROP for column
484
+ - fix: skipLocked when updating lastSeen for toggles
485
+ - feat: Add change-password endpoint to user-controller (#800)
486
+ - fix: convert AUTH_TYPE to uppercase (#797)
487
+ - Fix: strategies sort order (#798)
488
+ - fix: only ADMIN can list all users
489
+ - fix: enable demo-authentication (#796)
490
+ - fix: default db SSL to undefined
491
+ - fix: use db config with schema for db-migrate
492
+ - feat: options need types (#794)
493
+ - feat: add ui-bootstrap endpoint (#790)
494
+ - feat: add ui-bootstrap endpoint (#790)
495
+ - feat: expose user permissions (#791)
496
+ - feat: Reset token (#786)
497
+ - fix: rename rbac roles. (#788)
498
+ - fix: remove unused import
499
+ - fix: fully remove enableLegacyRoutes option
500
+ - fix: failing tests
501
+ - fix: expose auth-type in ui-config
502
+
503
+ ## 4.0.0-alpha.2
504
+
505
+ - feat: Email service (#757)
506
+ - feat: unleash v4 will require node 14 or higher (#784)
507
+ - feat: Add username/password authentication (#777)
508
+ - fix: should only do checkRbac if it exists
509
+ - fix: docs transitive dependencies
510
+ - chore: typos in migration-guide
511
+ - fix: remove enableLegacyRoutes option from v2
512
+ - fix: upgrade unleash-frontend to latest alpha
513
+ - fix: migrate all permissions to rbac (#782)
514
+ - fix: add default empty array to strategies from db (#781)
515
+ - feat: added basic email-service (#780)
516
+ - fix: Clear-Site-Data header needs to be double quoted
517
+
518
+ ## 4.0.0-alpha.1
519
+
520
+ - chore: upgrade frontend 4.0.0-alpha.1
521
+
522
+ ## 4.0.0-alpha.0
523
+
524
+ - chore(deps): bump y18n from 4.0.0 to 4.0.1 (#775)
525
+ - Feat: Api-Tokens (#774)
526
+
527
+ ## 3.17.6
528
+
529
+ - fix: skipLocked when updating lastSeen for toggles (second attempt)
530
+
531
+ ## 3.17.5
532
+
533
+ - fix: skipLocked when updating lastSeen for toggles
534
+
535
+ ## 3.17.4
536
+
537
+ - fix: version-checker must have instanceId
538
+ - fix: ensure createdBy is not empty
539
+
540
+ ## 3.17.3
541
+
542
+ - feat: upgrade unleash-frontend to version 3.14.1
543
+ - fix: make sure CREATE_APPLICATION events are only sent once per application
544
+
545
+ ## 3.17.2
546
+
547
+ - fix: make sure applying unique constraint on client_instances works
548
+
549
+ ## 3.17.1
550
+
551
+ - fix: initial event.tags should be array type
552
+ - fix: always set instanceId in ui-config
553
+
554
+ ## 3.17.0
555
+
556
+ - fix: upgrade docusaurus
557
+ - feat: upgrade unleash-frontend to version 3.14.0
558
+ - Add import/export for tags and projects (#754)
559
+ - feat: Default roles and RBAC permission checker. (#735) (experimental)
560
+ - feat: upgrade unleash-frontend to version 3.14.0
561
+
562
+ ## 3.16.1
563
+
564
+ - fix: make sure applying unique constraint on client_instances works
565
+
566
+ ## 3.16.0
567
+
568
+ - fix: projectId must follow nameType in query
569
+ - fix: publish events about unannounced applications
570
+ - fix: messages to slack for archived toggles (#750)
571
+ - fix: makes event-store emit id and createdAt (#746)
572
+ - fix: don't use hardcoded timestamps as default values (#745)
573
+ - feat/return feature on create (#742)
574
+ - fix: incorrect sql syntax in migration.
575
+ - feat: add support for bulk operations on client apps/instance registr<E2><80><A6> (#744)
576
+ - fix: add unit test for addon-retry
577
+ - fix: add strategy constraints
578
+
579
+ ## 3.15.0
580
+
581
+ Began work on a technical debt dashboard on the frontend. The first iteration of this dashboard is included in this release.
582
+
583
+ - fix: not crash if addon http post throws (#738)
584
+ - fix: update unleash-frontend dependency (#736)
585
+ - fix: project id should be validated correctly on create
586
+ - fix: upgrade unleash-frontend to version 3.13.1
587
+
588
+ ## 3.14.0
589
+
590
+ - feat: upgrade unleash-frontend to version 3.13.0
591
+ - feat: make client features endpoint memoizable (#734)
592
+ - feat: Add instance id to ui-config endpoint
593
+ - fix: make sure test-data is urlsafe
594
+
595
+ ## 3.13.0
596
+
597
+ - feat: check latest version
598
+ - feat: expose current and latest version to ui-config
599
+ - feat: Use express-session backed by postgres
600
+ - feat: update unleash-frontend to version 3.12.0
601
+ - feat: Handle database connection errors with 500 (#725)
602
+ - feat: Introduce specific "feature stale" events (#727)
603
+ - fix: generate uuid in js migration instead of from db
604
+ - fix: Don't check version when starting up in dev mode
605
+ - fix: TypeScript should be a dev dependency (#730)
606
+ - fix: make sure static site includes CNAME
607
+ - fix: gh-720 Use express path templates for prometheus metrics (#724)
608
+
609
+ ## 3.12.0
610
+
611
+ - feat: setup typescript
612
+ - fix: refactor context to use service pattern
613
+ - feat: allow stickiness on context-fields
614
+ - fix: add middleware verifying content type
615
+ - chore: Remove git add from husky
616
+
617
+ ## 3.11.2
618
+
619
+ - fix: update unleash-frontend to version 3.11.4
620
+
621
+ ## 3.11.1
622
+
623
+ - fix: upgrade unleash-frontend to version 3.11.3
624
+
625
+ ## 3.11.0
626
+
627
+ - feat: Add support for filtering toggles on tags, projects or namePrefix (#690)
628
+ - feat: Introduce addon framework
629
+ - feat: Added tags to events table and emitted events
630
+ - fix: upgrade prom-client from 12.0.0 to 13.1.0
631
+ - fix: upgrade unleash-frontend to version 3.11.2
632
+ - fix: Add a test for validation of empty params
633
+ - fix: add docs for addons
634
+ - fix: Add validation of required parameters
635
+ - fix: add unleashUrl option
636
+ - fix: Addons should support sensitive params
637
+ - fix: should wait for seen apps
638
+ - fix: typo in message in simple-authentication.js (#707)
639
+ - fix: even-store should not block on emit
640
+ - fix: Added the ability to specify db-schema via ENV (#702)
641
+ - fix: Strategy schema should allow deprecated field (#700)
642
+ - docs: update getting started guide with docker options (#697)
643
+ - fix typo in /api/client/features docs (#694)
644
+ - fix: website: require immer 8.0.1 or higher
645
+ - fix: Add support for configuring database pool size (#705)
646
+ - feat: Set default min dbpool size to 0
647
+ - feat: Set default max dbpool size to 4
648
+
649
+ ## 3.10.1
650
+
651
+ - fix: remove fields from /api/client/features respnse (#692)
652
+
653
+ ## 3.10.0
654
+
655
+ - feat: add tags (#655)
656
+ - feat: add tag-types (#655)
657
+ - feat: Added servicelayer (#685)
658
+ - feat: Allow deprecation of strategies (#682)
659
+ - feat: add lastSeenAt for feature toggles
660
+ - fix: upgrade knex to 0.21.15
661
+ - fix: Updated docs about event-types (#684)
662
+ - fix: Add application-created event (#595)
663
+
664
+ ## 3.9.0
665
+
666
+ - fix: stateService undefined
667
+ - fix: this.timer merge conflict
668
+ - feat: add stop() method to gracefully terminate unleash (#665)
669
+
670
+ ## 3.8.0
671
+
672
+ - feat: First draft of admin Open API specification (OAS) (#652)
673
+ - feat: upgrade unleash-frontend to version 3.8.2
674
+ - fix: OpenApi - Added Client API calls (#667)
675
+ - fix: run build also for external PRs
676
+ - fix: eslint ignorePatterns for OAS
677
+ - fix: typo in OAS servers
678
+ - fix: add support for basic auth with simple-auth (#659)
679
+ - fix: remove unused github action
680
+ - fix: add heroku server to openapi servers
681
+ - fix: add import options as part of environment variables
682
+ - fix: bump dev-deps for security
683
+ - fix: Replace travis with GitHub Actions
684
+ - fix: disable david-dm
685
+
686
+ ## 3.7.0
687
+
688
+ - feat: Add support for explicitly set database version. (#654)
689
+ - feat: stateServices only exposed via services object
690
+ - feat: upgrade unleash-frontend to 3.7.0
691
+ - feat: Add technical support for projects
692
+ - chore(docs): Fix url typo in docs
693
+ - chore(docs): Fix url typo
694
+ - chore(docs): Add clojure client to doc (#649)
695
+ - chore(docs): Add clojure client to doc (#648)
696
+ - chore(docs): Add clojure client library reference (#647)
697
+ - fix: upgrade to unleash-frontend 3.5.6
698
+ - fix: Allow spaces/special chars in application names
699
+ - chore(docs): update sidebar
700
+ - feat: Allow migration style import (#645)
701
+ - fix: Variants missing from client API docs
702
+ - fix: constriants must have at least one value defined
703
+ - fix(docs): wrong id for feature-types
704
+ - fix: do not allow empty ('') constrain values.
705
+ - chore(deps): bump dot-prop from 4.2.0 to 4.2.1 in /website (#644)
706
+ - fix: clarify PostgreSQL version support
707
+ - fix: update list of SDKs supporting variants
708
+ - fix: add docs for disabled variant
709
+ - fix: Add api documentation for strategy constraints.
710
+ - fix: join link to slack in help section
711
+ - chore: fix typo in docs
712
+
713
+ ## 3.6.1
714
+
715
+ - fix: update unleash-frontend to version 3.6.4
716
+ - fix: upgradde unleash-frontend to version 3.6.3
717
+ - fix: context legalValues should be at max 100 chars
718
+ - fix: enable trust-proxy
719
+ - fix: upgrade cookie-session library
720
+ - fix: default maxAge for session set to two days
721
+ - fix: add TTL to sessions
722
+ - fix: use validated and stripped data when updating
723
+ - fix: should use stripped update data for featureToggle
724
+ - fix: set clear-site-data on logout
725
+ - fix: use secure proxy to session cookie
726
+ - fix: add secureHeaders option for HSTS
727
+ - fix: stickness parmeters for stickiness is camelCase (doc)
728
+
729
+ ## 3.6.0
730
+
731
+ - feat: Remove applications (#635)
732
+ - feat: upgrade unleash-frontend to version 3.6.2. Notable changes:
733
+ - feat: add search for applications
734
+ - feat: Should be possible to remove applications
735
+ - fix: make sure application is updated on edit
736
+ - fix: list parameters should be trimmed
737
+ - fix: show notification when app updates
738
+ - fix: show notification when app updates
739
+ - feat: upgrade knex to version 0.21.5
740
+ - fix: Name conflict should return 409
741
+ - fix: improve import/export documentation
742
+ - fix: update helmet config
743
+ - fix: Heroku Postgres add-on version change (#631)
744
+ - fix: Add option via env for ADMIN_AUTHENTICATION
745
+ - fix: upgrade yargs to version 16.0.3
746
+
747
+ ## 3.5.4
748
+
749
+ - fix: helmet wap csp in quotes
750
+
751
+ ## 3.5.3
752
+
753
+ - fix: lax helmet csp config for styles.
754
+
755
+ ## 3.5.2
756
+
757
+ - fix: add optional helmet security headers
758
+ - fix: The links for Kotlin and PHP clients got mixed up (#623)
759
+
760
+ ## 3.5.1
761
+
762
+ - fix: upgrade to [unleash-frontend v3.5.1](https://github.com/Unleash/unleash-frontend/blob/master/CHANGELOG.md#351)
763
+
764
+ ## 3.5.0
765
+
766
+ - feat: add stale property on toggle (#619)
767
+ - fix: upgrade joi to version 17.2.0
768
+ - feat: Add support for toggle types (#618)
769
+ - feat: added time-ago to toggle-list
770
+
771
+ ## 3.4.2
772
+
773
+ - fix: upgrade unleash-frontend to version 3.4.0
774
+ - fix: version should be part of ui-config (#616)
775
+ - feat: add weightType as legal property on variant schema (#614)
776
+ - Update getting-started.md (#617)
777
+ - Update @types/node to the latest version 🚀 (#596)
778
+ - fix: upgrade js-yaml to latest
779
+ - chore(deps): bump lodash from 4.17.15 to 4.17.19 in /website (#611)
780
+ - fix: replace @hapi/joi with joi
781
+ - Update getting-started.md
782
+ - fix: exporting only feature toggles as yaml should not crash
783
+
784
+ ## 3.4.1
785
+
786
+ - fix: add keepAliveTimeout option
787
+
788
+ ## 3.4.0
789
+
790
+ - feat: Adds server.create() (#606)
791
+
792
+ ## 3.3.6
793
+
794
+ - fix: upgrade unleash-frontend to verson 3.3.5
795
+
796
+ ## 3.3.5
797
+
798
+ - fix: upgrade unleash-frontend to verson 3.3.3
799
+
800
+ ## 3.3.4
801
+
802
+ - fix: we now support node 14 :hurray
803
+ - fix: upgrade db-migrate-pg to version 1.2.2
804
+ - fix: upgrade unleash-frontend to version 3.3.2
805
+
806
+ ## 3.3.3
807
+
808
+ - chore: add a few more community client SDKs
809
+ - fix: add user-store (#590)
810
+ - fix: upgrade unleash-frontend to 3.3.1
811
+ - fix: license year and company
812
+ - chore: add dart sdk details
813
+ - fix: pg dependency for db-migrate as well
814
+ - fix: support node 14 by upgrading pg to 8.0.3
815
+ - fix: we are not ready for node 14
816
+ - fix: remove Procfile for Heroku
817
+
818
+ ## 3.3.2
819
+
820
+ - fix: stop measure responsetime for unknown paths (#591)
821
+ - fix: expose evaluated config and permissions object
822
+ - fix: user should not crash if email is missing
823
+
824
+ ## 3.3.1
825
+
826
+ - fix: Support proper SSL settings using `DATABASE_SSL` (#585)
827
+ - fix: upgrade unleash-frontend to version 3.2.21
828
+ - fix: add users-table to store user details (#586)
829
+ - fix: disable ssl for local postgres in dev
830
+ - fix: use airbnb lint rules directly (#583)
831
+ - chore: reduce log-level for metrics
832
+
833
+ ## 3.3.0
834
+
835
+ - feat: Update "enableLegacyRoutes" to false (#580)
836
+ - feat: require node >= 12
837
+ - feat: move secrets to settings (#577)
838
+ - fix: Update unleash-frontend to version 3.2.20 (#582)
839
+ - fix: Logout should not be xhr call (#576)
840
+ - fix: Update pg to the latest version 🚀 (#578)
841
+ - fix: upgrade eslint to verson 6.8.0
842
+ - fix: upgrade ava to version 3.7.0
843
+ - chore: update getting-started guide
844
+ - Fix: typo webpage (#579)
845
+ - fix(readme): improve heroku 1 click deploy behavior (#575)
846
+ - chore: Fix typo in gogole-auth-hook example (#572)
847
+ - fix: bump acorn from 7.0.0 to 7.1.1 (#571)
848
+
849
+ ## 3.2.30
850
+
851
+ - fix: upgrade unleash-frontend to version 3.2.19
852
+
853
+ ## 3.2.29
854
+
855
+ - fix: lock knex to version 0.20.10
856
+ - fix: upgrade unleash-frontend to version 3.2.18
857
+
858
+ ## 3.2.28
859
+
860
+ - fix: more metrics
861
+ - fix: upgrade unleash-frontend to version 3.2.17
862
+ - fix: add settings column to postgres
863
+ - feat: api supports context fields (#564)
864
+ - fix: failing user.test on gravatar url
865
+ - fix: use gravatar-url instead of gravatar dep
866
+ - fix: upgrade lint-staged to latest
867
+ - fix: upgrade @hapi/joi to version 17.1.0
868
+ - fix: upgrade husky to version 4.2.3
869
+
870
+ ## 3.2.27
871
+
872
+ - fix: remove prometheus-gc-stats dependency
873
+
874
+ ## 3.2.26
875
+
876
+ - fix: Update prom-client to the latest version 🚀 (#562)
877
+ - chore: update lolex to latest version
878
+ - fix: variant weights can be up to 1000
879
+
880
+ ## 3.2.25
881
+
882
+ - fix: upgrade unleash-frontend to version 3.2.15
883
+
884
+ ## 3.2.24
885
+
886
+ - fix: upgrade unleash-frontend to version 3.2.13
887
+
888
+ ## 3.2.23
889
+
890
+ - fix: upgrade to @hapi/joi to version 16.1.8
891
+ - fix: Upgrade unleash-frontend to version 3.2.11
892
+ - fix: update yargs to version 15.1.0
893
+
894
+ ## 3.2.22
895
+
896
+ - fix: add appName as label in usage metrics
897
+
898
+ ## 3.2.21
899
+
900
+ - fix: missing strategy makes the toggle-configure crash
901
+
902
+ ## 3.2.20
903
+
904
+ - fix: update @types/node to latest
905
+ - fix: constraints should be part of toggle schema
906
+ - fix: Update yargs to to version 15.0.1
907
+ - fix: Update log4js to the latest version 🚀 (#524)
908
+ - fix: Add option to disable database migrations #526 (#52
909
+
910
+ ## 3.2.19
911
+
912
+ - fix: update knex to version 0.20.0
913
+ - fix: Update unleash-frontend to 3.2.9
914
+
915
+ ## 3.2.18
916
+
917
+ - feat: Add new Flexible Rollout Strategy (#517)
918
+
919
+ ## 3.2.17
920
+
921
+ - fix: bump knex from 0.19.4 to 0.19.5 (secutiry-fix)
922
+
923
+ ## 3.2.16
924
+
925
+ - fix: Update unleash-frontend to version 3.2.7
926
+ - fix: lint error
927
+ - fix: Add admin api for context-field definitions
928
+ - fix: Update lolex to the latest version 🚀 (#508)
929
+ - fix: Only use set-value 2.0.1
930
+ - chore: Added static context props in docs (#507)
931
+ - fix: Update dev-dependencies
932
+ - fix: upgrade prettier to version 1.18.2
933
+ - fix: Upgrade express to version 4.17.1
934
+ - fix: update eslint to version 6.5.1
935
+ - fix: update @passport-next/passport to version 3.0.1
936
+ - fix: remove unused dependency: commander
937
+ - chore: Add details about Larvel (php) SDK
938
+ - chore: Added unleash-client-core as official sdk (#505)
939
+ - fix: e2e tests should only set up one database per test file (#504)
940
+ - chore: Added reference to official client implementation in .Net (#503)
941
+ - fix(deps): bump mixin-deep from 1.3.1 to 1.3.2 (#487)
942
+ - fix: do not destroy db on startup
943
+ - fix: remove old test-setup hacks
944
+ - fix: upgrade knex to version 0.19.4
945
+ - fix: upgrade @types/node to version 12.7.9
946
+ - fix: upgrade lint-staged to version 9.4.1
947
+ - fix: add more logging if test-db destroy fails
948
+ - fix: upgrade async to version 3.1.0
949
+ - fix: upgrade supertest to version 4.0.2
950
+ - chore: upgrade ava to version 2.4.0
951
+ - fix: remove unused depenency yallist
952
+ - fix: Bump yargs to version 14.0.0
953
+ - fix: bump husky to version 3.0.8
954
+ - chore: Updated slack invite token (#501)
955
+ - fix: Upgrade log4js to version 5.1.0
956
+ - chore: increase test-logging
957
+ - chore: see if travis is hapy with serial tests
958
+ - Revert "fix: build on node 10 and 12"
959
+ - fix: build on node 10 and 12
960
+ - fix: bump pg to 7.12.1
961
+ - fix: only build with node v10 for now
962
+ - fix: build on node 10 and 12
963
+ - Fix asset paths (#486)
964
+ - chore: fix broken links
965
+ - chore: Add Elixir Unleash Library to README (#480)
966
+ - fix: update keycloak example (#478)
967
+ - fix(package): update commander to version 3.0.0
968
+
969
+ ## 3.2.15
970
+
971
+ - feat: add db query latency metrics
972
+ - fix: fix: update knex to version 0.19.1
973
+ - fix: remove unused dependency install
974
+ - fix: Upgrade lint-staged to version 9.2.1
975
+ - fix: Upgrade husky to version 3.0.1
976
+ - fix: upgrade eslint to version 6.1.0
977
+ - fix: Update unleash-frontend to version 3.2.6
978
+ - fix: upgrade ava to 2.2.0
979
+ - fix: Update @passport-next/passport to the latest version rocket (#469)
980
+ - chore: Add guide for how to use eventHook to send updates to Slack
981
+
982
+ ## 3.2.14
983
+
984
+ - fix: Unleash bin should allow databaseUrl to be defined in env.
985
+
986
+ ## 3.2.13
987
+
988
+ - feat: add option and functionality that allows a user to hook into feature mutations (#457)
989
+ - chore: add budgets as a company using unleash (#456)
990
+ - fix: Add DATABASE_URL_FILE for loading a db url from a file (#455)
991
+ - fix: Upgrade knex to version 0.17.5
992
+ - chore: Update db-migrate-pg to version 1.0.0
993
+
994
+ ## 3.2.12
995
+
996
+ - fix: none authentication should have a mock user (#449)
997
+ - fix: Update commander to version 2.20.0
998
+ - chore: Update docusaurus to version 1.11.0
999
+ - chore: Update ava to version 2.0.0
1000
+ - chore: Update async to the latest version
1001
+
1002
+ ## 3.2.11
1003
+
1004
+ - feat: Separate DATABASE*URL to multiple DATABASE*\* variable (#437)
1005
+
1006
+ ## 3.2.10
1007
+
1008
+ - fix: Strategies should not be required for updateding application details
1009
+ - feat: boolean strategy paramters
1010
+
1011
+ ## 3.2.9
1012
+
1013
+ - fix: should be more allow about empty metrics
1014
+
1015
+ ## 3.2.8
1016
+
1017
+ - fix: Bump unleash-frontend to 3.2.4
1018
+ - chore(package): update @types/node to version 12.0.0
1019
+ - fix: LogProvider as option injected to unleash.
1020
+
1021
+ ## 3.2.7
1022
+
1023
+ - fix: Session cookie should set path to baseUriPath
1024
+
1025
+ ## 3.2.6
1026
+
1027
+ - Fix: Add support for IPC connections.
1028
+ - fix(package): update mime to version 2.4.1
1029
+ - chore(package): update nyc to version 14.0.0
1030
+ - chore(package): update lockfile yarn.lock
1031
+ - chore(package): update lolex to version 4.0.1
1032
+ - chore(package): update lockfile yarn.lock
1033
+ - chore(package): update husky to version 2.0.0
1034
+ - chore(package): update lockfile yarn.lock
1035
+ - chore(package): update superagent to version 5.0.2
1036
+
1037
+ ## 3.2.5
1038
+
1039
+ - fix: Bump unleash-frontend to version 3.2.3
1040
+ - fix: Minor logout cleanup
1041
+ - feat: Added import & export through stateService (#395)
1042
+
1043
+ ## 3.2.4
1044
+
1045
+ - feat: Customizable ui via ui-config
1046
+
1047
+ ## 3.2.3
1048
+
1049
+ - fix: Metrics poller should start even if inital fetch fails.
1050
+ - fix: SimpleAuthentication should work with custom basePaths
1051
+ - fix: Add explicit endpoints for toggle on/off
1052
+ - fix: Application list should be alphabetically sorted
1053
+
1054
+ ## 3.2.2
1055
+
1056
+ - fix: Bump unleash-frontend to version 3.2.1
1057
+
1058
+ ## 3.2.1
1059
+
1060
+ - fix: Variants should be allowed to be 'null'
1061
+
1062
+ ## 3.2.0
1063
+
1064
+ - feat: Add beta support for toggle variants
1065
+
1066
+ ## 3.1.7
1067
+
1068
+ - fix: Critical bugfix 'databaseSchema' not defaulting to 'public'
1069
+
1070
+ ## 3.1.6
1071
+
1072
+ - fix: Database migrator does use the databaseSchema option.
1073
+
1074
+ ## 3.1.5
1075
+
1076
+ - feat(permission): Implement beta support for permissions.
1077
+ - chore(package): Upgrade a lot of dependencies
1078
+
1079
+ ## 3.1.4
1080
+
1081
+ - chore(package): Upgrade ava to version 1.0.1
1082
+ - chore(modernize): Clean up internal structure
1083
+ - chore(modernize): Use joi for all validations
1084
+ - chore(package): Upgrade moment to version 2.23.0
1085
+ - chore(package): Upgrade deep-diff to version 1.0.2
1086
+ - chore(package): Upgrade prom-client to version 11.2.0
1087
+ - chore(package): Upgrade joi to version 14.3.0
1088
+ - chore(package): Upgrade pg to version 7.7.1
1089
+ - chore(package): Upgrade various dev-dependecies
1090
+
1091
+ ## 3.1.3
1092
+
1093
+ - fix(metrics): Add prometheus compatible feature metrics endpoint
1094
+
1095
+ ## 3.1.2
1096
+
1097
+ - fix(clientApi): Add namePrefix paramter to /api/client/features
1098
+
1099
+ ## 3.1.1
1100
+
1101
+ - fix(gzip): Add gzip support
1102
+ - fix(package): update unleash-frontend to version 3.1.3
1103
+
1104
+ ## 3.1.0
1105
+
1106
+ - fix(package): update unleash-frontend to version 3.1.1
1107
+
1108
+ ## 3.0.6
1109
+
1110
+ - fix(log4js): Upgrade log4js to version 3.0.3 and fix default log configuration
1111
+
1112
+ ## 3.0.5
1113
+
1114
+ - fix(package): update log4js to version 3.0.2
1115
+ - fix(package): update knex to version 0.15.2
1116
+ - fix(package): update yargs to version 12.0.1
1117
+ - chore(readme): Update documentation
1118
+ - fix(package): update install to version 0.12.0
1119
+ - fix(revive): Include user information on revive
1120
+ - chore(package): update eslint to version 5.0.0
1121
+ - chore(package): update nyc to version 12.0.1
1122
+
1123
+ ## 3.0.4
1124
+
1125
+ - feat(metrics): Expose toggle updates to prometheus
1126
+ - chore(package.json): Bump serve-favicon to 2.5.0
1127
+ - chore(package.json): Bump joi to 13.0.3
1128
+ - chore(package.json): bump express
1129
+ - chore(package.json): Bump log4js to 2.6.0
1130
+ - chore(package.json): Bump moment to 2.22.1
1131
+ - chore(package.json): Bump @types/node to 10.0.8
1132
+ - chore(package.json): Bump pg to 7.4.3
1133
+ - chore(package.json): Bump knex to 0.14.6
1134
+ - chore(package.json): Bump commander to 2.15.1
1135
+
1136
+ ## 3.0.3
1137
+
1138
+ - feat(bind): Added option to bind to specific http address
1139
+ - fix(migration): Unleash should not start if migration fails.
1140
+
1141
+ ## 3.0.2
1142
+
1143
+ - fix(package): Update unleash-frontend to version 3.0.1
1144
+
1145
+ ## 3.0.1
1146
+
1147
+ - fix(package): Update db-migrate-pg to version 0.4.0
1148
+ - fix(package): update prom-client to version 11.0.0
1149
+ - refactor: use body-parser bundled with express
1150
+ - fix(package): update express-validator to version 5.0.0
1151
+
1152
+ ## 3.0.0 (10.02.2018)
1153
+
1154
+ - All changes in all 3.0.0 alpha-releases is included in this version
1155
+ - fix(package): Upgrade unleash-frontend to version 3.0.0
1156
+
1157
+ ## 3.0.0-alpha.10
1158
+
1159
+ - chore(package.json): Bump unleash-frontend to 3.0.0-alpha.7
1160
+ - fix(store): DB should not override createdAt if set.
1161
+
1162
+ ## 3.0.0-alpha.9
1163
+
1164
+ - Bugfix: more informative name validation errors ([#292](https://github.com/Unleash/unleash/pull/292))
1165
+
1166
+ ## 3.0.0-alpha.8
1167
+
1168
+ - [Auth] User-provider ([#261](https://github.com/Unleash/unleash/issues/261))
1169
+ - [Auth] Document how to secure Unleash ([#234](https://github.com/Unleash/unleash/issues/234))
1170
+ - [Auth] Admin UI should handle 401 ([#232](https://github.com/Unleash/unleash/issues/232))
1171
+ - [Auth] Client API authentication ([#231](https://github.com/Unleash/unleash/issues/231))
1172
+ - [Auth] Handle 403 (Forbidden) with custom auth.
1173
+ - [Auth] Support sign out ([#288](https://github.com/Unleash/unleash/issues/288))
1174
+
1175
+ ## 3.0.0-alpha.7
1176
+
1177
+ - Bugfix: Should not allow creation of archived toggle #284
1178
+
1179
+ ## 3.0.0-alpha.6
1180
+
1181
+ - Expose vresion number in /api and in user interface.
1182
+ - Housekeeping: Upgrading a lot of dependencies
1183
+
1184
+ ## 3.0.0-alpha.3
1185
+
1186
+ - Bump unleash-frontend
1187
+
1188
+ ## 3.0.0-alpha.2
1189
+
1190
+ - Add sdkVersion in client registration
1191
+ - disable edit of built-in strategies
1192
+ - Strip uknown fields in client requests.
1193
+ - Disable x-powered-by header
1194
+ - Add posibility to inject custom logger provider
1195
+
1196
+ ## 3.0.0-alpha.1
1197
+
1198
+ - upgrade unleash-frontend to 3.0.0-alpha.1
1199
+ - moved api endpoints to /api/admin/_ and /api/client/_
1200
+ - refactored all routes to use a standalone router per file
1201
+ - removed v.1 legacy data support
1202
+ - removed v.1 legacy /features endpoint
1203
+ - added prettier and upgraded eslint
1204
+
1205
+ ## 2.2.0
1206
+
1207
+ - Expose hooks in main export #223
1208
+
1209
+ ## 2.1.7
1210
+
1211
+ - Bump unleash-frontend to 2.2.6
1212
+
1213
+ ## 2.1.6
1214
+
1215
+ - Added strategies validation when updating feature toggle
1216
+ - Allow node newer than 6 to run the app
1217
+
1218
+ ## 2.1.4
1219
+
1220
+ - Bump unleash-fronted to 2.2.4
1221
+
1222
+ ## 2.1.3
1223
+
1224
+ - Bugfix for db: timestamps should be with time zone.
1225
+ - Bump unleash-fronted to 2.2.3
1226
+
1227
+ ## 2.1.2
1228
+
1229
+ - Bugfix for migration: avoid multiple calls on same callback.
1230
+
1231
+ ## 2.1.0
1232
+
1233
+ - Provide a set of pre-defined activation strategies. These will automatically be defined by the migrator as long as they don't exist already.
1234
+ - applicationHostname
1235
+ - gradualRolloutRandom
1236
+ - gradualRolloutSessionId
1237
+ - gradualRolloutUserId
1238
+ - remoteAddress
1239
+ - userWithId
1240
+
1241
+ ## 2.0.4
1242
+
1243
+ - bump unleash-frontend which includes a lot of UI improvements and bug-fixes.
1244
+ - Fix error message when trying to create a archived feature toggle.
1245
+
1246
+ ## 2.0.0 (January 2017)
1247
+
1248
+ - Support multiple strategies. This makes it easy to use multiple activation strategies in combination.
1249
+ - Client metrics. Gives details about what toggles a specific client application uses, how many times a toggle was evaluated to true / false. Everything presented in the UI.
1250
+ - Client registration. This gives insight about connected clients, instances, strategies they support.
1251
+ - Client Application overview. Based on metrics and client registrations.
1252
+ - Database-migration done internally by Unleash, no external migration step required.
1253
+ - Publish unleash-server to npm.
1254
+ - Provide Prometheus endpoint for service metrics (response times, memory usage, etc).
1255
+ - A lot of bug-fixes (check commit history and issues for reference)
1256
+ - Unleash-frontend as a separate repo: https://github.com/Unleash/unleash-frontend. Total rewrite of UI using react + redux + material Design.
1257
+ - Unleash moved to it’s own organization: https://github.com/Unleash making it more open and allow everyone to contribute.
1258
+ - Unleash-docker as a separate module: https://github.com/Unleash/unleash-docker
1259
+ - Unleash binary, making it easy to install and use Unleash as a service.
1260
+ - Removed all config/tuning that was specific to FINN.no usage of Unleash.
1261
+
1262
+ **If you are migrating from 1.0.0 to 2.0.0 we recommend reading [the migration guide](https://github.com/Unleash/unleash/blob/master/docs/migration-guide.md)**
1263
+
1264
+ ## 1.0.0 (January 2015)
1265
+
1266
+ - Initial public release