@mparticle/web-sdk 2.14.1 → 2.15.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/mparticle.common.js +30 -18
- package/dist/mparticle.esm.js +30 -18
- package/dist/mparticle.js +145 -84
- package/package.json +1 -1
- package/src/cookieSyncManager.js +7 -6
- package/src/events.js +14 -0
- package/src/forwarders.js +4 -5
- package/src/mp-instance.js +152 -97
- package/src/mparticle-instance-manager.js +6 -0
- package/src/persistence.js +7 -2
- package/src/sdkRuntimeModels.ts +1 -0
- package/src/store.js +3 -0
- package/CHANGELOG.md +0 -563
package/CHANGELOG.md
DELETED
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
## [2.14.1](https://github.com/mParticle/mparticle-web-sdk/compare/v2.14.0...v2.14.1) (2021-09-02)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* Add launch_referrer to event data ([cd7dc62](https://github.com/mParticle/mparticle-web-sdk/commit/cd7dc622016ebba0fd190a0d029de4c45afdbc38))
|
|
7
|
-
* Allow multiple promotions to be logged when calling logPromotion ([9e0dd5b](https://github.com/mParticle/mparticle-web-sdk/commit/9e0dd5b22da657d5a4274d80c38eaab64f57182d))
|
|
8
|
-
|
|
9
|
-
# [2.14.0](https://github.com/mParticle/mparticle-web-sdk/compare/v2.13.0...v2.14.0) (2021-08-04)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### Bug Fixes
|
|
13
|
-
|
|
14
|
-
* globalThis is not defined ([3a849c6](https://github.com/mParticle/mparticle-web-sdk/commit/3a849c68a284fa21eb370836accca7fb584e30dd))
|
|
15
|
-
* Update semantic release secret name ([0824ef5](https://github.com/mParticle/mparticle-web-sdk/commit/0824ef57e6ea795702d631051fc02d52d2b8fb6a))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Features
|
|
19
|
-
|
|
20
|
-
* Allow scope param on user alias requests ([a864aef](https://github.com/mParticle/mparticle-web-sdk/commit/a864aefc2db11d63d57174e92b6c5965a93471a8))
|
|
21
|
-
|
|
22
|
-
# [2.13.0](https://github.com/mParticle/mparticle-web-sdk/compare/v2.12.9...v2.13.0) (2021-07-29)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Features
|
|
26
|
-
|
|
27
|
-
* Bypass functionality when a specific config option is passed ([#159](https://github.com/mParticle/mparticle-web-sdk/issues/159)) ([2727a43](https://github.com/mParticle/mparticle-web-sdk/commit/2727a437a6d0a25481c9120b3c93fd23fb520f37))
|
|
28
|
-
|
|
29
|
-
## [2.12.9](https://github.com/mParticle/mparticle-web-sdk/compare/v2.12.8...v2.12.9) (2021-06-23)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
* Update esm/common rollup.config to prevent regenerator runtime issue ([2ff362f](https://github.com/mParticle/mparticle-web-sdk/commit/2ff362f5243659cdefd4863609c1c93d5e76fc66))
|
|
35
|
-
|
|
36
|
-
## Releases
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
|
|
40
|
-
#### 2020-05-06
|
|
41
|
-
|
|
42
|
-
- Any new workspaces with JS API Keys will now batch all web events in order to save bandwidth and improve site performance. To read more about web batching see here - https://docs.mparticle.com/developers/sdk/web/getting-started#upload-interval--batching. This does not require any updates to the SDK itself. No implementation changes are required. If you have a workspace created prior to 2020-05-06 and are not yet on batching, please contact your Customer Success Manager.
|
|
43
|
-
|
|
44
|
-
#### 2.12.8 - 2021-04-06
|
|
45
|
-
|
|
46
|
-
- Bugfix: Rename pageViewFilters to screenAttributeFilters
|
|
47
|
-
Enables screen attributes to be filtered out on downstream forwarders
|
|
48
|
-
|
|
49
|
-
#### 2.12.7 - 2021-03-25
|
|
50
|
-
|
|
51
|
-
- Bugfix - Add product impressions to kit blocking
|
|
52
|
-
- Feat - Consent-based cookie-sync
|
|
53
|
-
- Bugfix - Add source message id
|
|
54
|
-
|
|
55
|
-
#### 2.12.5 - 2021-02-17
|
|
56
|
-
|
|
57
|
-
- Bugfix - Use addEventListeners for life cycle events
|
|
58
|
-
- Bugfix - Set setCurrencyCode on eCommerce object
|
|
59
|
-
|
|
60
|
-
#### 2.12.4 - 2021-02-09
|
|
61
|
-
|
|
62
|
-
- Refactor - Import version from package.json
|
|
63
|
-
- Format code styling
|
|
64
|
-
|
|
65
|
-
#### 2.12.3 - 2021-01-20
|
|
66
|
-
|
|
67
|
-
- Bugfix - update is first run to booleans
|
|
68
|
-
- Bugfix - Sanitize ecommerce amounts to numbers
|
|
69
|
-
- Bugfix - Set sessionStartDate to 0 instead of null
|
|
70
|
-
- Bugfix - Error events - Set to null if stack trace is undefined; Add context to error events
|
|
71
|
-
|
|
72
|
-
#### 2.12.2 - 2020-11-12
|
|
73
|
-
|
|
74
|
-
- Bugfix - Fix data plan options API
|
|
75
|
-
- Bugfix - Add try/catch to cookie searching
|
|
76
|
-
|
|
77
|
-
#### 2.12.1 - 2020-11-11
|
|
78
|
-
|
|
79
|
-
- Fix Typo in logging
|
|
80
|
-
- Update identity mappings
|
|
81
|
-
- Bugfix - Add check for window for node environments
|
|
82
|
-
|
|
83
|
-
#### 2.12.0 - 2020-10-29
|
|
84
|
-
|
|
85
|
-
- Feat - Implement client side kit blocking
|
|
86
|
-
You can now use Data Master to block unplanned events and attributes from being sent to client side forwarders.
|
|
87
|
-
|
|
88
|
-
#### 2.11.16 - 2020-10-26
|
|
89
|
-
|
|
90
|
-
- Remove eventsApiModels.ts in favor of js-events npm module
|
|
91
|
-
- Feat - Add event and product context to sanitized attributes
|
|
92
|
-
- Add logic to handle Media Events as Custom Events
|
|
93
|
-
- Add additional tests for app name change in config
|
|
94
|
-
|
|
95
|
-
#### 2.11.15 - 2020-06-30
|
|
96
|
-
|
|
97
|
-
- Feat - Add transactionAttributes to logProductAction method signature
|
|
98
|
-
|
|
99
|
-
#### 2.11.14 - 2020-06-24
|
|
100
|
-
|
|
101
|
-
- Bugfix - Make tagging batches with appropriate UI more robust
|
|
102
|
-
|
|
103
|
-
#### 2.11.13 - 2020-06-17
|
|
104
|
-
|
|
105
|
-
- Bugfix - prevent null CCPA consent on events v3 endpoint
|
|
106
|
-
|
|
107
|
-
#### 2.11.12 - 2020-06-03
|
|
108
|
-
|
|
109
|
-
- Bugfix - logProductActions of purchase/refund conform to logPurchase/logRefund
|
|
110
|
-
|
|
111
|
-
#### 2.11.11 - 2020-05-12
|
|
112
|
-
|
|
113
|
-
- Feat - Add Other5-Other10, mobile/phone number identity types
|
|
114
|
-
|
|
115
|
-
#### 2.11.10 - 2020-04-23
|
|
116
|
-
|
|
117
|
-
- Bugfix - Fix v3 events endpoint location payload
|
|
118
|
-
|
|
119
|
-
#### 2.11.9 - 2020-04-02
|
|
120
|
-
|
|
121
|
-
- Bugfix - Send specific user along with UIC and UAC Events
|
|
122
|
-
- Dependabot - Bump Acorn version
|
|
123
|
-
|
|
124
|
-
#### 2.11.8 - 2020-03-16
|
|
125
|
-
|
|
126
|
-
- Don't set empty TransactionAttribute fields
|
|
127
|
-
|
|
128
|
-
#### 2.11.7 - 2020-03-04
|
|
129
|
-
|
|
130
|
-
- Deprecate removeCCPAState in favor of removeCCPAConsentState
|
|
131
|
-
- Feat - XHR Support for Batching
|
|
132
|
-
|
|
133
|
-
#### 2.11.6 - 2020-02-26
|
|
134
|
-
|
|
135
|
-
- Migrate network tests from local Mockhttprequest to Sinon
|
|
136
|
-
- Bugfix - Flush eventQueue after identity callback
|
|
137
|
-
|
|
138
|
-
#### 2.11.5 - 2020-02-12
|
|
139
|
-
|
|
140
|
-
- Update node version for Travis
|
|
141
|
-
- Api docs update
|
|
142
|
-
- Bugfix - Enable configuration of v1 endpoints
|
|
143
|
-
|
|
144
|
-
#### 2.11.4 - 2020-02-06
|
|
145
|
-
|
|
146
|
-
- Feat - Modify reset API for public consumption
|
|
147
|
-
- Feat - Import @mparticle/event-models to replace eventApiModels
|
|
148
|
-
- Bugfix - Typo & keep persistence checking consistent
|
|
149
|
-
|
|
150
|
-
#### 2.11.3 - 2020-02-04
|
|
151
|
-
|
|
152
|
-
- Update package.json (Add mparticle.js to dist/ for partner kit testing)
|
|
153
|
-
|
|
154
|
-
#### 2.11.2 - 2020-02-01
|
|
155
|
-
|
|
156
|
-
- Feat - Add support for custom v3 URL
|
|
157
|
-
|
|
158
|
-
#### 2.11.1 - 2020-01-29
|
|
159
|
-
|
|
160
|
-
- Bugfix - resolve when browser has disabled localStorage
|
|
161
|
-
- Bugfix - Do not log deprecated warnings when logging purchases
|
|
162
|
-
- Feat - Add support for Data Planning to V2 Events upload
|
|
163
|
-
|
|
164
|
-
#### 2.11.0 - 2020-01-16
|
|
165
|
-
|
|
166
|
-
- Feat - Add CCPA support
|
|
167
|
-
- Add batch creator class for ESLint data planning plugin
|
|
168
|
-
|
|
169
|
-
#### 2.10.2 - 2019-12-19
|
|
170
|
-
|
|
171
|
-
- Feat - Pass appName to config
|
|
172
|
-
|
|
173
|
-
#### 2.10.1 - 2019-12-11
|
|
174
|
-
|
|
175
|
-
- Bugfix - Do not populate data plan context when plan id is null
|
|
176
|
-
|
|
177
|
-
#### 2.10.0 - 2019-11-13
|
|
178
|
-
|
|
179
|
-
- Feat - Implement Multiple Instances
|
|
180
|
-
|
|
181
|
-
#### 2.9.16 - 2019-11-06
|
|
182
|
-
|
|
183
|
-
- Bugfix - Parse string in shouldEnableBatching
|
|
184
|
-
|
|
185
|
-
#### 2.9.15 - 2019-11-06
|
|
186
|
-
|
|
187
|
-
- Deprecate Cart - The mParticle functionality will be removed in a future release, please
|
|
188
|
-
- Bugfix - Self hosting namespaces storage with workspaceToken again
|
|
189
|
-
|
|
190
|
-
#### 2.9.14 - 2019-10-31
|
|
191
|
-
|
|
192
|
-
- Remove mparticle.js from root
|
|
193
|
-
- Feat - Stub logBaseEvent in snippet, add snippet comments
|
|
194
|
-
- Feat - Implement User Identity Change & User Attribute Change Events
|
|
195
|
-
- Allow MediaEvents and Media PageEvents to be supported
|
|
196
|
-
- Happy Halloween! :jack_o_lantern:
|
|
197
|
-
|
|
198
|
-
#### 2.9.13 - 2019-10-09
|
|
199
|
-
|
|
200
|
-
- Refactor codebase with Prettier
|
|
201
|
-
- Bugfix - Resolve Sonarqube code smells
|
|
202
|
-
- Modify Rollup builds
|
|
203
|
-
|
|
204
|
-
#### 2.9.12 - 2019-10-02
|
|
205
|
-
|
|
206
|
-
- Support event batching and beacon API; provide new Events API v3 endpoint which supports batching
|
|
207
|
-
- Implement Typescript and Babel compilation
|
|
208
|
-
- Feat - Enable configuration of config endpoint
|
|
209
|
-
|
|
210
|
-
#### 2.9.11 - 2019-09-26
|
|
211
|
-
|
|
212
|
-
- Feat - Add Base Event functionality to core for future child SDK use
|
|
213
|
-
- Update .eslintrc, fix urls in yuidoc comments
|
|
214
|
-
|
|
215
|
-
#### 2.9.10 - 2019-08-21
|
|
216
|
-
|
|
217
|
-
- Add integration tests for bundlers (webpack, browserify, rollup)
|
|
218
|
-
- Bugfix - Make getCartProducts more robust
|
|
219
|
-
- Bugfix - Fix immediate logging for self hosting
|
|
220
|
-
- Feat - add session start to server DTO
|
|
221
|
-
- Bugfix - update modify old_value
|
|
222
|
-
|
|
223
|
-
#### 2.9.9 - 2019-08-07
|
|
224
|
-
|
|
225
|
-
- Bugfix - Check all event attributes when forwarding rules are set
|
|
226
|
-
|
|
227
|
-
#### 2.9.8 - 2019-08-07
|
|
228
|
-
|
|
229
|
-
- Migrate to ES6 Modules; Replace Browserify with Rollup
|
|
230
|
-
|
|
231
|
-
#### 2.9.7 - 2019-07-16
|
|
232
|
-
|
|
233
|
-
- Bugfix - noHttpCoverage code properly sent to callback
|
|
234
|
-
- Bugfix - Configure forwarders prior to identify callback
|
|
235
|
-
|
|
236
|
-
#### 2.9.6 - 2019-07-08
|
|
237
|
-
|
|
238
|
-
- Bugfix - Alias requests respect isDevelopmentMode setting
|
|
239
|
-
|
|
240
|
-
#### 2.9.5 - 2019-07-01
|
|
241
|
-
|
|
242
|
-
- Bugfix - set isInitialized in both web and webview contexts
|
|
243
|
-
- Feature: log error custom attributes
|
|
244
|
-
- Update build parameters
|
|
245
|
-
|
|
246
|
-
#### 2.9.4 - 2019-06-25
|
|
247
|
-
|
|
248
|
-
- Modify files for self hosting
|
|
249
|
-
- Add a /config endpoint
|
|
250
|
-
- Accept 2nd argument to init for configuration
|
|
251
|
-
- Bugfix - Initialize Logger before Store
|
|
252
|
-
|
|
253
|
-
#### 2.9.3 - 2019-06-20
|
|
254
|
-
|
|
255
|
-
- Bugfix - retain mParticle.isIOS on script load
|
|
256
|
-
|
|
257
|
-
#### 2.9.2 - 2019-06-10
|
|
258
|
-
|
|
259
|
-
- Bugfix - respect mParticle.isIOS setting
|
|
260
|
-
|
|
261
|
-
#### 2.9.1 - 2019-06-05
|
|
262
|
-
|
|
263
|
-
- Make endpoints configurable
|
|
264
|
-
|
|
265
|
-
#### 2.9.0 - 2019-05-28
|
|
266
|
-
|
|
267
|
-
- Implement User Aliasing
|
|
268
|
-
- Bugfixes - Helpers.debug & set isFirstRun to false after app inits for the first time
|
|
269
|
-
|
|
270
|
-
#### 2.8.12 - 2019-05-08
|
|
271
|
-
|
|
272
|
-
- Implement firstSeen and lastSeen fields for MParticleUser
|
|
273
|
-
- Sort MParticleUser Array returned by getUsers() by lastSeenTime
|
|
274
|
-
- Bugfix - Callback validation & correct warning message
|
|
275
|
-
- Add getPreviousUser() to Identity callbacks
|
|
276
|
-
|
|
277
|
-
#### 2.8.11 - 2019-04-24
|
|
278
|
-
|
|
279
|
-
- Refactor config into a class
|
|
280
|
-
- Implement Logger
|
|
281
|
-
- Fix consent object validation and remove unneeded null check
|
|
282
|
-
|
|
283
|
-
#### 2.8.10 - 2019-04-10
|
|
284
|
-
|
|
285
|
-
- Prefer modules over public mParticle methods
|
|
286
|
-
|
|
287
|
-
#### 2.8.9 - 2019-03-13
|
|
288
|
-
|
|
289
|
-
- Simplify / remove migrations
|
|
290
|
-
|
|
291
|
-
#### 2.8.8 - 2019-02-20
|
|
292
|
-
|
|
293
|
-
- Bugfix - Native SDK - prioritize equality of requiredWebviewBridgeName
|
|
294
|
-
|
|
295
|
-
#### 2.8.7 - 2019-02-14
|
|
296
|
-
|
|
297
|
-
- Update native bridge logic
|
|
298
|
-
|
|
299
|
-
#### 2.8.6 - 2019-02-14
|
|
300
|
-
|
|
301
|
-
- Namespace localstorage with workspace token
|
|
302
|
-
|
|
303
|
-
#### 2.8.5 - 2019-02-13
|
|
304
|
-
|
|
305
|
-
- Add callback to location tracking method
|
|
306
|
-
|
|
307
|
-
#### 2.8.4 - 2019-02-04
|
|
308
|
-
|
|
309
|
-
- Set session attributes when using native bridge
|
|
310
|
-
|
|
311
|
-
#### 2.8.3 - 2019-01-30
|
|
312
|
-
|
|
313
|
-
- Bugfix - Check for LocalStorage before migrating
|
|
314
|
-
|
|
315
|
-
#### 2.8.2 - 2019-01-25
|
|
316
|
-
|
|
317
|
-
- Bugfix - Guard against undefined result from crypto API
|
|
318
|
-
- Bugfix - Call identify if cookies exist, but there is no current user
|
|
319
|
-
|
|
320
|
-
#### 2.8.1 - 2019-01-23
|
|
321
|
-
|
|
322
|
-
- Add identityMethod to onUserIdentified function definition
|
|
323
|
-
- Bugfix - return 0 instead of null for hashing boolean false
|
|
324
|
-
|
|
325
|
-
#### 2.8.0 - 2018-12-19
|
|
326
|
-
|
|
327
|
-
- Fix autogen yuidocs comments
|
|
328
|
-
- Add get/setIntegrationAttribute APIs
|
|
329
|
-
- Add snippet tests
|
|
330
|
-
- Add boolean validation for isDevelopmentMode
|
|
331
|
-
|
|
332
|
-
#### 2.7.8 - 2018-10-24
|
|
333
|
-
|
|
334
|
-
- Initialize forwarders based on logged in status
|
|
335
|
-
|
|
336
|
-
#### 2.7.7 - 2018-10-15
|
|
337
|
-
|
|
338
|
-
- Bugfix - remove cart item uses proper product persistence
|
|
339
|
-
- Bugfix - Guard against corrupt local storage/cookies
|
|
340
|
-
|
|
341
|
-
#### 2.7.6 - 2018-10-10
|
|
342
|
-
|
|
343
|
-
- Bugfix - guard against null cookie
|
|
344
|
-
|
|
345
|
-
#### 2.7.5 - 2018-09-19
|
|
346
|
-
|
|
347
|
-
- Add getUser method to identity callback results
|
|
348
|
-
- Only call initial identify and callback once
|
|
349
|
-
- Bugfix - logLevel
|
|
350
|
-
|
|
351
|
-
#### 2.7.4 - 2018-09-14
|
|
352
|
-
|
|
353
|
-
- Bugfix - Remove corrupt localStorage
|
|
354
|
-
- Bugfix - Fix encoding LS for special characters
|
|
355
|
-
|
|
356
|
-
#### 2.7.3 - 2018-08-30
|
|
357
|
-
|
|
358
|
-
- Bugfix - Always init forwarder when no UA filters are present
|
|
359
|
-
|
|
360
|
-
#### 2.7.2 - 2018-08-22
|
|
361
|
-
|
|
362
|
-
- Re-initialize forwarders after userAttr changes
|
|
363
|
-
- Capitalize all letters in sessionId
|
|
364
|
-
|
|
365
|
-
#### 2.7.1 - 2018-08-10
|
|
366
|
-
|
|
367
|
-
- Bugfix - Create copy of MP.eventQueue to iterate through
|
|
368
|
-
|
|
369
|
-
#### 2.7.0 - 2018-08-08
|
|
370
|
-
|
|
371
|
-
- Add setUserAttributes to public API
|
|
372
|
-
|
|
373
|
-
#### 2.6.4 - 2018-08-01
|
|
374
|
-
|
|
375
|
-
- Implement forwarderUploader module, feaure flags, batch forwarder stats
|
|
376
|
-
- Bugfix - Change ProductActionTypes to be consistent with mobile/S2S
|
|
377
|
-
|
|
378
|
-
#### 2.6.3 - 2018-07-18
|
|
379
|
-
|
|
380
|
-
- Implement customFlags per public API method
|
|
381
|
-
|
|
382
|
-
#### 2.6.2 - 2018-07-16
|
|
383
|
-
|
|
384
|
-
- Update growl and hoek for testing dependencies
|
|
385
|
-
- Bugfix - sendEventToForwarder fix
|
|
386
|
-
|
|
387
|
-
#### 2.6.1 - 2018-07-11
|
|
388
|
-
|
|
389
|
-
- Default forceHttps to true
|
|
390
|
-
- Add apiClient module
|
|
391
|
-
|
|
392
|
-
#### 2.6.0 - 2018-06-20
|
|
393
|
-
|
|
394
|
-
- Implement Consent forwarding rules
|
|
395
|
-
|
|
396
|
-
#### 2.5.1 - 2018-06-11
|
|
397
|
-
|
|
398
|
-
- Bugfix - Fix filterUserAttributeValues break/continue
|
|
399
|
-
|
|
400
|
-
#### 2.5.0 - 2018-06-06
|
|
401
|
-
|
|
402
|
-
- Expose getUser and getUsers to public Identity API
|
|
403
|
-
- Bugfix - send newUser to forwarder on user identified
|
|
404
|
-
- Add filtered user object
|
|
405
|
-
|
|
406
|
-
#### 2.4.1 - 2018-05-09
|
|
407
|
-
|
|
408
|
-
- Bugfix - encode event value before sending to iOS
|
|
409
|
-
- Update package-lock.json to pass CI tests
|
|
410
|
-
|
|
411
|
-
#### 2.4.0 - 2018-04-26
|
|
412
|
-
|
|
413
|
-
- Implement Consent State
|
|
414
|
-
- Expose Identitiy HTTP constants to the public
|
|
415
|
-
|
|
416
|
-
#### 2.3.3 - 2018-04-19
|
|
417
|
-
|
|
418
|
-
- Bugfix - filter user attributes to forwarders on init
|
|
419
|
-
|
|
420
|
-
#### 2.3.2 - 2018-04-04
|
|
421
|
-
|
|
422
|
-
- Bugfix - filter user attributes to forwarders on init
|
|
423
|
-
|
|
424
|
-
#### 2.3.1 - 2018-04-02
|
|
425
|
-
|
|
426
|
-
- Bugfix - Compare strings when filtering event/user attribute values
|
|
427
|
-
|
|
428
|
-
#### 2.3.0 - 2018-03-28
|
|
429
|
-
|
|
430
|
-
- Bugfix - Prioritize client entered config over persistence
|
|
431
|
-
- Bugfix - Correct capitalization of clearing eCommerce carts
|
|
432
|
-
- Add Identify to public API
|
|
433
|
-
|
|
434
|
-
#### 2.2.6 - 2018-03-07
|
|
435
|
-
|
|
436
|
-
- Add forceHttps as a config option
|
|
437
|
-
- Fix linting
|
|
438
|
-
- Migrate all mpids between cookies and LS when useCookieStorage changes
|
|
439
|
-
|
|
440
|
-
#### 2.2.5 - 2018-03-01
|
|
441
|
-
|
|
442
|
-
- Bugfix - add shouldUseNativeSdk logic to fix null user and null path values
|
|
443
|
-
|
|
444
|
-
#### 2.2.4 - 2018-02-28
|
|
445
|
-
|
|
446
|
-
- Add config option for maxCookieSize
|
|
447
|
-
- Refactor useNativeSdk and prevent identify calls when in webview
|
|
448
|
-
|
|
449
|
-
#### 2.2.3 - 2018-02-23
|
|
450
|
-
|
|
451
|
-
- Update logic for useNativeSdk and isIOS
|
|
452
|
-
|
|
453
|
-
#### 2.2.2 - 2018-02-20
|
|
454
|
-
|
|
455
|
-
- Pass identityApiData to native SDKs
|
|
456
|
-
|
|
457
|
-
#### 2.2.1 - 2018-02-14
|
|
458
|
-
|
|
459
|
-
- Queue events when mpid is null or 0
|
|
460
|
-
- Stub primary methods for pre-loading SDK invocation
|
|
461
|
-
- Add eventSubscriptionId to forwarder contract
|
|
462
|
-
- Update readme to remove adchemix
|
|
463
|
-
|
|
464
|
-
#### 2.2.0 - 2018-01-31
|
|
465
|
-
|
|
466
|
-
- Remove product bags
|
|
467
|
-
|
|
468
|
-
#### 2.1.5 - 2018-01-25
|
|
469
|
-
|
|
470
|
-
- Update version endpoint for /Forwarding
|
|
471
|
-
|
|
472
|
-
#### 2.1.4 - 2018-01-10
|
|
473
|
-
|
|
474
|
-
- Ensure customerid is always the first identity being set
|
|
475
|
-
- Auto generate API docs
|
|
476
|
-
- Add migration for base64 encoded products
|
|
477
|
-
- Finalize Other IDs
|
|
478
|
-
- Bugfix - Adjust logic for session end event
|
|
479
|
-
|
|
480
|
-
#### 2.1.3 - 2017-12-20
|
|
481
|
-
|
|
482
|
-
- Remove logLTVIncrease
|
|
483
|
-
- Return an empty array when there are no cart products
|
|
484
|
-
- Bugfix - Adjust arguments for applyToForwarders
|
|
485
|
-
|
|
486
|
-
#### 2.1.2 - 2017-12-14
|
|
487
|
-
|
|
488
|
-
- Add setForwarderOnUserIdentified, return null currentUser when MPID is null
|
|
489
|
-
|
|
490
|
-
#### 2.1.1 - 2017-12-13
|
|
491
|
-
|
|
492
|
-
- Modularize tests for readability and robustness
|
|
493
|
-
- Adjust Application State Transition, include initial location
|
|
494
|
-
- Bugfix - Add CheckoutOption to ProductAction-related switch statements
|
|
495
|
-
- Add parseStringOrNumber function
|
|
496
|
-
- Sanitize additional attributes
|
|
497
|
-
- Correct order of internal createProducts arguments
|
|
498
|
-
- Refactor logPageView
|
|
499
|
-
- Require explicit UIWebview binding
|
|
500
|
-
|
|
501
|
-
#### 2.1.0 - 2017-11-30
|
|
502
|
-
|
|
503
|
-
- Migrate persistence to v4
|
|
504
|
-
- Add onUserAlias callback
|
|
505
|
-
|
|
506
|
-
#### 2.0.13 - 2017-11-08
|
|
507
|
-
|
|
508
|
-
- Add support for filtering user attribute values
|
|
509
|
-
- Update persistence after a modify call
|
|
510
|
-
|
|
511
|
-
#### 2.0.12 - 2017-10-23
|
|
512
|
-
|
|
513
|
-
- Complete modularization of SDK
|
|
514
|
-
|
|
515
|
-
#### 2.0.11 - 2017-10-19
|
|
516
|
-
|
|
517
|
-
- Modularize Types, Constants, Helpers, DTO, Identity, Ecommerce
|
|
518
|
-
- Reorganize tests
|
|
519
|
-
|
|
520
|
-
#### 2.0.10 - 2017-10-17
|
|
521
|
-
|
|
522
|
-
- Bugfix - Execute useLocalStorage method
|
|
523
|
-
|
|
524
|
-
#### 1.14.1 - 2017-06-22
|
|
525
|
-
|
|
526
|
-
- Fixes for cookie syncing. Properly cookie sync when MPID changes, and only perform a cookie sync when debug modes for defined pixel and mParticle match
|
|
527
|
-
- Store productBags and cartProducts to cookies, with config option to change number of products allowed in each (config.maxProducts = 20 by default)
|
|
528
|
-
- Prevent setUserIdentity from accepting booleans
|
|
529
|
-
- Clean up code - Add additional validations, convert remaining == to ===
|
|
530
|
-
|
|
531
|
-
#### 1.14.0 - 2017-06-15
|
|
532
|
-
|
|
533
|
-
- Support for cookie-syncing. Cookie-syncing enables the optional collection of 3rd-party IDs to enable enhanced audience sharing with advertising platforms such as DoubleClick, Adobe, and AppNexus
|
|
534
|
-
- Add application state transition to mParticle initialization
|
|
535
|
-
|
|
536
|
-
#### 1.13.1 - 2017-05-25
|
|
537
|
-
|
|
538
|
-
- Fix for removing duplicate user identities where ID is missing, allow ID to be `undefined`
|
|
539
|
-
- Fix for creating CGID on initial load
|
|
540
|
-
|
|
541
|
-
#### 1.13.0 - 2017-05-18
|
|
542
|
-
|
|
543
|
-
- Send sessionLength to server when sessionEnd is called.
|
|
544
|
-
|
|
545
|
-
#### 1.12.0 - 2017-05-11
|
|
546
|
-
|
|
547
|
-
- Add deviceId, and deviceId retrieval via `mParticle.getDeviceId()`.
|
|
548
|
-
|
|
549
|
-
#### 1.11.0 - 2017-04-27
|
|
550
|
-
|
|
551
|
-
- Add new session management.
|
|
552
|
-
- Fixed a bug where the same sessionId may be associated with events over several days.
|
|
553
|
-
|
|
554
|
-
#### 1.10.0 - 2017-04-20
|
|
555
|
-
|
|
556
|
-
- Added config option for useCookieStorage to allow use of either cookies or localStorage. By default, localStorage is used (useCookieStorage = false). If localStorage not available, reverts to cookie use.
|
|
557
|
-
- Fixed a bug where `forwarders` contained a mix of both initialized and uninitialized forwarders. `forwarders` now only contains initialized forwarders.
|
|
558
|
-
|
|
559
|
-
#### 1.9.0 - 2017-04-17
|
|
560
|
-
|
|
561
|
-
- Fixed bug where calling setUserIdentity with a similar type added another identity, rather than replacing the identity.
|
|
562
|
-
- Calling setUserIdentity with `id = null` and valid type will remove the user identity of that type.
|
|
563
|
-
- Include CommerceEvent custom attributions in expansion; makes a copy of the original commerce event rather than referencing it, which would mutate it.
|