From 4746900f313591a094b1fb111a24faefa6a90fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wara=C4=87?= <49625375+auto200@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:12:50 +0100 Subject: [PATCH] Fix: remove nextjs <15 requirement (#38) --- CHANGELOG.md | 8 ++++++++ README.md | 3 +-- docs/README_BASE.md | 2 +- package-lock.json | 6 +++--- package.json | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac59f1d..d6c662c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG +* [3.1.2](#3.1.2) +* [3.1.1](#3.1.1) * [3.1.0](#3.1.0) * [3.0.0](#3.0.0) * [2.1.1](#2.1.1) @@ -8,6 +10,12 @@ * [1.0.1](#1.0.1) * [1.0.0](#1.0.0) +## 3.1.2 +- Remove nextjs <15 requirement + +## 3.1.1 +- Allow to use with pages router along with transpilePackages option in next config + ## 3.1.0 - Bump [tracking-base-library](https://github.com/PiwikPRO/tracking-base-library/releases/tag/1.2.0) - Allow to customize data layer name diff --git a/README.md b/README.md index 39c4b1b..9ed9732 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,10 @@ export default function RootLayout({ } ``` -#### Instalation with pages router +#### Setup with pages router In the `next.config.js` use `transpilePackages` option. - ```js /** @type {import('next').NextConfig} */ const nextConfig = { diff --git a/docs/README_BASE.md b/docs/README_BASE.md index f00ae2b..b282d51 100644 --- a/docs/README_BASE.md +++ b/docs/README_BASE.md @@ -52,7 +52,7 @@ export default function RootLayout({ } ``` -### Instalation with pages router +### Setup with pages router In the `next.config.js` use `transpilePackages` option. diff --git a/package-lock.json b/package-lock.json index 20d0b3d..af15ef3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@piwikpro/next-piwik-pro", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@piwikpro/next-piwik-pro", - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "dependencies": { "@piwikpro/react-piwik-pro": "^2.1.1" @@ -39,7 +39,7 @@ "node": ">=18" }, "peerDependencies": { - "next": ">=13.0.0 <15.0.0" + "next": ">=13.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 74c3b6b..bdd8aad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@piwikpro/next-piwik-pro", - "version": "3.1.1", + "version": "3.1.2", "description": "Piwik PRO tracking library for Next.js", "license": "MIT", "type": "module", @@ -26,7 +26,7 @@ "url": "git@github.com:PiwikPRO/next-piwik-pro.git" }, "peerDependencies": { - "next": ">=13.0.0 <15.0.0" + "next": ">=13.0.0" }, "dependencies": { "@piwikpro/react-piwik-pro": "^2.1.1"