2.17.2 (2024-09-11)
- check if localStorage is usable before using it (#558) (eb460a8), closes #556
- don't store query/object associations when userHasOptedOut is true (#557) (7c4ab3a)
2.17.1 (2024-09-03)
- don't set Content-Length in XMLHttpRequest fn (#554) (e3aaa8e), closes /github.com/algolia/search-insights.js/pull/358#issuecomment-2324026184
2.17.0 (2024-08-23)
- update getFunctionalInterface to return the method being passed instead of just executing (#552) (ebb41f8), closes #524
2.16.3 (2024-08-14)
- test for localStorage before using it and enable it to be shimmed with a Storage-compatible interface (#550) (c3982f5), closes #541
2.16.2 (2024-08-09)
2.16.1 (2024-08-09)
2.16.0 (2024-08-06)
2.15.0 (2024-07-09)
- add query id inference for conversion events based on prior clicks (#534) (ca2f234)
- query id inference pruning of purchased and oldest associations when limit is reached (#535) (2e0ca49)
2.14.0 (2024-05-22)
2.13.0 (2023-12-11)
2.12.0 (2023-12-11)
2.11.0 (2023-11-17)
2.10.0 (2023-11-07)
2.9.0 (2023-10-13)
2.8.3 (2023-09-25)
2.8.2 (2023-09-05)
2.8.1 (2023-09-01)
2.8.0 (2023-08-30)
2.7.0 (2023-07-11)
2.6.0 (2023-04-20)
2.5.0 (2023-04-19)
2.4.0 (2023-03-16)
- make
init
optional (#415) (c774652) - expose version string from functional interface (#413) (8a3f8f9)
- allow to
init
again while preserving passed options (#401) (0e66c34) - pass custom credentials as additional arguments of insights methods (#399) (3f66ff4)
2.3.0 (2023-02-16)
2.2.3 (2022-11-16)
- add default
Content-Type
andContent-Length
headers toXMLHttpRequest
instance (1249920) - check headers setup in tests (39a29a6)
2.2.2 (2022-11-16)
- add default
Content-Type
andContent-Length
headers toXMLHttpRequest
instance (1249920) - check headers setup in tests (39a29a6)
2.2.1 (2021-12-14)
2.2.0 (2021-12-07)
2.1.0 (2021-10-26)
2.0.5 (2021-10-18)
2.0.4 (2021-10-13)
- remove initSearch method (no longer in use) (#327) (b4b4e9e)
- remove validation before sending events (#325) (2b7f1a6)
2.0.3 (2021-09-07)
2.0.2 (2021-07-27)
- provide iife build to prevent conflicts with AMD (#274) (5e8f3ba)
- types: make eventName required (#275) (04ad058)
2.0.1 (2021-07-05)
2.0.0 (2021-04-28)
- useCookie: It used to be
true
, but to be GDPR compliant, we're changing it tofalse
by default.
- cookie: make useCookie false by default (#249) (8106034)
- _get: remove the internal method
_get
(#256) (374f9fb)
1.8.0 (2021-04-28)
1.7.2 (2021-04-26)
- types: export default (#257) (55dd748)
- types: export default in the type definition (#247) (10044fc)
- userToken: prevent anonymous user token from overriding existing token (#251) (738e5d9)
1.7.1 (2021-01-25)
1.7.0 (2021-01-13)
- use browser requester on browser with bundler (#238) (df62ffd)
- warn about unknown function name (#237) (dd46015)
- init(userToken): accept new parameter
userToken
at init() method (#241) (29216c6) - init(useCookie): accept new parameter
useCookie
which skips anonymous userToken whenfalse
is given (#236) (db09c7e)
1.6.3 (2020-11-02)
1.6.2 (2020-09-02)
1.6.1 (2020-08-28)
- package: include empty module (c4cf25d)
1.6.0 (2020-08-13)
1.5.0 (2020-07-23)
- browser: expose createInsightsClient (#213) (7880205)
- get: add
_get
function to get instance variables (#216) (3173c9b) - add
onUserTokenChange
to know when token is assigned (#209) (1e5bd42) - export
createInsightsClient
for node env (#203) (4f04869), closes #204 #204
1.4.0 (2020-02-17)
- gtm: add Algolia Agent after
init
(9640dc2) - gtm: forward
eventName
to all events (1209301) - types: remove optional types on main methods (#192) (e551d10)
1.3.0 (2019-09-18)
- IE11: remove startWith and use indexOf instead (#129) (9c79e20)
- bug: persist function reference after library is loaded (#128) (662bf64)
- compat: node compatibility (#140) (e804bd1), closes #141 #143 #144 #142
- processQueue: move callback on method level (#115) (1ff8191)
1.2.0 (2019-04-24)
1.1.1 (2019-04-11)
1.1.0 (2019-04-11)
- UserAgent: add user agent string (#100) (09141a1)
- UserAgent: introduce addAlgoliaAgent method (#105) (927e74e)
- version: expose version in main class (#99) (12bd554)
1.0.1 (2019-01-17)
- doc: add migration section (282aa0e)