@atlaspack/feature-flags 2.14.1-dev.43 → 2.14.1-dev.47

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,16 @@
1
1
  # @atlaspack/feature-flags
2
2
 
3
+ ## 2.14.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#388](https://github.com/atlassian-labs/atlaspack/pull/388) [`4aab060`](https://github.com/atlassian-labs/atlaspack/commit/4aab0605c0d4ee8e0dcc3ffa1162eae5b360b677) Thanks [@yamadapc](https://github.com/yamadapc)! - Set LMDB.js Lite as the default cache back-end
8
+
9
+ - [#420](https://github.com/atlassian-labs/atlaspack/pull/420) [`e1422ad`](https://github.com/atlassian-labs/atlaspack/commit/e1422ad0a801faaa4bc4f1023bed042ffe236e9b) Thanks [@JakeLane](https://github.com/JakeLane)! - Support async script runtime in conditional bundling
10
+
11
+ - [#478](https://github.com/atlassian-labs/atlaspack/pull/478) [`570493b`](https://github.com/atlassian-labs/atlaspack/commit/570493beaf754e7985aebc7daaaf6dfcfa8fe56b) Thanks [@yamadapc](https://github.com/yamadapc)! - The first attempt at Version Packages didn't include the built artifacts.
12
+ This has hopefully been fixed, so this change will force those packages to re-release.
13
+
3
14
  ## 2.14.0
4
15
 
5
16
  ### Minor Changes
package/lib/index.js CHANGED
@@ -17,7 +17,7 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
17
17
  useWatchmanWatcher: false,
18
18
  importRetry: false,
19
19
  fixQuadraticCacheInvalidation: 'OLD',
20
- useLmdbJsLite: false,
20
+ useLmdbJsLite: true,
21
21
  conditionalBundlingApi: false,
22
22
  vcsMode: 'OLD',
23
23
  loadableSideEffects: false,
@@ -25,7 +25,9 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
25
25
  inlineBundlesSourceMapFixes: false,
26
26
  conditionalBundlingNestedRuntime: false,
27
27
  patchProjectPaths: false,
28
- inlineStringReplacementPerf: false
28
+ enableRustWorkerThreadDylibHack: true,
29
+ inlineStringReplacementPerf: false,
30
+ conditionalBundlingAsyncRuntime: false
29
31
  };
30
32
  let featureFlagValues = {
31
33
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -69,10 +69,20 @@ export type FeatureFlags = {
69
69
  */
70
70
  patchProjectPaths: boolean;
71
71
 
72
+ /**
73
+ * Enable loading of the parcel dylib in the main thread.
74
+ */
75
+ enableRustWorkerThreadDylibHack: boolean;
76
+
72
77
  /**
73
78
  * Enables optimized inline string replacement perf for the packager.
74
79
  * Used heavily for inline bundles.
75
80
  */
76
81
  inlineStringReplacementPerf: boolean;
82
+
83
+ /**
84
+ * Enable support for the async bundle runtime (unstable_asyncBundleRuntime) in conditional bundling
85
+ */
86
+ conditionalBundlingAsyncRuntime: boolean;
77
87
  };
78
88
  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-dev.43+e1584ed4e",
3
+ "version": "2.14.1-dev.47+0a3b08abf",
4
4
  "description": "Provides internal feature-flags for the atlaspack codebase.",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -21,5 +21,5 @@
21
21
  "node": ">= 16.0.0"
22
22
  },
23
23
  "type": "commonjs",
24
- "gitHead": "e1584ed4eba00a5920c981f8622f8c04ee3c73c3"
24
+ "gitHead": "0a3b08abfeb2f12a780b4f6b6e616e3ffe52d951"
25
25
  }
package/src/index.js CHANGED
@@ -12,7 +12,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
12
12
  useWatchmanWatcher: false,
13
13
  importRetry: false,
14
14
  fixQuadraticCacheInvalidation: 'OLD',
15
- useLmdbJsLite: false,
15
+ useLmdbJsLite: true,
16
16
  conditionalBundlingApi: false,
17
17
  vcsMode: 'OLD',
18
18
  loadableSideEffects: false,
@@ -20,7 +20,9 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
20
20
  inlineBundlesSourceMapFixes: false,
21
21
  conditionalBundlingNestedRuntime: false,
22
22
  patchProjectPaths: false,
23
+ enableRustWorkerThreadDylibHack: true,
23
24
  inlineStringReplacementPerf: false,
25
+ conditionalBundlingAsyncRuntime: false,
24
26
  };
25
27
 
26
28
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -58,12 +58,19 @@ export type FeatureFlags = {|
58
58
  * This feature is experimental and should not be used in production. It will used to test downloadble cache artefacts.
59
59
  */
60
60
  patchProjectPaths: boolean,
61
-
61
+ /**
62
+ * Enable loading of the parcel dylib in the main thread.
63
+ */
64
+ enableRustWorkerThreadDylibHack: boolean,
62
65
  /**
63
66
  * Enables optimized inline string replacement perf for the packager.
64
67
  * Used heavily for inline bundles.
65
68
  */
66
69
  inlineStringReplacementPerf: boolean,
70
+ /**
71
+ * Enable support for the async bundle runtime (unstable_asyncBundleRuntime) in conditional bundling
72
+ */
73
+ conditionalBundlingAsyncRuntime: boolean,
67
74
  |};
68
75
 
69
76
  export type ConsistencyCheckFeatureFlagValue =