@atlaspack/feature-flags 2.19.1 → 2.19.2
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 +8 -0
- package/lib/index.js +2 -2
- package/lib/types.d.ts +6 -5
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/types.js +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaspack/feature-flags
|
|
2
2
|
|
|
3
|
+
## 2.19.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#706](https://github.com/atlassian-labs/atlaspack/pull/706) [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0) Thanks [@yamadapc](https://github.com/yamadapc)! - Clean-up feature-flag
|
|
8
|
+
|
|
9
|
+
- [#707](https://github.com/atlassian-labs/atlaspack/pull/707) [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a) Thanks [@yamadapc](https://github.com/yamadapc)! - Fix content key not found exceptions when bundling is aborted after a unsafe to incrementally bundle asset graph request
|
|
10
|
+
|
|
3
11
|
## 2.19.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -19,7 +19,6 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
19
19
|
importRetry: false,
|
|
20
20
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
21
21
|
conditionalBundlingApi: false,
|
|
22
|
-
inlineRequiresMultiThreading: false,
|
|
23
22
|
vcsMode: 'OLD',
|
|
24
23
|
loadableSideEffects: false,
|
|
25
24
|
reduceResolverStringCreation: false,
|
|
@@ -39,7 +38,8 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
39
38
|
emptyFileStarRexportFix: process.env.NODE_ENV === 'test',
|
|
40
39
|
cliProgressReportingImprovements: false,
|
|
41
40
|
condbDevFallbackDev: false,
|
|
42
|
-
condbDevFallbackProd: false
|
|
41
|
+
condbDevFallbackProd: false,
|
|
42
|
+
incrementalBundlingVersioning: process.env.NODE_ENV === 'test'
|
|
43
43
|
};
|
|
44
44
|
let featureFlagValues = {
|
|
45
45
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
|
@@ -31,11 +31,6 @@ export type FeatureFlags = {
|
|
|
31
31
|
*/
|
|
32
32
|
conditionalBundlingApi: boolean;
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* Run inline requires optimizer in the rayon thread pool.
|
|
36
|
-
*/
|
|
37
|
-
inlineRequiresMultiThreading: boolean;
|
|
38
|
-
|
|
39
34
|
/**
|
|
40
35
|
* Enable VCS mode. Expected values are:
|
|
41
36
|
* - OLD - default value, return watchman result
|
|
@@ -142,6 +137,12 @@ export type FeatureFlags = {
|
|
|
142
137
|
*/
|
|
143
138
|
condbDevFallbackDev: boolean;
|
|
144
139
|
condbDevFallbackProd: boolean;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Enable the new incremental bundling versioning logic which determines whether
|
|
143
|
+
* a full bundling pass is required based on the AssetGraph's bundlingVersion.
|
|
144
|
+
*/
|
|
145
|
+
incrementalBundlingVersioning: boolean;
|
|
145
146
|
};
|
|
146
147
|
export declare var CONSISTENCY_CHECK_VALUES: ReadonlyArray<string>;
|
|
147
148
|
export type ConsistencyCheckFeatureFlagValue = $ElementType<typeof CONSISTENCY_CHECK_VALUES, number>;
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -20,7 +20,6 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
20
20
|
importRetry: false,
|
|
21
21
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
22
22
|
conditionalBundlingApi: false,
|
|
23
|
-
inlineRequiresMultiThreading: false,
|
|
24
23
|
vcsMode: 'OLD',
|
|
25
24
|
loadableSideEffects: false,
|
|
26
25
|
reduceResolverStringCreation: false,
|
|
@@ -41,6 +40,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
41
40
|
cliProgressReportingImprovements: false,
|
|
42
41
|
condbDevFallbackDev: false,
|
|
43
42
|
condbDevFallbackProd: false,
|
|
43
|
+
incrementalBundlingVersioning: process.env.NODE_ENV === 'test',
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
|
package/src/types.js
CHANGED
|
@@ -26,10 +26,6 @@ export type FeatureFlags = {|
|
|
|
26
26
|
* and requires server-side support.
|
|
27
27
|
*/
|
|
28
28
|
conditionalBundlingApi: boolean,
|
|
29
|
-
/**
|
|
30
|
-
* Run inline requires optimizer in the rayon thread pool.
|
|
31
|
-
*/
|
|
32
|
-
inlineRequiresMultiThreading: boolean,
|
|
33
29
|
/**
|
|
34
30
|
* Enable VCS mode. Expected values are:
|
|
35
31
|
* - OLD - default value, return watchman result
|
|
@@ -121,6 +117,11 @@ export type FeatureFlags = {|
|
|
|
121
117
|
*/
|
|
122
118
|
condbDevFallbackDev: boolean,
|
|
123
119
|
condbDevFallbackProd: boolean,
|
|
120
|
+
/**
|
|
121
|
+
* Enable the new incremental bundling versioning logic which determines whether
|
|
122
|
+
* a full bundling pass is required based on the AssetGraph's bundlingVersion.
|
|
123
|
+
*/
|
|
124
|
+
incrementalBundlingVersioning: boolean,
|
|
124
125
|
|};
|
|
125
126
|
|
|
126
127
|
declare export var CONSISTENCY_CHECK_VALUES: $ReadOnlyArray<string>;
|