@adobe/helix-rum-enhancer 2.31.0-beta.7 → 2.31.0

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/.releaserc.cjs CHANGED
@@ -29,5 +29,5 @@ module.exports = {
29
29
  slackChannel: "rum-explorers",
30
30
  }],
31
31
  ],
32
- branches: ['main', { name: 'beta', prerelease: true }],
32
+ branches: ['main'],
33
33
  };
package/CHANGELOG.md CHANGED
@@ -1,23 +1,25 @@
1
- # [2.31.0-beta.7](https://github.com/adobe/helix-rum-enhancer/compare/v2.31.0-beta.6...v2.31.0-beta.7) (2025-02-19)
1
+ # [2.31.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.30.4...v2.31.0) (2025-03-04)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * collect repeating clicks upto max configuration ([6daba19](https://github.com/adobe/helix-rum-enhancer/commit/6daba19b6dcf3717e8330a923a0d87e61e3080ee))
7
- * comment for max events tracking ([b4b1c6d](https://github.com/adobe/helix-rum-enhancer/commit/b4b1c6da79a31485bb2165382f9fb9ece611a716))
8
- * do not trigger fill checkpoint for hidden fields ([f6f4c51](https://github.com/adobe/helix-rum-enhancer/commit/f6f4c519d38c48740ace4ba64f47cafc6cea2f47))
9
- * form elements having name/id as id breaks the sourceSelector logic. ([37bd0ab](https://github.com/adobe/helix-rum-enhancer/commit/37bd0ab4c6bb1aac1326bc9be0097a7ccf038870))
10
- * implement flood control with 1024 max events ([e06e1e5](https://github.com/adobe/helix-rum-enhancer/commit/e06e1e51b6dd3db0a015f4dcccb3ab8dcfb11b9f))
11
- * Implement flood control with 1024 max events ([ddfdb1e](https://github.com/adobe/helix-rum-enhancer/commit/ddfdb1e9dd58ff41cbd761774af9ad616290aae0))
6
+ * bugs and failing tests ([5c9adbc](https://github.com/adobe/helix-rum-enhancer/commit/5c9adbc2502203495a05d4fd2be6e05cc11102df))
7
+ * cross-browser compatibility ([1c21afd](https://github.com/adobe/helix-rum-enhancer/commit/1c21afd8cd982d4c33feba863d2251311f36e153))
12
8
  * just forcing a release ([0a643d5](https://github.com/adobe/helix-rum-enhancer/commit/0a643d55440216adc5ca8b66e5cf70b31997b800))
13
9
  * plugin path resolution ([f77d736](https://github.com/adobe/helix-rum-enhancer/commit/f77d736a5e52b6e01fb83defe74b5e0f9622c127))
14
10
  * plugins are not executing because they are exported as iife ([dfc1eea](https://github.com/adobe/helix-rum-enhancer/commit/dfc1eea7bf230d95456ee2f7ee200e6a37c2f8c3))
15
- * review feedback ([f4e6dd1](https://github.com/adobe/helix-rum-enhancer/commit/f4e6dd1b3fae8e37024045156c85923e776f40c3))
11
+ * set proper url base for plugins ([9726dc8](https://github.com/adobe/helix-rum-enhancer/commit/9726dc8f98bd71936c8a8f430cae73b6a8f5d63f))
12
+ * use proper fully qualified URLs for plugin path to avoid CORS ([c73eb31](https://github.com/adobe/helix-rum-enhancer/commit/c73eb31461115529922b82c3a8b678f21052b918))
16
13
 
17
14
 
18
15
  ### Features
19
16
 
17
+ * allow external extension via window.RUM_PLUGINS ([4613b00](https://github.com/adobe/helix-rum-enhancer/commit/4613b004c617f4d503355b5c43008149df9101ef))
20
18
  * handle pre-rendering ([3181698](https://github.com/adobe/helix-rum-enhancer/commit/3181698ea202ebb389dd82ab35a8d206a82b2006))
19
+ * inline web-vitals.js ([7d89e9f](https://github.com/adobe/helix-rum-enhancer/commit/7d89e9f664686d3a475ce829d7fb4f68f29ed71b))
20
+ * introduce minimal plugin system to offset non-essenial logic ([8642557](https://github.com/adobe/helix-rum-enhancer/commit/8642557beaef5161d1d4d51d2b04ce06bf7dbeb7))
21
+ * introduce minimal plugin system to offset non-essenial logic ([6066f0b](https://github.com/adobe/helix-rum-enhancer/commit/6066f0bd56393a10391e190b9a338f9a65b772b0))
22
+ * introduce plugin system to offset non-essenial logic ([38a3a65](https://github.com/adobe/helix-rum-enhancer/commit/38a3a65b43b7b8fff1447a6cf742dc228d47300b))
21
23
  * **loadresource:** add `allresources` feature flag that enables tracking all resources, not just same host ([a8fa936](https://github.com/adobe/helix-rum-enhancer/commit/a8fa936035f56b13ff8db66f32db17c828318972))
22
24
  * **missingresource:** report all resource error with http status code ([e3ad482](https://github.com/adobe/helix-rum-enhancer/commit/e3ad482454e5fe874e5cef5842a08915c53dbad4))
23
25
 
@@ -26,6 +28,13 @@
26
28
 
27
29
  * Revert "feat: handle pre-rendering" ([9603927](https://github.com/adobe/helix-rum-enhancer/commit/9603927774966fcfadb3ba3f8f7b42a0c003fd2e))
28
30
 
31
+ ## [2.30.4](https://github.com/adobe/helix-rum-enhancer/compare/v2.30.3...v2.30.4) (2025-02-24)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **missingresource:** exclude specific RUM tracking resources from missing resource reports ([be1f077](https://github.com/adobe/helix-rum-enhancer/commit/be1f077e6aff202071ea3e5974b4092d6610d66e))
37
+
29
38
  ## [2.30.3](https://github.com/adobe/helix-rum-enhancer/compare/v2.30.2...v2.30.3) (2025-02-03)
30
39
 
31
40
 
@@ -114,13 +123,6 @@
114
123
 
115
124
  * handle pre-speculation rules and rendering ([#301](https://github.com/adobe/helix-rum-enhancer/issues/301)) ([196d404](https://github.com/adobe/helix-rum-enhancer/commit/196d404f3f90a247a223e8ddc7c667592a87319f))
116
125
 
117
- # [2.26.0-beta.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.25.0...v2.26.0-beta.1) (2024-10-09)
118
-
119
-
120
- ### Features
121
-
122
- * handle pre-rendering ([bb11187](https://github.com/adobe/helix-rum-enhancer/commit/bb11187058b8cb521a270c316323b66414a8d817))
123
-
124
126
  # [2.25.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.24.0...v2.25.0) (2024-10-03)
125
127
 
126
128
 
package/modules/index.js CHANGED
@@ -168,6 +168,7 @@ function addLoadResourceTracking() {
168
168
  });
169
169
  list.getEntries()
170
170
  .filter((e) => e.responseStatus >= 400)
171
+ .filter((e) => !(new URL(e.name).pathname.match('.*(/\\.rum/1[0-9]{0,3})')))
171
172
  .forEach((e) => {
172
173
  sampleRUM('missingresource', { source: e.name, target: e.responseStatus });
173
174
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.31.0-beta.7",
3
+ "version": "2.31.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "build-bundle": "rollup --config",
15
15
  "prepack": "npm run build-bundle",
16
16
  "semantic-release": "semantic-release",
17
- "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH 1.x main beta",
17
+ "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH 1.x main",
18
18
  "prepare": "husky"
19
19
  },
20
20
  "repository": {
@@ -56,7 +56,7 @@
56
56
  "lint-staged": "15.4.3",
57
57
  "mocha": "11.1.0",
58
58
  "mocha-multi-reporters": "1.5.1",
59
- "rollup": "4.34.8",
59
+ "rollup": "4.34.9",
60
60
  "rollup-plugin-checksum": "1.0.1",
61
61
  "rollup-plugin-eslint-bundle": "9.0.0",
62
62
  "semantic-release": "24.2.3",
package/src/index.js CHANGED
@@ -266,7 +266,7 @@
266
266
  target: Math.round(e.duration)
267
267
  });
268
268
  });
269
- list.getEntries().filter(e => e.responseStatus >= 400).forEach(e => {
269
+ list.getEntries().filter(e => e.responseStatus >= 400).filter(e => !new URL(e.name).pathname.match('.*(/\\.rum/1[0-9]{0,3})')).forEach(e => {
270
270
  sampleRUM('missingresource', {
271
271
  source: e.name,
272
272
  target: e.responseStatus
package/src/index.md5 CHANGED
@@ -1 +1 @@
1
- bae386a44a51c5b754217dd50889bce5
1
+ 8b85aad6cf2f2b2e97ddd2fed284265b
@@ -1 +1 @@
1
- c6bd01eb97ee18c5e59be949cfeabe3d
1
+ addd3db0ad62fb1e9da0fc8ea31a89f5