@newrelic/video-core 4.1.6-beta → 4.1.6

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,35 +1,79 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [4.1.5-beta] - 2025/01/19
4
+ ## [4.1.6] - 2026/04/16
5
5
 
6
- ### Fix
6
+ ### Chore
7
+
8
+ - **README.md overhaul**
9
+ Rewrote `README.md` with comprehensive documentation including table of contents, installation instructions, quick start guide, configuration reference, exposed API details, custom tracker guide, getter methods reference, QoE section, obfuscation rules, build & development instructions, and distribution formats.
10
+
11
+ ## [4.1.5] - 2026/04/08
12
+
13
+ ### Changed
14
+
15
+ - **Bitrate attribute and method renaming**
16
+ Renamed bitrate attributes and their corresponding getter methods for better clarity:
17
+ - Attribute: `contentMeasuredBitrate` → `contentSegmentDownloadBitrate`
18
+ - Method: `getMeasuredBitrate()` → `getSegmentDownloadBitrate()`
19
+ - Attribute: `contentDownloadBitrate` → `contentNetworkDownloadBitrate`
20
+ - Method: `getDownloadBitrate()` → `getNetworkDownloadBitrate()`
21
+
22
+ ### Removed
23
+
24
+ - **Deprecated rendition bitrate attributes**
25
+ Removed `contentRenditionBitrate` and `adRenditionBitrate` attributes from `getAttributes()` in `videotracker.js`. These attributes are no longer included in video events.
26
+
27
+ - **Updated data model documentation**
28
+ Updated `DATAMODEL.md` to reflect the removal of rendition bitrate attributes and the renaming of download bitrate attributes.
7
29
 
8
- - update configs for correct module resolution for consumer
30
+ ## [4.1.4] - 2026/03/31
9
31
 
10
- ## [4.1.1-beta] - 2025/12/19
32
+ ### Feat
11
33
 
12
- ## Fix
34
+ - **Add obfuscation rules support for pre-harvest payload masking**
35
+ Introduces regex-based obfuscation rules that mask sensitive data in event payloads before they are sent to New Relic. Allows configuration of custom regex patterns with replacement strings to protect PII and sensitive tokens. Rules are applied in order to the serialized JSON payload, with invalid regex patterns logged as warnings and skipped.
13
36
 
14
- - Added an attribute numberOfErrors in QOE KPIs attribute.
37
+ ## [4.1.3] - 2026/03/24
15
38
 
16
- ## [4.1.3-beta] - 2025/01/16
39
+ ### Fix
40
+
41
+ - **Bitrate attributes default to 0 instead of null**
42
+ Updated `getAttributes()` in `videotracker.js` to fallback bitrate values (`contentBitrate`, `contentRenditionBitrate`, `contentManifestBitrate`, `contentMeasuredBitrate`, `contentDownloadBitrate`) to `0` when null, preventing attributes from being dropped by `cleanData`.
43
+
44
+ ## [4.1.2] - 2026/03/18
17
45
 
18
46
  ### Fix
19
47
 
20
- - Update logic for average bitrate to consider correct delta time
48
+ - **QoE aggregate improvements - KPI accuracy**
49
+ Fixed startup time, average bitrate, and rebuffering time calculations for more accurate QoE KPI reporting
50
+
51
+ - **QoE harvest lifecycle and dedup**
52
+ Improved harvest cycle management with state refresh before drain, forced QoE at `CONTENT_END`, cross-cycle dirty check to skip unchanged KPIs.
53
+
54
+ - **Rename QOE playback failure attrs to error**
55
+ Renamed `hadStartupFailure` and `hadPlaybackFailure` properties to `hadStartupError` and `hadPlaybackError` in `videotrackerstate.js` to align with error terminology.
21
56
 
22
- ## [4.1.4-beta] - 2025/01/19
57
+ ## [4.1.1] - 2026/03/13
23
58
 
24
59
  ### Fix
60
+ - Added bitrate related changes](d588f72)
61
+ - Added qoe harvest cycle multiplier
25
62
 
26
- - Excluded test folder from module.exports in webpack config
63
+ ## [4.1.0] - 2026/02/18
27
64
 
28
- ## [4.1.0-beta] - 2025/12/18
65
+ ### Feat
66
+
67
+ - **Add QOE health index KPIs with toggle config**
68
+ Introduced Quality of Experience (QOE) health index key performance indicators with configurable toggle to enable/disable tracking
69
+
70
+ ## [4.0.3] - 2026/01/29
71
+
72
+ ### Fix
29
73
 
30
- ### Feature
74
+ - **Drop bitrate values before start**
75
+ Modified `getAttributes()` in `videotracker.js` to check `this.state.isStarted` before adding bitrate attributes
31
76
 
32
- - Add QOE KPIs attributes for VideoAction event with updated DATAMODEL.md
33
77
 
34
78
  ## [4.0.2] - 2025/11/03
35
79