Skip to content
Snippets Groups Projects
Commit 7b49b2cf authored by Barret Rennie's avatar Barret Rennie
Browse files

Bug 1833687 - Update nimbus-shared to 2.3.0 r=emcminn

parent 9068b8fe
No related branches found
No related tags found
No related merge requests found
...@@ -1478,6 +1478,7 @@ security/manager/tools/KnownRootHashes.json ...@@ -1478,6 +1478,7 @@ security/manager/tools/KnownRootHashes.json
security/manager/tools/PreloadedHPKPins.json security/manager/tools/PreloadedHPKPins.json
services/settings/dumps/ services/settings/dumps/
testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/static/js/minified.js testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/static/js/minified.js
toolkit/components/nimbus/schemas/NimbusExperiment.schema.json
toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs
toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp
toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp
......
...@@ -93,7 +93,10 @@ ...@@ -93,7 +93,10 @@
"description": "e.g. \"primary\" or \"secondary\"" "description": "e.g. \"primary\" or \"secondary\""
} }
}, },
"required": ["slug", "priority"] "required": [
"slug",
"priority"
]
}, },
"description": "A list of outcomes relevant to the experiment analysis." "description": "A list of outcomes relevant to the experiment analysis."
}, },
...@@ -133,11 +136,18 @@ ...@@ -133,11 +136,18 @@
"description": "Optional extra params for the feature (this should be validated against a schema)" "description": "Optional extra params for the feature (this should be validated against a schema)"
} }
}, },
"required": ["featureId", "value"], "required": [
"featureId",
"value"
],
"description": "A single feature configuration" "description": "A single feature configuration"
} }
}, },
"required": ["slug", "ratio", "feature"] "required": [
"slug",
"ratio",
"feature"
]
} }
}, },
{ {
...@@ -170,7 +180,11 @@ ...@@ -170,7 +180,11 @@
"additionalProperties": {} "additionalProperties": {}
} }
}, },
"required": ["featureId", "enabled", "value"], "required": [
"featureId",
"enabled",
"value"
],
"description": "The feature key must be provided with valid values to prevent crashes if the DTO is encountered by Desktop clients earlier than version 95." "description": "The feature key must be provided with valid values to prevent crashes if the DTO is encountered by Desktop clients earlier than version 95."
}, },
"features": { "features": {
...@@ -188,12 +202,20 @@ ...@@ -188,12 +202,20 @@
"description": "Optional extra params for the feature (this should be validated against a schema)" "description": "Optional extra params for the feature (this should be validated against a schema)"
} }
}, },
"required": ["featureId", "value"] "required": [
"featureId",
"value"
]
}, },
"description": "An array of feature configurations" "description": "An array of feature configurations"
} }
}, },
"required": ["slug", "ratio", "feature", "features"] "required": [
"slug",
"ratio",
"feature",
"features"
]
} }
}, },
{ {
...@@ -225,33 +247,52 @@ ...@@ -225,33 +247,52 @@
"description": "Optional extra params for the feature (this should be validated against a schema)" "description": "Optional extra params for the feature (this should be validated against a schema)"
} }
}, },
"required": ["featureId", "value"] "required": [
"featureId",
"value"
]
}, },
"description": "An array of feature configurations" "description": "An array of feature configurations"
} }
}, },
"required": ["slug", "ratio", "features"] "required": [
"slug",
"ratio",
"features"
]
} }
} }
], ],
"description": "Branch configuration for the experiment" "description": "Branch configuration for the experiment"
}, },
"targeting": { "targeting": {
"type": ["string", "null"], "type": [
"string",
"null"
],
"description": "JEXL expression used to filter experiments based on locale, geo, etc." "description": "JEXL expression used to filter experiments based on locale, geo, etc."
}, },
"startDate": { "startDate": {
"type": ["string", "null"], "type": [
"string",
"null"
],
"description": "Actual publish date of the experiment Note that this value is expected to be null in Remote Settings.", "description": "Actual publish date of the experiment Note that this value is expected to be null in Remote Settings.",
"format": "date" "format": "date"
}, },
"enrollmentEndDate": { "enrollmentEndDate": {
"type": ["string", "null"], "type": [
"string",
"null"
],
"description": "Actual enrollment end date of the experiment. Note that this value is expected to be null in Remote Settings.", "description": "Actual enrollment end date of the experiment. Note that this value is expected to be null in Remote Settings.",
"format": "date" "format": "date"
}, },
"endDate": { "endDate": {
"type": ["string", "null"], "type": [
"string",
"null"
],
"description": "Actual end date of the experiment. Note that this value is expected to be null in Remote Settings.", "description": "Actual end date of the experiment. Note that this value is expected to be null in Remote Settings.",
"format": "date" "format": "date"
}, },
...@@ -264,7 +305,10 @@ ...@@ -264,7 +305,10 @@
"description": "This represents the number of days that we expect to enroll new users. Note that this property is only used during the analysis phase (not by the SDK)" "description": "This represents the number of days that we expect to enroll new users. Note that this property is only used during the analysis phase (not by the SDK)"
}, },
"referenceBranch": { "referenceBranch": {
"type": ["string", "null"], "type": [
"string",
"null"
],
"description": "The slug of the reference branch (that is, which branch we consider \"control\")" "description": "The slug of the reference branch (that is, which branch we consider \"control\")"
}, },
"featureValidationOptOut": { "featureValidationOptOut": {
...@@ -287,6 +331,13 @@ ...@@ -287,6 +331,13 @@
} }
], ],
"description": "Per-locale localization substitutions.\n\nThe top level key is the locale (e.g., \"en-US\" or \"fr\"). Each entry is a mapping of string IDs to their localized equivalents.\n\nOnly supported on desktop." "description": "Per-locale localization substitutions.\n\nThe top level key is the locale (e.g., \"en-US\" or \"fr\"). Each entry is a mapping of string IDs to their localized equivalents.\n\nOnly supported on desktop."
},
"locales": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of locale codes (e.g., \"en-US\" or \"fr\") that this experiment is targeting.\n\nIf null, all locales are targeted."
} }
}, },
"required": [ "required": [
......
...@@ -9,8 +9,8 @@ origin: ...@@ -9,8 +9,8 @@ origin:
description: "Shared data and schemas for Project Nimbus" description: "Shared data and schemas for Project Nimbus"
url: "https://github.com/mozilla/nimbus-shared" url: "https://github.com/mozilla/nimbus-shared"
license: "MPL-2.0" license: "MPL-2.0"
release: "version 2.1.0" release: "version 2.3.0"
revision: "v2.1.0" revision: "v2.3.0"
vendoring: vendoring:
url: "https://github.com/mozilla/nimbus-shared" url: "https://github.com/mozilla/nimbus-shared"
......
...@@ -21,6 +21,7 @@ security/manager/tools/KnownRootHashes.json ...@@ -21,6 +21,7 @@ security/manager/tools/KnownRootHashes.json
security/manager/tools/PreloadedHPKPins.json security/manager/tools/PreloadedHPKPins.json
services/settings/dumps/ services/settings/dumps/
testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/static/js/minified.js testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/static/js/minified.js
toolkit/components/nimbus/schemas/NimbusExperiment.schema.json
toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs toolkit/components/pdfjs/content/PdfJsDefaultPreferences.sys.mjs
toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp toolkit/components/uniffi-js/UniFFIGeneratedScaffolding.cpp
toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp toolkit/components/uniffi-js/UniFFIFixtureScaffolding.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment