Add some feature flags (#270)

* Add 1.4.2/1.5.1/1.6.0 feature flags

Signed-off-by: Andy Lee <andy.lee@suse.com>

* bump version to v1.6.0-dev

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2025-05-08 13:18:45 +08:00
committed by GitHub
parent 5841508b26
commit 235373045c
3 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "harvester-ui-extension", "name": "harvester-ui-extension",
"version": "1.5.0", "version": "1.6.0-dev",
"private": false, "private": false,
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
+22 -4
View File
@@ -40,16 +40,21 @@ const featuresV141 = [
...featuresV140 ...featuresV140
]; ];
// TODO: add v1.4.2 official release note // https://github.com/harvester/dashboard/releases/tag/v1.4.2
const featuresV142 = [ const featuresV142 = [
...featuresV141, ...featuresV141,
'refreshIntervalInSecond', 'refreshIntervalInSecond',
'allowEmptySnapshotClassName' 'allowEmptySnapshotClassName'
]; ];
// TODO: add v1.5.0 official release note // TODO: https://github.com/harvester/dashboard/releases/tag/v1.4.3
const featuresV150 = [ const featuresV143 = [
...featuresV142, ...featuresV142,
];
// https://github.com/harvester/harvester-ui-extension/releases/tag/v1.5.0
const featuresV150 = [
...featuresV143,
'tpmPersistentState', 'tpmPersistentState',
'efiPersistentState', 'efiPersistentState',
'untaggedNetworkSetting', 'untaggedNetworkSetting',
@@ -57,6 +62,16 @@ const featuresV150 = [
'thirdPartyStorage' 'thirdPartyStorage'
]; ];
// TODO: https://github.com/harvester/harvester-ui-extension/releases/tag/v1.5.1
const featuresV151 = [
...featuresV150
];
// TODO: https://github.com/harvester/harvester-ui-extension/releases/tag/v1.6.0
const featuresV160 = [
...featuresV151
];
export const RELEASE_FEATURES = { export const RELEASE_FEATURES = {
'v1.3.0': featuresV130, 'v1.3.0': featuresV130,
'v1.3.1': featuresV131, 'v1.3.1': featuresV131,
@@ -65,5 +80,8 @@ export const RELEASE_FEATURES = {
'v1.4.0': featuresV140, 'v1.4.0': featuresV140,
'v1.4.1': featuresV141, 'v1.4.1': featuresV141,
'v1.4.2': featuresV142, 'v1.4.2': featuresV142,
'v1.5.0': featuresV150 'v1.4.3': featuresV143,
'v1.5.0': featuresV150,
'v1.5.1': featuresV151,
'v1.6.0': featuresV160
}; };
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "harvester", "name": "harvester",
"description": "Rancher UI Extension for Harvester", "description": "Rancher UI Extension for Harvester",
"version": "1.5.0", "version": "1.6.0-dev",
"private": false, "private": false,
"rancher": { "rancher": {
"annotations": { "annotations": {