posthog-js 1.76.0 → 1.77.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/dist/array.full.js +2 -2
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +2 -2
- package/dist/array.js.map +1 -1
- package/dist/es.js +2 -2
- package/dist/es.js.map +1 -1
- package/dist/module.d.ts +38 -6
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/lib/package.json +8 -6
- package/lib/src/autocapture-utils.d.ts +15 -0
- package/lib/src/autocapture-utils.js +303 -0
- package/lib/src/autocapture-utils.js.map +1 -0
- package/lib/src/autocapture.d.ts +27 -0
- package/lib/src/autocapture.js +290 -0
- package/lib/src/autocapture.js.map +1 -0
- package/lib/src/base-request-queue.d.ts +12 -0
- package/lib/src/base-request-queue.js +33 -0
- package/lib/src/base-request-queue.js.map +1 -0
- package/lib/src/compression.d.ts +3 -0
- package/lib/src/compression.js +35 -0
- package/lib/src/compression.js.map +1 -0
- package/lib/src/config.d.ts +5 -0
- package/lib/src/config.js +9 -0
- package/lib/src/config.js.map +1 -0
- package/lib/src/constants.d.ts +19 -0
- package/lib/src/constants.js +41 -0
- package/lib/src/constants.js.map +1 -0
- package/lib/src/decide.d.ts +8 -0
- package/lib/src/decide.js +118 -0
- package/lib/src/decide.js.map +1 -0
- package/lib/src/extensions/cloud.d.ts +1 -0
- package/lib/src/extensions/cloud.js +2 -0
- package/lib/src/extensions/cloud.js.map +1 -0
- package/lib/src/extensions/exceptions/error-conversion.d.ts +26 -0
- package/lib/src/extensions/exceptions/error-conversion.js +204 -0
- package/lib/src/extensions/exceptions/error-conversion.js.map +1 -0
- package/lib/src/extensions/exceptions/exception-autocapture.d.ts +24 -0
- package/lib/src/extensions/exceptions/exception-autocapture.js +164 -0
- package/lib/src/extensions/exceptions/exception-autocapture.js.map +1 -0
- package/lib/src/extensions/exceptions/stack-trace.d.ts +31 -0
- package/lib/src/extensions/exceptions/stack-trace.js +259 -0
- package/lib/src/extensions/exceptions/stack-trace.js.map +1 -0
- package/lib/src/extensions/exceptions/type-checking.d.ts +10 -0
- package/lib/src/extensions/exceptions/type-checking.js +43 -0
- package/lib/src/extensions/exceptions/type-checking.js.map +1 -0
- package/lib/src/extensions/rageclick.d.ts +10 -0
- package/lib/src/extensions/rageclick.js +33 -0
- package/lib/src/extensions/rageclick.js.map +1 -0
- package/lib/src/extensions/segment-integration.d.ts +44 -0
- package/lib/src/extensions/segment-integration.js +34 -0
- package/lib/src/extensions/segment-integration.js.map +1 -0
- package/lib/src/extensions/sentry-integration.d.ts +30 -0
- package/lib/src/extensions/sentry-integration.js +63 -0
- package/lib/src/extensions/sentry-integration.js.map +1 -0
- package/lib/src/extensions/sessionrecording-utils.d.ts +67 -0
- package/lib/src/extensions/sessionrecording-utils.js +192 -0
- package/lib/src/extensions/sessionrecording-utils.js.map +1 -0
- package/lib/src/extensions/sessionrecording.d.ts +45 -0
- package/lib/src/extensions/sessionrecording.js +430 -0
- package/lib/src/extensions/sessionrecording.js.map +1 -0
- package/lib/src/extensions/toolbar.d.ts +18 -0
- package/lib/src/extensions/toolbar.js +151 -0
- package/lib/src/extensions/toolbar.js.map +1 -0
- package/lib/src/extensions/web-performance.d.ts +20 -0
- package/lib/src/extensions/web-performance.js +245 -0
- package/lib/src/extensions/web-performance.js.map +1 -0
- package/lib/src/gdpr-utils.d.ts +80 -0
- package/lib/src/gdpr-utils.js +236 -0
- package/lib/src/gdpr-utils.js.map +1 -0
- package/lib/src/loader-globals-full.d.ts +1 -0
- package/lib/src/loader-globals-full.js +5 -0
- package/lib/src/loader-globals-full.js.map +1 -0
- package/lib/src/loader-globals.d.ts +1 -0
- package/lib/src/loader-globals.js +3 -0
- package/lib/src/loader-globals.js.map +1 -0
- package/lib/src/loader-module.d.ts +4 -0
- package/lib/src/loader-module.js +6 -0
- package/lib/src/loader-module.js.map +1 -0
- package/lib/src/loader-recorder-v2.d.ts +2 -0
- package/lib/src/loader-recorder-v2.js +15 -0
- package/lib/src/loader-recorder-v2.js.map +1 -0
- package/lib/src/loader-recorder.d.ts +2 -0
- package/lib/src/loader-recorder.js +15 -0
- package/lib/src/loader-recorder.js.map +1 -0
- package/lib/src/page-view.d.ts +38 -0
- package/lib/src/page-view.js +127 -0
- package/lib/src/page-view.js.map +1 -0
- package/lib/src/posthog-core.d.ts +701 -0
- package/lib/src/posthog-core.js +1916 -0
- package/lib/src/posthog-core.js.map +1 -0
- package/lib/src/posthog-featureflags.d.ts +70 -0
- package/lib/src/posthog-featureflags.js +438 -0
- package/lib/src/posthog-featureflags.js.map +1 -0
- package/lib/src/posthog-persistence.d.ts +57 -0
- package/lib/src/posthog-persistence.js +256 -0
- package/lib/src/posthog-persistence.js.map +1 -0
- package/lib/src/posthog-surveys.d.ts +57 -0
- package/lib/src/posthog-surveys.js +76 -0
- package/lib/src/posthog-surveys.js.map +1 -0
- package/lib/src/rate-limiter.d.ts +5 -0
- package/lib/src/rate-limiter.js +66 -0
- package/lib/src/rate-limiter.js.map +1 -0
- package/lib/src/request-queue.d.ts +10 -0
- package/lib/src/request-queue.js +146 -0
- package/lib/src/request-queue.js.map +1 -0
- package/lib/src/retry-queue.d.ts +28 -0
- package/lib/src/retry-queue.js +198 -0
- package/lib/src/retry-queue.js.map +1 -0
- package/lib/src/send-request.d.ts +6 -0
- package/lib/src/send-request.js +125 -0
- package/lib/src/send-request.js.map +1 -0
- package/lib/src/sessionid.d.ts +28 -0
- package/lib/src/sessionid.js +205 -0
- package/lib/src/sessionid.js.map +1 -0
- package/lib/src/storage.d.ts +7 -0
- package/lib/src/storage.js +291 -0
- package/lib/src/storage.js.map +1 -0
- package/lib/src/types.d.ts +294 -0
- package/lib/src/types.js +6 -0
- package/lib/src/types.js.map +1 -0
- package/lib/src/utils.d.ts +89 -0
- package/lib/src/utils.js +868 -0
- package/lib/src/utils.js.map +1 -0
- package/lib/src/uuidv7.d.ts +42 -0
- package/lib/src/uuidv7.js +228 -0
- package/lib/src/uuidv7.js.map +1 -0
- package/package.json +8 -6
- package/CHANGELOG.md +0 -1145
package/CHANGELOG.md
DELETED
|
@@ -1,1145 +0,0 @@
|
|
|
1
|
-
## 1.76.0 - 2023-08-10
|
|
2
|
-
|
|
3
|
-
- Fixed up tests to cover all cases (#770)
|
|
4
|
-
|
|
5
|
-
## 1.75.4 - 2023-08-09
|
|
6
|
-
|
|
7
|
-
- feat: remove old UUID code (#755)
|
|
8
|
-
|
|
9
|
-
## 1.75.3 - 2023-08-02
|
|
10
|
-
|
|
11
|
-
- chore: remove unused capture metrics (#766)
|
|
12
|
-
|
|
13
|
-
## 1.75.2 - 2023-07-26
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## 1.75.1 - 2023-07-26
|
|
18
|
-
|
|
19
|
-
- fix: obey server side opt out for autocapture (#762)
|
|
20
|
-
|
|
21
|
-
## 1.75.0 - 2023-07-25
|
|
22
|
-
|
|
23
|
-
- feat: react to rate limiting responses (#757)
|
|
24
|
-
|
|
25
|
-
## 1.74.0 - 2023-07-25
|
|
26
|
-
|
|
27
|
-
- fix: Recording throttling for SVG-like things (#758)
|
|
28
|
-
- chore(deps): bump semver from 5.7.1 to 5.7.2 in /react (#732)
|
|
29
|
-
- chore(deps): bump semver from 6.3.0 to 6.3.1 in /playground/nextjs (#733)
|
|
30
|
-
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /react (#746)
|
|
31
|
-
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#747)
|
|
32
|
-
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /playground/nextjs (#750)
|
|
33
|
-
|
|
34
|
-
## 1.73.1 - 2023-07-21
|
|
35
|
-
|
|
36
|
-
- fix: protect against bundling bugs (#754)
|
|
37
|
-
|
|
38
|
-
## 1.73.0 - 2023-07-20
|
|
39
|
-
|
|
40
|
-
- feat: use uuidv7 everywhere (#742)
|
|
41
|
-
|
|
42
|
-
## 1.72.3 - 2023-07-19
|
|
43
|
-
|
|
44
|
-
- fix: defensive about unload logging (#751)
|
|
45
|
-
|
|
46
|
-
## 1.72.2 - 2023-07-19
|
|
47
|
-
|
|
48
|
-
- fix(flags): Don't return undefined for flags when decide is not hit but flags exist (#748)
|
|
49
|
-
|
|
50
|
-
## 1.72.1 - 2023-07-18
|
|
51
|
-
|
|
52
|
-
- fix(flags): Make sure flags are reloaded only once on identify calls (#744)
|
|
53
|
-
|
|
54
|
-
## 1.72.0 - 2023-07-18
|
|
55
|
-
|
|
56
|
-
- feat(flags): Allow disabling flags on first load (#740)
|
|
57
|
-
- chore: remove some slow tests that have served their purpose (#739)
|
|
58
|
-
|
|
59
|
-
## 1.71.0 - 2023-07-13
|
|
60
|
-
|
|
61
|
-
- chore: Removed people.set and mapped it to identify (#584)
|
|
62
|
-
|
|
63
|
-
## 1.70.2 - 2023-07-11
|
|
64
|
-
|
|
65
|
-
- feat: allow moving to UUID v7 by config in posthog-js (#731)
|
|
66
|
-
|
|
67
|
-
## 1.70.1 - 2023-07-10
|
|
68
|
-
|
|
69
|
-
- fix: UUIDs should not take literally forever to generate (#727)
|
|
70
|
-
|
|
71
|
-
## 1.70.0 - 2023-07-07
|
|
72
|
-
|
|
73
|
-
- feat: callback when session id changes (#725)
|
|
74
|
-
|
|
75
|
-
## 1.69.0 - 2023-07-05
|
|
76
|
-
|
|
77
|
-
- feat: capture page title with pageview (#721)
|
|
78
|
-
|
|
79
|
-
## 1.68.5 - 2023-06-28
|
|
80
|
-
|
|
81
|
-
- fix: invalid module d ts because computers are horrible (#715)
|
|
82
|
-
- fix(cd): use package manager field (#704)
|
|
83
|
-
|
|
84
|
-
## 1.68.4 - 2023-06-22
|
|
85
|
-
|
|
86
|
-
- feat(components): Give option to not track events on feature component (#708)
|
|
87
|
-
|
|
88
|
-
## 1.68.3 - 2023-06-22
|
|
89
|
-
|
|
90
|
-
- fix: PosthogProvider doesn't need to have the client be optional (#705)
|
|
91
|
-
|
|
92
|
-
## 1.68.2 - 2023-06-20
|
|
93
|
-
|
|
94
|
-
- feat: Group rrweb events into one capture (#694)
|
|
95
|
-
|
|
96
|
-
## 1.68.1 - 2023-06-15
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
## 1.68.0 - 2023-06-14
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
## 1.67.2 - 2023-06-12
|
|
105
|
-
|
|
106
|
-
- feat: allow decide response to configure errors to drop by pattern (#692)
|
|
107
|
-
- chore: no compatability testing for test files (#690)
|
|
108
|
-
|
|
109
|
-
## 1.67.1 - 2023-06-09
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
## 1.67.0 - 2023-06-07
|
|
114
|
-
|
|
115
|
-
- feat: get surveys api (#677)
|
|
116
|
-
|
|
117
|
-
## 1.66.1 - 2023-06-07
|
|
118
|
-
|
|
119
|
-
- Update utils.ts (#686)
|
|
120
|
-
|
|
121
|
-
## 1.66.0 - 2023-06-06
|
|
122
|
-
|
|
123
|
-
- chore: manual version bump (#684)
|
|
124
|
-
- feat: send event UUIDs (#672)
|
|
125
|
-
|
|
126
|
-
## 1.66.0 - 2023-06-06
|
|
127
|
-
|
|
128
|
-
Manual addition of version 1.66.0 because CI failed to automatically bump the version
|
|
129
|
-
|
|
130
|
-
- feat: send event UUIDs (#672)
|
|
131
|
-
|
|
132
|
-
## 1.65.0 - 2023-06-06
|
|
133
|
-
|
|
134
|
-
- feat: backoff with jitter (#678)
|
|
135
|
-
|
|
136
|
-
## 1.64.0 - 2023-06-06
|
|
137
|
-
|
|
138
|
-
- feat: Add missing maskTextFn for recordings (#679)
|
|
139
|
-
|
|
140
|
-
## 1.63.6 - 2023-06-06
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
## 1.63.5 - 2023-06-06
|
|
145
|
-
|
|
146
|
-
- add browserlist and eslint checking compatability using it (#673)
|
|
147
|
-
|
|
148
|
-
## 1.63.4 - 2023-06-05
|
|
149
|
-
|
|
150
|
-
- feat: default endpoint for session recordings is /s/ (#674)
|
|
151
|
-
|
|
152
|
-
## 1.63.3 - 2023-06-02
|
|
153
|
-
|
|
154
|
-
- fix: Typescript import issue with rrweb (#670)
|
|
155
|
-
|
|
156
|
-
## 1.63.2 - 2023-06-01
|
|
157
|
-
|
|
158
|
-
- fix: only allow exception capture on remote enabled (#659)
|
|
159
|
-
|
|
160
|
-
## 1.63.1 - 2023-05-31
|
|
161
|
-
|
|
162
|
-
- fix: performance observer is not always available (#663)
|
|
163
|
-
- chore: correct pnpm version (#662)
|
|
164
|
-
|
|
165
|
-
## 1.63.0 - 2023-05-31
|
|
166
|
-
|
|
167
|
-
- feat: remove lz compression (#654)
|
|
168
|
-
|
|
169
|
-
## 1.62.0 - 2023-05-31
|
|
170
|
-
|
|
171
|
-
- feat: Exception Autocapture (#649)
|
|
172
|
-
|
|
173
|
-
## 1.61.0 - 2023-05-30
|
|
174
|
-
|
|
175
|
-
- feat(react): Flag autocapture component (#622)
|
|
176
|
-
|
|
177
|
-
## 1.60.0 - 2023-05-30
|
|
178
|
-
|
|
179
|
-
- feat: Added support for cross origin iframe recording (#655)
|
|
180
|
-
|
|
181
|
-
## 1.59.0 - 2023-05-30
|
|
182
|
-
|
|
183
|
-
- feat: remove broken capture using img support (#651)
|
|
184
|
-
|
|
185
|
-
## 1.58.0 - 2023-05-26
|
|
186
|
-
|
|
187
|
-
- Add get_session_id and get_session_replay_url functions (#647)
|
|
188
|
-
|
|
189
|
-
## 1.57.4 - 2023-05-25
|
|
190
|
-
|
|
191
|
-
- fix: Session timeout overridden on reload (#645)
|
|
192
|
-
|
|
193
|
-
## 1.57.3 - 2023-05-23
|
|
194
|
-
|
|
195
|
-
- fix: properties with "length" value (#640)
|
|
196
|
-
- docs: Update README around releasing and development (#634)
|
|
197
|
-
- chore: add test for $identify events count optimization (#639)
|
|
198
|
-
- ci: consolidate library checks into one workflow (#638)
|
|
199
|
-
- ci: add prettier and eslint linting stage (#637)
|
|
200
|
-
- chore: add pre-commit to run lint staged. (#636)
|
|
201
|
-
- chore: add functional tests (#635)
|
|
202
|
-
|
|
203
|
-
## 1.57.2 - 2023-05-17
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
## 1.57.1 - 2023-05-17
|
|
208
|
-
|
|
209
|
-
- fix(decide): Make sure all stored properties are sent on first decide request (#633)
|
|
210
|
-
- fix(identify): actually send $set_once on identify calls (#629)
|
|
211
|
-
|
|
212
|
-
## 1.57.0 - 2023-05-15
|
|
213
|
-
|
|
214
|
-
- feat: Added OS version to the OS details (#624)
|
|
215
|
-
- fix: Don't delete existing flags on decide errors (#621)
|
|
216
|
-
|
|
217
|
-
## 1.56.0 - 2023-05-09
|
|
218
|
-
|
|
219
|
-
- feat: Allow custom masking of network events (#620)
|
|
220
|
-
|
|
221
|
-
## 1.55.2 - 2023-05-09
|
|
222
|
-
|
|
223
|
-
- feat: Added idle timer to recordings (#626)
|
|
224
|
-
- docs: Add Nuxt 3 demo (#623)
|
|
225
|
-
|
|
226
|
-
## 1.55.1 - 2023-05-03
|
|
227
|
-
|
|
228
|
-
- fix: Script loading before DOM is ready (#618)
|
|
229
|
-
- Expose options to mask text in session recording (#595)
|
|
230
|
-
|
|
231
|
-
## 1.55.0 - 2023-04-28
|
|
232
|
-
|
|
233
|
-
- feat(beta-management): Add opt-in and out functions (#616)
|
|
234
|
-
|
|
235
|
-
## 1.54.0 - 2023-04-26
|
|
236
|
-
|
|
237
|
-
- release new version (#617)
|
|
238
|
-
- feat(flags): Allow adding person and group property overrides for flags (#613)
|
|
239
|
-
|
|
240
|
-
## 1.53.4 - 2023-04-18
|
|
241
|
-
|
|
242
|
-
- feat: Allow masking of input by referencing the element (#611)
|
|
243
|
-
|
|
244
|
-
## 1.53.3 - 2023-04-17
|
|
245
|
-
|
|
246
|
-
- fix: Usage of sessionStorage even if memory persistence (#609)
|
|
247
|
-
|
|
248
|
-
## 1.53.2 - 2023-04-14
|
|
249
|
-
|
|
250
|
-
- fix: Don't enable web perf by default for localhost (#608)
|
|
251
|
-
|
|
252
|
-
## 1.53.1 - 2023-04-13
|
|
253
|
-
|
|
254
|
-
- chore: bump version (#607)
|
|
255
|
-
- feat: Swap over to storing network events in recordings (#606)
|
|
256
|
-
|
|
257
|
-
## 1.53.0 - 2023-04-12
|
|
258
|
-
|
|
259
|
-
- feat: Custom campaign param support (#603)
|
|
260
|
-
- chore(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1 (#528)
|
|
261
|
-
- fix: change user_id -> $user_id in docstring (#525)
|
|
262
|
-
- Remove flag param from useActiveFeatureFlags (#599)
|
|
263
|
-
|
|
264
|
-
## 1.52.0 - 2023-04-05
|
|
265
|
-
|
|
266
|
-
- fix: Track referrer/search params per browser session (#496)
|
|
267
|
-
_**Note:** This change improves the accuracy of properties `$referrer` and `$referring_domain` in a major way. Previously, the values of these properties often represented pure backlinks in non-SPAs (non-single-page applications). Now those values will represent the true referrer for the current browser-level session (effectively: for the tab). Due to this, referrer data after this update _may_ look different. It will be significantly more accurate though._
|
|
268
|
-
- ci: Point out and close stale issues/PRs (#602)
|
|
269
|
-
- docs(testcafe): update docs removing posthog server requirements (#594)
|
|
270
|
-
|
|
271
|
-
## 1.51.5 - 2023-03-23
|
|
272
|
-
|
|
273
|
-
- fix(segment): handle race condition on loading segment integration (#586)
|
|
274
|
-
|
|
275
|
-
## 1.51.4 - 2023-03-20
|
|
276
|
-
|
|
277
|
-
- fix: fewer moving parts more like safe text (#590)
|
|
278
|
-
|
|
279
|
-
## 1.51.3 - 2023-03-17
|
|
280
|
-
|
|
281
|
-
- try/catch the bit that fails so we don't just eject the element (#585)
|
|
282
|
-
- fix(persistence): set SameSite=None explicitly (#578)
|
|
283
|
-
|
|
284
|
-
## 1.51.2 - 2023-03-15
|
|
285
|
-
|
|
286
|
-
- fix: Catch fullsnapshot error (#583)
|
|
287
|
-
|
|
288
|
-
## 1.51.1 - 2023-03-14
|
|
289
|
-
|
|
290
|
-
- fix: debug nested span text, part 3 (#582)
|
|
291
|
-
|
|
292
|
-
## 1.51.0 - 2023-03-14
|
|
293
|
-
|
|
294
|
-
- added types for PostHog provider `options` (#581)
|
|
295
|
-
- ci(testcafe): run browser tests in parallel (#579)
|
|
296
|
-
|
|
297
|
-
## 1.50.9 - 2023-03-13
|
|
298
|
-
|
|
299
|
-
- fix: debug nested span text (part 2) (#577)
|
|
300
|
-
- feat: use autocapture setting from decide (#575)
|
|
301
|
-
|
|
302
|
-
## 1.50.8 - 2023-03-10
|
|
303
|
-
|
|
304
|
-
- reinstate getNestedSpanText, but with no recursion (#576)
|
|
305
|
-
|
|
306
|
-
## 1.50.7 - 2023-03-09
|
|
307
|
-
|
|
308
|
-
- fix: debug return empty string on getNestedSpanText (#573)
|
|
309
|
-
|
|
310
|
-
## 1.50.6 - 2023-03-09
|
|
311
|
-
|
|
312
|
-
- fix: Only call capture snapshot if recording (#572)
|
|
313
|
-
|
|
314
|
-
## 1.50.5 - 2023-03-09
|
|
315
|
-
|
|
316
|
-
- Update rrweb (#570)
|
|
317
|
-
- fix: Race condition error with loading rrweb (#569)
|
|
318
|
-
- fix: remove warning of duplicate nextjs import (#566)
|
|
319
|
-
|
|
320
|
-
## 1.50.4 - 2023-03-06
|
|
321
|
-
|
|
322
|
-
- chore: Revert canvas recording option (#567)
|
|
323
|
-
- tolerate undefined target (#565)
|
|
324
|
-
|
|
325
|
-
## 1.50.3 - 2023-03-02
|
|
326
|
-
|
|
327
|
-
- fix: spans inside buttons (#563)
|
|
328
|
-
|
|
329
|
-
## 1.50.2 - 2023-03-02
|
|
330
|
-
|
|
331
|
-
- fix(bots): add "hubspot" and "crawler" to blocked user agents (#564)
|
|
332
|
-
|
|
333
|
-
## 1.50.1 - 2023-03-01
|
|
334
|
-
|
|
335
|
-
- feat: allow record canvas (#562)
|
|
336
|
-
- chore: remove old nextjs utils folder (#559)
|
|
337
|
-
|
|
338
|
-
## 1.50.0 - 2023-02-28
|
|
339
|
-
|
|
340
|
-
- feat: react library (#540)
|
|
341
|
-
|
|
342
|
-
## 1.49.0 - 2023-02-28
|
|
343
|
-
|
|
344
|
-
- feat: augment autocapture using data attributes (#551)
|
|
345
|
-
|
|
346
|
-
## 1.48.2 - 2023-02-28
|
|
347
|
-
|
|
348
|
-
- fix: safari iteration error on web performance server timing (#558)
|
|
349
|
-
|
|
350
|
-
## 1.48.1 - 2023-02-28
|
|
351
|
-
|
|
352
|
-
- chore: expose errors (#557)
|
|
353
|
-
- try the compressed-size-action GH action (#556)
|
|
354
|
-
|
|
355
|
-
## 1.48.0 - 2023-02-27
|
|
356
|
-
|
|
357
|
-
- fix: apply terser plugin to module.js and es.js (#555)
|
|
358
|
-
|
|
359
|
-
## 1.47.0 - 2023-02-27
|
|
360
|
-
|
|
361
|
-
- chore: no-op change to allow version bump (#554)
|
|
362
|
-
- feat(rrweb): implement rrweb2 dynamic loading on decide (#552)
|
|
363
|
-
|
|
364
|
-
## 1.46.2 - 2023-02-22
|
|
365
|
-
|
|
366
|
-
- no-op change to allow version bump (#549)
|
|
367
|
-
- more leniency for envs with 'window' undefined (#541)
|
|
368
|
-
|
|
369
|
-
## 1.46.1 - 2023-02-21
|
|
370
|
-
|
|
371
|
-
- chore: Remove Sentry types to reduce clashes (#546)
|
|
372
|
-
- fix: Removed Sentry types from compiled types (#545)
|
|
373
|
-
|
|
374
|
-
## 1.46.0 - 2023-02-21
|
|
375
|
-
|
|
376
|
-
- feat: Add optional loading of rrweb2 (#543)
|
|
377
|
-
- feat: Add rrweb2 support (experimental) (#536)
|
|
378
|
-
- chore: upgrade @sentry/types (#539)
|
|
379
|
-
|
|
380
|
-
## 1.45.1 - 2023-02-14
|
|
381
|
-
|
|
382
|
-
- fix: default persons to anonymous (#534)
|
|
383
|
-
|
|
384
|
-
## 1.45.0 - 2023-02-14
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
## 1.43.1 - 2023-02-07
|
|
389
|
-
|
|
390
|
-
- fix: correctly persist user state across page loads (#531)
|
|
391
|
-
|
|
392
|
-
## 1.43.0 - 2023-02-07
|
|
393
|
-
|
|
394
|
-
- feat: reset marks user anonymous (#524)
|
|
395
|
-
|
|
396
|
-
## 1.42.3 - 2023-01-31
|
|
397
|
-
|
|
398
|
-
- chore(feature-flag): only return truthy values for onFeatureFlag (#522)
|
|
399
|
-
|
|
400
|
-
## 1.42.2 - 2023-01-26
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
## 1.42.1 - 2023-01-26
|
|
405
|
-
- Revert status check
|
|
406
|
-
|
|
407
|
-
## 1.42.0 - 2023-01-26
|
|
408
|
-
- N/A
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
## 1.41.0 - 2023-01-24
|
|
412
|
-
|
|
413
|
-
- Use decide v3 and return defined JSON payloads with matching flags
|
|
414
|
-
- Optimistically save evaluated flags even if server has issues
|
|
415
|
-
|
|
416
|
-
## 1.40.2 - 2023-01-20
|
|
417
|
-
|
|
418
|
-
- Revert "chore: move types dependency from dependencies to devdependencies (#504)" (#509)
|
|
419
|
-
|
|
420
|
-
## 1.40.1 - 2023-01-19
|
|
421
|
-
|
|
422
|
-
- fix: Sentry URL for recording (#507)
|
|
423
|
-
|
|
424
|
-
## 1.40.0 - 2023-01-18
|
|
425
|
-
|
|
426
|
-
- feat: capture clicked elements on rageclicks (#506)
|
|
427
|
-
|
|
428
|
-
## 1.39.5 - 2023-01-13
|
|
429
|
-
|
|
430
|
-
- chore: move types dependency from dependencies to devdependencies (#504)
|
|
431
|
-
|
|
432
|
-
## 1.39.4 - 2023-01-12
|
|
433
|
-
|
|
434
|
-
- fix: use django cache for toolbar js (#503)
|
|
435
|
-
|
|
436
|
-
## 1.39.3 - 2023-01-11
|
|
437
|
-
|
|
438
|
-
- fix(toolbar): Load toolbar only in body for turbolink (#499)
|
|
439
|
-
- Install pnpm for usage in PR step (#502)
|
|
440
|
-
|
|
441
|
-
## 1.39.2 - 2023-01-06
|
|
442
|
-
|
|
443
|
-
- fix: page view ids didn't work with server side config (#501)
|
|
444
|
-
- chore(deps): Bump json5 from 2.1.3 to 2.2.3 in /react (#498)
|
|
445
|
-
|
|
446
|
-
## 1.39.1 - 2023-01-03
|
|
447
|
-
|
|
448
|
-
- feat: capture server timings (#497)
|
|
449
|
-
|
|
450
|
-
## 1.39.0 - 2022-12-23
|
|
451
|
-
|
|
452
|
-
- feat: Adds performance capture (#488)
|
|
453
|
-
- fix(options): Add capture_pageleave option (#491)
|
|
454
|
-
- fix(cd): use pnpm to install posthog-js version in main repo (#495)
|
|
455
|
-
|
|
456
|
-
## 1.38.1 - 2022-12-15
|
|
457
|
-
|
|
458
|
-
- fix: Reduce cookie modifications to stop infinite loops with CMP tools (#489)
|
|
459
|
-
|
|
460
|
-
## 1.38.0 - 2022-12-13
|
|
461
|
-
|
|
462
|
-
- feat: page view ids (#487)
|
|
463
|
-
|
|
464
|
-
## 1.37.0 - 2022-12-07
|
|
465
|
-
|
|
466
|
-
- feat: event_allowlist and url_allowlist for autocapture (#481)
|
|
467
|
-
- chore(deps): Bump qs from 6.5.2 to 6.5.3 (#484)
|
|
468
|
-
- chore(deps): Bump decode-uri-component from 0.2.0 to 0.2.2 (#485)
|
|
469
|
-
- chore(deps): Bump decode-uri-component from 0.2.0 to 0.2.2 in /react (#483)
|
|
470
|
-
- chore(deps): Bump minimatch from 3.0.4 to 3.1.2 (#469)
|
|
471
|
-
- feat(rageclicks): turn on rageclicks by default (#480)
|
|
472
|
-
|
|
473
|
-
## 1.36.1 - 2022-12-01
|
|
474
|
-
|
|
475
|
-
- update sentry types (#479)
|
|
476
|
-
- fix: support copying non-extensible objects (#478)
|
|
477
|
-
- feat(groups): allow resetting only user's groups (#476)
|
|
478
|
-
|
|
479
|
-
## 1.36.0 - 2022-11-22
|
|
480
|
-
|
|
481
|
-
- feat(sentry-integration): Add `ui_host` option for reverse-proxying (#475)
|
|
482
|
-
- chore(deps): Bump minimatch from 3.0.4 to 3.1.2 in /react (#468)
|
|
483
|
-
|
|
484
|
-
## 1.35.0 - 2022-11-15
|
|
485
|
-
|
|
486
|
-
- feat: Proper Segment plugin to enable Recordings and more (#471)
|
|
487
|
-
|
|
488
|
-
## 1.34.1 - 2022-11-14
|
|
489
|
-
|
|
490
|
-
- feat: allow disable compression in config (#467)
|
|
491
|
-
|
|
492
|
-
## 1.34.0 - 2022-10-25
|
|
493
|
-
|
|
494
|
-
- feat(toolbar): posthog.loadToolbar({ temporaryToken: 'key' }) (#464)
|
|
495
|
-
- chore(deps): Bump node-fetch from 2.6.1 to 2.6.7 (#361)
|
|
496
|
-
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 (#462)
|
|
497
|
-
- chore(deps): Bump browserslist from 4.16.1 to 4.21.4 (#463)
|
|
498
|
-
- chore(deps): Bump moment from 2.29.1 to 2.29.4 (#422)
|
|
499
|
-
- chore(deps): Bump tmpl from 1.0.4 to 1.0.5 (#329)
|
|
500
|
-
- chore(deps): Bump jsdom from 16.4.0 to 16.7.0 in /react (#415)
|
|
501
|
-
- chore(deps): Bump jsdom from 16.2.2 to 16.5.0 (#416)
|
|
502
|
-
- chore(deps): bump nanoid from 3.1.20 to 3.3.4 (#442)
|
|
503
|
-
- chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#436)
|
|
504
|
-
- chore(deps): Bump async from 3.2.0 to 3.2.3 (#409)
|
|
505
|
-
- chore(deps): Bump minimist from 1.2.5 to 1.2.6 (#380)
|
|
506
|
-
- chore(deps): Bump minimist from 1.2.5 to 1.2.6 in /react (#379)
|
|
507
|
-
- chore(deps): Bump lodash from 4.17.19 to 4.17.21 (#353)
|
|
508
|
-
- Bump path-parse from 1.0.6 to 1.0.7 (#331)
|
|
509
|
-
|
|
510
|
-
## 1.33.0 - 2022-10-18
|
|
511
|
-
|
|
512
|
-
- feat(capture): Track `navigator.language` as `$language` (#460)
|
|
513
|
-
|
|
514
|
-
## 1.32.4 - 2022-10-11
|
|
515
|
-
|
|
516
|
-
- fix(apps): grab the correct global var (#459)
|
|
517
|
-
|
|
518
|
-
## 1.32.3 - 2022-10-11
|
|
519
|
-
|
|
520
|
-
- feat(apps): rename "inject" to "site apps" (#458)
|
|
521
|
-
|
|
522
|
-
## 1.32.2 - 2022-09-30
|
|
523
|
-
|
|
524
|
-
- feat(apps): load web apps from external scripts, no eval (#456)
|
|
525
|
-
|
|
526
|
-
## 1.32.1 - 2022-09-29
|
|
527
|
-
|
|
528
|
-
- feat(apps): add opt_in_web_app_injection (#454)
|
|
529
|
-
|
|
530
|
-
## 1.32.0 - 2022-09-29
|
|
531
|
-
|
|
532
|
-
- feat(apps): inject javascript from decide (#453)
|
|
533
|
-
|
|
534
|
-
## 1.31.1 - 2022-09-28
|
|
535
|
-
|
|
536
|
-
- feat(recordings): server side console log setting (#452)
|
|
537
|
-
|
|
538
|
-
## 1.31.0 - 2022-09-23
|
|
539
|
-
|
|
540
|
-
- feat: Improve SentryIntegration, include error message, type and tags at top level (#450)
|
|
541
|
-
- fix(recordings): unique window id on duplication (#446)
|
|
542
|
-
|
|
543
|
-
## 1.30.0 - 2022-09-12
|
|
544
|
-
|
|
545
|
-
- feat(feature-flags): Enable bootstrapping the library (#444)
|
|
546
|
-
|
|
547
|
-
## 1.29.3 - 2022-08-29
|
|
548
|
-
|
|
549
|
-
- fix(pageleave): Improve $pageleave reliability (#439)
|
|
550
|
-
|
|
551
|
-
## 1.29.2 - 2022-08-25
|
|
552
|
-
|
|
553
|
-
- fix(typing): rrweb types (#441)
|
|
554
|
-
|
|
555
|
-
## 1.29.1 - 2022-08-23
|
|
556
|
-
|
|
557
|
-
- fix(toolbar): Use apiURL from state if set (#438)
|
|
558
|
-
|
|
559
|
-
## 1.29.0 - 2022-08-16
|
|
560
|
-
|
|
561
|
-
- fix: Use rollup and fix define module issues (#434)
|
|
562
|
-
|
|
563
|
-
## 1.27.0 - 2022-08-01
|
|
564
|
-
|
|
565
|
-
- refactor: Dummy commit to trigger release (#431)
|
|
566
|
-
- chore(typescript): convert library to typescript (#425)
|
|
567
|
-
|
|
568
|
-
## 1.26.2 - 2022-07-28
|
|
569
|
-
|
|
570
|
-
- fix(session-id): reset session_id on reset() call (#430)
|
|
571
|
-
|
|
572
|
-
## 1.26.1 - 2022-07-28
|
|
573
|
-
|
|
574
|
-
- fix(storage): Fix cross subdomain cookies for localpluscookie (#429)
|
|
575
|
-
- fix: Testcafe using Posthog cloud (#428)
|
|
576
|
-
|
|
577
|
-
## 1.26.0 - 2022-07-19
|
|
578
|
-
|
|
579
|
-
- fix: dont set initial referrer (#426)
|
|
580
|
-
|
|
581
|
-
## 1.25.2 - 2022-07-12
|
|
582
|
-
|
|
583
|
-
- feat: Add msclkid param to campaign keywords (#424)
|
|
584
|
-
- chore(deps): Update @sentry/types for 7.2.0 (#412)
|
|
585
|
-
|
|
586
|
-
## 1.25.1 - 2022-06-29
|
|
587
|
-
|
|
588
|
-
- fix: Add facebook crawlers to blocked user agents (#417)
|
|
589
|
-
|
|
590
|
-
## 1.25.0 - 2022-06-28
|
|
591
|
-
|
|
592
|
-
- feat(feature-flags): Enable experience continuity (#404)
|
|
593
|
-
- chore: Update changelog for 1.24.0 (#411)
|
|
594
|
-
|
|
595
|
-
## 1.24.0 - 2022-06-01
|
|
596
|
-
|
|
597
|
-
- feat: Limit session recordings to 24 hours (#405)
|
|
598
|
-
- a new recording is immediately started and no data is lost
|
|
599
|
-
|
|
600
|
-
## 1.23.0 - 2022-06-01
|
|
601
|
-
|
|
602
|
-
- feat: Allow overriding device id generation (#401)
|
|
603
|
-
- Fix this.get_config undefined error (#397)
|
|
604
|
-
|
|
605
|
-
## 1.22.0 - 2022-05-31
|
|
606
|
-
|
|
607
|
-
- feat: add support to `fbclid` campaign parameter (#400)
|
|
608
|
-
|
|
609
|
-
## 1.21.1 - 2022-05-13
|
|
610
|
-
|
|
611
|
-
- chore(build): bumping to make release (#396)
|
|
612
|
-
- chore(dep): update rrweb to 1.1.3 (#395)
|
|
613
|
-
|
|
614
|
-
## 1.21.0 - 2022-05-11
|
|
615
|
-
|
|
616
|
-
- fix(recordings): mask all input fields for recordings (#388)
|
|
617
|
-
|
|
618
|
-
## 1.20.5 - 2022-05-10
|
|
619
|
-
|
|
620
|
-
- feat: add recording url to sentry integration (#371)
|
|
621
|
-
- fix(config): Case-insensitive persistence (#389)
|
|
622
|
-
|
|
623
|
-
## 1.20.4 - 2022-04-15
|
|
624
|
-
|
|
625
|
-
- fix(console-logs): handle undefined and null log (#385)
|
|
626
|
-
|
|
627
|
-
## 1.20.3 - 2022-04-11
|
|
628
|
-
|
|
629
|
-
- feat(recordings): add inline stylesheet option (#383)
|
|
630
|
-
- fix(config): Handle config undefined (#382)
|
|
631
|
-
|
|
632
|
-
## 1.20.2 - 2022-03-31
|
|
633
|
-
|
|
634
|
-
- fix(web-performance): clear resource timings after reading (#377)
|
|
635
|
-
|
|
636
|
-
## 1.20.1 - 2022-03-29
|
|
637
|
-
|
|
638
|
-
- feat(tracking): add ahrefsbot to list of ignored bots (#378)
|
|
639
|
-
|
|
640
|
-
## 1.20.0 - 2022-03-23
|
|
641
|
-
|
|
642
|
-
- feat: send library version outside of compressed body as a debug signal (#376)
|
|
643
|
-
|
|
644
|
-
## 1.19.2 - 2022-03-22
|
|
645
|
-
|
|
646
|
-
- Revert "feat: send library version outside of compressed body as a debug signal (#351)" (#375)
|
|
647
|
-
|
|
648
|
-
## 1.19.1 - 2022-03-22
|
|
649
|
-
|
|
650
|
-
- fix: truncate console logs (#372)
|
|
651
|
-
|
|
652
|
-
## 1.19.0 - 2022-03-22
|
|
653
|
-
|
|
654
|
-
- feat: send library version outside of compressed body as a debug signal (#351)
|
|
655
|
-
- ci: create new PRs in main repo with chore: (#370)
|
|
656
|
-
|
|
657
|
-
## 1.18.0 - 2022-03-16
|
|
658
|
-
|
|
659
|
-
- Add console log recording (#367)
|
|
660
|
-
- fix(properties): dont modify input properties (#369)
|
|
661
|
-
|
|
662
|
-
## 1.17.9 - 2022-03-04
|
|
663
|
-
|
|
664
|
-
- fix(web performance): calculate duration when it isn't present on navigation timing (#368)
|
|
665
|
-
- Upgrade jest to remove security vulnerability (#365)
|
|
666
|
-
|
|
667
|
-
## 1.17.8 - 2022-02-02
|
|
668
|
-
|
|
669
|
-
- Fix for enabling a disabled session recording (#364)
|
|
670
|
-
|
|
671
|
-
## 1.17.7 - 2022-02-01
|
|
672
|
-
|
|
673
|
-
- fix onFeatureFlag (#363)
|
|
674
|
-
|
|
675
|
-
## 1.17.6 - 2022-01-28
|
|
676
|
-
|
|
677
|
-
- Remove capture failed request (#362)
|
|
678
|
-
|
|
679
|
-
## 1.17.5 - 2022-01-27
|
|
680
|
-
|
|
681
|
-
- Only hit onFeatureFlags callback after decide (#360)
|
|
682
|
-
|
|
683
|
-
## 1.17.4 - 2022-01-27
|
|
684
|
-
|
|
685
|
-
- Fix featureflags not working when /decide is down (#359)
|
|
686
|
-
|
|
687
|
-
## 1.17.3 - 2022-01-20
|
|
688
|
-
|
|
689
|
-
- Add an allow list to skip truncating strings when capturing events (#355)
|
|
690
|
-
|
|
691
|
-
## 1.17.2 - 2022-01-20
|
|
692
|
-
|
|
693
|
-
- remove debug option (#357)
|
|
694
|
-
|
|
695
|
-
## 1.17.1 - 2022-01-13
|
|
696
|
-
|
|
697
|
-
- Reduce the size of the APM performance data payload (#354)
|
|
698
|
-
|
|
699
|
-
## 1.17.0 - 2022-01-10
|
|
700
|
-
|
|
701
|
-
- Send APM data so that we don't need a plugin (#352)
|
|
702
|
-
- Allow APM performance on all $pageview events (#350)
|
|
703
|
-
- Include browser performance values on $pageview (#347)
|
|
704
|
-
- add more advice to pull request template (#349)
|
|
705
|
-
- Update README.md (#348)
|
|
706
|
-
|
|
707
|
-
## 1.16.8 - 2021-12-21
|
|
708
|
-
|
|
709
|
-
- add resetSessionId function (#345)
|
|
710
|
-
|
|
711
|
-
## 1.16.7 - 2021-11-25
|
|
712
|
-
|
|
713
|
-
- Feature flags groups support & /decide refactor (#341)
|
|
714
|
-
|
|
715
|
-
## 1.16.6 - 2021-11-18
|
|
716
|
-
|
|
717
|
-
- Avoid needless double /decide calls (#340)
|
|
718
|
-
|
|
719
|
-
## 1.16.5 - 2021-11-18
|
|
720
|
-
|
|
721
|
-
- try sendbeacon (#337)
|
|
722
|
-
|
|
723
|
-
## 1.16.4 - 2021-11-16
|
|
724
|
-
|
|
725
|
-
- allow disabling toolbar tracking for self-hosted users (#335)
|
|
726
|
-
|
|
727
|
-
## 1.16.3 - 2021-11-12
|
|
728
|
-
|
|
729
|
-
- Bumping the build for a release (#334)
|
|
730
|
-
- Filter out _nghost attributes from autocapture (#332)
|
|
731
|
-
|
|
732
|
-
## 1.16.2 - 2021-11-07
|
|
733
|
-
|
|
734
|
-
- update rrweb (#328)
|
|
735
|
-
|
|
736
|
-
## 1.16.1 - 2021-11-02
|
|
737
|
-
|
|
738
|
-
- Add window_id and session_id to all events (#326)
|
|
739
|
-
|
|
740
|
-
## 1.16.0 - 2021-10-28
|
|
741
|
-
|
|
742
|
-
- Group analytics support (#325)
|
|
743
|
-
|
|
744
|
-
## 1.15.4 - 2021-10-27
|
|
745
|
-
|
|
746
|
-
- pass toolbar to posthog (#327)
|
|
747
|
-
|
|
748
|
-
## 1.15.3 - 2021-10-19
|
|
749
|
-
|
|
750
|
-
- Add localStorage+cookie as persistence type (#324)
|
|
751
|
-
|
|
752
|
-
## 1.15.2 - 2021-10-18
|
|
753
|
-
|
|
754
|
-
- drop data uri filter limit from 20mb to 5mb (#322)
|
|
755
|
-
|
|
756
|
-
## 1.15.1 - 2021-10-18
|
|
757
|
-
|
|
758
|
-
- Take a full recording snapshot when session ids update (a fix for missing recordings) (#318)
|
|
759
|
-
|
|
760
|
-
## 1.15.0 - 2021-10-18
|
|
761
|
-
|
|
762
|
-
- Revert "Add posthog.people.increment" (#320)
|
|
763
|
-
|
|
764
|
-
## 1.14.4 - 2021-10-14
|
|
765
|
-
|
|
766
|
-
- filter data urls out of large payloads (#317)
|
|
767
|
-
|
|
768
|
-
## 1.14.3 - 2021-10-12
|
|
769
|
-
|
|
770
|
-
- Expand allowed input types to 'button', 'checkbox', 'submit', 'reset' (#315)
|
|
771
|
-
|
|
772
|
-
## 1.14.2 - 2021-10-12
|
|
773
|
-
|
|
774
|
-
- dont mind me, just bumping versions (#316)
|
|
775
|
-
- fix: localStorage access denied error being thrown (#312)
|
|
776
|
-
|
|
777
|
-
## 1.14.1 - 2021-10-06
|
|
778
|
-
|
|
779
|
-
- Reduce code paths that could encode post data as the string undefined (#300)
|
|
780
|
-
|
|
781
|
-
## 1.14.0 - 2021-10-05
|
|
782
|
-
|
|
783
|
-
- Bump build and a readme change (#306)
|
|
784
|
-
- Add posthog.people.increment (#254)
|
|
785
|
-
- Send initial pageview immediately (#295)
|
|
786
|
-
- add a test for init-ing and reading the on xhr error handler (#308)
|
|
787
|
-
|
|
788
|
-
## 1.13.17 - 2021-10-04
|
|
789
|
-
|
|
790
|
-
- corrects exported type which got out of sync with core.js file (#307)
|
|
791
|
-
|
|
792
|
-
## 1.13.16 - 2021-10-04
|
|
793
|
-
|
|
794
|
-
- Allow injection from config of a function to call when xhr requests fail (#296)
|
|
795
|
-
- add instructions for developing with Yalc (#303)
|
|
796
|
-
- Revert "Speculative logging for PostHog/posthog#4816 (#293)" (#302)
|
|
797
|
-
- Filter out _ngcontent attributes in autocapture (#298)
|
|
798
|
-
- corrects a test where assertion and setup didn't match test name (#299)
|
|
799
|
-
|
|
800
|
-
## 1.13.15 - 2021-09-29
|
|
801
|
-
|
|
802
|
-
- Speculative logging for PostHog/posthog#4816 (#293)
|
|
803
|
-
- Bump tmpl from 1.0.4 to 1.0.5 in /react (#287)
|
|
804
|
-
- Bump ansi-regex from 5.0.0 to 5.0.1 in /react (#294)
|
|
805
|
-
|
|
806
|
-
## 1.13.14 - 2021-09-28
|
|
807
|
-
|
|
808
|
-
- Revert "Trigger onFeatureFlags on reset (#263)" (#292)
|
|
809
|
-
|
|
810
|
-
## 1.13.13 - 2021-09-17
|
|
811
|
-
|
|
812
|
-
- Trigger onFeatureFlags on reset (#263)
|
|
813
|
-
- Do not crash when calling capture() after skipping init(), fixes #281 (#282)
|
|
814
|
-
|
|
815
|
-
## 1.13.12 - 2021-09-15
|
|
816
|
-
|
|
817
|
-
- Change UTM tags from first touch to last touch (#286)
|
|
818
|
-
|
|
819
|
-
## 1.13.11 - 2021-09-14
|
|
820
|
-
|
|
821
|
-
- Do not load toobar only if autocapture enabled (#285)
|
|
822
|
-
|
|
823
|
-
## 1.13.9 - 2021-09-10
|
|
824
|
-
|
|
825
|
-
- Split feature flags into `$feature/*` properties (#278)
|
|
826
|
-
|
|
827
|
-
## 1.13.8 - 2021-09-09
|
|
828
|
-
|
|
829
|
-
- Restore feature flag client-side override method (#280)
|
|
830
|
-
|
|
831
|
-
## 1.13.7 - 2021-09-06
|
|
832
|
-
|
|
833
|
-
- Revert "Do not load toolbar when disabled (#264)" (#276)
|
|
834
|
-
|
|
835
|
-
## 1.13.6 - 2021-09-06
|
|
836
|
-
|
|
837
|
-
- add gclid to campaign params (#277)
|
|
838
|
-
|
|
839
|
-
## 1.13.5 - 2021-09-02
|
|
840
|
-
|
|
841
|
-
- fix groupKey (#274)
|
|
842
|
-
|
|
843
|
-
## 1.13.4 - 2021-09-02
|
|
844
|
-
|
|
845
|
-
- console.warn to error (#273)
|
|
846
|
-
|
|
847
|
-
## 1.13.3 - 2021-09-02
|
|
848
|
-
|
|
849
|
-
- add posthog.group (#270)
|
|
850
|
-
|
|
851
|
-
## 1.13.2 - 2021-09-02
|
|
852
|
-
|
|
853
|
-
- fix "undefined is not an object" error (#272)
|
|
854
|
-
|
|
855
|
-
## 1.13.1 - 2021-09-02
|
|
856
|
-
|
|
857
|
-
- Deprecate client-side feature flag overrides (#271)
|
|
858
|
-
|
|
859
|
-
## 1.13.0 - 2021-09-01
|
|
860
|
-
|
|
861
|
-
- Feature flags API v2 (#268)
|
|
862
|
-
|
|
863
|
-
## 1.12.7 - 2021-08-29
|
|
864
|
-
|
|
865
|
-
- Update `rrweb` to 1.0.3 (#269)
|
|
866
|
-
|
|
867
|
-
## 1.12.6 - 2021-08-20
|
|
868
|
-
|
|
869
|
-
- Update `@sentry/types` to 6.11 (#267)
|
|
870
|
-
|
|
871
|
-
## 1.12.5 - 2021-08-17
|
|
872
|
-
|
|
873
|
-
- Do not load toolbar when disabled (#264)
|
|
874
|
-
- Bump path-parse from 1.0.6 to 1.0.7 in /react (#266)
|
|
875
|
-
|
|
876
|
-
## 1.12.4 - 2021-08-16
|
|
877
|
-
|
|
878
|
-
- Fix deps containing types not being installed (#265)
|
|
879
|
-
|
|
880
|
-
## 1.12.3 - 2021-08-04
|
|
881
|
-
|
|
882
|
-
- Add `rrweb-snapshot` to dev deps (#262)
|
|
883
|
-
- Don't retry 500 responses (#260)
|
|
884
|
-
|
|
885
|
-
## 1.12.2 - 2021-08-02
|
|
886
|
-
|
|
887
|
-
- Update decide.js (#258)
|
|
888
|
-
|
|
889
|
-
## 1.12.1 - 2021-07-16
|
|
890
|
-
|
|
891
|
-
- Allow session recording reload (#253)
|
|
892
|
-
|
|
893
|
-
## 1.12.0 - 2021-07-15
|
|
894
|
-
|
|
895
|
-
- Remove deprecated methods and options (#255)
|
|
896
|
-
|
|
897
|
-
## 1.11.4 - 2021-06-24
|
|
898
|
-
|
|
899
|
-
- fix invalid cookie (#250)
|
|
900
|
-
|
|
901
|
-
## 1.11.3 - 2021-06-14
|
|
902
|
-
|
|
903
|
-
- Capture viewport height and width (#246)
|
|
904
|
-
- Add extra local development instructions (#235)
|
|
905
|
-
- Update README.md (#243)
|
|
906
|
-
|
|
907
|
-
## 1.11.2 - 2021-06-07
|
|
908
|
-
|
|
909
|
-
- Fix overridden request retry data (#241)
|
|
910
|
-
|
|
911
|
-
## 1.11.1 - 2021-06-04
|
|
912
|
-
- Fix: avoid directly accessing localStorage (#239)
|
|
913
|
-
|
|
914
|
-
## 1.11.0 - 2021-06-02
|
|
915
|
-
|
|
916
|
-
- Retry Queue (#226)
|
|
917
|
-
- Bump hosted-git-info from 2.8.8 to 2.8.9 in /react (#229)
|
|
918
|
-
- Bump lodash from 4.17.20 to 4.17.21 in /react (#225)
|
|
919
|
-
- Bump ws from 7.4.2 to 7.4.6 in /react (#237)
|
|
920
|
-
- Remove duplicates in CHANGELOG (#236)
|
|
921
|
-
|
|
922
|
-
## 1.10.2 - 2021-05-25
|
|
923
|
-
|
|
924
|
-
- Reconcile Server and Client side configurations for session recording and autocapture (#233)
|
|
925
|
-
|
|
926
|
-
## 1.10.1 - 2021-05-25
|
|
927
|
-
|
|
928
|
-
- Fix sessionRecording bug (#234)
|
|
929
|
-
- Update outdated releasing instructions (#224)
|
|
930
|
-
- changelog for 1.10.0 (#223)
|
|
931
|
-
- 1.10.0 (#222)
|
|
932
|
-
- Refactor /decide enpoint & allow recording without autocapture (#212)
|
|
933
|
-
- Add missing `disable_session_recording` property in Config interface (#221)
|
|
934
|
-
- Update types, add missing reloadFeatureFlags (#219)
|
|
935
|
-
- Fix in-progress check for utils/deepCircularCopy (#216)
|
|
936
|
-
|
|
937
|
-
## 1.10.0 - 2021-05-07
|
|
938
|
-
|
|
939
|
-
- Refactor /decide endpoint & allow recording without autocapture (#212)
|
|
940
|
-
- Fix in-progress check for utils/deepCircularCopy (#216)
|
|
941
|
-
- Update types, add missing reloadFeatureFlags (#219)
|
|
942
|
-
- Add missing disable_session_recording property in Config interface (#221)
|
|
943
|
-
|
|
944
|
-
## 1.9.7 - 2021-04-09
|
|
945
|
-
|
|
946
|
-
- Config Additions: session_recording, mask_all_element_attributes, mask_all_text (#209)
|
|
947
|
-
|
|
948
|
-
## 1.9.6 - 2021-03-30
|
|
949
|
-
|
|
950
|
-
- Support rrweb mask all inputs (#207)
|
|
951
|
-
- fix: incorrect typing for isFeatureEnabled (#208)
|
|
952
|
-
|
|
953
|
-
## 1.9.3 - 2021-03-12
|
|
954
|
-
|
|
955
|
-
- Fix SentryIntegration optional param typing (#203)
|
|
956
|
-
|
|
957
|
-
## 1.9.2 - 2021-03-12
|
|
958
|
-
|
|
959
|
-
- Add SentryIntegration TS (#202)
|
|
960
|
-
- add SentryIntegration typing (#202)
|
|
961
|
-
|
|
962
|
-
## 1.9.1 - 2021-03-08
|
|
963
|
-
|
|
964
|
-
- Add posthog.debug() to types, remove bad docstring (#201)
|
|
965
|
-
- Fix ".identify" docstrings (#200)
|
|
966
|
-
|
|
967
|
-
## 1.9.0 - 2021-03-03
|
|
968
|
-
|
|
969
|
-
- Device Type (#198)
|
|
970
|
-
|
|
971
|
-
## 1.8.10 - 2021-03-02
|
|
972
|
-
|
|
973
|
-
- Add properties_string_max_length = 65535 (#197)
|
|
974
|
-
- Remove unused notification code (#191)
|
|
975
|
-
- Remove old upgrade code (never used) (#192)
|
|
976
|
-
- Support $set_once with identify (#190)
|
|
977
|
-
|
|
978
|
-
## 1.8.9 - 2021-03-02
|
|
979
|
-
|
|
980
|
-
- Add Yarn lock resiliency (#196)
|
|
981
|
-
- Update README.md (#194)
|
|
982
|
-
- Add debug function (#193)
|
|
983
|
-
- Fix auto changelog (#188)
|
|
984
|
-
- Fix auto new version (#187)
|
|
985
|
-
|
|
986
|
-
## 1.8.7 - 2021-02-11
|
|
987
|
-
- Fix internal metric unpacking error
|
|
988
|
-
|
|
989
|
-
## 1.8.6 - 2021-02-05
|
|
990
|
-
- When logging in as another user, don't link those two identities (#174)
|
|
991
|
-
- Testcafe E2E tests, IE11 fixes (#180)
|
|
992
|
-
|
|
993
|
-
## 1.8.5 - 2021-01-18
|
|
994
|
-
|
|
995
|
-
- Allow passing custom domain for sentry integration (#176)
|
|
996
|
-
- Update typing (#173)
|
|
997
|
-
|
|
998
|
-
## 1.8.3 - 2021-01-11
|
|
999
|
-
|
|
1000
|
-
- Event names must be strings in `posthog.capture` (#171)
|
|
1001
|
-
|
|
1002
|
-
## 1.8.1 - 2021-01-08
|
|
1003
|
-
|
|
1004
|
-
- Increase compatibility with IE 11 (#169)
|
|
1005
|
-
|
|
1006
|
-
## 1.8.0 - 2020-12-14
|
|
1007
|
-
|
|
1008
|
-
- Using gzip-based compression over lzstring using the fflate library: [fflate](https://github.com/101arrowz/fflate). This reduces the amount of data transferred, and makes posthog servers respond faster (requires posthog 1.19.0). https://github.com/PostHog/posthog/issues/2560
|
|
1009
|
-
- Support last touch $referrer and $referring_domain user properties https://github.com/PostHog/posthog-js/pull/139
|
|
1010
|
-
- Publish a ES dist file https://github.com/PostHog/posthog-js/pull/157
|
|
1011
|
-
- Publish a react integration for feature flags https://github.com/PostHog/posthog-js/pull/154
|
|
1012
|
-
|
|
1013
|
-
## 1.7.2 - 2020-11-28
|
|
1014
|
-
|
|
1015
|
-
- Fix issues with incorrect headers being set on decide
|
|
1016
|
-
|
|
1017
|
-
## 1.7.1 - 2020-11-27
|
|
1018
|
-
- Force session recording to use lz64 compression (https://github.com/PostHog/posthog-js/pull/134)
|
|
1019
|
-
- Bundle module.js in es5 (https://github.com/PostHog/posthog-js/pull/132)
|
|
1020
|
-
|
|
1021
|
-
## 1.7.0 - 2020-11-26
|
|
1022
|
-
- Send session recording events to posthog in (short) batches, separate from rest of events to make sure we drop fewer events (#126)
|
|
1023
|
-
- Send session recording events to a separate endpoint for newer versions of posthog (#118)
|
|
1024
|
-
- Send correct LIB_VERSION to posthog with captures (#119)
|
|
1025
|
-
- Handle capturing self-referential objects (#123)
|
|
1026
|
-
- Make the library smaller by dropping unneeded code (#123, #128)
|
|
1027
|
-
- Update request batching logic (#118, #126)
|
|
1028
|
-
- Notify rrweb when $pageview events happen (#127)
|
|
1029
|
-
- Fix 'this.people.delete_user is undefined' (issue #39, #113)
|
|
1030
|
-
- Update rrweb block class to use `ph-no-capture` and `ph-ignore-input` (#112)
|
|
1031
|
-
- Deprecate calling posthog.capture with a callback (#129)
|
|
1032
|
-
- Attempted to re-add support for including posthog-js in server-side rendering. (#131)
|
|
1033
|
-
- Bugfix: Don't truncate session recording data (#121)
|
|
1034
|
-
- Bugfix: Kill `posthog.capture_links()` and `posthog.capture_forms()`. They were broken since initial release - you can use autocapture instead. (#128)
|
|
1035
|
-
|
|
1036
|
-
## 1.6.0 - 2020-11-05
|
|
1037
|
-
- Allow updating user properties when calling `posthog.identify('identity, { some: 'value' })` (#105)
|
|
1038
|
-
- Allow disabling $feature_flag_called event: `posthog.isFeatureEnabled('flag', { send_event: false }) (#100)
|
|
1039
|
-
- Make cookieless analytics possible by passing `persistence: 'memory'` to posthog.init (#82)
|
|
1040
|
-
- Avoid sending $pageleave events when `capture_pageview: false` passed to posthog.init (#109)
|
|
1041
|
-
- Code cleanup, bug fixes, integration test suite and more tech debt work
|
|
1042
|
-
|
|
1043
|
-
## 1.5.2 - 2020-10-22
|
|
1044
|
-
- Autocapture bugfix: Ignore extra spaces in classnames #99
|
|
1045
|
-
- Improve typing of posthog-js (#103)
|
|
1046
|
-
|
|
1047
|
-
## 1.5.1 - 2020-10-22
|
|
1048
|
-
- Improve typing of posthog.js #97 (thanks @stonesthatwhisper)
|
|
1049
|
-
- Improve session recording, generate $session_id fields #91 #96
|
|
1050
|
-
- Fix a bug with session recording events not being saved #95
|
|
1051
|
-
- Improve test coverage #94
|
|
1052
|
-
|
|
1053
|
-
## 1.5.0 - 2020-09-08
|
|
1054
|
-
- Add beta functionality to do session recording
|
|
1055
|
-
- Add $feature_flag_called event
|
|
1056
|
-
- Add beta Sentry integration
|
|
1057
|
-
|
|
1058
|
-
## 1.4.5 - 2020-09-08
|
|
1059
|
-
- Fix clicks in shadowroot for Firefox and Safari
|
|
1060
|
-
|
|
1061
|
-
## 1.4.4 - 2020-08-26
|
|
1062
|
-
- Fix clicks within shadowroot not being captured
|
|
1063
|
-
- Fix type definition of loaded
|
|
1064
|
-
|
|
1065
|
-
## 1.4.3 - 2020-08-11
|
|
1066
|
-
- Remove "?." to support older browsers
|
|
1067
|
-
|
|
1068
|
-
## 1.4.2 - 2020-08-11
|
|
1069
|
-
- Capture actions even if toolbar is in used
|
|
1070
|
-
|
|
1071
|
-
## 1.4.1 - 2020-08-10
|
|
1072
|
-
- Remove unused parameter for `.reloadFeatureFlags()`
|
|
1073
|
-
|
|
1074
|
-
## 1.4.0 - 2020-08-10
|
|
1075
|
-
- Have `.onFeatureFlags(callback)` register multiple callbacks, which get called when feature flags are loaded or updated
|
|
1076
|
-
- Update feature flags when `identify` is called.
|
|
1077
|
-
- Add option `.reloadFeatureFlags()`. Call it to trigger a reload of feature flags. (See [#71](https://github.com/PostHog/posthog-js/pull/71))
|
|
1078
|
-
- Add config option `sanitize_properties` that accepts a function which sanitizes parameters of events (See [#75](https://github.com/PostHog/posthog-js/issues/75))
|
|
1079
|
-
|
|
1080
|
-
## 1.3.8 - 2020-08-07
|
|
1081
|
-
- Set `secure_cookie` config to `true` if the page is running over https
|
|
1082
|
-
|
|
1083
|
-
## 1.3.7 - 2020-07-28
|
|
1084
|
-
- Store toolbar session in localStorage (instead of sessionStorage) so you don't need to authorize in every tab you have open
|
|
1085
|
-
|
|
1086
|
-
## 1.3.6 - 2020-07-27
|
|
1087
|
-
- Fix a parameter in the type definition
|
|
1088
|
-
|
|
1089
|
-
## 1.3.5 - 2020-07-20
|
|
1090
|
-
- Add flag to respect Do Not Track setting
|
|
1091
|
-
|
|
1092
|
-
## 1.3.4 - 2020-07-16
|
|
1093
|
-
- Capture safe attributes (id, name and class) if the element is an input (#63)
|
|
1094
|
-
|
|
1095
|
-
## 1.3.3 - 2020-07-16
|
|
1096
|
-
- Add payload compression support (with lz-string) (#48)
|
|
1097
|
-
|
|
1098
|
-
## 1.3.2 - 2020-07-16
|
|
1099
|
-
- Fix request batching when loading the library from npm and running `.init()` after DOM load.
|
|
1100
|
-
|
|
1101
|
-
## 1.3.1 - 2020-07-13
|
|
1102
|
-
- Support loading the toolbar with a `__posthog` has param (was: `state`) and `ph_authorize` action.
|
|
1103
|
-
|
|
1104
|
-
## 1.3.0 - 2020-07-03
|
|
1105
|
-
- Add TypeScript defintions
|
|
1106
|
-
|
|
1107
|
-
## 1.2.4 - 2020-07-01
|
|
1108
|
-
- Add support for feature flags (`posthog.isFeatureEnabled('keyword')`)
|
|
1109
|
-
|
|
1110
|
-
## 1.2.3 - 2020-07-01
|
|
1111
|
-
- Send $host and $pathname with $pageview requests (was just with $autocapture)
|
|
1112
|
-
- Track clicks on elements which have `cursor:pointer`
|
|
1113
|
-
- Better test suite
|
|
1114
|
-
|
|
1115
|
-
## 1.2.2 - 2020-06-15
|
|
1116
|
-
- Allow setting properties on anonymous users
|
|
1117
|
-
|
|
1118
|
-
## 1.2.1 - 2020-06-09
|
|
1119
|
-
- Simplify passing of API token to editor
|
|
1120
|
-
|
|
1121
|
-
## 1.2.0 - 2020-06-08
|
|
1122
|
-
- Support passing various/dynamic parameters to the toolbar
|
|
1123
|
-
|
|
1124
|
-
## 1.1.2 - 2020-06-04
|
|
1125
|
-
- Fix another error when using a new posthog-js version with an old posthog version
|
|
1126
|
-
|
|
1127
|
-
## 1.1.1 - 2020-06-04
|
|
1128
|
-
- Show a error if calling `posthog.identify` with `null` user (#34 by @rushabhnagda11)
|
|
1129
|
-
|
|
1130
|
-
## 1.1.0 - 2020-06-04
|
|
1131
|
-
- Support loading new PostHog toolbar
|
|
1132
|
-
|
|
1133
|
-
## 1.0.6 - 2020-03-09
|
|
1134
|
-
- Send beacon on $pageleave
|
|
1135
|
-
- Clean up a bunch of code
|
|
1136
|
-
- Don't reset device id on reset
|
|
1137
|
-
|
|
1138
|
-
## 1.0.4 - 2020-03-04
|
|
1139
|
-
- Fix Heroku App Cookie Bug
|
|
1140
|
-
- Batch Event Posts
|
|
1141
|
-
- Support TurboLinks
|
|
1142
|
-
- Send Timestamp with events
|
|
1143
|
-
|
|
1144
|
-
## 1.0.0 - 2020-02-20
|
|
1145
|
-
First Release.
|