@atlaskit/react-ufo 5.3.0 → 5.4.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/AGENTS.md +20 -9
- package/CHANGELOG.md +16 -0
- package/api-reference.md +899 -456
- package/dist/cjs/config/index.js +13 -6
- package/dist/cjs/create-interaction-extra-metrics-payload/index.js +19 -18
- package/dist/cjs/create-payload/index.js +2 -2
- package/dist/cjs/interaction-metrics-init/index.js +1 -28
- package/dist/cjs/set-terminal-error/index.js +2 -2
- package/dist/es2019/config/index.js +12 -8
- package/dist/es2019/create-interaction-extra-metrics-payload/index.js +6 -5
- package/dist/es2019/create-payload/index.js +1 -1
- package/dist/es2019/interaction-metrics-init/index.js +0 -27
- package/dist/es2019/set-terminal-error/index.js +2 -2
- package/dist/esm/config/index.js +12 -6
- package/dist/esm/create-interaction-extra-metrics-payload/index.js +20 -19
- package/dist/esm/create-payload/index.js +2 -2
- package/dist/esm/interaction-metrics-init/index.js +1 -28
- package/dist/esm/set-terminal-error/index.js +2 -2
- package/dist/types/common/react-ufo-payload-schema.d.ts +1 -1
- package/dist/types/config/index.d.ts +2 -1
- package/dist/types-ts4.5/common/react-ufo-payload-schema.d.ts +1 -1
- package/dist/types-ts4.5/config/index.d.ts +2 -1
- package/package.json +2 -5
package/AGENTS.md
CHANGED
|
@@ -111,9 +111,14 @@ graph LR
|
|
|
111
111
|
|
|
112
112
|
The package supports multiple TTVC calculation algorithms:
|
|
113
113
|
|
|
114
|
-
- `fy25.01`, `fy25.02`: Legacy revisions
|
|
115
|
-
- `
|
|
116
|
-
- `
|
|
114
|
+
- `fy25.01`, `fy25.02`, `fy25.03`: Legacy revisions
|
|
115
|
+
- `fy26.04`: Current default revision (`DEFAULT_TTVC_REVISION`)
|
|
116
|
+
- `next`: Experimental revision
|
|
117
|
+
|
|
118
|
+
> **Important**: Changing `DEFAULT_TTVC_REVISION` (i.e. cleaning up the feature gate after full
|
|
119
|
+
> rollout) is a **breaking change** and must use a **major version bump** in the changeset. This is
|
|
120
|
+
> because downstream consumers may depend on the specific revision for VC metric calculations and
|
|
121
|
+
> payload processing.
|
|
117
122
|
|
|
118
123
|
## Directory Structure
|
|
119
124
|
|
|
@@ -455,12 +460,18 @@ interface Config {
|
|
|
455
460
|
|
|
456
461
|
When making changes:
|
|
457
462
|
|
|
458
|
-
1.
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
463
|
+
1. **Always create a changeset** for any changes outside of tests and documentation:
|
|
464
|
+
```bash
|
|
465
|
+
yarn changeset --ni @atlaskit/react-ufo patch "Description of change"
|
|
466
|
+
```
|
|
467
|
+
Use `major` for breaking changes (e.g. changing `DEFAULT_TTVC_REVISION`), `minor` for new
|
|
468
|
+
features, and `patch` for bug fixes.
|
|
469
|
+
2. Run unit tests: `cd platform && afm test packages/react-ufo/atlaskit`
|
|
470
|
+
3. Run integration tests to verify VC measurement accuracy
|
|
471
|
+
4. Consider impact on downstream Glance/Performance Portal processing
|
|
472
|
+
5. Update sampling rates carefully as they affect data volume
|
|
473
|
+
6. Feature flag new functionality for gradual rollout
|
|
474
|
+
7. Coordinate with the FeObs team (`#help-devinfra-fe-observability`) for major changes
|
|
464
475
|
|
|
465
476
|
## Dangerous Operations — Never Do These
|
|
466
477
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`44280d02aa09f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44280d02aa09f) -
|
|
8
|
+
Fix 3P metrics silently discarded when TTVC v3 disabled: use dynamic revision resolution via
|
|
9
|
+
getMostRecentVCRevision instead of hardcoded DEFAULT_TTVC_REVISION, update default to fy26.04, and
|
|
10
|
+
fix setUFOConfig enforcement to apply regardless of byExperience presence
|
|
11
|
+
|
|
12
|
+
## 5.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`d95ffd10bec80`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d95ffd10bec80) -
|
|
17
|
+
remove old FG used by Criterion for reading UFO payloads
|
|
18
|
+
|
|
3
19
|
## 5.3.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|