From ee76865367e2675d754aa6e6fce88e3e6794692d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 3 Jun 2024 08:12:14 +0000 Subject: [PATCH] chore: release --- .changeset/twenty-experts-shave.md | 14 -------------- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 .changeset/twenty-experts-shave.md diff --git a/.changeset/twenty-experts-shave.md b/.changeset/twenty-experts-shave.md deleted file mode 100644 index e636592..0000000 --- a/.changeset/twenty-experts-shave.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"varnish-post": minor ---- - -Add xkey support in order to support tag-based invalidation. - -The backend can now send a `xkey` header with a value that will be used to tag the cache entry. -This tag can be used to invalidate the cache entry by sending a `PURGE` request with the `xkey` header set to the same value like this: - -```sh -curl -sL -X PURGE -H 'xkey: TAG_VALUE' http://varnish-endpoint/ -``` - -Doing this will remove all cache entries that have the same tag value. diff --git a/CHANGELOG.md b/CHANGELOG.md index 3143e28..f7c766b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # varnish-post +## 2.3.0 + +### Minor Changes + +- 1b8342c: Add xkey support in order to support tag-based invalidation. + + The backend can now send a `xkey` header with a value that will be used to tag the cache entry. + This tag can be used to invalidate the cache entry by sending a `PURGE` request with the `xkey` header set to the same value like this: + + ```sh + curl -sL -X PURGE -H 'xkey: TAG_VALUE' http://varnish-endpoint/ + ``` + + Doing this will remove all cache entries that have the same tag value. + ## 2.2.0 ### Minor Changes diff --git a/package.json b/package.json index 685eb7c..d85e072 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "varnish-post", - "version": "2.2.0", + "version": "2.3.0", "description": "Custom Docker image for Varnish", "main": "index.js", "repository": "git@github.com:zazuko/varnish-post.git",