From 383bee7004349a4877c619dafa9aff1854dac601 Mon Sep 17 00:00:00 2001 From: Josiah Date: Fri, 20 Sep 2024 17:12:43 -0500 Subject: [PATCH 1/3] Clean up extra spread array (#362) Map [returns a new array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), so we can just use that result directly, instead of spreading it into a new array! --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { From 25b0f9e59e7ffcfcdd9fc662110ba0d146c3bb6a Mon Sep 17 00:00:00 2001 From: Philipp Spiess Date: Tue, 7 Jan 2025 14:56:58 +0100 Subject: [PATCH 2/3] Update peer dependency version to include 4.0.0-beta.1 (#365) --- CHANGELOG.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57870e2..a35b3b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### 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 diff --git a/package.json b/package.json index 5275176..a1ead04 100644 --- a/package.json +++ b/package.json @@ -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", From 39d20e194940903046f2e2733ce0a9b59ccd464b Mon Sep 17 00:00:00 2001 From: Philipp Spiess Date: Tue, 7 Jan 2025 14:58:56 +0100 Subject: [PATCH 3/3] 0.5.16 --- CHANGELOG.md | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a35b3b0..f9690d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- 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)) @@ -211,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 a1ead04..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",