From 302ff310c95cfe535cd4e4d18c42b5f91848098e Mon Sep 17 00:00:00 2001 From: "token-generator-app[bot]" <82042599+token-generator-app[bot]@users.noreply.github.com> Date: Fri, 18 Feb 2022 01:15:31 +0000 Subject: [PATCH 1/2] chore(main): release 4.2.7 --- CHANGELOG.md | 9 +++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e4595d0b..5b8b089bd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [4.2.7](https://github.com/netlify/netlify-plugin-nextjs/compare/v4.2.6...v4.2.7) (2022-02-18) + + +### Bug Fixes + +* correctly cache when using `next export` ([#1223](https://github.com/netlify/netlify-plugin-nextjs/issues/1223)) ([a8030ca](https://github.com/netlify/netlify-plugin-nextjs/commit/a8030caee02f464dd2b962d2c12318f185260af9)) +* **deps:** update dependency @netlify/functions to ^0.11.1 ([#1217](https://github.com/netlify/netlify-plugin-nextjs/issues/1217)) ([e17892b](https://github.com/netlify/netlify-plugin-nextjs/commit/e17892bf1be7aa75822c6295955dbd250cb14197)) +* **deps:** update dependency @netlify/functions to v1 ([#1219](https://github.com/netlify/netlify-plugin-nextjs/issues/1219)) ([af841cd](https://github.com/netlify/netlify-plugin-nextjs/commit/af841cd6d22a26d67d2d6f5328d6825c68dd22f5)) + ### [4.2.6](https://github.com/netlify/netlify-plugin-nextjs/compare/v4.2.5...v4.2.6) (2022-02-14) diff --git a/package-lock.json b/package-lock.json index 184a28a6df..b3970bfa38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@netlify/plugin-nextjs", - "version": "4.2.6", + "version": "4.2.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3feca7b90e..682c92b33d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/plugin-nextjs", - "version": "4.2.6", + "version": "4.2.7", "description": "Run Next.js seamlessly on Netlify", "main": "lib/index.js", "files": [ From 327cd68870f2ab7741c7d277aa37351289ac7103 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Fri, 18 Feb 2022 09:29:37 +0000 Subject: [PATCH 2/2] chore: fix test --- cypress/integration/default/middleware.spec.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cypress/integration/default/middleware.spec.ts b/cypress/integration/default/middleware.spec.ts index 449913ca9f..f49f464f81 100644 --- a/cypress/integration/default/middleware.spec.ts +++ b/cypress/integration/default/middleware.spec.ts @@ -1,11 +1,7 @@ describe('Middleware', () => { - beforeEach(() => { - cy.request('/middle') - }) - it('should properly load custom headers', () => { cy.request({ - url: '/', + url: '/middle', }).then((response) => { expect(response.headers).to.have.property('x-custom-1', 'value-1') expect(response.headers).to.have.property('x-custom-2', 'value-2') @@ -13,4 +9,4 @@ describe('Middleware', () => { expect(response.headers).to.have.property('x-custom-4', 'value-4') }) }) -}) \ No newline at end of file +})