Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [5.0.0-next.1](v4.1.0...v5.0.0-next.1) (2023-05-06) ### Code Refactoring * merge @ngx-matomo/router into main package ([71a3a14](71a3a14)) * rename library to ngx-matomo-client ([170e336](170e336)) * **router:** replace `init()` method with `initialize()` for naming consistency ([94daeb4](94daeb4)) * **tracker:** rename `NgxMatomoTrackerModule` to `NgxMatomoModule` ([733a34e](733a34e)) ### Features * add new module-free providers ([1834e47](1834e47)) * **schematics:** support new providers-style setup ([5202582](5202582)) * **tracker, router:** add support for pseudo-clicks with `enableLinkTracking` config property ([48a611c](48a611c)) * **tracker:** add `disableBrowserFeatureDetection` and `enableBrowserFeatureDetection` methods ([362e8e5](362e8e5)) * **tracker:** add `getExcludedReferrers` and `setExcludedReferrers` methods ([d218508](d218508)) * **tracker:** add `getRememberedCookieConsent` method ([bba87dd](bba87dd)) * **tracker:** allow `inject` calls in script factory ([e5f8ff7](e5f8ff7)) * **tracker:** allow route tracking customization using route data ([dd61662](dd61662)) * **tracker:** allow route tracking customization using route data ([cc89a18](cc89a18)) * **tracker:** make Matomo directives standalone ([e485ced](e485ced)) ### Breaking changes * **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
- Loading branch information