@featurevisor/types 0.42.0 → 0.43.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.43.0](https://github.com/fahad19/featurevisor/compare/v0.42.1...v0.43.0) (2023-08-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * Support deprecating features ([#117](https://github.com/fahad19/featurevisor/issues/117)) ([992740d](https://github.com/fahad19/featurevisor/commit/992740d5fbdda2bb15cf4a782147f0ed13d9288c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.42.0](https://github.com/fahad19/featurevisor/compare/v0.41.0...v0.42.0) (2023-07-23)
7
18
 
8
19
 
package/lib/index.d.ts CHANGED
@@ -137,6 +137,7 @@ export interface RequiredWithVariation {
137
137
  export type Required = FeatureKey | RequiredWithVariation;
138
138
  export interface Feature {
139
139
  key: FeatureKey;
140
+ deprecated?: boolean;
140
141
  required?: Required[];
141
142
  variablesSchema?: VariableSchema[];
142
143
  variations?: Variation[];
@@ -186,7 +187,8 @@ export interface Environment {
186
187
  }
187
188
  export interface ParsedFeature {
188
189
  key: FeatureKey;
189
- archived: boolean;
190
+ archived?: boolean;
191
+ deprecated?: boolean;
190
192
  description: string;
191
193
  tags: string[];
192
194
  required?: Required[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "Common Typescript types for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -41,5 +41,5 @@
41
41
  "url": "https://github.com/fahad19/featurevisor/issues"
42
42
  },
43
43
  "license": "MIT",
44
- "gitHead": "6df08bfb518918c2e1f0659175f53bbcbd5a5526"
44
+ "gitHead": "2f4487fdd0ab9cf88d0726e10e3d6b0a23b22fef"
45
45
  }
package/src/index.ts CHANGED
@@ -236,6 +236,7 @@ export type Required = FeatureKey | RequiredWithVariation;
236
236
 
237
237
  export interface Feature {
238
238
  key: FeatureKey;
239
+ deprecated?: boolean;
239
240
  required?: Required[];
240
241
  variablesSchema?: VariableSchema[];
241
242
  variations?: Variation[];
@@ -297,7 +298,9 @@ export interface Environment {
297
298
  export interface ParsedFeature {
298
299
  key: FeatureKey;
299
300
 
300
- archived: boolean;
301
+ archived?: boolean;
302
+ deprecated?: boolean;
303
+
301
304
  description: string;
302
305
  tags: string[];
303
306