Skip to content

Latest commit

 

History

History
602 lines (307 loc) · 35.1 KB

CHANGELOG.md

File metadata and controls

602 lines (307 loc) · 35.1 KB

6.2.0 (2024-05-28)

Bug Fixes

  • tracker: add default value for acceptDoNotTrack option (243fc46)
  • upgrade schematics to non-deprecated module names (946ef9f)

Features

  • add compatibility with Angular 18 (7828aed), closes #90
  • add FormAnalytics support (ccdcfac)
  • router: allow ignoring subsequent navigation to the same url (#89) (1cb504c), closes #72
  • tracker: add new disableCampaignParameters configuration option (88258fa)
  • tracker: add new disableCampaignParameters tracker method (4cfda65)

6.1.3 (2024-04-09)

Bug Fixes

  • add Injectable decorator to MatomoTestingTracker (#86) (5e651eb), closes #85

6.1.2 (2024-03-31)

Bug Fixes

  • fix GitHub redirection problem after renaming project (13ed0f1)

6.1.1 (2024-03-31)

Bug Fixes

  • release: fix publish problem with 6.1.0 release (f9b9ba2)

6.1.0 (2024-03-31)

Features

  • provide testing implementation (ef5d358)

6.0.2 (2024-01-30)

Bug Fixes

  • router: retrieve Base Href from LocationStrategy and correctly handle nulls (73e8442), closes #82

6.0.1 (2024-01-15)

Bug Fixes

  • router: fix router module constructor token declaration (82e0aa2), closes #79

6.0.0 (2023-11-12)

Bug Fixes

  • MatomoOptOutFormComponent now waits for default server url from possibly deferred configuration (c60b134)

Code Refactoring

  • rename NgxMatomoModule to MatomoModule (eb70405)
  • rename NgxMatomoRouterModule to MatomoRouterModule (8795a05)

Features

  • add setPageViewId and getPageViewId to tracker api (b234a7b)
  • compatibility with Matomo 5 (35ad9e1)
  • upgrade to Angular 17 (9ac9a10)

Breaking changes

  • Angular v17 is now required as peer dependency

Deprecations

  • NgxMatomoRouterModule has been deprecated, use MatomoRouterModule instead
  • NgxMatomoModule has been deprecated, use MatomoModule instead

5.0.4 (2023-09-04)

Bug Fixes

  • README: add missing Angular 15 compatibility statement to compatibility table (182ad2b)

5.0.3 (2023-09-02)

Bug Fixes

  • add secondary entry points (89f9344)

Performance Improvements

5.0.2 (2023-07-25)

Bug Fixes

  • router: fix NgxMatomoRouterModule not being correctly enabled without .forRoot() call (61603b6), closes #68

5.0.1 (2023-07-03)

Bug Fixes

  • README: fix legacy documentation link and images size (ef38fda)

5.0.0 (2023-07-03)

Bug Fixes

  • schematics: correctly remove legacy packages during install (5cc6a8c)
  • tracker: add missing public exports (27973ca)

Code Refactoring

  • merge @ngx-matomo/router into main package (dca634a)
  • rename library to ngx-matomo-client (be8f65e)
  • router: remove MatomoRouteDataInterceptor and MatomoRouteInterceptorBase constructor arguments (5c5086d)
  • router: replace init() method with initialize() for naming consistency (f82c013)
  • tracker: rename NgxMatomoTrackerModule to NgxMatomoModule (96c8f2e)

Features

  • add new NgModule-free providers (2dbe82d)
  • router: allow custom key for route data lookup (936176d)
  • schematics: support new providers-style setup (057223a)
  • tracker, router: add support for pseudo-clicks with enableLinkTracking config property (641a255)
  • tracker: add disableBrowserFeatureDetection and enableBrowserFeatureDetection methods (d462941)
  • tracker: add getExcludedReferrers and setExcludedReferrers methods (b725de8)
  • tracker: add getRememberedCookieConsent method (7504381)
  • tracker: add public export for MATOMO_DIRECTIVES (f0362e9)
  • tracker: allow inject calls in script factory (bb2aae0)
  • tracker: allow route tracking customization using route data (480f30e)
  • tracker: automatically enable or disable initial page view tracking (eeccb3e)
  • tracker: make Matomo directives standalone (27c2ecc)

Breaking changes

  • tracker: Configuration option trackAppInitialLoad is now true by default, unless router feature is enabled (it previously was always false by default). For applications with router enabled, nothing changes. It can still be manually configured like before. This should not affect most applications, because tracking initial page view is not recommended when router feature is enabled.
  • router: MatomoRouteDataInterceptor and MatomoRouteInterceptorBase constructors are now argument-less. They now require to be instantiated in an injection context instead.
  • tracker, router: enableLinkTracking now don't enable pseudo-click tracking by default after each page view. This is consistent with the default Matomo behavior. To restore previous behavior, set enableLinkTracking configuration property to 'enable-pseudo'.
  • Library's npm package has been renamed to ngx-matomo-client. Legacy packages should not be used anymore: please migrate all imports from @ngx-matomo/tracker and @ngx-matomo/router to ngx-matomo-client instead.
  • Package @ngx-matomo/router is no longer necessary. It should be removed from your project.
    • NgxMatomoRouterModule is now available from the main library package
    • All your imports should be migrated and imported from the main library package

Deprecations

  • router: Method MatomoRouter.init() has been deprecated, use MatomoRouter.initialize() instead
  • tracker: NgxMatomoTrackerModule is deprecated, use NgxMatomoModule instead

4.1.0 (2023-05-03)

Bug Fixes

  • tracker: perform initialization checks earlier to prevent running pre-init tasks multiple times (771e24d)

Features

  • add Angular 16 support (c40cca8)
  • tracker: add new method to enable file tracking (b595d99)
  • tracker: add performance timings getter (fc0674d)

4.0.1 (2022-11-25)

Bug Fixes

  • tracker: add the option to run tracking outside of angular zone (6d26eac), closes #60

4.0.0 (2022-11-24)

Features

Breaking changes

  • Angular version 15 is now required as a peer dependency

3.2.0 (2022-07-26)

Bug Fixes

  • tracker: add missing generic parameter constraint (5c1e4e8)
  • tracker: add missing symbol to public api (eb79fc0)
  • tracker: fix custom script factory provider (c31342b), closes #56

Features

  • tracker: add setPagePerformanceTiming tracking method (4e92fe7)

3.1.0 (2022-07-22)

Bug Fixes

  • tracker: prevent initializing Matomo more than once (784b1de)

Code Refactoring

  • tracker: replace init() method with initialized() for naming consistency (8e23baf)

Features

  • tracker: allow deferred trackers configuration (cd51156), closes #31 #54

Deprecations

  • tracker: Method MatomoInitializerService.init() has been deprecated. Use MatomoInitializerService.initialize() instead.

3.0.0 (2022-06-08)

Features

Breaking changes

  • Angular version 14 is now required as a peer dependency

2.4.2 (2022-05-03)

Bug Fixes

  • tracker: add enableJSErrorTracking as configuration option (1586d78)
  • tracker: add enableJSErrorTracking tracker method (68136d5), closes #37

2.4.1 (2022-03-31)

Bug Fixes

  • router: use correct rxjs import path (fe15b20), closes #42

2.4.0 (2022-03-16)

Bug Fixes

  • router: check for invalid interceptors config (0b6686d)
  • router: correctly queue concurrent tracking calls (54882b4), closes #33
  • router: export missing public api symbol (d77aba0)
  • router: simplify interceptors config (ce407dd), closes #12
  • schematics: use correct version in schematics (d0c7667)
  • tracker: allow tracking ecommerce category page (9e14ca5), closes #34
  • tracker: make ecommerce parameters optional (382f5dc)

Documentation

  • router: deprecate PageTitleProvider and MATOMO_PAGE_TITLE_PROVIDER (61db04a)

Features

  • router: add built-in route data interceptor (dfd9409), closes #12
  • router: provide base implementation for interceptors depending on ActivatedRoute (39904e7), closes #12
  • tracker: add support for pre-defined tracker (ee9364d), closes #32

Deprecations

  • router: Interface PageTitleProvider and injection token MATOMO_PAGE_TITLE_PROVIDER are now deprecated. Use MatomoRouterInterceptor instead, for example declared in NgxMatomoRouterModule.forRoot(). See documentation for details on how to configure interceptors.

2.4.0-next.3 (2022-03-16)

Bug Fixes

  • router: correctly queue concurrent tracking calls (54882b4), closes #33

Documentation

  • router: deprecate PageTitleProvider and MATOMO_PAGE_TITLE_PROVIDER (61db04a)

Features

  • tracker: add support for pre-defined tracker (ee9364d), closes #32

Deprecations

  • router: Interface PageTitleProvider and injection token MATOMO_PAGE_TITLE_PROVIDER are now deprecated. Use MatomoRouterInterceptor instead, for example declared in NgxMatomoRouterModule.forRoot(). See documentation for details on how to configure interceptors.

2.4.0-next.2 (2022-03-16)

Bug Fixes

  • schematics: use correct version in schematics (d0c7667)

2.4.0-next.1 (2022-03-16)

Bug Fixes

  • router: check for invalid interceptors config (0b6686d)
  • router: export missing public api symbol (d77aba0)
  • router: simplify interceptors config (ce407dd), closes #12
  • tracker: allow tracking ecommerce category page (9e14ca5), closes #34
  • tracker: make ecommerce parameters optional (382f5dc)

Features

  • router: add built-in route data interceptor (dfd9409), closes #12
  • router: provide base implementation for interceptors depending on ActivatedRoute (39904e7), closes #12

2.3.0 (2022-02-28)

Bug Fixes

  • tracker: expose missing types as public api (52501ee)
  • add missing ng-update package-group (e186300)

Features

  • router: add router interceptor api (9ca105c)

2.2.1 (2022-01-28)

Bug Fixes

2.2.0 (2022-01-16)

Bug Fixes

  • auto-disable tracker on non-browser platforms (4547bf9), closes #23

Features

  • add support for custom script tags (1586af4), closes #22

2.1.0 (2021-11-29)

Features

2.0.0 (2021-11-22)

Bug Fixes

  • tracker: remove tracker initialization check (8cc72c8)

Features

BREAKING CHANGES

  • Angular version 13 is now required as peer dependency

2.0.0-next.2 (2021-11-14)

Bug Fixes

  • tracker: remove tracker initialization check (8cc72c8)

2.0.0-next.1 (2021-11-13)

Features

BREAKING CHANGES

  • Angular version 13 is now required as peer dependency

1.3.3 (2021-09-10)

Bug Fixes

  • tracker: lazily check tracker initialization (c3250ba), closes #15

1.3.2 (2021-07-20)

Bug Fixes

  • tracker: allow auto link tracking without tracking initial page view (df13f9f), closes #11

1.3.1 (2021-06-25)

Bug Fixes

  • tracker: fix opt-out form parameters encoding (f160199), closes #9

1.3.0 (2021-06-09)

Bug Fixes

  • tracker: add missing configuration property documentation to README (4b4ba6c)
  • tracker: fix initial page load track not respecting do-not-track setting (6f6d0ff)
  • tracker: fix scope parameter type (6d57154)
  • tracker: fix setSiteId parameter type (a1cdd9d)
  • tracker: fix test case (7c5a8cd)
  • tracker: fix test name (b0b2227)

Features

  • tracker: add addTracker method (b72b989)
  • tracker: add configuration option for DoNotTrack (2166ee2)
  • tracker: add disablePerformanceTracking method (973966e)
  • tracker: add methods to enable/disable sendBeacon (2a69ff5)
  • tracker: add missing cross-domain linking parameter getter (ed4b7e6)
  • tracker: add missing ecommerce methods (317812e)
  • tracker: add missing ping function (3c9bdfd)
  • tracker: add missing queue request functions (75a9df8)
  • tracker: add opt-out form component (c2a03b5)
  • tracker: add setCookieSameSite method (a27f8d6)
  • tracker: add setVisitorId method (3c18822)
  • tracker: add support for lazy-loaded modules (f958a9d), closes #7
  • tracker: add tracking-consent support (4f426a2)
  • tracker: set default value of enableLinkTracking parameter to false (56578a6)

1.3.0-next.5 (2021-06-09)

Bug Fixes

1.3.0-next.4 (2021-06-09)

Features

  • tracker: add support for lazy-loaded modules (f958a9d), closes #7

1.3.0-next.3 (2021-06-08)

Bug Fixes

  • tracker: add missing configuration property documentation to README (4b4ba6c)
  • tracker: fix initial page load track not respecting do-not-track setting (6f6d0ff)
  • tracker: fix setSiteId parameter type (a1cdd9d)

Features

  • tracker: add addTracker method (b72b989)
  • tracker: add opt-out form component (c2a03b5)
  • tracker: add tracking-consent support (4f426a2)

1.3.0-next.2 (2021-06-01)

Bug Fixes

  • tracker: fix scope parameter type (6d57154)

Features

  • tracker: add configuration option for DoNotTrack (2166ee2)
  • tracker: add disablePerformanceTracking method (973966e)
  • tracker: add missing cross-domain linking parameter getter (ed4b7e6)
  • tracker: add missing ping function (3c9bdfd)
  • tracker: add missing queue request functions (75a9df8)
  • tracker: add setCookieSameSite method (a27f8d6)
  • tracker: add setVisitorId method (3c18822)
  • tracker: set default value of enableLinkTracking parameter to false (56578a6)

1.3.0-next.1 (2021-06-01)

Bug Fixes

Features

  • tracker: add methods to enable/disable sendBeacon (2a69ff5)
  • tracker: add missing ecommerce methods (317812e)

1.2.0 (2021-05-27)

Features

  • tracker: add option to disable tracking (900c617), closes #3

Performance Improvements

  • router: avoid unnecessary subscription if disabled (23cc580)

1.1.0 (2021-05-25)

Features

1.1.0-next.1 (2021-05-25)

Features

1.0.3 (2021-05-05)

Bug Fixes

  • packaging: fix peer dependency (2c727c4)

1.0.3-beta.1 (2021-05-02)

Bug Fixes

  • packaging: fix peer dependency (2c727c4)

1.0.2 (2021-05-02)

Bug Fixes

  • demo: translate text into english (17ba193)

1.0.1 (2021-05-01)

Bug Fixes

  • packaging: add npm package metadata (64e7074)

1.0.0 (2021-05-01)

Features

  • initiate project (e521701)
  • semantic-release: add library dist tags (54f1a03)