@atlaspack/feature-flags 2.14.4 → 2.15.1

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,17 @@
1
1
  # @atlaspack/feature-flags
2
2
 
3
+ ## 2.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#551](https://github.com/atlassian-labs/atlaspack/pull/551) [`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b) Thanks [@yamadapc](https://github.com/yamadapc)! - Log request tracker invalidation counts on start-up
8
+
9
+ ## 2.15.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#547](https://github.com/atlassian-labs/atlaspack/pull/547) [`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929) Thanks [@benjervis](https://github.com/benjervis)! - Add a feature flag for resolving the configuration for `@atlaspack/bundler-default` from CWD, rather than exclusively from the project root.
14
+
3
15
  ## 2.14.4
4
16
 
5
17
  ### Patch Changes
package/lib/index.js CHANGED
@@ -28,7 +28,10 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
28
28
  cachePerformanceImprovements: false,
29
29
  inlineStringReplacementPerf: false,
30
30
  conditionalBundlingAsyncRuntime: false,
31
- conditionalBundlingReporterDuplicateFix: false
31
+ // Default to true as it's a monitoring change. Can be turned off if necessary.
32
+ verboseRequestInvalidationStats: true,
33
+ conditionalBundlingReporterDuplicateFix: false,
34
+ resolveBundlerConfigFromCwd: false
32
35
  };
33
36
  let featureFlagValues = {
34
37
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -62,6 +62,11 @@ export type FeatureFlags = {
62
62
  */
63
63
  reduceResolverStringCreation: boolean;
64
64
 
65
+ /**
66
+ * Add verbose metrics for request tracker invalidation
67
+ */
68
+ verboseRequestInvalidationStats: boolean;
69
+
65
70
  /**
66
71
  * Fixes source maps for inline bundles
67
72
  */
@@ -92,5 +97,10 @@ export type FeatureFlags = {
92
97
  * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
93
98
  */
94
99
  conditionalBundlingReporterDuplicateFix: boolean;
100
+
101
+ /**
102
+ * Enable resolution of bundler config starting from the CWD
103
+ */
104
+ resolveBundlerConfigFromCwd: boolean;
95
105
  };
96
106
  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.4",
3
+ "version": "2.15.1",
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
@@ -23,7 +23,10 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
23
23
  cachePerformanceImprovements: false,
24
24
  inlineStringReplacementPerf: false,
25
25
  conditionalBundlingAsyncRuntime: false,
26
+ // Default to true as it's a monitoring change. Can be turned off if necessary.
27
+ verboseRequestInvalidationStats: true,
26
28
  conditionalBundlingReporterDuplicateFix: false,
29
+ resolveBundlerConfigFromCwd: false,
27
30
  };
28
31
 
29
32
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -53,6 +53,10 @@ export type FeatureFlags = {|
53
53
  * conversions
54
54
  */
55
55
  reduceResolverStringCreation: boolean,
56
+ /**
57
+ * Add verbose metrics for request tracker invalidation
58
+ */
59
+ verboseRequestInvalidationStats: boolean,
56
60
  /**
57
61
  * Fixes source maps for inline bundles
58
62
  */
@@ -78,6 +82,10 @@ export type FeatureFlags = {|
78
82
  * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
79
83
  */
80
84
  conditionalBundlingReporterDuplicateFix: boolean,
85
+ /**
86
+ * Enable resolution of bundler config starting from the CWD
87
+ */
88
+ resolveBundlerConfigFromCwd: boolean,
81
89
  |};
82
90
 
83
91
  export type ConsistencyCheckFeatureFlagValue =