unleash-server 4.18.5 → 4.18.6
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.
|
@@ -3,7 +3,8 @@ exports.up = function (db, callback) {
|
|
|
3
3
|
db.runSql(`
|
|
4
4
|
ALTER TABLE feature_environments ADD COLUMN variants JSONB DEFAULT '[]'::jsonb NOT NULL;
|
|
5
5
|
WITH feature_variants AS (SELECT variants, name FROM features)
|
|
6
|
-
UPDATE feature_environments SET variants = feature_variants.variants FROM feature_variants
|
|
6
|
+
UPDATE feature_environments SET variants = feature_variants.variants FROM feature_variants
|
|
7
|
+
WHERE feature_name = feature_variants.name and feature_variants.variants is not null;
|
|
7
8
|
|
|
8
9
|
CREATE VIEW features_view AS
|
|
9
10
|
SELECT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"20221107121635-move-variants-to-per-environment.js","sourceRoot":"","sources":["../../src/migrations/20221107121635-move-variants-to-per-environment.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,CAAC,EAAE,GAAG,UAAU,EAAE,EAAE,QAAQ;IAC/B,EAAE,CAAC,MAAM,CACL
|
|
1
|
+
{"version":3,"file":"20221107121635-move-variants-to-per-environment.js","sourceRoot":"","sources":["../../src/migrations/20221107121635-move-variants-to-per-environment.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,CAAC,EAAE,GAAG,UAAU,EAAE,EAAE,QAAQ;IAC/B,EAAE,CAAC,MAAM,CACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAoCC,EACD,QAAQ,CACX,CAAC;AACN,CAAC,CAAC;AAEF,OAAO,CAAC,IAAI,GAAG,UAAU,EAAE,EAAE,QAAQ;IACjC,EAAE,CAAC,MAAM,CACL;;;SAGC,EACD,QAAQ,CACX,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unleash-server",
|
|
3
3
|
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
|
|
4
|
-
"version": "4.18.
|
|
4
|
+
"version": "4.18.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unleash",
|
|
7
7
|
"feature toggle",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"db-migrate-shared": "1.2.0",
|
|
100
100
|
"deepmerge": "^4.2.2",
|
|
101
101
|
"errorhandler": "^1.5.1",
|
|
102
|
-
"express": "^4.
|
|
102
|
+
"express": "^4.18.2",
|
|
103
103
|
"express-rate-limit": "^6.6.0",
|
|
104
104
|
"express-session": "^1.17.1",
|
|
105
105
|
"fast-json-patch": "^3.1.0",
|