diff --git a/CHANGELOG.md b/CHANGELOG.md index 57870e2..f9690d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Nothing yet! +## [0.5.16] - 2025-01-07 + +### Fixed + +- Support installing with beta versions of Tailwind CSS v4 ([#365](https://github.com/tailwindlabs/tailwindcss-typography/pull/365)) + ## [0.5.15] - 2024-08-28 ### Fixed @@ -209,7 +215,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Everything! -[unreleased]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.15...HEAD +[unreleased]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.16...HEAD +[0.5.16]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.15...v0.5.16 [0.5.15]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.14...v0.5.15 [0.5.14]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.13...v0.5.14 [0.5.13]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.12...v0.5.13 diff --git a/package.json b/package.json index 5275176..70ff5f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tailwindcss/typography", - "version": "0.5.15", + "version": "0.5.16", "description": "A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.", "main": "src/index.js", "types": "src/index.d.ts", @@ -30,7 +30,7 @@ "release-notes": "node ./scripts/release-notes.js" }, "peerDependencies": { - "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20" + "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" }, "devDependencies": { "@mdx-js/loader": "^1.0.19", diff --git a/src/utils.js b/src/utils.js index 085f72e..5350890 100644 --- a/src/utils.js +++ b/src/utils.js @@ -42,7 +42,7 @@ module.exports = { continue } - let values = new Set([...pseudos.map((p) => p.value)]) + let values = new Set(pseudos.map((p) => p.value)) // The pseudo elements are not the same if (values.size > 1) {