@schibsted/pulse-sdk 8.0.0-alpha.10
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 +1035 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +371 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/index.js +17 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +367 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/index.js +1 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +5029 -0
- package/node_modules/@schibsted/tpaas-schemas/package.json +35 -0
- package/package.json +32 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,1035 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
*
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [7.0.0](https://github.schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.3.0...sdk/7.0.0) (2025-04-23)
|
|
10
|
+
|
|
11
|
+
## What's Changed
|
|
12
|
+
* chore: switch to biome by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/102
|
|
13
|
+
* docs: leave event demo page by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/63
|
|
14
|
+
* chore(deps-dev): bump jsdom from 25.0.1 to 26.0.0 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/101
|
|
15
|
+
* chore(deps): bump github/codeql-action from 3.27.3 to 3.28.1 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/94
|
|
16
|
+
* chore(deps): bump uuid from 11.0.3 to 11.0.5 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/95
|
|
17
|
+
* chore: update dependabot reviewers by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/103
|
|
18
|
+
* chore(deps-dev): bump @types/node from 22.10.5 to 22.10.7 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/106
|
|
19
|
+
* chore(deps-dev): bump typescript from 5.7.2 to 5.7.3 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/105
|
|
20
|
+
* chore: replace deprecated rollup terser plugin by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/110
|
|
21
|
+
* chore(deps): bump github/codeql-action from 3.28.1 to 3.28.2 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/104
|
|
22
|
+
* chore(deps-dev): bump @types/react from 19.0.1 to 19.0.7 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/107
|
|
23
|
+
* fix: cleanup temporary code after tcf rollout by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/111
|
|
24
|
+
* chore: speed up saucelabs tests by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/117
|
|
25
|
+
* chore(deps-dev): bump @types/lodash from 4.17.13 to 4.17.14 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/113
|
|
26
|
+
* chore(deps-dev): bump @babel/core from 7.26.0 to 7.26.7 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/115
|
|
27
|
+
* chore(deps-dev): bump rollup-plugin-visualizer from 5.12.0 to 5.14.0 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/112
|
|
28
|
+
* chore(deps): bump github/codeql-action from 3.28.2 to 3.28.5 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/114
|
|
29
|
+
* fix: apply remote config before identity ops by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/118
|
|
30
|
+
* chore: bundle internal dependencies by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/121
|
|
31
|
+
* chore: rename sdk-media-test-site to pulse-sdk-examples and move it to /apps by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/130
|
|
32
|
+
* chore: deploy pulse-sdk-examples by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/131
|
|
33
|
+
* chore(deps-dev): bump vitest from 2.1.8 to 3.0.5 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/138
|
|
34
|
+
* chore(deps-dev): bump saucectl from 0.190.1 to 0.193.0 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/143
|
|
35
|
+
* chore(deps-dev): bump @babel/preset-env from 7.26.0 to 7.26.8 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/141
|
|
36
|
+
* chore(deps-dev): bump rollup from 4.28.1 to 4.34.6 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/140
|
|
37
|
+
* chore(deps): bump github/codeql-action from 3.28.5 to 3.28.9 by @GitHubArchive\ in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/139
|
|
38
|
+
* fix: use correct pulseEventHandler from window by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/135
|
|
39
|
+
* feat: track anonymous by @rodrigo-andrade-biffi_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/79
|
|
40
|
+
* fix: autotracker pulse.js script save params proper way by @GitHubArchive\Adam Bukowski in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/145
|
|
41
|
+
* chore!: remove deprecated consent methods by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/86
|
|
42
|
+
* chore: version bumps by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/155
|
|
43
|
+
* fix: make event input types according to the runtime code by @GitHubArchive\Adam Bukowski in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/156
|
|
44
|
+
* feat!: merge objects our way not lodash way by @GitHubArchive\Adam Bukowski in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/152
|
|
45
|
+
* feat: add pulse tracker proxy communication by @GitHubArchive\Adam Bukowski in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/153
|
|
46
|
+
* fix: better fail for localstorage by @GitHubArchive\william.macdonald@schibsted.com in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/167
|
|
47
|
+
* docs(tracker-proxy): improve README with detailed usage and enhance JSDoc by @GitHubArchive\Adam Bukowski in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/172
|
|
48
|
+
* chore: github migration by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/180
|
|
49
|
+
* fix: gh pages by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/184
|
|
50
|
+
* Update dependabot.yaml: weekly version and daily security updates by @mykola-shumyn_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/186
|
|
51
|
+
* feat: add xEnvironmentId by default if x_env_id param is present by @ole-martin-grotterud_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/188
|
|
52
|
+
* test: add unit tests for localStorage by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/171
|
|
53
|
+
* feat!: stop publishing modern autotracker by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/190
|
|
54
|
+
* Update dependabot.yml file by @mykola-shumyn_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/194
|
|
55
|
+
* chore: handle publishing to https://sdk.pulse.schibsted.com/ by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/191
|
|
56
|
+
* chore: bump dependencies by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/192
|
|
57
|
+
* chore(deps): bump github/codeql-action from 3.28.9 to 3.28.15 by @dependabot in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/195
|
|
58
|
+
* chore: bump cypress version by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/193
|
|
59
|
+
* docs(DATA-294): updated outdated links by @alin-dumitru_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/198
|
|
60
|
+
* Update dependabot.yml file by @mykola-shumyn_fprn0joi in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/199
|
|
61
|
+
|
|
62
|
+
### New Contributors
|
|
63
|
+
* @GitHubArchive\Adam Bukowski made their first contribution in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/145
|
|
64
|
+
* @GitHubArchive\william.macdonald@schibsted.com made their first contribution in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/167
|
|
65
|
+
* @mykola-shumyn_fprn0joi made their first contribution in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/186
|
|
66
|
+
* @ole-martin-grotterud_fprn0joi made their first contribution in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/188
|
|
67
|
+
* @dependabot made their first contribution in https://schibsted.ghe.com/data-platform/pulse-sdk-js/pull/195
|
|
68
|
+
|
|
69
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.3.0...sdk/7.0.0
|
|
70
|
+
|
|
71
|
+
## [6.3.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.7...sdk/6.3.0) (2025-03-25)
|
|
72
|
+
|
|
73
|
+
## What's Changed
|
|
74
|
+
* feat: add xEnvironmentId by default if x_env_id param is present (#188) by @ole-martin-grotterud
|
|
75
|
+
|
|
76
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.7...sdk/6.3.0
|
|
77
|
+
|
|
78
|
+
## [6.2.7](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.6...sdk/6.2.7) (2025-03-25)
|
|
79
|
+
|
|
80
|
+
## What's Changed
|
|
81
|
+
|
|
82
|
+
_No new sdk changes. Testing the release process on the GitHub Enterprise Cloud instance._
|
|
83
|
+
|
|
84
|
+
## [6.2.6](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.5...sdk/6.2.6) (2025-03-14)
|
|
85
|
+
|
|
86
|
+
## What's Changed
|
|
87
|
+
|
|
88
|
+
* fix: improved error handling for unavailable localstorage by @william-macdonald
|
|
89
|
+
|
|
90
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.5...sdk/6.2.6
|
|
91
|
+
|
|
92
|
+
## [6.2.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.4...sdk/6.2.5) (2025-02-17)
|
|
93
|
+
|
|
94
|
+
## What's Changed
|
|
95
|
+
|
|
96
|
+
* fix: autotracker pulse.js script save params proper way by @adam-bukowski
|
|
97
|
+
|
|
98
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.4...sdk/6.2.5
|
|
99
|
+
|
|
100
|
+
## [6.2.4](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.3...sdk/6.2.4) (2025-02-06)
|
|
101
|
+
|
|
102
|
+
## What's Changed
|
|
103
|
+
|
|
104
|
+
* fix: use correct pulseEventHandler from window by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/135
|
|
105
|
+
|
|
106
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.3...sdk/6.2.4
|
|
107
|
+
|
|
108
|
+
## [6.2.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.2...sdk/6.2.3) (2025-01-14)
|
|
109
|
+
|
|
110
|
+
## What's Changed
|
|
111
|
+
|
|
112
|
+
* chore: propose adding nvm and minor npmrc options by @ole-martin-grotterud in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/77
|
|
113
|
+
* chore: switch to pnpm by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/90
|
|
114
|
+
* chore: rename slack channel to `dai-pulse-sdk-release` by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/93
|
|
115
|
+
* chore: switch to vitest by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/89
|
|
116
|
+
* feat: handle native app integration in sdk by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/97
|
|
117
|
+
|
|
118
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.2...sdk/6.2.3
|
|
119
|
+
|
|
120
|
+
## [6.2.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.1...sdk/6.2.2) (2025-01-07)
|
|
121
|
+
|
|
122
|
+
## What's Changed
|
|
123
|
+
|
|
124
|
+
* chore: bump package versions by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/70
|
|
125
|
+
* chore: remove node-fetch and undici dependencies by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/84
|
|
126
|
+
* fix: `AnalyticsPurposeIds` is now an array of possible values by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/88
|
|
127
|
+
|
|
128
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.1...sdk/6.2.2
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## [6.2.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.0...sdk/6.2.1) (2025-01-03)
|
|
133
|
+
|
|
134
|
+
## What's Changed
|
|
135
|
+
|
|
136
|
+
* fix: listen to cmp:loaded instead of cmp:ready by @ole-martin-grotterud in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/78
|
|
137
|
+
|
|
138
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.2.0...sdk/6.2.1
|
|
139
|
+
|
|
140
|
+
## [6.2.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.1.1...sdk/6.2.0) (2024-12-16)
|
|
141
|
+
|
|
142
|
+
## What's Changed
|
|
143
|
+
|
|
144
|
+
* feat: podme publish by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/68
|
|
145
|
+
* chore: pin dependency versions by @alin-dumitru in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/69
|
|
146
|
+
* feat: automagic consent by @ole-martin-grotterud in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/56
|
|
147
|
+
|
|
148
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.1.1...sdk/6.2.0
|
|
149
|
+
|
|
150
|
+
## [6.1.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.1.0...sdk/6.1.1) (2024-12-16)
|
|
151
|
+
|
|
152
|
+
## What's Changed
|
|
153
|
+
|
|
154
|
+
* refactor: fix consent types by @ole-martin-grotterud in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/55
|
|
155
|
+
* fix: still tolerate actor as a fully undefined promise by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/62
|
|
156
|
+
|
|
157
|
+
### New Contributors
|
|
158
|
+
|
|
159
|
+
* @alin-dumitru made their first contribution in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/54
|
|
160
|
+
* @ole-martin-grotterud made their first contribution in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/55
|
|
161
|
+
|
|
162
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.1.0...sdk/6.1.1
|
|
163
|
+
|
|
164
|
+
## [6.1.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.6...sdk/6.1.0) (2024-10-25)
|
|
165
|
+
|
|
166
|
+
## What's Changed
|
|
167
|
+
|
|
168
|
+
* feat: add backstage catalog info by @backstage-integration in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/34
|
|
169
|
+
* chore: deps updates and remove/update m10s references by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/38
|
|
170
|
+
* chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0 by @dependabot in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/4
|
|
171
|
+
* chore(deps-dev): bump saucectl from 0.186.4 to 0.188.0 by @dependabot in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/40
|
|
172
|
+
* chore(deps): bump github/codeql-action from 3.27.1 to 3.27.3 by @dependabot in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/39
|
|
173
|
+
* feat: allow consent as promise by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/32
|
|
174
|
+
* chore: bump versions for release by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/47
|
|
175
|
+
|
|
176
|
+
### New Contributors
|
|
177
|
+
* @backstage-integration made their first contribution in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/34
|
|
178
|
+
* @dependabot made their first contribution in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/4
|
|
179
|
+
|
|
180
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.6...sdk/6.1.0
|
|
181
|
+
|
|
182
|
+
## [6.0.6](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.5...sdk/6.0.6) (2024-10-25)
|
|
183
|
+
|
|
184
|
+
## What's Changed
|
|
185
|
+
|
|
186
|
+
* fix: point to NM resources by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/10
|
|
187
|
+
* fix: update pro bucket name by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/16
|
|
188
|
+
* chore(ci): assume role instead of explicit api key by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/21
|
|
189
|
+
* chore: Synchronise commits with m10s by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/24
|
|
190
|
+
* chore: bump versions for release (#683) by @rodrigo-andrade-biffi in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/25
|
|
191
|
+
|
|
192
|
+
### New Contributors
|
|
193
|
+
|
|
194
|
+
* @rodrigo-andrade-biffi made their first contribution in https://github.schibsted.io/nm-data-platform/pulse-sdk-js/pull/10
|
|
195
|
+
|
|
196
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.5...sdk/6.0.6
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
## [6.0.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.4...sdk/6.0.5) (2024-09-25)
|
|
200
|
+
|
|
201
|
+
## What's Changed
|
|
202
|
+
|
|
203
|
+
* fix: Xandr call - ignore exception by @rodrigo-andrade-biffi in #654
|
|
204
|
+
* chore(deps-dev): bump rollup from 4.21.2 to 4.22.4 by @dependabot in #655
|
|
205
|
+
* chore(deps-dev): bump jsdom from 24.1.1 to 25.0.1 by @dependabot in #653
|
|
206
|
+
* chore(deps-dev): bump @types/react from 18.3.5 to 18.3.8 by @dependabot in #652
|
|
207
|
+
* chore(deps-dev): bump playwright-webkit from 1.47.1 to 1.47.2 by @dependabot in #649
|
|
208
|
+
* chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 by @dependabot in #651
|
|
209
|
+
* chore(deps-dev): bump @rollup/plugin-node-resolve from 15.2.3 to 15.3.0 by @dependabot in #656
|
|
210
|
+
* chore(deps): bump github/codeql-action from 3.26.7 to 3.26.8 by @dependabot in #647
|
|
211
|
+
* chore(deps): bump actions/setup-node from 4.0.3 to 4.0.4 by @dependabot in #648
|
|
212
|
+
* Fix incorrect relative import by @vegard-okland in #657
|
|
213
|
+
|
|
214
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.4...sdk/6.0.5
|
|
215
|
+
|
|
216
|
+
## [6.0.4](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.3...sdk/6.0.4) (2024-09-18)
|
|
217
|
+
|
|
218
|
+
## What's Changed
|
|
219
|
+
|
|
220
|
+
* Bump versions to release vendor change by @vegard-okland in #646
|
|
221
|
+
* SDP-12026 Refactor vendor implementation by @vegard-okland in #638
|
|
222
|
+
* chore(deps-dev): bump eslint-config-next from 14.2.9 to 14.2.11 by @dependabot in #644
|
|
223
|
+
* chore(deps-dev): bump turbo from 2.1.1 to 2.1.2 by @dependabot in #642
|
|
224
|
+
* chore(deps-dev): bump typescript-eslint from 8.2.0 to 8.5.0 by @dependabot in #643
|
|
225
|
+
* chore(deps-dev): bump saucectl from 0.179.1 to 0.186.0 by @dependabot in #641
|
|
226
|
+
* chore(deps-dev): bump playwright-webkit from 1.46.1 to 1.47.1 by @dependabot in #640
|
|
227
|
+
* chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 by @dependabot in #639
|
|
228
|
+
* chore(deps): bump next from 14.2.9 to 14.2.10 by @dependabot in #645
|
|
229
|
+
|
|
230
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.3...sdk/6.0.4
|
|
231
|
+
|
|
232
|
+
## [6.0.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.2...sdk/6.0.3) (2024-09-12)
|
|
233
|
+
|
|
234
|
+
## What's Changed
|
|
235
|
+
|
|
236
|
+
* chore(deps-dev): bump eslint from 9.9.1 to 9.10.0 by @dependabot in #634
|
|
237
|
+
* chore(deps-dev): bump eslint-config-next from 14.2.7 to 14.2.9 by @dependabot in #630
|
|
238
|
+
* chore(deps): bump next from 14.2.7 to 14.2.9 by @dependabot in #631
|
|
239
|
+
* chore(deps-dev): bump typedoc from 0.26.6 to 0.26.7 by @dependabot in #633
|
|
240
|
+
* chore(deps): bump loglevel from 1.9.1 to 1.9.2 by @dependabot in #632
|
|
241
|
+
* Fix bug related to blocket configuration by @vegard-okland in #637
|
|
242
|
+
|
|
243
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.2...sdk/6.0.3
|
|
244
|
+
|
|
245
|
+
## [6.0.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.1...sdk/6.0.2) (2024-09-02)
|
|
246
|
+
|
|
247
|
+
## What's Changed
|
|
248
|
+
|
|
249
|
+
* chore(deps): bump micromatch from 4.0.7 to 4.0.8 by @dependabot in #611
|
|
250
|
+
* chore(deps): bump github/codeql-action from 3.26.2 to 3.26.5 by @dependabot in #612
|
|
251
|
+
* fix: creationDate, session matching with sequence maintained by @rodrigo-andrade-biffi in #620
|
|
252
|
+
* chore(deps-dev): bump eslint from 8.57.0 to 9.9.1 by @dependabot in #614
|
|
253
|
+
* chore(deps-dev): bump eslint-config-next from 14.2.5 to 14.2.7 by @dependabot in #621
|
|
254
|
+
* chore(deps-dev): bump undici from 6.19.7 to 6.19.8 by @dependabot in #615
|
|
255
|
+
* chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 by @dependabot in #616
|
|
256
|
+
* chore(deps-dev): bump @types/react from 18.3.3 to 18.3.5 by @dependabot in #627
|
|
257
|
+
* chore(deps): bump next from 14.2.5 to 14.2.7 by @dependabot in #625
|
|
258
|
+
* chore(deps-dev): bump rollup from 4.21.0 to 4.21.2 by @dependabot in #626
|
|
259
|
+
* chore(deps-dev): bump turbo from 2.0.14 to 2.1.1 by @dependabot in #623
|
|
260
|
+
* chore(deps-dev): bump @babel/preset-env from 7.25.3 to 7.25.4 by @dependabot in #624
|
|
261
|
+
* Remove incorrect header by @vegard-okland in #628
|
|
262
|
+
* chore(deps): bump github/codeql-action from 3.26.5 to 3.26.6 by @dependabot in #622
|
|
263
|
+
* Bump patch versions across workspaces by @vegard-okland in #629
|
|
264
|
+
|
|
265
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.1...sdk/6.0.2
|
|
266
|
+
|
|
267
|
+
## [6.0.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.0...sdk/6.0.1) (2024-08-23)
|
|
268
|
+
|
|
269
|
+
## What's Changed
|
|
270
|
+
|
|
271
|
+
tl;dr: Lodash removed from SDK and polyfills removed from autotracker
|
|
272
|
+
|
|
273
|
+
* Remove per-workspace Dependabot config by @vegard-okland in #565
|
|
274
|
+
* Slim down autotracker by @vegard-okland in #575
|
|
275
|
+
* Remove non-promise-based script tag from root readme by @vegard-okland in #584
|
|
276
|
+
* feat: improve object-id resolving by @ole-martin-grotterud in #585
|
|
277
|
+
* Remove lodash by @vegard-okland in #583
|
|
278
|
+
* SDP-11984 move GitHub pages publishing to Actioms by @vegard-okland in #593
|
|
279
|
+
* SDP-11980 refactor schema location by @vegard-okland in #586
|
|
280
|
+
* test: Re-enable saucelabs action by @rodrigo-andrade-biffi in #582
|
|
281
|
+
* remove renovate file by @rodrigo-andrade-biffi in #594
|
|
282
|
+
* SDP-11952: Remove support for unknown vendors by @arka-sain in #596
|
|
283
|
+
* SDP-11449 Improve beacon/leave documentation by @vegard-okland in #595
|
|
284
|
+
* fix: Merge custom and spt:custom when present in the same input by @rodrigo-andrade-biffi in #513
|
|
285
|
+
* fix: exclude dependabot PRs from running saucelabs tests by @rodrigo-andrade-biffi in #605
|
|
286
|
+
* Dependabot
|
|
287
|
+
* Revert "chore(deps): bump actions/upload-pages-artifact from 2 to 3" by @rodrigo-andrade-biffi in #608
|
|
288
|
+
* chore(deps): bump actions/upload-pages-artifact from 2 to 3 by @dependabot in #599
|
|
289
|
+
* chore(deps): bump axios from 1.7.2 to 1.7.4 by @dependabot in #606
|
|
290
|
+
* chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 by @dependabot in #557
|
|
291
|
+
* chore(deps): bump github/codeql-action from 3.25.13 to 3.25.15 by @dependabot in #574
|
|
292
|
+
* chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 by @dependabot in #587
|
|
293
|
+
* chore(deps): bump github/codeql-action from 3.26.0 to 3.26.2 by @dependabot in #597
|
|
294
|
+
* chore(deps): bump next from 14.2.4 to 14.2.5 by @dependabot in #559
|
|
295
|
+
* chore(deps-dev): bump @babel/core from 7.24.7 to 7.25.2 by @dependabot in #581
|
|
296
|
+
* chore(deps-dev): bump @babel/preset-env from 7.24.7 to 7.25.0 by @dependabot in #573
|
|
297
|
+
* chore(deps-dev): bump @babel/preset-env from 7.25.0 to 7.25.3 by @dependabot in #580
|
|
298
|
+
* chore(deps-dev): bump @testing-library/dom from 10.1.0 to 10.4.0 by @dependabot in #590
|
|
299
|
+
* chore(deps-dev): bump @types/lodash from 4.17.5 to 4.17.7 by @dependabot in #566
|
|
300
|
+
* chore(deps-dev): bump jsdom from 24.1.0 to 24.1.1 by @dependabot in #571
|
|
301
|
+
* chore(deps-dev): bump playwright-webkit from 1.45.1 to 1.45.3 by @dependabot in #564
|
|
302
|
+
* chore(deps-dev): bump playwright-webkit from 1.45.3 to 1.46.1 by @dependabot in #603
|
|
303
|
+
* chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 by @dependabot in #567
|
|
304
|
+
* chore(deps-dev): bump rollup from 4.18.1 to 4.19.1 by @dependabot in #572
|
|
305
|
+
* chore(deps-dev): bump rollup from 4.19.1 to 4.20.0 by @dependabot in #579
|
|
306
|
+
* chore(deps-dev): bump rollup from 4.20.0 to 4.21.0 by @dependabot in #601
|
|
307
|
+
* chore(deps-dev): bump saucectl from 0.178.0 to 0.179.1 in /workspaces/autotracker by @dependabot in #563
|
|
308
|
+
* chore(deps-dev): bump ts-jest from 29.1.5 to 29.2.3 by @dependabot in #560
|
|
309
|
+
* chore(deps-dev): bump ts-jest from 29.2.3 to 29.2.4 by @dependabot in #589
|
|
310
|
+
* chore(deps-dev): bump turbo from 1.13.3 to 2.0.9 by @dependabot in #561
|
|
311
|
+
* chore(deps-dev): bump turbo from 2.0.11 to 2.0.12 by @dependabot in #588
|
|
312
|
+
* chore(deps-dev): bump turbo from 2.0.12 to 2.0.14 by @dependabot in #600
|
|
313
|
+
* chore(deps-dev): bump turbo from 2.0.9 to 2.0.11 by @dependabot in #577
|
|
314
|
+
* chore(deps-dev): bump typedoc from 0.26.4 to 0.26.5 by @dependabot in #562
|
|
315
|
+
* chore(deps-dev): bump typedoc from 0.26.5 to 0.26.6 by @dependabot in #602
|
|
316
|
+
* chore(deps-dev): bump typescript-eslint from 7.13.1 to 7.18.0 by @dependabot in #576
|
|
317
|
+
* chore(deps-dev): bump typescript-eslint from 7.18.0 to 8.2.0 by @dependabot in #607
|
|
318
|
+
* chore(deps-dev): bump undici from 6.19.2 to 6.19.4 by @dependabot in #569
|
|
319
|
+
* chore(deps-dev): bump undici from 6.19.4 to 6.19.7 by @dependabot in #591
|
|
320
|
+
|
|
321
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/6.0.0...sdk/6.0.1
|
|
322
|
+
|
|
323
|
+
## [6.0.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.13...sdk/6.0.0) (2024-07-19)
|
|
324
|
+
|
|
325
|
+
## Breaking Changes
|
|
326
|
+
None! There are no changes to the SDK API in this release. This version will load a remote configuration file that will specify the locations of the CIS and the event collection pipeline. Note that this remote configuration, or any new names given to the CIS and the collection pipeline, might be blocked by your page's Content Security Policy. Therefore, it is important to verify that pulse events are still being sent after upgrading.
|
|
327
|
+
|
|
328
|
+
### Marketplace NPM namespace
|
|
329
|
+
|
|
330
|
+
This release introduces a new namespace for marketplace brands: @m10s. Marketplace brands upgrading from v5 to v6 will need to change the namespace from @spt-tracking to @m10s. The two builds of the SDK will download a media/marketplace-specific remote configuration.
|
|
331
|
+
|
|
332
|
+
### Content Security Policy
|
|
333
|
+
|
|
334
|
+
To ensure that events are still sent, add the following lines to your CSP:
|
|
335
|
+
|
|
336
|
+
```plaintext
|
|
337
|
+
default-src https://*.schibsted.com/ https://*.schibsted.io/ https://secure.adnxs.com/;
|
|
338
|
+
img-src blob: data: https://secure.adnxs.com/ https://*.schibsted.com/;
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
### Pulse Unicorn
|
|
342
|
+
|
|
343
|
+
Pulse Unicorn picks up events sent to collector.schibsted.io by default. This release changes it to use whatever is specified in the remote configuration. An upgrade to Pulse Unicorn is on its way to pick up events based on the remote configuration, but this has not been released yet. To fix this issue until Unicorn is upgraded, go to Pulse Unicorn -> Settings and manually add the host where the events are sent.
|
|
344
|
+
|
|
345
|
+
## What's Changed
|
|
346
|
+
* chore(deps): bump github/codeql-action from 3.25.5 to 3.25.6 by @dependabot in #481
|
|
347
|
+
* chore(deps-dev): bump typescript-eslint from 7.9.0 to 7.10.0 by @dependabot in #484
|
|
348
|
+
* chore(deps-dev): bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8 by @dependabot in #488
|
|
349
|
+
* chore(deps-dev): bump @babel/core from 7.24.5 to 7.24.6 by @dependabot in #487
|
|
350
|
+
* chore(deps-dev): bump jsdom from 23.2.0 to 24.1.0 in /workspaces/cis-sync by @dependabot in #483
|
|
351
|
+
* chore(deps-dev): bump @babel/preset-env from 7.24.5 to 7.24.6 by @dependabot in #486
|
|
352
|
+
* chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #505
|
|
353
|
+
* feat: add "capture" to leave event listeners by @ole-martin-grotterud in #498
|
|
354
|
+
* chore(deps): bump dependencies by @rodrigo-andrade-biffi in #515
|
|
355
|
+
* SDP-11850: adds Google as an advertising vendor by @arka-sain in #532
|
|
356
|
+
* SDP-11800 Travis to GHA by @rodrigo-andrade-biffi in #525
|
|
357
|
+
* fix: Do not call cis immediately after init, minimising risk of racing conditions on page load by @rodrigo-andrade-biffi in #514
|
|
358
|
+
* SDP-11509 Remote Config by @rodrigo-andrade-biffi in #462
|
|
359
|
+
* chore(deps): Autotracker Rollup upgrade by @rodrigo-andrade-biffi in #499
|
|
360
|
+
* chore(deps-dev): bump playwright-webkit from 1.44.1 to 1.45.1 in /workspaces/autotracker by @dependabot in #534
|
|
361
|
+
* Remove remote config deploy stage from core SDK by @vegard-okland in #536
|
|
362
|
+
* Sync all SDK package version to major version 6 by @vegard-okland in #537
|
|
363
|
+
* chore(deps-dev): bump @types/node from 20.14.6 to 20.14.10 by @dependabot in #535
|
|
364
|
+
* chore(deps): bump github/codeql-action from 3.25.10 to 3.25.11 by @dependabot in #526
|
|
365
|
+
* chore(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0 by @dependabot in #518
|
|
366
|
+
* chore(deps-dev): bump eslint-config-next from 14.2.4 to 14.2.5 by @dependabot in #543
|
|
367
|
+
* chore(deps-dev): bump rollup from 4.18.0 to 4.18.1 by @dependabot in #542
|
|
368
|
+
* chore(deps): bump actions/setup-node from 4.0.1 to 4.0.3 by @dependabot in #540
|
|
369
|
+
* chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 by @dependabot in #539
|
|
370
|
+
* chore(deps-dev): bump typedoc from 0.25.13 to 0.26.4 in /workspaces/documentation by @dependabot in #538
|
|
371
|
+
* chore(deps-dev): bump typedoc-plugin-missing-exports from 2.3.0 to 3.0.0 by @dependabot in #521
|
|
372
|
+
* Warn about deprecated methods by @vegard-okland in #544
|
|
373
|
+
* chore(deps-dev): bump undici from 6.13.0 to 6.19.2 by @dependabot in #541
|
|
374
|
+
* Publish all packages after duplication by @vegard-okland in #546
|
|
375
|
+
* Fix bad github actions glob patterns by @vegard-okland in #547
|
|
376
|
+
* Fix artifactory publish by @vegard-okland in #548
|
|
377
|
+
* Make artifactory publishing script more verbose by @vegard-okland in #549
|
|
378
|
+
* Fix artifactory tokens by @vegard-okland in #550
|
|
379
|
+
* Fix version extraction from github variable by @vegard-okland in #551
|
|
380
|
+
* Avoid re-publishing same version of CIS/sdk-core by @vegard-okland in #553
|
|
381
|
+
* Bump versions to v6 by @vegard-okland in #554
|
|
382
|
+
* SDP-11802: deploy to all CDNs by @vegard-okland in #545
|
|
383
|
+
|
|
384
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.13...sdk/6.0.0
|
|
385
|
+
|
|
386
|
+
## [5.0.13](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.12...sdk/5.0.13) (2024-05-22)
|
|
387
|
+
|
|
388
|
+
## What's Changed
|
|
389
|
+
|
|
390
|
+
* feat: leave-event trigger on beforeunload by @ole-martin-grotterud
|
|
391
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/364
|
|
392
|
+
* fix(docs): Readme link and typos by @rodrigo-andrade-biffi
|
|
393
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/449
|
|
394
|
+
* fix: Setup and apply prettier by @vegard-okland in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/456
|
|
395
|
+
* Fix prettier glob by @vegard-okland in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/457
|
|
396
|
+
* chore(deps-dev): bump saucectl from 0.169.0 to 0.175.1 by @dependabot
|
|
397
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/455
|
|
398
|
+
* chore(deps): bump github/codeql-action from 3.25.1 to 3.25.4 by @dependabot
|
|
399
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/450
|
|
400
|
+
* chore(deps-dev): bump @types/lodash from 4.17.0 to 4.17.1 by @dependabot
|
|
401
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/447
|
|
402
|
+
* chore(deps-dev): bump @babel/preset-env from 7.24.4 to 7.24.5 by @dependabot
|
|
403
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/442
|
|
404
|
+
* chore(deps): bump actions/checkout from 4.1.1 to 4.1.5 by @dependabot
|
|
405
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/451
|
|
406
|
+
* Remove forceNextCisAdvertisingSync by @vegard-okland
|
|
407
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/464
|
|
408
|
+
* Upgrade eslint to version 9 by @vegard-okland in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/461
|
|
409
|
+
* chore(deps-dev): bump @types/node from 20.12.7 to 20.12.12 by @dependabot
|
|
410
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/459
|
|
411
|
+
* chore(deps-dev): bump eslint from 9.2.0 to 9.3.0 by @dependabot
|
|
412
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/469
|
|
413
|
+
* `default` import for `version.json` across all modules by @rodrigo-andrade-biffi
|
|
414
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/475
|
|
415
|
+
* chore(deps-dev): bump @types/lodash from 4.17.1 to 4.17.4 by @dependabot
|
|
416
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/473
|
|
417
|
+
* chore(deps-dev): bump playwright-webkit from 1.34.3 to 1.44.0 by @dependabot
|
|
418
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/472
|
|
419
|
+
* chore(deps): bump github/codeql-action from 3.25.4 to 3.25.5 by @dependabot
|
|
420
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/467
|
|
421
|
+
* chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot
|
|
422
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/468
|
|
423
|
+
* chore(deps-dev): bump playwright-webkit from 1.34.3 to 1.44.0 in /workspaces/autotracker by @dependabot
|
|
424
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/452
|
|
425
|
+
* chore(deps-dev): bump @babel/core from 7.24.4 to 7.24.5 by @dependabot
|
|
426
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/470
|
|
427
|
+
* chore(deps): bump core-js from 3.36.1 to 3.37.1 by @dependabot
|
|
428
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/471
|
|
429
|
+
* feat: Export leave tracking types by @dagmara-pawlos
|
|
430
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/460
|
|
431
|
+
* fix: LeaveEvent should populate `spt:custom`, instead of `custom` by @rodrigo-andrade-biffi
|
|
432
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/476
|
|
433
|
+
|
|
434
|
+
## New Contributors
|
|
435
|
+
|
|
436
|
+
* @dagmara-pawlos made their first contribution in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/460
|
|
437
|
+
|
|
438
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.12...sdk/5.0.13
|
|
439
|
+
|
|
440
|
+
## [5.0.12](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.11...sdk/5.0.12) (2024-05-08)
|
|
441
|
+
|
|
442
|
+
## What's Changed
|
|
443
|
+
|
|
444
|
+
* chore(deps): bump github/codeql-action from 3.23.2 to 3.25.1 by @dependabot
|
|
445
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/417
|
|
446
|
+
* Add note about yarn/node 20 in readme by @vegard-okland
|
|
447
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/434
|
|
448
|
+
* chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot
|
|
449
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/370
|
|
450
|
+
* `version.json` default import by @rodrigo-andrade-biffi
|
|
451
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/448
|
|
452
|
+
|
|
453
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.11...sdk/5.0.12
|
|
454
|
+
|
|
455
|
+
## [5.0.11](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.10...sdk/5.0.11) (2024-04-15)
|
|
456
|
+
|
|
457
|
+
## What's Changed
|
|
458
|
+
|
|
459
|
+
* update dependencies; ES2020 module and target for tsconfig by @rodrigo-andrade-biffi
|
|
460
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/394
|
|
461
|
+
|
|
462
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.10...sdk/5.0.11
|
|
463
|
+
|
|
464
|
+
## [5.0.10](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.9...sdk/5.0.10) (2024-02-19)
|
|
465
|
+
|
|
466
|
+
## What's Changed
|
|
467
|
+
|
|
468
|
+
* feat: add more named exports from sdk by @hubert-pyzik
|
|
469
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/345
|
|
470
|
+
* fix: remove `console.error` for CIS failed fetch. Now CIS fails silently by @rodrigo-andrade-biffi
|
|
471
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/345
|
|
472
|
+
|
|
473
|
+
### New Contributors
|
|
474
|
+
|
|
475
|
+
* @hubert-pyzik made their first contribution in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/345
|
|
476
|
+
|
|
477
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.9...sdk/5.0.10
|
|
478
|
+
|
|
479
|
+
## [5.0.9](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.8...sdk/5.0.9) (2024-01-09)
|
|
480
|
+
|
|
481
|
+
## What's Changed
|
|
482
|
+
|
|
483
|
+
* fix(TCF): SDP:11234 fix `includeAdvertising` cache reading on Advertising Consent change by @rodrigo-andrade-biffi
|
|
484
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/324
|
|
485
|
+
* given `requireAdvertisingOptIn` is true, and the User changes Advertising consents, the SDK resyncs the
|
|
486
|
+
Xandr's `adId` availability without Application intervention.
|
|
487
|
+
|
|
488
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.8...sdk/5.0.9
|
|
489
|
+
|
|
490
|
+
## [5.0.8](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.7...sdk/5.0.8) (2024-01-04)
|
|
491
|
+
|
|
492
|
+
## What's Changed
|
|
493
|
+
|
|
494
|
+
* fix: SDP-11060 `includeAdvertising` not resolved, SDP-11060 Nodejs@20, Eslint console, dependabot security, CodeQL
|
|
495
|
+
update by @rodrigo-andrade-biffi in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/317
|
|
496
|
+
|
|
497
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.7...sdk/5.0.8
|
|
498
|
+
|
|
499
|
+
## [5.0.7](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.6...sdk/5.0.7) (2024-01-03)
|
|
500
|
+
|
|
501
|
+
## What's Changed
|
|
502
|
+
|
|
503
|
+
* feat(TCF): CIS sync when advertising consent status changes by @rodrigo-andrade-biffi
|
|
504
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/300
|
|
505
|
+
|
|
506
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.5...sdk/5.0.6
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## [5.0.6](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.5...sdk/5.0.6) (2024-01-03)
|
|
511
|
+
|
|
512
|
+
## What's Changed
|
|
513
|
+
|
|
514
|
+
* feat(TCF): CIS sync when advertising consent status changes by @rodrigo-andrade-biffi
|
|
515
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/300
|
|
516
|
+
|
|
517
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.5...sdk/5.0.6
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
## [5.0.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.4...sdk/5.0.5) (2023-11-03)
|
|
522
|
+
|
|
523
|
+
## What's Changed
|
|
524
|
+
|
|
525
|
+
* feat(TCF): `ppId` available regardless of `requireAdvertisingOptIn` by @rodrigo-andrade-biffi
|
|
526
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/294
|
|
527
|
+
|
|
528
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.4...sdk/5.0.5
|
|
529
|
+
|
|
530
|
+
---
|
|
531
|
+
|
|
532
|
+
## [5.0.4](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.3...sdk/5.0.4) (2023-11-03)
|
|
533
|
+
|
|
534
|
+
## What's Changed
|
|
535
|
+
|
|
536
|
+
* fix: additional guard coverage for `window` api usage, SSR related, by @rodrigo-andrade-biffi
|
|
537
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/270
|
|
538
|
+
|
|
539
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.3...sdk/5.0.4
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
## [5.0.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.2...sdk/5.0.3) (2023-11-02)
|
|
544
|
+
|
|
545
|
+
## What's Changed
|
|
546
|
+
|
|
547
|
+
* fix: resync all package versions by @rodrigo-andrade-biffi
|
|
548
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/269
|
|
549
|
+
|
|
550
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.2...sdk/5.0.3
|
|
551
|
+
|
|
552
|
+
---
|
|
553
|
+
|
|
554
|
+
## [5.0.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.1...sdk/5.0.2) (2023-11-02)
|
|
555
|
+
|
|
556
|
+
## What's Changed
|
|
557
|
+
|
|
558
|
+
* fix: guard all occurrences of browser api under `isBrowser` checks by @rodrigo-andrade-biffi
|
|
559
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/268
|
|
560
|
+
|
|
561
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.1...sdk/5.0.2
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## [5.0.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.0...sdk/5.0.1) (2023-10-31)
|
|
566
|
+
|
|
567
|
+
## What's Changed
|
|
568
|
+
|
|
569
|
+
* fix: `crypto` from `globalThis` for isomorphic api by @rodrigo-andrade-biffi
|
|
570
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/267
|
|
571
|
+
|
|
572
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/5.0.0...sdk/5.0.1
|
|
573
|
+
|
|
574
|
+
---
|
|
575
|
+
|
|
576
|
+
## [5.0.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.3...sdk/5.0.0) (2023-10-27)
|
|
577
|
+
|
|
578
|
+
## What's Changed
|
|
579
|
+
|
|
580
|
+
* feat: SDP-10996 Extend `ConsentPurposeCategory` objects with consents `status` by @rodrigo-andrade-biffi
|
|
581
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/266;
|
|
582
|
+
|
|
583
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.3...sdk/5.0.0
|
|
584
|
+
|
|
585
|
+
---
|
|
586
|
+
|
|
587
|
+
## [4.11.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.1...sdk/4.11.3) (2023-10-11)
|
|
588
|
+
|
|
589
|
+
## What's Changed
|
|
590
|
+
|
|
591
|
+
* chore(e2e): add saucelabs `retries` option by @rodrigo-andrade-biffi
|
|
592
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/262
|
|
593
|
+
* fix(INCIDENT): remove actor realm default value (schibsted.com) by @rodrigo-andrade-biffi
|
|
594
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/264
|
|
595
|
+
|
|
596
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.2...sdk/4.11.3
|
|
597
|
+
|
|
598
|
+
## [4.11.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.1...sdk/4.11.2) (2023-09-20)
|
|
599
|
+
|
|
600
|
+
## What's Changed
|
|
601
|
+
|
|
602
|
+
* chore: update fallback event versions by @per-christian-henden
|
|
603
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/256
|
|
604
|
+
* fix: SDP-10706 CIS request deconflict between "same scope" tracker instances by @rodrigo-andrade-biffi
|
|
605
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/257
|
|
606
|
+
* feat: SDP-10364 `refreshAfter` from `cis` response by @rodrigo-andrade-biffi
|
|
607
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/260
|
|
608
|
+
|
|
609
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.1...sdk/4.11.2
|
|
610
|
+
|
|
611
|
+
## [4.11.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.0...sdk/4.11.1) (2023-08-21)
|
|
612
|
+
|
|
613
|
+
## What's Changed
|
|
614
|
+
|
|
615
|
+
* chore: remove unused API, `getPPIDs`, deprecate old API, `getXandrPPID1, 2` by @per-christian-henden
|
|
616
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/251
|
|
617
|
+
Use the new method `getAdvertisingIdentifiers` instead to get PPID values.
|
|
618
|
+
* fix: SDP-10706 `cis` request, reintroduce `anId`, `jwe` by @rodrigo-andrade-biffi
|
|
619
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/252
|
|
620
|
+
|
|
621
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.11.0...sdk/4.11.1
|
|
622
|
+
|
|
623
|
+
## [4.11.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.2...sdk/4.11.0) (2023-08-15)
|
|
624
|
+
|
|
625
|
+
## What's Changed
|
|
626
|
+
|
|
627
|
+
* feat: read `window.__nativeJwe__` when configuring the SDK by @per-christian-henden
|
|
628
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/238
|
|
629
|
+
* feat: add warning for ignored addPageLeaveTracking calls by @ole-martin-grotterud
|
|
630
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/240
|
|
631
|
+
* chore: SDP-10542 Update documentation by @rodrigo-andrade-biffi
|
|
632
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/239
|
|
633
|
+
* feat: SDP-9516 `PPID` from `CIS` by @rodrigo-andrade-biffi
|
|
634
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/237
|
|
635
|
+
* feat: SDP-10636 Advertising Identifiers interface by @arka-sain
|
|
636
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/247
|
|
637
|
+
|
|
638
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.2...sdk/4.11.0
|
|
639
|
+
|
|
640
|
+
## [4.10.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.1...sdk/4.10.2) (2023-07-17)
|
|
641
|
+
|
|
642
|
+
## What's Changed
|
|
643
|
+
|
|
644
|
+
* fix: SDP-10516 restore default export for Tracker class by @arka-sain
|
|
645
|
+
|
|
646
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.1...sdk/4.10.2
|
|
647
|
+
|
|
648
|
+
## [4.10.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.0...sdk/4.10.1) (2023-06-12)
|
|
649
|
+
|
|
650
|
+
## What's Changed
|
|
651
|
+
|
|
652
|
+
* fix: evaluate event should receive the `applyBookmarkKey` option by @rodrigo-andrade-biffi
|
|
653
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/235
|
|
654
|
+
|
|
655
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.10.0...sdk/4.10.1
|
|
656
|
+
|
|
657
|
+
## [4.10.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.2...sdk/4.10.0) (2023-06-06)
|
|
658
|
+
|
|
659
|
+
## What's Changed
|
|
660
|
+
|
|
661
|
+
* feat: Support additional scroll height by @ole-martin-grotterud
|
|
662
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/231
|
|
663
|
+
* fix: SDP-10245 evaluate beacon options "progressively" by @rodrigo-andrade-biffi
|
|
664
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/230
|
|
665
|
+
* feat: SDP 10036 `includeAdvertising`, `vendors`, clear cookie ad values by @rodrigo-andrade-biffi
|
|
666
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/224
|
|
667
|
+
* feat: SDP-10006 implement `clearCookieJweIfStale ` by @rodrigo-andrade-biffi
|
|
668
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/233
|
|
669
|
+
* chore: SDP-9861 Remove `nightwatch` e2e testing infra by @rodrigo-andrade-biffi
|
|
670
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/225
|
|
671
|
+
|
|
672
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.2...sdk/4.10.0
|
|
673
|
+
|
|
674
|
+
## [4.9.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.1...sdk/4.9.2) (2023-04-11)
|
|
675
|
+
|
|
676
|
+
## What's Changed
|
|
677
|
+
|
|
678
|
+
* INCIDENT: SDK:Builders:Object: defaults MUST be overwritten by event input by @rodrigo-andrade-biffi
|
|
679
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/227
|
|
680
|
+
|
|
681
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.1...sdk/4.9.2
|
|
682
|
+
|
|
683
|
+
## [4.9.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.0...sdk/4.9.1) (2023-04-04)
|
|
684
|
+
|
|
685
|
+
## What's Changed
|
|
686
|
+
|
|
687
|
+
* Fix/NOJIRA Pageview/Leave consents override by @rodrigo-andrade-biffi
|
|
688
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/226
|
|
689
|
+
|
|
690
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.9.0...sdk/4.9.1
|
|
691
|
+
|
|
692
|
+
## [4.9.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.5...sdk/4.9.0) (2023-03-21)
|
|
693
|
+
|
|
694
|
+
## What's Changed
|
|
695
|
+
|
|
696
|
+
* refactor(cis-sync): SDK:CIS: remove compatibility-array-includes dependency by @michal-drobniak
|
|
697
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/218
|
|
698
|
+
* SDP-9875 SDK:CIS: send `trackerType`, `trackerVersion` in request body by @rodrigo-andrade-biffi
|
|
699
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/216
|
|
700
|
+
* SDP-9748 SDK:Consents: allow consent purpose input to be an object by @rodrigo-andrade-biffi
|
|
701
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/215
|
|
702
|
+
* SDP-9930 SDK:Consents: enable `consents` config interface by @rodrigo-andrade-biffi
|
|
703
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/219
|
|
704
|
+
* SDP-9719 SDK:Config: `deployStage` api config param by @rodrigo-andrade-biffi
|
|
705
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/214
|
|
706
|
+
* SDP-9920 SDK:Config: add `isHybrid` to config and state by @rodrigo-andrade-biffi
|
|
707
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/220
|
|
708
|
+
* refactor(documentation): Re-work all the GH Pages documentation by @rodrigo-andrade-biffi
|
|
709
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/221
|
|
710
|
+
* SDP-10019 SDK: consents `source` field and `setConsents` method by @rodrigo-andrade-biffi
|
|
711
|
+
in https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/222
|
|
712
|
+
|
|
713
|
+
**Full Changelog**: https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.5...sdk/4.9.0
|
|
714
|
+
|
|
715
|
+
## [4.8.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.4...sdk/4.8.5) (2022-12-15)
|
|
716
|
+
|
|
717
|
+
### Changed
|
|
718
|
+
|
|
719
|
+
* ability to "save" or "bookmark" a given sent event, and apply it later to another event, passing the
|
|
720
|
+
options `bookmarkKey?: string; applyBookmarkKey: string` to the `.track` method; This feature is used internally to
|
|
721
|
+
always apply the PageView event to the Leave event;
|
|
722
|
+
* `event-builders` is now a module of `pulse-sdk`, not its standalone package any more, exporting all the builders
|
|
723
|
+
interfaces.
|
|
724
|
+
|
|
725
|
+
### Fixed
|
|
726
|
+
|
|
727
|
+
- typescript: optional interfaces for `track` method;
|
|
728
|
+
- typescript: `ActorInput` may be a Promise.
|
|
729
|
+
|
|
730
|
+
## [4.8.4](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.3...sdk/4.8.4) (2022-11-15)
|
|
731
|
+
|
|
732
|
+
### Changed
|
|
733
|
+
|
|
734
|
+
* ability to "save" or "bookmark" a given sent event, and apply it later to another event, passing the
|
|
735
|
+
options `bookmarkKey?: string; applyBookmarkKey: string` to the `.track` method; This feature is used internally to
|
|
736
|
+
always apply the PageView event to the Leave event.
|
|
737
|
+
* `event-builders` is now a module of `pulse-sdk`, not its standalone package any more, exporting all the builders
|
|
738
|
+
interfaces.
|
|
739
|
+
|
|
740
|
+
### Fixed
|
|
741
|
+
|
|
742
|
+
- typescript: optional interfaces for `track` method;
|
|
743
|
+
- typescript: `ActorInput` may be a Promise.
|
|
744
|
+
|
|
745
|
+
## [4.8.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.2...sdk/4.8.3) (2022-11-02)
|
|
746
|
+
|
|
747
|
+
### Changed
|
|
748
|
+
|
|
749
|
+
* PPID: `logout` calls to cis are blocking now, so the anonymised identifiers returned are applied correctly for PPID
|
|
750
|
+
getters;
|
|
751
|
+
* LeaveEvent: `tracker.addPageLeaveTracking` method accepts an optional `{ objectResizable?: boolean; }`. If the
|
|
752
|
+
observed object element resizes, all content-viewed values are reset and recalculated based on the new dimensions.
|
|
753
|
+
Default: `false`.
|
|
754
|
+
|
|
755
|
+
## [4.8.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.1...sdk/4.8.2) (2022-10-19)
|
|
756
|
+
|
|
757
|
+
### Fixed
|
|
758
|
+
|
|
759
|
+
* `evaluateEvent` has a default argument for `builders`, which maintains both original behaviour and the state leakage
|
|
760
|
+
fix introduced in `4.8.1`.
|
|
761
|
+
|
|
762
|
+
## [4.8.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.8.0...sdk/4.8.1) (2022-10-18)
|
|
763
|
+
|
|
764
|
+
### Changed
|
|
765
|
+
|
|
766
|
+
- when no cache nor CIS synchronisation can be determined, `getXandrPPID1` and `getXandrPPID2` return `undefined`
|
|
767
|
+
instead of `''` [(201)](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/201);
|
|
768
|
+
- `tracker`, `engagement` and `base-routable` events have default builder schema versions updated to `329`, `356`
|
|
769
|
+
and `218` respectively [(202)](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/202).
|
|
770
|
+
|
|
771
|
+
### Fixed
|
|
772
|
+
|
|
773
|
+
- Critical: `PPID1` and `PPID2` values are now consistent and stable across login and logout
|
|
774
|
+
scenarios [(198)](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/198);
|
|
775
|
+
- calling `update` after `track` does not leak builders updated state to the previously queued
|
|
776
|
+
event [(200)](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/200);
|
|
777
|
+
- `platform` input property is not dropped from the `experiment` event output property
|
|
778
|
+
any more [(199)](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/199).
|
|
779
|
+
|
|
780
|
+
## [4.8.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.7.1...sdk/4.8.0) (2022-10-03)
|
|
781
|
+
|
|
782
|
+
### Changed
|
|
783
|
+
|
|
784
|
+
- `addPageLeaveTracking` and `updatePageLeaveTracking` receive an additional `pageElement: Element`, thus enabling the
|
|
785
|
+
syncing of the active LeaveEvent in various navigation use cases;
|
|
786
|
+
- `addPageLeaveTracking` does not receive a plain `callback` function any more, but an
|
|
787
|
+
optional `builder: LeaveEventBuilder`;
|
|
788
|
+
- `updatePageLeaveTracking` receives `resetProperties: boolean`, which indicates whether the properties of the default
|
|
789
|
+
LeaveEvent should be reset when the tracking is updated. Default value: `false`;
|
|
790
|
+
- `trackPageLeave` and `trackActivePageLeave` receive an optional `event?: LeaveEvent` instead of a required
|
|
791
|
+
plain `callback` function.
|
|
792
|
+
|
|
793
|
+
## [4.7.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.7.0...sdk/4.7.1) (2022-09-12)
|
|
794
|
+
|
|
795
|
+
### Changed
|
|
796
|
+
|
|
797
|
+
* Avoid duplicated `LeaveEvents`, with `trackActivePageLeave` and `trackPageLeave`
|
|
798
|
+
methods ([184](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/184));
|
|
799
|
+
* Cleaner interface to `trackPageView`, as its parameters default to empty
|
|
800
|
+
objects ([188](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/188));
|
|
801
|
+
* Expose `getAdId` method for retrieving the `adId` in the sdk
|
|
802
|
+
storage ([185](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/185));
|
|
803
|
+
* Expose `getUserId` method for retrieving the `userId` in the sdk
|
|
804
|
+
storage ([187](https://github.schibsted.io/spt-dataanalytics/pulse-sdk-js/pull/187)).
|
|
805
|
+
|
|
806
|
+
## [4.7.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.6.6...sdk/4.7.0) (2022-08-26)
|
|
807
|
+
|
|
808
|
+
### Changed
|
|
809
|
+
|
|
810
|
+
* configuring the `nativeJwe` constructor option no longer waits for a `cis_sync` response for methods depending on it.
|
|
811
|
+
The payload is immediately retrieved from storage (`_pulse2data` client-side cookie). This behaviour was degrading
|
|
812
|
+
performance in hybrid apps, which use that option to pass authentication info between native and web layers;
|
|
813
|
+
* dependencies update.
|
|
814
|
+
|
|
815
|
+
## [4.6.6](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.6.5...sdk/4.6.6) (2022-08-10)
|
|
816
|
+
|
|
817
|
+
### Changed
|
|
818
|
+
|
|
819
|
+
- Allow `experiments` to have additional fields other than `@id`:
|
|
820
|
+
- It is still possible to pass `id` and `platform` to format the `@id` "sdrn" string;
|
|
821
|
+
- Passing an explicit "sdrn" with `@id` overrides what the sdk has produced.
|
|
822
|
+
- Dependencies updates.
|
|
823
|
+
|
|
824
|
+
## [4.6.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.6.3...sdk/4.6.5) (2022-06-30)
|
|
825
|
+
|
|
826
|
+
### Fixed
|
|
827
|
+
|
|
828
|
+
PPID-related fixes:
|
|
829
|
+
|
|
830
|
+
- Allow the actor object to be a Promise;
|
|
831
|
+
- Replace all unsupported characters from adId with '-'.
|
|
832
|
+
|
|
833
|
+
## [4.6.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.6.2...sdk/4.6.3) (2022-06-27)
|
|
834
|
+
|
|
835
|
+
### Fixed
|
|
836
|
+
|
|
837
|
+
- Due to a previous deployment issue, release with a new dist bundle.
|
|
838
|
+
|
|
839
|
+
## [4.6.2](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.6.1...sdk/4.6.2) (2022-06-27)
|
|
840
|
+
|
|
841
|
+
### Changed
|
|
842
|
+
|
|
843
|
+
* Use the standardized hex-digest format for PPID values (for the hashed environmentId).
|
|
844
|
+
This improves interoperability with other systems.
|
|
845
|
+
|
|
846
|
+
## [4.6.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.5.0...sdk/4.6.1) (2022-06-22)
|
|
847
|
+
|
|
848
|
+
### Fixed
|
|
849
|
+
|
|
850
|
+
* Fix a regression in `trackPageView`, where the provided event fields were nested under an `event` property,
|
|
851
|
+
due to incorrect destructuring of an input value.
|
|
852
|
+
|
|
853
|
+
## [4.5.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.4.0...sdk/4.5.0) (2022-06-15)
|
|
854
|
+
|
|
855
|
+
### Changed
|
|
856
|
+
|
|
857
|
+
* `xandrEnabled` config flag was added to prevent a call to the Xandr api, which is intended to sync marketing
|
|
858
|
+
identifiers;
|
|
859
|
+
* [BETA] Make Xandr publisher provided identifiers available.
|
|
860
|
+
|
|
861
|
+
## [4.4.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.3.7...sdk/4.4.0) (2022-05-30)
|
|
862
|
+
|
|
863
|
+
### Changed
|
|
864
|
+
|
|
865
|
+
- internal refactoring of the promise chain leading to the initial `.track` async call. The resolve of a successful
|
|
866
|
+
track is still `undefined`, due to the queued process, but intermediate network steps are catchable externally and can
|
|
867
|
+
be debugged.
|
|
868
|
+
- `cisEnabled` flag has been introduced to optionally disable `cis` calls in pure nodejs runtime environments.
|
|
869
|
+
- several dependencies updated.
|
|
870
|
+
|
|
871
|
+
## [4.3.7](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.3.6...sdk/4.3.7) (2022-04-26)
|
|
872
|
+
|
|
873
|
+
### Fixed
|
|
874
|
+
|
|
875
|
+
- A previous failed npm publish got the versions out of sync. Bumping SDK to fix that.
|
|
876
|
+
|
|
877
|
+
## [4.3.6](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.3.5...sdk/4.3.6) (2022-04-25)
|
|
878
|
+
|
|
879
|
+
### Changed
|
|
880
|
+
|
|
881
|
+
- Replace `lodash` simple checks, like `isArray` and `isString`, with their direct javascript implementations;
|
|
882
|
+
- Replace `debounce` package and rely on the `lodash/debounce`, which is already referenced in the bundle.
|
|
883
|
+
|
|
884
|
+
## [4.3.5](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.3.3...sdk/4.3.5) (2022-04-21)
|
|
885
|
+
|
|
886
|
+
### Fixed
|
|
887
|
+
|
|
888
|
+
- Keep publishing `cis-sync` and `event-builders` to Artifactory.
|
|
889
|
+
|
|
890
|
+
## [4.3.3](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/sdk/4.3.1...sdk/4.3.3) (2022-04-20)
|
|
891
|
+
|
|
892
|
+
### Changed
|
|
893
|
+
|
|
894
|
+
- Address async dependabot security issue;
|
|
895
|
+
- General minor/patch bumps on direct dependencies.
|
|
896
|
+
|
|
897
|
+
## [4.3.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.2.1...sdk/4.3.1) (2022-04-19)
|
|
898
|
+
|
|
899
|
+
### Changed
|
|
900
|
+
|
|
901
|
+
- Updates all dependencies, derived from the new monorepo structure.
|
|
902
|
+
|
|
903
|
+
## [4.2.1](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.2.0...v4.2.1) (2022-01-17)
|
|
904
|
+
|
|
905
|
+
### Fixed
|
|
906
|
+
|
|
907
|
+
- Moved node-fetch to be a peerDependency as node-fetch >= 3 does not work with cjs. Use node-fetch@cjs to get the
|
|
908
|
+
latest cjs-compatible version.
|
|
909
|
+
|
|
910
|
+
### Changed
|
|
911
|
+
|
|
912
|
+
- Upgraded pulse-event-builders dependency
|
|
913
|
+
|
|
914
|
+
## [4.2.0](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.19...v4.2.0) (2021-11-19)
|
|
915
|
+
|
|
916
|
+
### Fixed
|
|
917
|
+
|
|
918
|
+
- Return rejected promise when sending events rejects
|
|
919
|
+
- Fix test for events with undefined login status
|
|
920
|
+
|
|
921
|
+
### Changed
|
|
922
|
+
|
|
923
|
+
- Rewritten in Typescript
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
## [4.1.19](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.18...v4.1.19) (2021-02-09)
|
|
927
|
+
|
|
928
|
+
### Fixed
|
|
929
|
+
|
|
930
|
+
- Partially revert the 4.1.18 change. If the login status is not set, warn in the console, but otherwise reuse from the `_pulse2data` cookie.
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
## [4.1.18](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.17...v4.1.18) (2021-02-09)
|
|
934
|
+
|
|
935
|
+
### Added
|
|
936
|
+
|
|
937
|
+
(from pulse-event-builder update)
|
|
938
|
+
- Added `name` to experiments.
|
|
939
|
+
|
|
940
|
+
### Changed
|
|
941
|
+
|
|
942
|
+
- The login status now MUST be set explicitly, either as a builder, or in the
|
|
943
|
+
event. The login status will not be reused from the `_pulse2data` cookie.
|
|
944
|
+
|
|
945
|
+
In the normal case where one tracker is used on the main page, this means you should
|
|
946
|
+
update your code to add the actor like this:
|
|
947
|
+
|
|
948
|
+
```
|
|
949
|
+
tracker.update({ actor: new Promise(... /* wait for login status and return it, or undefined */) });
|
|
950
|
+
...
|
|
951
|
+
tracker.track(...)
|
|
952
|
+
```
|
|
953
|
+
|
|
954
|
+
alternatively if no login is available
|
|
955
|
+
|
|
956
|
+
```
|
|
957
|
+
tracker.update({ actor: undefined });
|
|
958
|
+
```
|
|
959
|
+
|
|
960
|
+
In the case where multiple independent trackers are used, for example in a video component where
|
|
961
|
+
the event is enriched by the embedding component, add the `actor` to each event.
|
|
962
|
+
|
|
963
|
+
A warning will be printed to the console if the tracker is unable to detect the login status.
|
|
964
|
+
|
|
965
|
+
(from pulse-event-builder update)
|
|
966
|
+
- `page` is no longer included in the output of the `UiElement` builder. It is only used to construct the id.
|
|
967
|
+
|
|
968
|
+
### Fixed
|
|
969
|
+
|
|
970
|
+
- Events that cannot be sent will only be retried once to avoid DoS the pulse infrastructure during peak load.
|
|
971
|
+
|
|
972
|
+
(from pulse-event-builder update)
|
|
973
|
+
- `UIElement` type events are now always represented as `element` in the SDRN.
|
|
974
|
+
- `latitude` and `longitude` are capped at 3 decimal places in the `location` builder.
|
|
975
|
+
- `altitude` will be filtered from GeoCoordinates in the `location` builder.
|
|
976
|
+
|
|
977
|
+
## [4.1.17](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.16...v4.1.17) (2020-11-19)
|
|
978
|
+
|
|
979
|
+
### Fixed
|
|
980
|
+
|
|
981
|
+
- Exception when `actor` is a `Promise` that resolves to `undefined` fixed.
|
|
982
|
+
|
|
983
|
+
## [4.1.16](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.15...v4.1.16) (2020-10-20)
|
|
984
|
+
|
|
985
|
+
### Fixed
|
|
986
|
+
|
|
987
|
+
- Bumped pulse-cis-sync
|
|
988
|
+
|
|
989
|
+
## [4.1.15](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.14...v4.1.15) (2020-10-08)
|
|
990
|
+
|
|
991
|
+
### Added
|
|
992
|
+
|
|
993
|
+
- CIS can now ask the client to redo identify on another host, typically a host where cookies will work.
|
|
994
|
+
|
|
995
|
+
## [4.1.12](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.11...v4.1.12) (2020-08-11)
|
|
996
|
+
|
|
997
|
+
### Fixed
|
|
998
|
+
|
|
999
|
+
- New fix for the issue identified in 4.1.10. What we do now is that instead
|
|
1000
|
+
of evaluating the event fully before deciding how to sync with cis, we partially
|
|
1001
|
+
evaluate only the `.actor` subtree of the event in order to find `.actor.{id,realm}`.
|
|
1002
|
+
Then we sync with cis, and finally evaluate the full event. Thus, builders that
|
|
1003
|
+
depend on cis sync state being fully synced (envId in particular) will work properly
|
|
1004
|
+
and login/logout status will also respect the `.actor.{id,realm}` set in individual
|
|
1005
|
+
events.
|
|
1006
|
+
|
|
1007
|
+
## [4.1.11](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.10...v4.1.11) (2020-08-05)
|
|
1008
|
+
|
|
1009
|
+
### Fixed
|
|
1010
|
+
|
|
1011
|
+
- Reverted fix from 4.1.10. The issue is not fixed, but the fix is not
|
|
1012
|
+
correct.
|
|
1013
|
+
|
|
1014
|
+
## [4.1.10](https://schibsted.ghe.com/data-platform/pulse-sdk-js/compare/v4.1.9...v4.1.10) (2020-06-25)
|
|
1015
|
+
|
|
1016
|
+
### Fixed
|
|
1017
|
+
|
|
1018
|
+
- The semantics for syncing with CIS now depends on whether an event
|
|
1019
|
+
is available or not. Previously, the `actor.{id,realm}` data from
|
|
1020
|
+
the builders were used to determine login status. However, some
|
|
1021
|
+
implementations set the `actor` only as an argument to `track`, so
|
|
1022
|
+
it is only when the full event is evaluated, during `track` that
|
|
1023
|
+
it is possible to know that a user is *not logged in*.
|
|
1024
|
+
CIS syncs are proactively initiated still in Pulse, but now only
|
|
1025
|
+
to initialise cookies, to refresh cookies, or when the `actor.{id, realm}`
|
|
1026
|
+
is set in a builder.
|
|
1027
|
+
|
|
1028
|
+
### Changed
|
|
1029
|
+
|
|
1030
|
+
- `track` now evaluates the event (waiting for any promises) before
|
|
1031
|
+
initiating sync with cis.
|
|
1032
|
+
- `cisSync` now takes the active event as optional parameter. The
|
|
1033
|
+
"sync reason" called 'logout' (sync because pulse notices a transition
|
|
1034
|
+
to not having a user id) is disabled when this optional parameter is
|
|
1035
|
+
absent and no builder that sets `actor.id` has been registered..
|