Skip to content

Commit

Permalink
Merge branch 'master' into vue-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Feb 15, 2021
2 parents c019e22 + fa0b139 commit fe9ce91
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
# Next

[diff](https://github.com/mib200/vue-gtm/compare/3.3.2...master)
[diff](https://github.com/mib200/vue-gtm/compare/3.4.0...master)

# 3.4.0

[diff](https://github.com/mib200/vue-gtm/compare/3.3.2...3.4.0)

- Provide possibility to override `isInBrowserContext` check ([01f3651])
- Significantly improve JSDoc ([9edc30d])
- Add `vue-router` as `devDependency` for type definition ([593af25])
- Do not track any views if navigation is aborted or cancelled

**Vue 3 only**

- Fix `vue-router` access `base` from history options ([e150975])
- Do not track any views if navigation is aborted or cancelled ([007608b])
_You can see logs in the browser console if you have enabled debug mode_
- Fix `vue-router` access `base` from history options
_This only affects Vue 3_

[01f3651]: https://github.com/mib200/vue-gtm/commit/01f3651de1df4f679c60af05697af41b1a38d39b
[9edc30d]: https://github.com/mib200/vue-gtm/commit/9edc30daf0c2bdf542c82d07c2f413421f44de3d
[593af25]: https://github.com/mib200/vue-gtm/commit/593af254f51a122f868c3687f42abdcb3549b07e
[e150975]: https://github.com/mib200/vue-gtm/commit/e1509755536ee6219580422c2611620b5b89140d
[007608b]: https://github.com/mib200/vue-gtm/commit/007608bfbdb68658d130b74b3802df1779d4fa5e

# 3.3.2

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-gtm",
"version": "3.3.2-vue2",
"version": "3.4.0-vue2",
"description": "Google Tag Manager implementation in Vue application",
"main": "dist/index.js",
"author": {
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ function install(Vue: typeof _Vue, options: VueGtmUseOptions = { id: "" }): void
* @param vueRouter The Vue router instance to attach the guard.
* @param ignoredViews An array of route name that will be ignored.
* @param trackOnNextTick Whether or not to call `trackView` in `Vue.nextTick`.
*
* @returns The ignored routes names normalized.
*/
function initVueRouterGuard(
Vue: typeof _Vue,
Expand Down

0 comments on commit fe9ce91

Please sign in to comment.