@atlaspack/feature-flags 2.14.1 → 2.14.3

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
@@ -1,5 +1,21 @@
1
1
  # @atlaspack/feature-flags
2
2
 
3
+ ## 2.14.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 2.14.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#494](https://github.com/atlassian-labs/atlaspack/pull/494) [`9b85d3e`](https://github.com/atlassian-labs/atlaspack/commit/9b85d3e645b10bd027eed2304afc970a5ba40062) Thanks [@JakeLane](https://github.com/JakeLane)! - When conditionalBundlingReporterDuplicateFix is enabled, avoid duplicated writes to the descriptor and logging
14
+
15
+ - [#510](https://github.com/atlassian-labs/atlaspack/pull/510) [`17b9579`](https://github.com/atlassian-labs/atlaspack/commit/17b9579484eced0ed8f23e2aba6d23b3c7238c39) Thanks [@yamadapc](https://github.com/yamadapc)! - Add unused feature-flag for cache rework changes
16
+
17
+ - [#512](https://github.com/atlassian-labs/atlaspack/pull/512) [`8f4e6c1`](https://github.com/atlassian-labs/atlaspack/commit/8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f) Thanks [@yamadapc](https://github.com/yamadapc)! - Remove LMDB cache back-end
18
+
3
19
  ## 2.14.1
4
20
 
5
21
  ### Patch Changes
package/lib/index.js CHANGED
@@ -17,7 +17,6 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
17
17
  useWatchmanWatcher: false,
18
18
  importRetry: false,
19
19
  fixQuadraticCacheInvalidation: 'OLD',
20
- useLmdbJsLite: true,
21
20
  conditionalBundlingApi: false,
22
21
  vcsMode: 'OLD',
23
22
  loadableSideEffects: false,
@@ -25,9 +24,10 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
25
24
  inlineBundlesSourceMapFixes: false,
26
25
  conditionalBundlingNestedRuntime: false,
27
26
  patchProjectPaths: false,
28
- enableRustWorkerThreadDylibHack: true,
27
+ cachePerformanceImprovements: false,
29
28
  inlineStringReplacementPerf: false,
30
- conditionalBundlingAsyncRuntime: false
29
+ conditionalBundlingAsyncRuntime: false,
30
+ conditionalBundlingReporterDuplicateFix: false
31
31
  };
32
32
  let featureFlagValues = {
33
33
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -18,11 +18,6 @@ export type FeatureFlags = {
18
18
  */
19
19
  importRetry: boolean;
20
20
 
21
- /**
22
- * Enable Rust based LMDB wrapper library
23
- */
24
- useLmdbJsLite: boolean;
25
-
26
21
  /**
27
22
  * Fixes quadratic cache invalidation issue
28
23
  */
@@ -43,6 +38,14 @@ export type FeatureFlags = {
43
38
  */
44
39
  vcsMode: ConsistencyCheckFeatureFlagValue;
45
40
 
41
+ /**
42
+ * Refactor cache to:
43
+ * - Split writes into multiple entries
44
+ * - Remove "large file blob" writes
45
+ * - Reduce size of the caches by deduplicating data
46
+ */
47
+ cachePerformanceImprovements: boolean;
48
+
46
49
  /**
47
50
  * Enable scanning for the presence of loadable to determine side effects
48
51
  */
@@ -69,11 +72,6 @@ export type FeatureFlags = {
69
72
  */
70
73
  patchProjectPaths: boolean;
71
74
 
72
- /**
73
- * Enable loading of the parcel dylib in the main thread.
74
- */
75
- enableRustWorkerThreadDylibHack: boolean;
76
-
77
75
  /**
78
76
  * Enables optimized inline string replacement perf for the packager.
79
77
  * Used heavily for inline bundles.
@@ -84,5 +82,10 @@ export type FeatureFlags = {
84
82
  * Enable support for the async bundle runtime (unstable_asyncBundleRuntime) in conditional bundling
85
83
  */
86
84
  conditionalBundlingAsyncRuntime: boolean;
85
+
86
+ /**
87
+ * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
88
+ */
89
+ conditionalBundlingReporterDuplicateFix: boolean;
87
90
  };
88
91
  export type ConsistencyCheckFeatureFlagValue = "NEW" | "OLD" | "NEW_AND_CHECK" | "OLD_AND_CHECK";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/feature-flags",
3
- "version": "2.14.1",
3
+ "version": "2.14.3",
4
4
  "description": "Provides internal feature-flags for the atlaspack codebase.",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
package/src/index.js CHANGED
@@ -12,7 +12,6 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
12
12
  useWatchmanWatcher: false,
13
13
  importRetry: false,
14
14
  fixQuadraticCacheInvalidation: 'OLD',
15
- useLmdbJsLite: true,
16
15
  conditionalBundlingApi: false,
17
16
  vcsMode: 'OLD',
18
17
  loadableSideEffects: false,
@@ -20,9 +19,10 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
20
19
  inlineBundlesSourceMapFixes: false,
21
20
  conditionalBundlingNestedRuntime: false,
22
21
  patchProjectPaths: false,
23
- enableRustWorkerThreadDylibHack: true,
22
+ cachePerformanceImprovements: false,
24
23
  inlineStringReplacementPerf: false,
25
24
  conditionalBundlingAsyncRuntime: false,
25
+ conditionalBundlingReporterDuplicateFix: false,
26
26
  };
27
27
 
28
28
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -16,10 +16,6 @@ export type FeatureFlags = {|
16
16
  * Configure runtime to enable retriable dynamic imports
17
17
  */
18
18
  importRetry: boolean,
19
- /**
20
- * Enable Rust based LMDB wrapper library
21
- */
22
- useLmdbJsLite: boolean,
23
19
  /**
24
20
  * Fixes quadratic cache invalidation issue
25
21
  */
@@ -37,6 +33,13 @@ export type FeatureFlags = {|
37
33
  * - NEW: Return VCS result, but don't call watchman
38
34
  */
39
35
  vcsMode: ConsistencyCheckFeatureFlagValue,
36
+ /**
37
+ * Refactor cache to:
38
+ * - Split writes into multiple entries
39
+ * - Remove "large file blob" writes
40
+ * - Reduce size of the caches by deduplicating data
41
+ */
42
+ cachePerformanceImprovements: boolean,
40
43
  /**
41
44
  * Enable scanning for the presence of loadable to determine side effects
42
45
  */
@@ -58,10 +61,6 @@ export type FeatureFlags = {|
58
61
  * This feature is experimental and should not be used in production. It will used to test downloadble cache artefacts.
59
62
  */
60
63
  patchProjectPaths: boolean,
61
- /**
62
- * Enable loading of the parcel dylib in the main thread.
63
- */
64
- enableRustWorkerThreadDylibHack: boolean,
65
64
  /**
66
65
  * Enables optimized inline string replacement perf for the packager.
67
66
  * Used heavily for inline bundles.
@@ -71,6 +70,10 @@ export type FeatureFlags = {|
71
70
  * Enable support for the async bundle runtime (unstable_asyncBundleRuntime) in conditional bundling
72
71
  */
73
72
  conditionalBundlingAsyncRuntime: boolean,
73
+ /**
74
+ * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
75
+ */
76
+ conditionalBundlingReporterDuplicateFix: boolean,
74
77
  |};
75
78
 
76
79
  export type ConsistencyCheckFeatureFlagValue =