diff --git a/.changeset/curly-mirrors-prove.md b/.changeset/curly-mirrors-prove.md deleted file mode 100644 index 674e2042d..000000000 --- a/.changeset/curly-mirrors-prove.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@headstartwp/core": patch -"@headstartwp/next": patch ---- - -Normalize TTL to secs diff --git a/.changeset/fast-hats-think.md b/.changeset/fast-hats-think.md deleted file mode 100644 index a78d95be1..000000000 --- a/.changeset/fast-hats-think.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@headstartwp/core": patch -"@headstartwp/next": patch ---- - -Fix: cache handler types, add isCached property diff --git a/.changeset/gentle-zoos-agree.md b/.changeset/gentle-zoos-agree.md deleted file mode 100644 index 9b3ae52a8..000000000 --- a/.changeset/gentle-zoos-agree.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@headstartwp/core": minor -"@headstartwp/next": minor ---- - -Introducing fetch strategy caching. diff --git a/.changeset/kind-carpets-build.md b/.changeset/kind-carpets-build.md deleted file mode 100644 index ff9bc79b1..000000000 --- a/.changeset/kind-carpets-build.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@headstartwp/core": patch -"@headstartwp/next": patch ---- - -caching: pass `fetchStrategyOptions` and `path` to cache functions. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index ae3cdd196..000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "mode": "pre", - "tag": "next", - "initialVersions": { - "@headstartwp/core": "1.3.4", - "@10up/react-hooks": "1.2.3", - "@headstartwp/next": "1.3.4", - "@10up/next-redis-cache-provider": "1.0.0", - "@10up/headless-docs": "1.0.0", - "@10up/wp-multisite-i18n-nextjs": "0.2.0", - "@10up/wp-multisite-nextjs": "0.2.0", - "@10up/wp-nextjs": "0.2.0", - "@10up/wp-nextjs-ts": "0.2.1", - "@headstartwp/headstartwp": "1.1.3" - }, - "changesets": [ - "curly-mirrors-prove", - "fast-hats-think", - "gentle-zoos-agree", - "kind-carpets-build", - "silly-bees-eat" - ] -} diff --git a/.changeset/silly-bees-eat.md b/.changeset/silly-bees-eat.md deleted file mode 100644 index f7c75cf79..000000000 --- a/.changeset/silly-bees-eat.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@headstartwp/core": patch -"@headstartwp/next": patch ---- - -Make cache.enabled optional diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 12bf591b7..1a8a35d3f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,18 @@ # @headstartwp/core +## 1.4.0 + +### Minor Changes + +- cce64d2e: Introducing fetch strategy caching. + +### Patch Changes + +- 8d3a0f83: Normalize TTL to secs +- 669441f3: Fix: cache handler types, add isCached property +- 498fb394: caching: pass `fetchStrategyOptions` and `path` to cache functions. +- bdcc37f0: Make cache.enabled optional + ## 1.4.0-next.4 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 788b93531..ce7c512e1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@headstartwp/core", - "version": "1.4.0-next.4", + "version": "1.4.0", "description": "`@headstartwp/core` is the core package that houses framework-agnostic components and utilities for building headless sites with WordPress.", "homepage": "https://github.com/10up/headstartwp/blob/develop/packages/core/README.md", "license": "MIT", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index b206ad1ac..488d6ab0e 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,24 @@ # @headstartwp/next +## 1.4.0 + +### Minor Changes + +- cce64d2e: Introducing fetch strategy caching. + +### Patch Changes + +- 8d3a0f83: Normalize TTL to secs +- 669441f3: Fix: cache handler types, add isCached property +- 498fb394: caching: pass `fetchStrategyOptions` and `path` to cache functions. +- bdcc37f0: Make cache.enabled optional +- Updated dependencies [8d3a0f83] +- Updated dependencies [669441f3] +- Updated dependencies [cce64d2e] +- Updated dependencies [498fb394] +- Updated dependencies [bdcc37f0] + - @headstartwp/core@1.4.0 + ## 1.4.0-next.4 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index ed0c75a15..ea2455fd7 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@headstartwp/next", - "version": "1.4.0-next.4", + "version": "1.4.0", "description": "`@headstartwp/next` is the Next.js bindings for the headless framework.", "homepage": "https://github.com/10up/headstartwp/blob/develop/packages/next/README.md", "license": "MIT", @@ -49,7 +49,7 @@ }, "dependencies": { "deepmerge": "^4.3.1", - "@headstartwp/core": "^1.4.0-next.4", + "@headstartwp/core": "^1.4.0", "loader-utils": "^3.2.0", "schema-utils": "^4.0.0", "@isaacs/ttlcache": "^1.4.1" diff --git a/projects/wp-multisite-i18n-nextjs/package.json b/projects/wp-multisite-i18n-nextjs/package.json index 0364d77f6..1932fe41e 100644 --- a/projects/wp-multisite-i18n-nextjs/package.json +++ b/projects/wp-multisite-i18n-nextjs/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.0-next.4", - "@headstartwp/next": "^1.4.0-next.4", + "@headstartwp/core": "^1.4.0", + "@headstartwp/next": "^1.4.0", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", diff --git a/projects/wp-multisite-nextjs/package.json b/projects/wp-multisite-nextjs/package.json index abdd8cc52..6b4f1835c 100644 --- a/projects/wp-multisite-nextjs/package.json +++ b/projects/wp-multisite-nextjs/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.0-next.4", - "@headstartwp/next": "^1.4.0-next.4", + "@headstartwp/core": "^1.4.0", + "@headstartwp/next": "^1.4.0", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", diff --git a/projects/wp-nextjs-ts/package.json b/projects/wp-nextjs-ts/package.json index 632bdfc6e..386f7628f 100644 --- a/projects/wp-nextjs-ts/package.json +++ b/projects/wp-nextjs-ts/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.0-next.4", - "@headstartwp/next": "^1.4.0-next.4", + "@headstartwp/core": "^1.4.0", + "@headstartwp/next": "^1.4.0", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", diff --git a/projects/wp-nextjs/package.json b/projects/wp-nextjs/package.json index ecb00035e..41c4063db 100644 --- a/projects/wp-nextjs/package.json +++ b/projects/wp-nextjs/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.0-next.4", - "@headstartwp/next": "^1.4.0-next.4", + "@headstartwp/core": "^1.4.0", + "@headstartwp/next": "^1.4.0", "@10up/next-redis-cache-provider": "^1.0.0", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10",