@atlaspack/feature-flags 2.14.2 → 2.14.4
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 +12 -0
- package/lib/index.js +1 -1
- package/lib/types.d.ts +5 -5
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/types.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaspack/feature-flags
|
|
2
2
|
|
|
3
|
+
## 2.14.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#542](https://github.com/atlassian-labs/atlaspack/pull/542) [`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09) Thanks [@yamadapc](https://github.com/yamadapc)! - Add feature-flagged option to use rayon thread-pool to optimize inline requires
|
|
8
|
+
|
|
9
|
+
## 2.14.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#511](https://github.com/atlassian-labs/atlaspack/pull/511) [`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7) Thanks [@yamadapc](https://github.com/yamadapc)! - Clean-up dylib worker threads segmentation fault bug fix feature-flag
|
|
14
|
+
|
|
3
15
|
## 2.14.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -18,6 +18,7 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
18
18
|
importRetry: false,
|
|
19
19
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
20
20
|
conditionalBundlingApi: false,
|
|
21
|
+
inlineRequiresMultiThreading: false,
|
|
21
22
|
vcsMode: 'OLD',
|
|
22
23
|
loadableSideEffects: false,
|
|
23
24
|
reduceResolverStringCreation: false,
|
|
@@ -25,7 +26,6 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
25
26
|
conditionalBundlingNestedRuntime: false,
|
|
26
27
|
patchProjectPaths: false,
|
|
27
28
|
cachePerformanceImprovements: false,
|
|
28
|
-
enableRustWorkerThreadDylibHack: true,
|
|
29
29
|
inlineStringReplacementPerf: false,
|
|
30
30
|
conditionalBundlingAsyncRuntime: false,
|
|
31
31
|
conditionalBundlingReporterDuplicateFix: false
|
package/lib/types.d.ts
CHANGED
|
@@ -30,6 +30,11 @@ export type FeatureFlags = {
|
|
|
30
30
|
*/
|
|
31
31
|
conditionalBundlingApi: boolean;
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Run inline requires optimizer in the rayon thread pool.
|
|
35
|
+
*/
|
|
36
|
+
inlineRequiresMultiThreading: boolean;
|
|
37
|
+
|
|
33
38
|
/**
|
|
34
39
|
* Enable VCS mode. Expected values are:
|
|
35
40
|
* - OLD - default value, return watchman result
|
|
@@ -72,11 +77,6 @@ export type FeatureFlags = {
|
|
|
72
77
|
*/
|
|
73
78
|
patchProjectPaths: boolean;
|
|
74
79
|
|
|
75
|
-
/**
|
|
76
|
-
* Enable loading of the parcel dylib in the main thread.
|
|
77
|
-
*/
|
|
78
|
-
enableRustWorkerThreadDylibHack: boolean;
|
|
79
|
-
|
|
80
80
|
/**
|
|
81
81
|
* Enables optimized inline string replacement perf for the packager.
|
|
82
82
|
* Used heavily for inline bundles.
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
13
13
|
importRetry: false,
|
|
14
14
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
15
15
|
conditionalBundlingApi: false,
|
|
16
|
+
inlineRequiresMultiThreading: false,
|
|
16
17
|
vcsMode: 'OLD',
|
|
17
18
|
loadableSideEffects: false,
|
|
18
19
|
reduceResolverStringCreation: false,
|
|
@@ -20,7 +21,6 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
20
21
|
conditionalBundlingNestedRuntime: false,
|
|
21
22
|
patchProjectPaths: false,
|
|
22
23
|
cachePerformanceImprovements: false,
|
|
23
|
-
enableRustWorkerThreadDylibHack: true,
|
|
24
24
|
inlineStringReplacementPerf: false,
|
|
25
25
|
conditionalBundlingAsyncRuntime: false,
|
|
26
26
|
conditionalBundlingReporterDuplicateFix: false,
|
package/src/types.js
CHANGED
|
@@ -26,6 +26,10 @@ 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,
|
|
29
33
|
/**
|
|
30
34
|
* Enable VCS mode. Expected values are:
|
|
31
35
|
* - OLD - default value, return watchman result
|
|
@@ -61,10 +65,6 @@ export type FeatureFlags = {|
|
|
|
61
65
|
* This feature is experimental and should not be used in production. It will used to test downloadble cache artefacts.
|
|
62
66
|
*/
|
|
63
67
|
patchProjectPaths: boolean,
|
|
64
|
-
/**
|
|
65
|
-
* Enable loading of the parcel dylib in the main thread.
|
|
66
|
-
*/
|
|
67
|
-
enableRustWorkerThreadDylibHack: boolean,
|
|
68
68
|
/**
|
|
69
69
|
* Enables optimized inline string replacement perf for the packager.
|
|
70
70
|
* Used heavily for inline bundles.
|